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 SWIGINTERNINLINE PyObject
*
2927 SWIG_From_short (short value
)
2929 return SWIG_From_long (value
);
2934 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2937 int res
= SWIG_AsVal_long (obj
, &v
);
2938 if (SWIG_IsOK(res
)) {
2939 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2940 return SWIG_OverflowError
;
2942 if (val
) *val
= static_cast< short >(v
);
2949 #include <wx/rawbmp.h>
2952 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2953 // appears to me that the other platforms are already doing it, so I'll just
2954 // automatically do it for wxMSW here.
2956 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2957 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2959 #define wxPy_premultiply(p, a) (p)
2960 #define wxPy_unpremultiply(p, a) (p)
2964 #include <wx/image.h>
2966 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2967 char** cArray
= NULL
;
2970 if (!PyList_Check(listOfStrings
)) {
2971 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2974 count
= PyList_Size(listOfStrings
);
2975 cArray
= new char*[count
];
2977 for(int x
=0; x
<count
; x
++) {
2978 // TODO: Need some validation and error checking here
2979 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2985 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2986 char** cArray
= NULL
;
2989 cArray
= ConvertListOfStrings(listOfStrings
);
2992 bmp
= new wxBitmap(cArray
);
2996 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2999 PyString_AsStringAndSize(bits
, &buf
, &length
);
3000 return new wxBitmap(buf
, width
, height
, depth
);
3002 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3003 wxSize
size(self
->GetWidth(), self
->GetHeight());
3006 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3007 wxMask
*mask
= new wxMask(*self
, colour
);
3008 self
->SetMask(mask
);
3010 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3011 self
->SetWidth(size
.x
);
3012 self
->SetHeight(size
.y
);
3014 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3015 int height
=self
->GetHeight();
3016 int width
=self
->GetWidth();
3018 if (DATASIZE
!= width
* height
* 3) {
3019 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3021 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3023 // raise an exception...
3024 wxPyErr_SetString(PyExc_RuntimeError
,
3025 "Failed to gain raw access to bitmap data.");
3029 wxNativePixelData::Iterator
p(pixData
);
3030 for (int y
=0; y
<height
; y
++) {
3031 wxNativePixelData::Iterator rowStart
= p
;
3032 for (int x
=0; x
<width
; x
++) {
3033 p
.Red() = *(data
++);
3034 p
.Green() = *(data
++);
3035 p
.Blue() = *(data
++);
3039 p
.OffsetY(pixData
, 1);
3042 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3043 int height
=self
->GetHeight();
3044 int width
=self
->GetWidth();
3046 if (DATASIZE
!= width
* height
* 4) {
3047 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3049 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3051 // raise an exception...
3052 wxPyErr_SetString(PyExc_RuntimeError
,
3053 "Failed to gain raw access to bitmap data.");
3058 wxAlphaPixelData::Iterator
p(pixData
);
3059 for (int y
=0; y
<height
; y
++) {
3060 wxAlphaPixelData::Iterator rowStart
= p
;
3061 for (int x
=0; x
<width
; x
++) {
3063 p
.Red() = wxPy_premultiply(*(data
++), a
);
3064 p
.Green() = wxPy_premultiply(*(data
++), a
);
3065 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3066 p
.Alpha() = a
; data
++;
3070 p
.OffsetY(pixData
, 1);
3073 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3074 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3076 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3077 buffer data
, int DATASIZE
,
3078 buffer alpha
, int ALPHASIZE
)
3080 if (DATASIZE
!= width
*height
*3) {
3081 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3085 if (ALPHASIZE
!= width
*height
) {
3086 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3090 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3091 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3093 // raise an exception...
3094 wxPyErr_SetString(PyExc_RuntimeError
,
3095 "Failed to gain raw access to bitmap data.");
3100 wxAlphaPixelData::Iterator
p(pixData
);
3101 for (int y
=0; y
<height
; y
++) {
3102 wxAlphaPixelData::Iterator rowStart
= p
;
3103 for (int x
=0; x
<width
; x
++) {
3104 byte a
= *(alpha
++);
3105 p
.Red() = wxPy_premultiply(*(data
++), a
);
3106 p
.Green() = wxPy_premultiply(*(data
++), a
);
3107 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3112 p
.OffsetY(pixData
, 1);
3117 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3119 if (DATASIZE
!= width
*height
*3) {
3120 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3124 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3125 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3127 // raise an exception...
3128 wxPyErr_SetString(PyExc_RuntimeError
,
3129 "Failed to gain raw access to bitmap data.");
3133 wxNativePixelData::Iterator
p(pixData
);
3134 for (int y
=0; y
<height
; y
++) {
3135 wxNativePixelData::Iterator rowStart
= p
;
3136 for (int x
=0; x
<width
; x
++) {
3137 p
.Red() = *(data
++);
3138 p
.Green() = *(data
++);
3139 p
.Blue() = *(data
++);
3143 p
.OffsetY(pixData
, 1);
3149 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3151 if (DATASIZE
!= width
*height
*4) {
3152 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3156 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3157 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3159 // raise an exception...
3160 wxPyErr_SetString(PyExc_RuntimeError
,
3161 "Failed to gain raw access to bitmap data.");
3166 wxAlphaPixelData::Iterator
p(pixData
);
3167 for (int y
=0; y
<height
; y
++) {
3168 wxAlphaPixelData::Iterator rowStart
= p
;
3169 for (int x
=0; x
<width
; x
++) {
3171 p
.Red() = wxPy_premultiply(*(data
++), a
);
3172 p
.Green() = wxPy_premultiply(*(data
++), a
);
3173 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3174 p
.Alpha() = a
; data
++;
3178 p
.OffsetY(pixData
, 1);
3184 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3186 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3187 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3188 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3190 self
->Green() = green
;
3191 self
->Blue() = blue
;
3193 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3194 PyObject
* rv
= PyTuple_New(3);
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3201 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3203 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3204 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3205 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3206 self
->Red() = wxPy_premultiply(red
, alpha
);
3207 self
->Green() = wxPy_premultiply(green
, alpha
);
3208 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3209 self
->Alpha() = alpha
;
3211 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3212 PyObject
* rv
= PyTuple_New(4);
3213 int red
= self
->Red();
3214 int green
= self
->Green();
3215 int blue
= self
->Blue();
3216 int alpha
= self
->Alpha();
3218 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3219 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3220 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3221 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3224 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3225 if ( !colour
.IsOk() )
3226 return new wxMask(bitmap
, *wxBLACK
);
3228 return new wxMask(bitmap
, colour
);
3231 #include <wx/iconbndl.h>
3233 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3234 wxIcon
* icon
= new wxIcon();
3235 icon
->CopyFromBitmap(bmp
);
3238 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3239 char** cArray
= NULL
;
3242 cArray
= ConvertListOfStrings(listOfStrings
);
3245 icon
= new wxIcon(cArray
);
3249 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3253 return new wxIconLocation(*filename
);
3256 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3263 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3270 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3272 wxImage
img(cursorName
, type
);
3273 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3274 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3275 return new wxCursor(img
);
3277 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3282 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3285 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3286 return self
->operator bool();
3289 #include <wx/fontutil.h>
3290 #include <wx/fontmap.h>
3291 #include <wx/fontenum.h>
3293 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3294 return self
->ToString();
3297 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3298 static wxNativeEncodingInfo info
;
3299 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3306 SWIGINTERNINLINE PyObject
*
3307 SWIG_From_size_t (size_t value
)
3309 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3313 SWIGINTERNINLINE
int
3314 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3317 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3318 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3322 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3323 wxFontEncoding alt_enc
;
3324 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3325 return PyInt_FromLong(alt_enc
);
3331 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3332 wxNativeFontInfo nfi
;
3333 nfi
.FromString(info
);
3334 return new wxFont(nfi
);
3336 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3337 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3339 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3340 return wxFontBase::New(pixelSize
, family
,
3341 style
, weight
, underlined
,
3344 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3345 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3347 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3348 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3350 class wxPyFontEnumerator
: public wxFontEnumerator
{
3352 wxPyFontEnumerator() {}
3353 ~wxPyFontEnumerator() {}
3355 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3356 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3361 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3362 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3365 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3367 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3368 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3369 ret
= wxArrayString2PyList_helper(arr
);
3370 wxPyEndBlockThreads(blocked
);
3373 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3375 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3376 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3377 ret
= wxArrayString2PyList_helper(arr
);
3378 wxPyEndBlockThreads(blocked
);
3384 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3387 loc
= new wxLocale();
3389 loc
= new wxLocale(language
, flags
);
3390 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3391 // for the floating point conversions and such to work right.
3392 #if PY_VERSION_HEX < 0x02040000
3393 setlocale(LC_NUMERIC
, "C");
3397 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3398 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3399 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3400 // for the floating point conversions and such to work right.
3401 #if PY_VERSION_HEX < 0x02040000
3402 setlocale(LC_NUMERIC
, "C");
3406 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3407 bool rc
= self
->Init(language
, flags
);
3408 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3409 // for the floating point conversions and such to work right.
3410 #if PY_VERSION_HEX < 0x02040000
3411 setlocale(LC_NUMERIC
, "C");
3416 class wxPyLocale
: public wxLocale
3421 wxPyLocale(const wxChar
*szName
, // name (for messages)
3422 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3423 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3424 bool bLoadDefault
= true, // preload wxstd.mo?
3425 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3427 wxPyLocale(int language
, // wxLanguage id or custom language
3428 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3432 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3433 const wxChar
*szDomain
= NULL
) const;
3434 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3435 const wxChar
*szOrigString2
, size_t n
,
3436 const wxChar
*szDomain
= NULL
) const;
3438 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3439 const wxChar
*szDomain
= NULL
) const;
3440 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3441 const wxChar
*szOrigString2
, size_t n
,
3442 const wxChar
*szDomain
= NULL
) const;
3446 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3449 wxPyLocale::wxPyLocale() : wxLocale()
3453 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3454 const wxChar
*szShort
, // dir prefix (for msg files)
3455 const wxChar
*szLocale
, // locale (for setlocale)
3456 bool bLoadDefault
, // preload wxstd.mo?
3457 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3458 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3462 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3463 int flags
) : wxLocale(language
, flags
)
3467 wxPyLocale::~wxPyLocale()
3471 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3472 const wxChar
*szDomain
) const
3474 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3475 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3478 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3479 const wxChar
*szOrigString2
, size_t n
,
3480 const wxChar
*szDomain
) const
3482 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3483 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3486 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
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
, "GetSingularString"))) {
3494 PyObject
* param1
= wx2PyString(szOrigString
);
3495 PyObject
* param2
= wx2PyString(szDomain
);
3496 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3500 str
= Py2wxString(ret
);
3504 wxPyEndBlockThreads(blocked
);
3505 return (found
? (wxChar
*)str
.c_str() : NULL
);
3508 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3509 const wxChar
*szOrigString2
, size_t n
,
3510 const wxChar
*szDomain
) const
3513 static wxString str
;
3514 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.
3515 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3516 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3517 PyObject
* param1
= wx2PyString(szOrigString
);
3518 PyObject
* param2
= wx2PyString(szOrigString2
);
3519 PyObject
* param4
= wx2PyString(szDomain
);
3520 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3525 str
= Py2wxString(ret
);
3529 wxPyEndBlockThreads(blocked
);
3530 return (found
? (wxChar
*)str
.c_str() : NULL
);
3533 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3536 loc
= new wxPyLocale();
3538 loc
= new wxPyLocale(language
, flags
);
3539 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3540 // for the floating point conversions and such to work right.
3541 #if PY_VERSION_HEX < 0x02040000
3542 setlocale(LC_NUMERIC
, "C");
3547 #include "wx/wxPython/pydrawxxx.h"
3549 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3551 self
->GetPixel(x
, y
, &col
);
3554 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3556 self
->GetPixel(pt
, &col
);
3561 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3563 if (PyNumber_Check(obj
)) {
3564 if (val
) *val
= PyFloat_AsDouble(obj
);
3567 return SWIG_TypeError
;
3570 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3572 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3575 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3577 self
->GetClippingBox(rect
);
3580 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3582 self
->GetPartialTextExtents(text
, widths
);
3586 #define SWIG_From_double PyFloat_FromDouble
3588 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3589 self
->SetLogicalOrigin(point
.x
, point
.y
);
3591 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3592 self
->SetDeviceOrigin(point
.x
, point
.y
);
3594 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3595 self
->CalcBoundingBox(point
.x
, point
.y
);
3597 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3598 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3600 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3601 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3603 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3604 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3606 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3607 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3609 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3610 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3612 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3613 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3616 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3624 #include <wx/dcbuffer.h>
3627 #include <wx/dcps.h>
3630 #include <wx/metafile.h>
3633 #include <wx/graphics.h>
3636 #if !wxUSE_GRAPHICS_CONTEXT
3637 // C++ stub classes for platforms or build configurations that don't have
3638 // wxGraphicsContext yet.
3640 class wxGraphicsRenderer
;
3641 class wxGraphicsMatrix
;
3644 class wxGraphicsObject
: public wxObject
3647 wxGraphicsObject() {}
3648 wxGraphicsObject( wxGraphicsRenderer
* ) {
3649 PyErr_SetString(PyExc_NotImplementedError
,
3650 "wx.GraphicsObject is not available on this platform.");
3652 wxGraphicsObject( const wxGraphicsObject
& ) {}
3653 virtual ~wxGraphicsObject() {}
3654 bool IsNull() const { return false; }
3655 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3660 class wxGraphicsPen
: public wxGraphicsObject
3664 virtual ~wxGraphicsPen() {}
3666 wxGraphicsPen wxNullGraphicsPen
;
3670 class wxGraphicsBrush
: public wxGraphicsObject
3673 wxGraphicsBrush() {}
3674 virtual ~wxGraphicsBrush() {}
3676 wxGraphicsBrush wxNullGraphicsBrush
;
3680 class wxGraphicsFont
: public wxGraphicsObject
3684 virtual ~wxGraphicsFont() {}
3686 wxGraphicsFont wxNullGraphicsFont
;
3690 class wxGraphicsPath
: public wxGraphicsObject
3693 wxGraphicsPath() { }
3694 wxGraphicsPath(wxGraphicsRenderer
* ) {
3695 PyErr_SetString(PyExc_NotImplementedError
,
3696 "wx.GraphicsPath is not available on this platform.");
3698 virtual ~wxGraphicsPath() {}
3700 void MoveToPoint( wxDouble
, wxDouble
) {}
3701 void MoveToPoint( const wxPoint2DDouble
& ) {}
3702 void AddLineToPoint( wxDouble
, wxDouble
) {}
3703 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3704 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3705 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3706 void AddPath( const wxGraphicsPath
& ) {}
3707 void CloseSubpath() {}
3708 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3709 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3710 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3711 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3713 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3718 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3719 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3720 void * GetNativePath() const { return NULL
; }
3721 void UnGetNativePath(void *) const {}
3722 void Transform( const wxGraphicsMatrix
& ) {}
3723 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3724 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3726 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3727 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3729 wxGraphicsPath wxNullGraphicsPath
;
3732 class wxGraphicsMatrix
: public wxGraphicsObject
3735 wxGraphicsMatrix() { }
3736 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3737 PyErr_SetString(PyExc_NotImplementedError
,
3738 "wx.GraphicsMatrix is not available on this platform.");
3740 virtual ~wxGraphicsMatrix() {}
3741 virtual void Concat( const wxGraphicsMatrix
& ) {}
3742 virtual void Copy( const wxGraphicsMatrix
& ) {}
3743 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3744 wxDouble
, wxDouble
) {}
3745 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3746 wxDouble
*, wxDouble
*, wxDouble
*) {}
3747 virtual void Invert() {}
3748 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3749 virtual bool IsIdentity() const { return false; }
3750 virtual void Translate( wxDouble
, wxDouble
) {}
3751 virtual void Scale( wxDouble
, wxDouble
) {}
3752 virtual void Rotate( wxDouble
) {}
3753 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3754 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3755 virtual void * GetNativeMatrix() const { return NULL
; }
3757 wxGraphicsMatrix wxNullGraphicsMatrix
;
3760 class wxGraphicsContext
: public wxGraphicsObject
3764 wxGraphicsContext(wxGraphicsRenderer
* ) {
3765 PyErr_SetString(PyExc_NotImplementedError
,
3766 "wx.GraphicsContext is not available on this platform.");
3769 virtual ~wxGraphicsContext() {}
3771 static wxGraphicsContext
* Create() {
3772 PyErr_SetString(PyExc_NotImplementedError
,
3773 "wx.GraphicsContext is not available on this platform.");
3776 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3777 PyErr_SetString(PyExc_NotImplementedError
,
3778 "wx.GraphicsContext is not available on this platform.");
3782 static wxGraphicsContext
* CreateFromNative( void * ) {
3783 PyErr_SetString(PyExc_NotImplementedError
,
3784 "wx.GraphicsContext is not available on this platform.");
3788 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3789 PyErr_SetString(PyExc_NotImplementedError
,
3790 "wx.GraphicsContext is not available on this platform.");
3794 static wxGraphicsContext
* Create( wxWindow
* ) {
3795 PyErr_SetString(PyExc_NotImplementedError
,
3796 "wx.GraphicsContext is not available on this platform.");
3800 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3802 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3804 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3806 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3807 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3809 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3810 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3811 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3813 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3815 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3816 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3818 virtual void PushState() {}
3819 virtual void PopState() {}
3820 virtual void Clip( const wxRegion
& ) {}
3821 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3822 virtual void ResetClip() {}
3823 virtual void * GetNativeContext() { return NULL
; }
3824 virtual int GetLogicalFunction() const { return 0; }
3825 virtual bool SetLogicalFunction(int ) {}
3826 virtual void Translate( wxDouble
, wxDouble
) {}
3827 virtual void Scale( wxDouble
, wxDouble
) {}
3828 virtual void Rotate( wxDouble
) {}
3829 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3830 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3831 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3833 virtual void SetPen( const wxGraphicsPen
& ) {}
3834 void SetPen( const wxPen
& ) {}
3836 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3837 void SetBrush( const wxBrush
& ) {}
3839 virtual void SetFont( const wxGraphicsFont
& ) {}
3840 void SetFont( const wxFont
&, const wxColour
& ) {}
3842 virtual void StrokePath( const wxGraphicsPath
& ) {}
3843 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3844 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3846 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3847 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3848 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3849 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3850 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3851 wxDouble
*, wxDouble
* ) const {}
3852 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3854 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3855 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3857 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3858 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3859 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3860 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3861 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3862 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3863 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3864 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3865 virtual bool ShouldOffset() const { return false; }
3869 class wxGraphicsRenderer
: public wxObject
3872 wxGraphicsRenderer() {
3873 PyErr_SetString(PyExc_NotImplementedError
,
3874 "wx.GraphicsRenderer is not available on this platform.");
3877 virtual ~wxGraphicsRenderer() {}
3879 static wxGraphicsRenderer
* GetDefaultRenderer() {
3880 PyErr_SetString(PyExc_NotImplementedError
,
3881 "wx.GraphicsRenderer is not available on this platform.");
3885 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3886 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3887 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3888 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3889 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3891 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3893 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3894 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3896 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3897 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3898 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3899 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3900 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3901 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3902 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3907 class wxGCDC
: public wxWindowDC
3910 wxGCDC(const wxWindowDC
&) {
3911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3912 PyErr_SetString(PyExc_NotImplementedError
,
3913 "wxGCDC is not available on this platform.");
3914 wxPyEndBlockThreads(blocked
);
3917 wxGCDC(const wxWindow
*) {
3918 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3919 PyErr_SetString(PyExc_NotImplementedError
,
3920 "wxGCDC is not available on this platform.");
3921 wxPyEndBlockThreads(blocked
);
3925 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3926 PyErr_SetString(PyExc_NotImplementedError
,
3927 "wxGCDC is not available on this platform.");
3928 wxPyEndBlockThreads(blocked
);
3931 virtual ~wxGCDC() {}
3933 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3934 void SetGraphicsContext( wxGraphicsContext
* ) {}
3939 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3940 if ( !backgroundBrush
.IsNull() )
3941 self
->DrawText(str
, x
, y
, backgroundBrush
);
3943 self
->DrawText(str
, x
, y
);
3945 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3946 if ( !backgroundBrush
.IsNull() )
3947 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3949 self
->DrawText(str
, x
, y
, angle
);
3951 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3952 wxDouble width
= 0.0,
3954 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3955 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3956 PyObject
* rv
= PyTuple_New(2);
3957 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3958 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3961 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3962 wxArrayDouble widths
;
3963 self
->GetPartialTextExtents(text
, widths
);
3966 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3967 size_t c1
, c2
, count
;
3968 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3969 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3971 if ( beginP
!= NULL
&& endP
!= NULL
)
3973 count
= wxMin(c1
, c2
);
3974 self
->StrokeLines(count
, beginP
, endP
);
3980 #include "wx/dcgraph.h"
3983 #include <wx/overlay.h>
3987 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3988 self
->AddColour(name
, wxColour(red
, green
, blue
));
3991 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3992 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3993 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3994 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3997 #include <wx/effects.h>
4000 #include "wx/renderer.h"
4003 SWIGINTERNINLINE PyObject
*
4004 SWIG_From_bool (bool value
)
4006 return PyBool_FromLong(value
? 1 : 0);
4010 #include "wx/wxPython/pseudodc.h"
4012 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4014 self
->GetIdBounds(id
, rect
);
4020 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4021 PyObject
*resultobj
= 0;
4022 wxGDIObject
*result
= 0 ;
4024 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4026 if (!wxPyCheckForApp()) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= (wxGDIObject
*)new wxGDIObject();
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4039 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4040 PyObject
*resultobj
= 0;
4041 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4044 PyObject
*swig_obj
[1] ;
4046 if (!args
) SWIG_fail
;
4048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4049 if (!SWIG_IsOK(res1
)) {
4050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4052 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= SWIG_Py_Void();
4067 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4068 PyObject
*resultobj
= 0;
4069 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4073 PyObject
*swig_obj
[1] ;
4075 if (!args
) SWIG_fail
;
4077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4078 if (!SWIG_IsOK(res1
)) {
4079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4081 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 result
= (bool)(arg1
)->IsNull();
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4097 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4100 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4101 return SWIG_Py_Void();
4104 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4105 return SWIG_Python_InitShadowInstance(args
);
4108 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
= 0;
4110 byte arg1
= (byte
) 0 ;
4111 byte arg2
= (byte
) 0 ;
4112 byte arg3
= (byte
) 0 ;
4113 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4114 wxColour
*result
= 0 ;
4115 unsigned char val1
;
4117 unsigned char val2
;
4119 unsigned char val3
;
4121 unsigned char val4
;
4123 PyObject
* obj0
= 0 ;
4124 PyObject
* obj1
= 0 ;
4125 PyObject
* obj2
= 0 ;
4126 PyObject
* obj3
= 0 ;
4127 char * kwnames
[] = {
4128 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4133 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4134 if (!SWIG_IsOK(ecode1
)) {
4135 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4137 arg1
= static_cast< byte
>(val1
);
4140 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4141 if (!SWIG_IsOK(ecode2
)) {
4142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4144 arg2
= static_cast< byte
>(val2
);
4147 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4148 if (!SWIG_IsOK(ecode3
)) {
4149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4151 arg3
= static_cast< byte
>(val3
);
4154 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4155 if (!SWIG_IsOK(ecode4
)) {
4156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4158 arg4
= static_cast< byte
>(val4
);
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4173 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
= 0;
4175 wxString
*arg1
= 0 ;
4176 wxColour
*result
= 0 ;
4177 bool temp1
= false ;
4178 PyObject
* obj0
= 0 ;
4179 char * kwnames
[] = {
4180 (char *) "colorName", NULL
4183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4185 arg1
= wxString_in_helper(obj0
);
4186 if (arg1
== NULL
) SWIG_fail
;
4190 if (!wxPyCheckForApp()) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4211 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
= 0;
4213 unsigned long arg1
;
4214 wxColour
*result
= 0 ;
4215 unsigned long val1
;
4217 PyObject
* obj0
= 0 ;
4218 char * kwnames
[] = {
4219 (char *) "colRGB", NULL
4222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4223 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4224 if (!SWIG_IsOK(ecode1
)) {
4225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4227 arg1
= static_cast< unsigned long >(val1
);
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (wxColour
*)new wxColour(arg1
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4241 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4242 PyObject
*resultobj
= 0;
4243 wxColour
*arg1
= (wxColour
*) 0 ;
4246 PyObject
*swig_obj
[1] ;
4248 if (!args
) SWIG_fail
;
4250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4251 if (!SWIG_IsOK(res1
)) {
4252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4254 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 resultobj
= SWIG_Py_Void();
4269 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4270 PyObject
*resultobj
= 0;
4271 wxColour
*arg1
= (wxColour
*) 0 ;
4275 PyObject
*swig_obj
[1] ;
4277 if (!args
) SWIG_fail
;
4279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4280 if (!SWIG_IsOK(res1
)) {
4281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4283 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 result
= (byte
)(arg1
)->Red();
4287 wxPyEndAllowThreads(__tstate
);
4288 if (PyErr_Occurred()) SWIG_fail
;
4290 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4297 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4298 PyObject
*resultobj
= 0;
4299 wxColour
*arg1
= (wxColour
*) 0 ;
4303 PyObject
*swig_obj
[1] ;
4305 if (!args
) SWIG_fail
;
4307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4308 if (!SWIG_IsOK(res1
)) {
4309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4311 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (byte
)(arg1
)->Green();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4325 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4326 PyObject
*resultobj
= 0;
4327 wxColour
*arg1
= (wxColour
*) 0 ;
4331 PyObject
*swig_obj
[1] ;
4333 if (!args
) SWIG_fail
;
4335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4336 if (!SWIG_IsOK(res1
)) {
4337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4339 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 result
= (byte
)(arg1
)->Blue();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4353 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4354 PyObject
*resultobj
= 0;
4355 wxColour
*arg1
= (wxColour
*) 0 ;
4359 PyObject
*swig_obj
[1] ;
4361 if (!args
) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4367 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 result
= (byte
)(arg1
)->Alpha();
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4381 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4382 PyObject
*resultobj
= 0;
4383 wxColour
*arg1
= (wxColour
*) 0 ;
4387 PyObject
*swig_obj
[1] ;
4389 if (!args
) SWIG_fail
;
4391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4392 if (!SWIG_IsOK(res1
)) {
4393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4395 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (bool)(arg1
)->IsOk();
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4411 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
= 0;
4413 wxColour
*arg1
= (wxColour
*) 0 ;
4417 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4420 unsigned char val2
;
4422 unsigned char val3
;
4424 unsigned char val4
;
4426 unsigned char val5
;
4428 PyObject
* obj0
= 0 ;
4429 PyObject
* obj1
= 0 ;
4430 PyObject
* obj2
= 0 ;
4431 PyObject
* obj3
= 0 ;
4432 PyObject
* obj4
= 0 ;
4433 char * kwnames
[] = {
4434 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4439 if (!SWIG_IsOK(res1
)) {
4440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4442 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4443 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4444 if (!SWIG_IsOK(ecode2
)) {
4445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4447 arg2
= static_cast< byte
>(val2
);
4448 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4449 if (!SWIG_IsOK(ecode3
)) {
4450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4452 arg3
= static_cast< byte
>(val3
);
4453 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4454 if (!SWIG_IsOK(ecode4
)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4457 arg4
= static_cast< byte
>(val4
);
4459 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4460 if (!SWIG_IsOK(ecode5
)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4463 arg5
= static_cast< byte
>(val5
);
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_Py_Void();
4478 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxColour
*arg1
= (wxColour
*) 0 ;
4481 unsigned long arg2
;
4484 unsigned long val2
;
4486 PyObject
* obj0
= 0 ;
4487 PyObject
* obj1
= 0 ;
4488 char * kwnames
[] = {
4489 (char *) "self",(char *) "colRGB", NULL
4492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4494 if (!SWIG_IsOK(res1
)) {
4495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4497 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4498 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4499 if (!SWIG_IsOK(ecode2
)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4502 arg2
= static_cast< unsigned long >(val2
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_Py_Void();
4516 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxColour
*arg1
= (wxColour
*) 0 ;
4519 wxString
*arg2
= 0 ;
4522 bool temp2
= false ;
4523 PyObject
* obj0
= 0 ;
4524 PyObject
* obj1
= 0 ;
4525 char * kwnames
[] = {
4526 (char *) "self",(char *) "colourName", NULL
4529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4531 if (!SWIG_IsOK(res1
)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4534 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4536 arg2
= wxString_in_helper(obj1
);
4537 if (arg2
== NULL
) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 (arg1
)->Set((wxString
const &)*arg2
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_Py_Void();
4561 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
= 0;
4563 wxColour
*arg1
= (wxColour
*) 0 ;
4564 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4570 PyObject
* obj0
= 0 ;
4571 PyObject
* obj1
= 0 ;
4572 char * kwnames
[] = {
4573 (char *) "self",(char *) "flags", NULL
4576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4578 if (!SWIG_IsOK(res1
)) {
4579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4581 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4583 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4584 if (!SWIG_IsOK(ecode2
)) {
4585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4587 arg2
= static_cast< long >(val2
);
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4608 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4609 PyObject
*resultobj
= 0;
4610 wxColour
*arg1
= (wxColour
*) 0 ;
4614 PyObject
*swig_obj
[1] ;
4616 if (!args
) SWIG_fail
;
4618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4619 if (!SWIG_IsOK(res1
)) {
4620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4622 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_From_long(static_cast< long >(result
));
4636 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
= 0;
4638 wxColour
*arg1
= (wxColour
*) 0 ;
4639 PyObject
*arg2
= (PyObject
*) 0 ;
4643 PyObject
* obj0
= 0 ;
4644 PyObject
* obj1
= 0 ;
4645 char * kwnames
[] = {
4646 (char *) "self",(char *) "other", NULL
4649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4651 if (!SWIG_IsOK(res1
)) {
4652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4654 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4657 result
= (bool)wxColour___eq__(arg1
,arg2
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4669 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
= 0;
4671 wxColour
*arg1
= (wxColour
*) 0 ;
4672 PyObject
*arg2
= (PyObject
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "other", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4687 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4690 result
= (bool)wxColour___ne__(arg1
,arg2
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4702 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
= 0;
4704 wxColour
*arg1
= (wxColour
*) 0 ;
4705 bool arg2
= (bool) false ;
4706 PyObject
*result
= 0 ;
4711 PyObject
* obj0
= 0 ;
4712 PyObject
* obj1
= 0 ;
4713 char * kwnames
[] = {
4714 (char *) "self",(char *) "includeAlpha", NULL
4717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4719 if (!SWIG_IsOK(res1
)) {
4720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4722 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4725 if (!SWIG_IsOK(ecode2
)) {
4726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4728 arg2
= static_cast< bool >(val2
);
4731 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4741 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4742 PyObject
*resultobj
= 0;
4743 wxColour
*arg1
= (wxColour
*) 0 ;
4744 unsigned long result
;
4747 PyObject
*swig_obj
[1] ;
4749 if (!args
) SWIG_fail
;
4751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4752 if (!SWIG_IsOK(res1
)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4755 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4757 result
= (unsigned long)wxColour_GetRGB(arg1
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4767 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4770 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4771 return SWIG_Py_Void();
4774 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4775 return SWIG_Python_InitShadowInstance(args
);
4778 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
= 0;
4781 unsigned char *arg2
= (unsigned char *) 0 ;
4782 unsigned char *arg3
= (unsigned char *) 0 ;
4783 unsigned char *arg4
= (unsigned char *) 0 ;
4784 wxPalette
*result
= 0 ;
4793 PyObject
* obj0
= 0 ;
4794 PyObject
* obj1
= 0 ;
4795 PyObject
* obj2
= 0 ;
4796 PyObject
* obj3
= 0 ;
4797 char * kwnames
[] = {
4798 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4802 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4803 if (!SWIG_IsOK(ecode1
)) {
4804 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4806 arg1
= static_cast< int >(val1
);
4807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4808 if (!SWIG_IsOK(res2
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4811 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4812 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4813 if (!SWIG_IsOK(res3
)) {
4814 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4816 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4817 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4818 if (!SWIG_IsOK(res4
)) {
4819 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4821 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4823 if (!wxPyCheckForApp()) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4836 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4837 PyObject
*resultobj
= 0;
4838 wxPalette
*arg1
= (wxPalette
*) 0 ;
4841 PyObject
*swig_obj
[1] ;
4843 if (!args
) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4849 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_Py_Void();
4864 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
= 0;
4866 wxPalette
*arg1
= (wxPalette
*) 0 ;
4873 unsigned char val2
;
4875 unsigned char val3
;
4877 unsigned char val4
;
4879 PyObject
* obj0
= 0 ;
4880 PyObject
* obj1
= 0 ;
4881 PyObject
* obj2
= 0 ;
4882 PyObject
* obj3
= 0 ;
4883 char * kwnames
[] = {
4884 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4889 if (!SWIG_IsOK(res1
)) {
4890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4892 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4893 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4894 if (!SWIG_IsOK(ecode2
)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4897 arg2
= static_cast< byte
>(val2
);
4898 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4899 if (!SWIG_IsOK(ecode3
)) {
4900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4902 arg3
= static_cast< byte
>(val3
);
4903 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4904 if (!SWIG_IsOK(ecode4
)) {
4905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4907 arg4
= static_cast< byte
>(val4
);
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_From_int(static_cast< int >(result
));
4921 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
= 0;
4923 wxPalette
*arg1
= (wxPalette
*) 0 ;
4925 byte
*arg3
= (byte
*) 0 ;
4926 byte
*arg4
= (byte
*) 0 ;
4927 byte
*arg5
= (byte
*) 0 ;
4934 int res3
= SWIG_TMPOBJ
;
4936 int res4
= SWIG_TMPOBJ
;
4938 int res5
= SWIG_TMPOBJ
;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4941 char * kwnames
[] = {
4942 (char *) "self",(char *) "pixel", NULL
4948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4953 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4955 if (!SWIG_IsOK(ecode2
)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4958 arg2
= static_cast< int >(val2
);
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4968 if (SWIG_IsTmpObj(res3
)) {
4969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4971 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4974 if (SWIG_IsTmpObj(res4
)) {
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4977 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4980 if (SWIG_IsTmpObj(res5
)) {
4981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4983 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4992 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4993 PyObject
*resultobj
= 0;
4994 wxPalette
*arg1
= (wxPalette
*) 0 ;
4998 PyObject
*swig_obj
[1] ;
5000 if (!args
) SWIG_fail
;
5002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5003 if (!SWIG_IsOK(res1
)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5006 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= SWIG_From_int(static_cast< int >(result
));
5020 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5021 PyObject
*resultobj
= 0;
5022 wxPalette
*arg1
= (wxPalette
*) 0 ;
5026 PyObject
*swig_obj
[1] ;
5028 if (!args
) SWIG_fail
;
5030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5031 if (!SWIG_IsOK(res1
)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5034 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (bool)(arg1
)->IsOk();
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5050 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5053 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5054 return SWIG_Py_Void();
5057 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5058 return SWIG_Python_InitShadowInstance(args
);
5061 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
= 0;
5063 wxColour
*arg1
= 0 ;
5064 int arg2
= (int) 1 ;
5065 int arg3
= (int) wxSOLID
;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 PyObject
* obj2
= 0 ;
5075 char * kwnames
[] = {
5076 (char *) "colour",(char *) "width",(char *) "style", NULL
5079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5082 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5086 if (!SWIG_IsOK(ecode2
)) {
5087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5089 arg2
= static_cast< int >(val2
);
5092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5093 if (!SWIG_IsOK(ecode3
)) {
5094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5096 arg3
= static_cast< int >(val3
);
5099 if (!wxPyCheckForApp()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5112 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5113 PyObject
*resultobj
= 0;
5114 wxPen
*arg1
= (wxPen
*) 0 ;
5117 PyObject
*swig_obj
[1] ;
5119 if (!args
) SWIG_fail
;
5121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5122 if (!SWIG_IsOK(res1
)) {
5123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5125 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= SWIG_Py_Void();
5140 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5141 PyObject
*resultobj
= 0;
5142 wxPen
*arg1
= (wxPen
*) 0 ;
5146 PyObject
*swig_obj
[1] ;
5148 if (!args
) SWIG_fail
;
5150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5151 if (!SWIG_IsOK(res1
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5154 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (int)(arg1
)->GetCap();
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_From_int(static_cast< int >(result
));
5168 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5169 PyObject
*resultobj
= 0;
5170 wxPen
*arg1
= (wxPen
*) 0 ;
5174 PyObject
*swig_obj
[1] ;
5176 if (!args
) SWIG_fail
;
5178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5179 if (!SWIG_IsOK(res1
)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5182 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (arg1
)->GetColour();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5196 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5197 PyObject
*resultobj
= 0;
5198 wxPen
*arg1
= (wxPen
*) 0 ;
5202 PyObject
*swig_obj
[1] ;
5204 if (!args
) SWIG_fail
;
5206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5207 if (!SWIG_IsOK(res1
)) {
5208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5210 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= (int)(arg1
)->GetJoin();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_From_int(static_cast< int >(result
));
5224 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5225 PyObject
*resultobj
= 0;
5226 wxPen
*arg1
= (wxPen
*) 0 ;
5230 PyObject
*swig_obj
[1] ;
5232 if (!args
) SWIG_fail
;
5234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5235 if (!SWIG_IsOK(res1
)) {
5236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5238 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 result
= (int)(arg1
)->GetStyle();
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_From_int(static_cast< int >(result
));
5252 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5253 PyObject
*resultobj
= 0;
5254 wxPen
*arg1
= (wxPen
*) 0 ;
5258 PyObject
*swig_obj
[1] ;
5260 if (!args
) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5266 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= (int)(arg1
)->GetWidth();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_From_int(static_cast< int >(result
));
5280 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5281 PyObject
*resultobj
= 0;
5282 wxPen
*arg1
= (wxPen
*) 0 ;
5286 PyObject
*swig_obj
[1] ;
5288 if (!args
) SWIG_fail
;
5290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5291 if (!SWIG_IsOK(res1
)) {
5292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5294 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= (bool)(arg1
)->IsOk();
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5310 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
= 0;
5312 wxPen
*arg1
= (wxPen
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5320 char * kwnames
[] = {
5321 (char *) "self",(char *) "cap_style", NULL
5324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5326 if (!SWIG_IsOK(res1
)) {
5327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5329 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5331 if (!SWIG_IsOK(ecode2
)) {
5332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5334 arg2
= static_cast< int >(val2
);
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->SetCap(arg2
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= SWIG_Py_Void();
5348 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
= 0;
5350 wxPen
*arg1
= (wxPen
*) 0 ;
5351 wxColour
*arg2
= 0 ;
5355 PyObject
* obj0
= 0 ;
5356 PyObject
* obj1
= 0 ;
5357 char * kwnames
[] = {
5358 (char *) "self",(char *) "colour", NULL
5361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5363 if (!SWIG_IsOK(res1
)) {
5364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5366 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5369 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 (arg1
)->SetColour(*arg2
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 resultobj
= SWIG_Py_Void();
5384 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
= 0;
5386 wxPen
*arg1
= (wxPen
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5393 PyObject
* obj1
= 0 ;
5394 char * kwnames
[] = {
5395 (char *) "self",(char *) "join_style", NULL
5398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5400 if (!SWIG_IsOK(res1
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5403 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5405 if (!SWIG_IsOK(ecode2
)) {
5406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5408 arg2
= static_cast< int >(val2
);
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 (arg1
)->SetJoin(arg2
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_Py_Void();
5422 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
= 0;
5424 wxPen
*arg1
= (wxPen
*) 0 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5432 char * kwnames
[] = {
5433 (char *) "self",(char *) "style", NULL
5436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5438 if (!SWIG_IsOK(res1
)) {
5439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5441 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5443 if (!SWIG_IsOK(ecode2
)) {
5444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5446 arg2
= static_cast< int >(val2
);
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 (arg1
)->SetStyle(arg2
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= SWIG_Py_Void();
5460 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
= 0;
5462 wxPen
*arg1
= (wxPen
*) 0 ;
5468 PyObject
* obj0
= 0 ;
5469 PyObject
* obj1
= 0 ;
5470 char * kwnames
[] = {
5471 (char *) "self",(char *) "width", NULL
5474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5476 if (!SWIG_IsOK(res1
)) {
5477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5479 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5481 if (!SWIG_IsOK(ecode2
)) {
5482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5484 arg2
= static_cast< int >(val2
);
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 (arg1
)->SetWidth(arg2
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5491 resultobj
= SWIG_Py_Void();
5498 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
= 0;
5500 wxPen
*arg1
= (wxPen
*) 0 ;
5502 wxDash
*arg3
= (wxDash
*) 0 ;
5505 PyObject
* obj0
= 0 ;
5506 PyObject
* obj1
= 0 ;
5507 char * kwnames
[] = {
5508 (char *) "self",(char *) "dashes", NULL
5511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5513 if (!SWIG_IsOK(res1
)) {
5514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5516 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5518 arg2
= PyList_Size(obj1
);
5519 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5520 if (arg3
== NULL
) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 (arg1
)->SetDashes(arg2
,arg3
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= SWIG_Py_Void();
5530 if (arg3
) delete [] arg3
;
5535 if (arg3
) delete [] arg3
;
5541 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5542 PyObject
*resultobj
= 0;
5543 wxPen
*arg1
= (wxPen
*) 0 ;
5544 PyObject
*result
= 0 ;
5547 PyObject
*swig_obj
[1] ;
5549 if (!args
) SWIG_fail
;
5551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5552 if (!SWIG_IsOK(res1
)) {
5553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5555 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5569 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
= 0;
5571 wxPen
*arg1
= (wxPen
*) 0 ;
5572 PyObject
*arg2
= (PyObject
*) 0 ;
5573 PyObject
*arg3
= (PyObject
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5577 PyObject
* obj1
= 0 ;
5578 PyObject
* obj2
= 0 ;
5579 char * kwnames
[] = {
5580 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5585 if (!SWIG_IsOK(res1
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5588 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 wxPen__SetDashes(arg1
,arg2
,arg3
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_Py_Void();
5604 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
= 0;
5606 wxPen
*arg1
= (wxPen
*) 0 ;
5607 wxPen
*arg2
= (wxPen
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5615 char * kwnames
[] = {
5616 (char *) "self",(char *) "other", NULL
5619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5621 if (!SWIG_IsOK(res1
)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5624 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5626 if (!SWIG_IsOK(res2
)) {
5627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5629 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5645 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
= 0;
5647 wxPen
*arg1
= (wxPen
*) 0 ;
5648 wxPen
*arg2
= (wxPen
*) 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5656 char * kwnames
[] = {
5657 (char *) "self",(char *) "other", NULL
5660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5662 if (!SWIG_IsOK(res1
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5665 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5667 if (!SWIG_IsOK(res2
)) {
5668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5670 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5686 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5689 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5690 return SWIG_Py_Void();
5693 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5694 return SWIG_Python_InitShadowInstance(args
);
5697 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
= 0;
5699 wxColour
*arg1
= 0 ;
5700 int arg2
= (int) wxSOLID
;
5701 wxBrush
*result
= 0 ;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 char * kwnames
[] = {
5708 (char *) "colour",(char *) "style", NULL
5711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5714 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5718 if (!SWIG_IsOK(ecode2
)) {
5719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5721 arg2
= static_cast< int >(val2
);
5724 if (!wxPyCheckForApp()) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5737 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
= 0;
5739 wxBitmap
*arg1
= 0 ;
5740 wxBrush
*result
= 0 ;
5743 PyObject
* obj0
= 0 ;
5744 char * kwnames
[] = {
5745 (char *) "stippleBitmap", NULL
5748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5749 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5750 if (!SWIG_IsOK(res1
)) {
5751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5756 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5758 if (!wxPyCheckForApp()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5771 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5772 PyObject
*resultobj
= 0;
5773 wxBrush
*arg1
= (wxBrush
*) 0 ;
5776 PyObject
*swig_obj
[1] ;
5778 if (!args
) SWIG_fail
;
5780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5781 if (!SWIG_IsOK(res1
)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5784 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) SWIG_fail
;
5792 resultobj
= SWIG_Py_Void();
5799 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
*resultobj
= 0;
5801 wxBrush
*arg1
= (wxBrush
*) 0 ;
5802 wxColour
*arg2
= 0 ;
5806 PyObject
* obj0
= 0 ;
5807 PyObject
* obj1
= 0 ;
5808 char * kwnames
[] = {
5809 (char *) "self",(char *) "col", NULL
5812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5814 if (!SWIG_IsOK(res1
)) {
5815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5817 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5820 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 (arg1
)->SetColour((wxColour
const &)*arg2
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_Py_Void();
5835 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
= 0;
5837 wxBrush
*arg1
= (wxBrush
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 char * kwnames
[] = {
5846 (char *) "self",(char *) "style", NULL
5849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5851 if (!SWIG_IsOK(res1
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5854 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5856 if (!SWIG_IsOK(ecode2
)) {
5857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5859 arg2
= static_cast< int >(val2
);
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 (arg1
)->SetStyle(arg2
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= SWIG_Py_Void();
5873 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
= 0;
5875 wxBrush
*arg1
= (wxBrush
*) 0 ;
5876 wxBitmap
*arg2
= 0 ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 char * kwnames
[] = {
5884 (char *) "self",(char *) "stipple", NULL
5887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5892 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5894 if (!SWIG_IsOK(res2
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5900 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 resultobj
= SWIG_Py_Void();
5914 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5915 PyObject
*resultobj
= 0;
5916 wxBrush
*arg1
= (wxBrush
*) 0 ;
5920 PyObject
*swig_obj
[1] ;
5922 if (!args
) SWIG_fail
;
5924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5925 if (!SWIG_IsOK(res1
)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5928 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= ((wxBrush
const *)arg1
)->GetColour();
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5942 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5943 PyObject
*resultobj
= 0;
5944 wxBrush
*arg1
= (wxBrush
*) 0 ;
5948 PyObject
*swig_obj
[1] ;
5950 if (!args
) SWIG_fail
;
5952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5953 if (!SWIG_IsOK(res1
)) {
5954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5956 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_From_int(static_cast< int >(result
));
5970 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5971 PyObject
*resultobj
= 0;
5972 wxBrush
*arg1
= (wxBrush
*) 0 ;
5973 wxBitmap
*result
= 0 ;
5976 PyObject
*swig_obj
[1] ;
5978 if (!args
) SWIG_fail
;
5980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5981 if (!SWIG_IsOK(res1
)) {
5982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5984 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5998 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5999 PyObject
*resultobj
= 0;
6000 wxBrush
*arg1
= (wxBrush
*) 0 ;
6004 PyObject
*swig_obj
[1] ;
6006 if (!args
) SWIG_fail
;
6008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6009 if (!SWIG_IsOK(res1
)) {
6010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6012 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6028 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6029 PyObject
*resultobj
= 0;
6030 wxBrush
*arg1
= (wxBrush
*) 0 ;
6034 PyObject
*swig_obj
[1] ;
6036 if (!args
) SWIG_fail
;
6038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6039 if (!SWIG_IsOK(res1
)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6042 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (bool)(arg1
)->IsOk();
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6058 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6059 PyObject
*resultobj
= 0;
6060 wxBrush
*arg1
= (wxBrush
*) 0 ;
6064 PyObject
*swig_obj
[1] ;
6066 if (!args
) SWIG_fail
;
6068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6069 if (!SWIG_IsOK(res1
)) {
6070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6072 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (short)(arg1
)->MacGetTheme();
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= SWIG_From_short(static_cast< short >(result
));
6086 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
*resultobj
= 0;
6088 wxBrush
*arg1
= (wxBrush
*) 0 ;
6094 PyObject
* obj0
= 0 ;
6095 PyObject
* obj1
= 0 ;
6096 char * kwnames
[] = {
6097 (char *) "self",(char *) "macThemeBrush", NULL
6100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6102 if (!SWIG_IsOK(res1
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6105 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6106 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6107 if (!SWIG_IsOK(ecode2
)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6110 arg2
= static_cast< short >(val2
);
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 (arg1
)->MacSetTheme(arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= SWIG_Py_Void();
6124 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6127 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6128 return SWIG_Py_Void();
6131 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6132 return SWIG_Python_InitShadowInstance(args
);
6135 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
= 0;
6137 wxString
*arg1
= 0 ;
6138 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6139 wxBitmap
*result
= 0 ;
6140 bool temp1
= false ;
6143 PyObject
* obj0
= 0 ;
6144 PyObject
* obj1
= 0 ;
6145 char * kwnames
[] = {
6146 (char *) "name",(char *) "type", NULL
6149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6151 arg1
= wxString_in_helper(obj0
);
6152 if (arg1
== NULL
) SWIG_fail
;
6156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6157 if (!SWIG_IsOK(ecode2
)) {
6158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6160 arg2
= static_cast< wxBitmapType
>(val2
);
6163 if (!wxPyCheckForApp()) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6184 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6185 PyObject
*resultobj
= 0;
6186 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6189 PyObject
*swig_obj
[1] ;
6191 if (!args
) SWIG_fail
;
6193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6194 if (!SWIG_IsOK(res1
)) {
6195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6197 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= SWIG_Py_Void();
6210 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
= 0;
6214 int arg3
= (int) -1 ;
6215 wxBitmap
*result
= 0 ;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6224 PyObject
* obj2
= 0 ;
6225 char * kwnames
[] = {
6226 (char *) "width",(char *) "height",(char *) "depth", NULL
6229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6231 if (!SWIG_IsOK(ecode1
)) {
6232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6234 arg1
= static_cast< int >(val1
);
6235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6236 if (!SWIG_IsOK(ecode2
)) {
6237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6239 arg2
= static_cast< int >(val2
);
6241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6242 if (!SWIG_IsOK(ecode3
)) {
6243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6245 arg3
= static_cast< int >(val3
);
6248 if (!wxPyCheckForApp()) SWIG_fail
;
6249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6261 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
= 0;
6264 wxBitmap
*result
= 0 ;
6267 PyObject
* obj0
= 0 ;
6268 char * kwnames
[] = {
6269 (char *) "icon", NULL
6272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6273 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6274 if (!SWIG_IsOK(res1
)) {
6275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6280 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6282 if (!wxPyCheckForApp()) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6295 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
= 0;
6298 int arg2
= (int) -1 ;
6299 wxBitmap
*result
= 0 ;
6304 PyObject
* obj0
= 0 ;
6305 PyObject
* obj1
= 0 ;
6306 char * kwnames
[] = {
6307 (char *) "image",(char *) "depth", NULL
6310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6311 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6312 if (!SWIG_IsOK(res1
)) {
6313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6318 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6321 if (!SWIG_IsOK(ecode2
)) {
6322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6324 arg2
= static_cast< int >(val2
);
6327 if (!wxPyCheckForApp()) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6340 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
= 0;
6342 PyObject
*arg1
= (PyObject
*) 0 ;
6343 wxBitmap
*result
= 0 ;
6344 PyObject
* obj0
= 0 ;
6345 char * kwnames
[] = {
6346 (char *) "listOfStrings", NULL
6349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6352 if (!wxPyCheckForApp()) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6365 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
= 0;
6367 PyObject
*arg1
= (PyObject
*) 0 ;
6370 int arg4
= (int) 1 ;
6371 wxBitmap
*result
= 0 ;
6378 PyObject
* obj0
= 0 ;
6379 PyObject
* obj1
= 0 ;
6380 PyObject
* obj2
= 0 ;
6381 PyObject
* obj3
= 0 ;
6382 char * kwnames
[] = {
6383 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6389 if (!SWIG_IsOK(ecode2
)) {
6390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6392 arg2
= static_cast< int >(val2
);
6393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6394 if (!SWIG_IsOK(ecode3
)) {
6395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6397 arg3
= static_cast< int >(val3
);
6399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6400 if (!SWIG_IsOK(ecode4
)) {
6401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6403 arg4
= static_cast< int >(val4
);
6406 if (!wxPyCheckForApp()) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6419 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6420 PyObject
*resultobj
= 0;
6421 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6425 PyObject
*swig_obj
[1] ;
6427 if (!args
) SWIG_fail
;
6429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6430 if (!SWIG_IsOK(res1
)) {
6431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6433 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6435 result
= (bool)(arg1
)->IsOk();
6436 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6447 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6448 PyObject
*resultobj
= 0;
6449 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6453 PyObject
*swig_obj
[1] ;
6455 if (!args
) SWIG_fail
;
6457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6458 if (!SWIG_IsOK(res1
)) {
6459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6461 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6463 result
= (int)(arg1
)->GetWidth();
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_From_int(static_cast< int >(result
));
6473 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6474 PyObject
*resultobj
= 0;
6475 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6479 PyObject
*swig_obj
[1] ;
6481 if (!args
) SWIG_fail
;
6483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6484 if (!SWIG_IsOK(res1
)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6487 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6489 result
= (int)(arg1
)->GetHeight();
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= SWIG_From_int(static_cast< int >(result
));
6499 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6500 PyObject
*resultobj
= 0;
6501 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6505 PyObject
*swig_obj
[1] ;
6507 if (!args
) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6513 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6515 result
= (int)(arg1
)->GetDepth();
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= SWIG_From_int(static_cast< int >(result
));
6525 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6526 PyObject
*resultobj
= 0;
6527 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6531 PyObject
*swig_obj
[1] ;
6533 if (!args
) SWIG_fail
;
6535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6536 if (!SWIG_IsOK(res1
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6539 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6541 result
= wxBitmap_GetSize(arg1
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6551 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6552 PyObject
*resultobj
= 0;
6553 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6554 SwigValueWrapper
<wxImage
> result
;
6557 PyObject
*swig_obj
[1] ;
6559 if (!args
) SWIG_fail
;
6561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6562 if (!SWIG_IsOK(res1
)) {
6563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6565 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6567 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6577 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6578 PyObject
*resultobj
= 0;
6579 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6580 wxMask
*result
= 0 ;
6583 PyObject
*swig_obj
[1] ;
6585 if (!args
) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6591 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6593 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6603 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
= 0;
6605 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6606 wxMask
*arg2
= (wxMask
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 char * kwnames
[] = {
6613 (char *) "self",(char *) "mask", NULL
6616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6621 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6622 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6623 if (!SWIG_IsOK(res2
)) {
6624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6627 (arg1
)->SetMask(arg2
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= SWIG_Py_Void();
6637 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
= 0;
6639 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6640 wxColour
*arg2
= 0 ;
6644 PyObject
* obj0
= 0 ;
6645 PyObject
* obj1
= 0 ;
6646 char * kwnames
[] = {
6647 (char *) "self",(char *) "colour", NULL
6650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6652 if (!SWIG_IsOK(res1
)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6655 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6658 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6661 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= SWIG_Py_Void();
6671 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
= 0;
6673 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6675 SwigValueWrapper
<wxBitmap
> result
;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 char * kwnames
[] = {
6682 (char *) "self",(char *) "rect", NULL
6685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6687 if (!SWIG_IsOK(res1
)) {
6688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6690 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6693 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6696 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6706 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
= 0;
6708 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6709 wxString
*arg2
= 0 ;
6711 wxPalette
*arg4
= (wxPalette
*) NULL
;
6715 bool temp2
= false ;
6720 PyObject
* obj0
= 0 ;
6721 PyObject
* obj1
= 0 ;
6722 PyObject
* obj2
= 0 ;
6723 PyObject
* obj3
= 0 ;
6724 char * kwnames
[] = {
6725 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6730 if (!SWIG_IsOK(res1
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6733 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6735 arg2
= wxString_in_helper(obj1
);
6736 if (arg2
== NULL
) SWIG_fail
;
6739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6740 if (!SWIG_IsOK(ecode3
)) {
6741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6743 arg3
= static_cast< wxBitmapType
>(val3
);
6745 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6746 if (!SWIG_IsOK(res4
)) {
6747 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6749 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6752 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6772 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
= 0;
6774 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6775 wxString
*arg2
= 0 ;
6780 bool temp2
= false ;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6785 PyObject
* obj2
= 0 ;
6786 char * kwnames
[] = {
6787 (char *) "self",(char *) "name",(char *) "type", NULL
6790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6792 if (!SWIG_IsOK(res1
)) {
6793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6795 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6797 arg2
= wxString_in_helper(obj1
);
6798 if (arg2
== NULL
) SWIG_fail
;
6801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6802 if (!SWIG_IsOK(ecode3
)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6805 arg3
= static_cast< wxBitmapType
>(val3
);
6807 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6827 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6828 PyObject
*resultobj
= 0;
6829 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6830 wxPalette
*result
= 0 ;
6833 PyObject
*swig_obj
[1] ;
6835 if (!args
) SWIG_fail
;
6837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6838 if (!SWIG_IsOK(res1
)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6841 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6843 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6853 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
= 0;
6855 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 char * kwnames
[] = {
6865 (char *) "self",(char *) "icon", NULL
6868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6870 if (!SWIG_IsOK(res1
)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6873 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6875 if (!SWIG_IsOK(res2
)) {
6876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6881 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6883 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6895 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
= 0;
6897 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6903 PyObject
* obj0
= 0 ;
6904 PyObject
* obj1
= 0 ;
6905 char * kwnames
[] = {
6906 (char *) "self",(char *) "height", NULL
6909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6911 if (!SWIG_IsOK(res1
)) {
6912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6914 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6916 if (!SWIG_IsOK(ecode2
)) {
6917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6919 arg2
= static_cast< int >(val2
);
6921 (arg1
)->SetHeight(arg2
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_Py_Void();
6931 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
= 0;
6933 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6940 PyObject
* obj1
= 0 ;
6941 char * kwnames
[] = {
6942 (char *) "self",(char *) "width", NULL
6945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6947 if (!SWIG_IsOK(res1
)) {
6948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6950 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6952 if (!SWIG_IsOK(ecode2
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6955 arg2
= static_cast< int >(val2
);
6957 (arg1
)->SetWidth(arg2
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 resultobj
= SWIG_Py_Void();
6967 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
= 0;
6969 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6977 char * kwnames
[] = {
6978 (char *) "self",(char *) "depth", NULL
6981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6983 if (!SWIG_IsOK(res1
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6986 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6988 if (!SWIG_IsOK(ecode2
)) {
6989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6991 arg2
= static_cast< int >(val2
);
6993 (arg1
)->SetDepth(arg2
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= SWIG_Py_Void();
7003 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
= 0;
7005 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7012 char * kwnames
[] = {
7013 (char *) "self",(char *) "size", NULL
7016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7018 if (!SWIG_IsOK(res1
)) {
7019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7021 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7024 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7027 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= SWIG_Py_Void();
7037 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
= 0;
7039 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 char * kwnames
[] = {
7048 (char *) "self",(char *) "data", NULL
7051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7053 if (!SWIG_IsOK(res1
)) {
7054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7056 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7058 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7062 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_Py_Void();
7072 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
= 0;
7074 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7080 PyObject
* obj0
= 0 ;
7081 PyObject
* obj1
= 0 ;
7082 char * kwnames
[] = {
7083 (char *) "self",(char *) "data", NULL
7086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7088 if (!SWIG_IsOK(res1
)) {
7089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7091 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7093 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7097 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= SWIG_Py_Void();
7107 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
= 0;
7109 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7110 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7117 PyObject
* obj1
= 0 ;
7118 char * kwnames
[] = {
7119 (char *) "self",(char *) "other", NULL
7122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7124 if (!SWIG_IsOK(res1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7127 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7129 if (!SWIG_IsOK(res2
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7132 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7134 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7146 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
= 0;
7148 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7149 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7157 char * kwnames
[] = {
7158 (char *) "self",(char *) "other", NULL
7161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7163 if (!SWIG_IsOK(res1
)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7166 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7168 if (!SWIG_IsOK(res2
)) {
7169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7171 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7173 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7185 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7188 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7189 return SWIG_Py_Void();
7192 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7193 return SWIG_Python_InitShadowInstance(args
);
7196 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
= 0;
7204 wxBitmap
*result
= 0 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 PyObject
* obj2
= 0 ;
7214 PyObject
* obj3
= 0 ;
7215 char * kwnames
[] = {
7216 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7221 if (!SWIG_IsOK(ecode1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7224 arg1
= static_cast< int >(val1
);
7225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7226 if (!SWIG_IsOK(ecode2
)) {
7227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7229 arg2
= static_cast< int >(val2
);
7231 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7235 if (obj3
!= Py_None
) {
7236 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7241 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7251 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
= 0;
7257 wxBitmap
*result
= 0 ;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7265 PyObject
* obj2
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "width",(char *) "height",(char *) "data", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7272 if (!SWIG_IsOK(ecode1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7275 arg1
= static_cast< int >(val1
);
7276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7277 if (!SWIG_IsOK(ecode2
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7280 arg2
= static_cast< int >(val2
);
7282 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7286 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7296 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
= 0;
7302 wxBitmap
*result
= 0 ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7310 PyObject
* obj2
= 0 ;
7311 char * kwnames
[] = {
7312 (char *) "width",(char *) "height",(char *) "data", NULL
7315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7317 if (!SWIG_IsOK(ecode1
)) {
7318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7320 arg1
= static_cast< int >(val1
);
7321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7322 if (!SWIG_IsOK(ecode2
)) {
7323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7325 arg2
= static_cast< int >(val2
);
7327 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7331 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7341 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7342 PyObject
*resultobj
= 0;
7343 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7347 PyObject
*swig_obj
[1] ;
7349 if (!args
) SWIG_fail
;
7351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7352 if (!SWIG_IsOK(res1
)) {
7353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7355 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7357 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7367 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7368 PyObject
*resultobj
= 0;
7369 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7373 PyObject
*swig_obj
[1] ;
7375 if (!args
) SWIG_fail
;
7377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7378 if (!SWIG_IsOK(res1
)) {
7379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7381 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7383 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= SWIG_From_int(static_cast< int >(result
));
7393 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7394 PyObject
*resultobj
= 0;
7395 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7399 PyObject
*swig_obj
[1] ;
7401 if (!args
) SWIG_fail
;
7403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7404 if (!SWIG_IsOK(res1
)) {
7405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7407 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7409 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= SWIG_From_int(static_cast< int >(result
));
7419 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 PyObject
*resultobj
= 0;
7421 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7425 PyObject
*swig_obj
[1] ;
7427 if (!args
) SWIG_fail
;
7429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7430 if (!SWIG_IsOK(res1
)) {
7431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7433 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7435 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7445 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7446 PyObject
*resultobj
= 0;
7447 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7451 PyObject
*swig_obj
[1] ;
7453 if (!args
) SWIG_fail
;
7455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7456 if (!SWIG_IsOK(res1
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7459 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7461 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= SWIG_From_int(static_cast< int >(result
));
7471 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7474 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7475 return SWIG_Py_Void();
7478 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7479 PyObject
*resultobj
= 0;
7480 wxBitmap
*arg1
= 0 ;
7481 wxNativePixelData
*result
= 0 ;
7485 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7487 if (!SWIG_IsOK(res1
)) {
7488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7493 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7495 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7505 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7506 PyObject
*resultobj
= 0;
7507 wxBitmap
*arg1
= 0 ;
7509 wxNativePixelData
*result
= 0 ;
7514 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7522 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7525 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7528 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7538 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7539 PyObject
*resultobj
= 0;
7540 wxBitmap
*arg1
= 0 ;
7543 wxNativePixelData
*result
= 0 ;
7549 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7551 if (!SWIG_IsOK(res1
)) {
7552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7557 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7560 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7564 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7567 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7577 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7581 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7584 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7587 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7590 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7594 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7599 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7600 PyObject
*resultobj
= 0;
7601 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7604 PyObject
*swig_obj
[1] ;
7606 if (!args
) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7612 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= SWIG_Py_Void();
7625 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7626 PyObject
*resultobj
= 0;
7627 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7628 wxNativePixelData_Accessor result
;
7631 PyObject
*swig_obj
[1] ;
7633 if (!args
) SWIG_fail
;
7635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7636 if (!SWIG_IsOK(res1
)) {
7637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7639 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7641 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7651 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7652 PyObject
*resultobj
= 0;
7653 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7656 PyObject
*swig_obj
[1] ;
7658 if (!args
) SWIG_fail
;
7660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7661 if (!SWIG_IsOK(res1
)) {
7662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7664 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_Py_Void();
7676 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7677 PyObject
*resultobj
= 0;
7678 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7682 PyObject
*swig_obj
[1] ;
7684 if (!args
) SWIG_fail
;
7686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7687 if (!SWIG_IsOK(res1
)) {
7688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7690 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7692 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7704 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7707 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7708 return SWIG_Py_Void();
7711 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7712 return SWIG_Python_InitShadowInstance(args
);
7715 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7716 PyObject
*resultobj
= 0;
7717 wxNativePixelData
*arg1
= 0 ;
7718 wxNativePixelData_Accessor
*result
= 0 ;
7722 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7724 if (!SWIG_IsOK(res1
)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7730 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7732 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7742 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7743 PyObject
*resultobj
= 0;
7744 wxBitmap
*arg1
= 0 ;
7745 wxNativePixelData
*arg2
= 0 ;
7746 wxNativePixelData_Accessor
*result
= 0 ;
7752 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7754 if (!SWIG_IsOK(res1
)) {
7755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7760 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7761 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7762 if (!SWIG_IsOK(res2
)) {
7763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7768 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7770 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7780 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7781 PyObject
*resultobj
= 0;
7782 wxNativePixelData_Accessor
*result
= 0 ;
7784 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7786 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7796 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7800 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7803 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7806 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7809 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7813 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7818 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7819 PyObject
*resultobj
= 0;
7820 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7823 PyObject
*swig_obj
[1] ;
7825 if (!args
) SWIG_fail
;
7827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7828 if (!SWIG_IsOK(res1
)) {
7829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7831 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= SWIG_Py_Void();
7844 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
= 0;
7846 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7847 wxNativePixelData
*arg2
= 0 ;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7854 char * kwnames
[] = {
7855 (char *) "self",(char *) "data", NULL
7858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7860 if (!SWIG_IsOK(res1
)) {
7861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7863 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7865 if (!SWIG_IsOK(res2
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7871 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7873 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_Py_Void();
7883 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7884 PyObject
*resultobj
= 0;
7885 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7889 PyObject
*swig_obj
[1] ;
7891 if (!args
) SWIG_fail
;
7893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7894 if (!SWIG_IsOK(res1
)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7897 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7899 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7900 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7911 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7912 PyObject
*resultobj
= 0;
7913 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7916 PyObject
*swig_obj
[1] ;
7918 if (!args
) SWIG_fail
;
7920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7921 if (!SWIG_IsOK(res1
)) {
7922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7924 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7926 wxNativePixelData_Accessor_nextPixel(arg1
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_Py_Void();
7936 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= 0;
7938 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7939 wxNativePixelData
*arg2
= 0 ;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7952 PyObject
* obj2
= 0 ;
7953 PyObject
* obj3
= 0 ;
7954 char * kwnames
[] = {
7955 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7960 if (!SWIG_IsOK(res1
)) {
7961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7963 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7965 if (!SWIG_IsOK(res2
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7971 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7973 if (!SWIG_IsOK(ecode3
)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7976 arg3
= static_cast< int >(val3
);
7977 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7978 if (!SWIG_IsOK(ecode4
)) {
7979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7981 arg4
= static_cast< int >(val4
);
7983 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_Py_Void();
7993 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
*resultobj
= 0;
7995 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7996 wxNativePixelData
*arg2
= 0 ;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 PyObject
* obj2
= 0 ;
8007 char * kwnames
[] = {
8008 (char *) "self",(char *) "data",(char *) "x", NULL
8011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8013 if (!SWIG_IsOK(res1
)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8016 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8018 if (!SWIG_IsOK(res2
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8024 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8026 if (!SWIG_IsOK(ecode3
)) {
8027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8029 arg3
= static_cast< int >(val3
);
8031 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= SWIG_Py_Void();
8041 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
*resultobj
= 0;
8043 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8044 wxNativePixelData
*arg2
= 0 ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8054 PyObject
* obj2
= 0 ;
8055 char * kwnames
[] = {
8056 (char *) "self",(char *) "data",(char *) "y", NULL
8059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8061 if (!SWIG_IsOK(res1
)) {
8062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8064 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8066 if (!SWIG_IsOK(res2
)) {
8067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8072 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8074 if (!SWIG_IsOK(ecode3
)) {
8075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8077 arg3
= static_cast< int >(val3
);
8079 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_Py_Void();
8089 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
*resultobj
= 0;
8091 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8092 wxNativePixelData
*arg2
= 0 ;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8105 PyObject
* obj2
= 0 ;
8106 PyObject
* obj3
= 0 ;
8107 char * kwnames
[] = {
8108 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8113 if (!SWIG_IsOK(res1
)) {
8114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8116 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8118 if (!SWIG_IsOK(res2
)) {
8119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8124 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8126 if (!SWIG_IsOK(ecode3
)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8129 arg3
= static_cast< int >(val3
);
8130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8131 if (!SWIG_IsOK(ecode4
)) {
8132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8134 arg4
= static_cast< int >(val4
);
8136 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8139 resultobj
= SWIG_Py_Void();
8146 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
*resultobj
= 0;
8148 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8154 unsigned char val2
;
8156 unsigned char val3
;
8158 unsigned char val4
;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8162 PyObject
* obj2
= 0 ;
8163 PyObject
* obj3
= 0 ;
8164 char * kwnames
[] = {
8165 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8173 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8174 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8175 if (!SWIG_IsOK(ecode2
)) {
8176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8178 arg2
= static_cast< byte
>(val2
);
8179 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8180 if (!SWIG_IsOK(ecode3
)) {
8181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8183 arg3
= static_cast< byte
>(val3
);
8184 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8185 if (!SWIG_IsOK(ecode4
)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8188 arg4
= static_cast< byte
>(val4
);
8190 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_Py_Void();
8200 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8201 PyObject
*resultobj
= 0;
8202 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8203 PyObject
*result
= 0 ;
8206 PyObject
*swig_obj
[1] ;
8208 if (!args
) SWIG_fail
;
8210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8211 if (!SWIG_IsOK(res1
)) {
8212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8214 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8216 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8226 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8229 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8230 return SWIG_Py_Void();
8233 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8234 return SWIG_Python_InitShadowInstance(args
);
8237 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8238 PyObject
*resultobj
= 0;
8239 wxBitmap
*arg1
= 0 ;
8240 wxAlphaPixelData
*result
= 0 ;
8244 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8246 if (!SWIG_IsOK(res1
)) {
8247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8252 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8254 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8264 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8265 PyObject
*resultobj
= 0;
8266 wxBitmap
*arg1
= 0 ;
8268 wxAlphaPixelData
*result
= 0 ;
8273 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8275 if (!SWIG_IsOK(res1
)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8281 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8284 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8287 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8297 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8298 PyObject
*resultobj
= 0;
8299 wxBitmap
*arg1
= 0 ;
8302 wxAlphaPixelData
*result
= 0 ;
8308 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8310 if (!SWIG_IsOK(res1
)) {
8311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8316 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8319 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8323 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8326 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8336 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8340 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8343 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8346 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8349 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8353 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8358 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8359 PyObject
*resultobj
= 0;
8360 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8363 PyObject
*swig_obj
[1] ;
8365 if (!args
) SWIG_fail
;
8367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8368 if (!SWIG_IsOK(res1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8371 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= SWIG_Py_Void();
8384 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 PyObject
*resultobj
= 0;
8386 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8387 wxAlphaPixelData_Accessor result
;
8390 PyObject
*swig_obj
[1] ;
8392 if (!args
) SWIG_fail
;
8394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8395 if (!SWIG_IsOK(res1
)) {
8396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8398 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8400 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8410 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8411 PyObject
*resultobj
= 0;
8412 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8415 PyObject
*swig_obj
[1] ;
8417 if (!args
) SWIG_fail
;
8419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8420 if (!SWIG_IsOK(res1
)) {
8421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8423 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_Py_Void();
8435 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8436 PyObject
*resultobj
= 0;
8437 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8441 PyObject
*swig_obj
[1] ;
8443 if (!args
) SWIG_fail
;
8445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8446 if (!SWIG_IsOK(res1
)) {
8447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8449 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8451 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8463 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8466 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8467 return SWIG_Py_Void();
8470 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8471 return SWIG_Python_InitShadowInstance(args
);
8474 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8475 PyObject
*resultobj
= 0;
8476 wxAlphaPixelData
*arg1
= 0 ;
8477 wxAlphaPixelData_Accessor
*result
= 0 ;
8481 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8483 if (!SWIG_IsOK(res1
)) {
8484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8489 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8491 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8501 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8502 PyObject
*resultobj
= 0;
8503 wxBitmap
*arg1
= 0 ;
8504 wxAlphaPixelData
*arg2
= 0 ;
8505 wxAlphaPixelData_Accessor
*result
= 0 ;
8511 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8513 if (!SWIG_IsOK(res1
)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8519 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8520 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8521 if (!SWIG_IsOK(res2
)) {
8522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8527 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8529 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8539 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8540 PyObject
*resultobj
= 0;
8541 wxAlphaPixelData_Accessor
*result
= 0 ;
8543 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8545 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8555 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8559 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8562 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8565 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8568 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8572 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8577 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8578 PyObject
*resultobj
= 0;
8579 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8582 PyObject
*swig_obj
[1] ;
8584 if (!args
) SWIG_fail
;
8586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8587 if (!SWIG_IsOK(res1
)) {
8588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8590 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_Py_Void();
8603 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
= 0;
8605 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8606 wxAlphaPixelData
*arg2
= 0 ;
8611 PyObject
* obj0
= 0 ;
8612 PyObject
* obj1
= 0 ;
8613 char * kwnames
[] = {
8614 (char *) "self",(char *) "data", NULL
8617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8622 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8624 if (!SWIG_IsOK(res2
)) {
8625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8630 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8632 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8635 resultobj
= SWIG_Py_Void();
8642 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8643 PyObject
*resultobj
= 0;
8644 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8648 PyObject
*swig_obj
[1] ;
8650 if (!args
) SWIG_fail
;
8652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8653 if (!SWIG_IsOK(res1
)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8656 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8658 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8659 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8670 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8671 PyObject
*resultobj
= 0;
8672 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8675 PyObject
*swig_obj
[1] ;
8677 if (!args
) SWIG_fail
;
8679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8680 if (!SWIG_IsOK(res1
)) {
8681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8683 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8685 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= SWIG_Py_Void();
8695 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
= 0;
8697 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8698 wxAlphaPixelData
*arg2
= 0 ;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8711 PyObject
* obj2
= 0 ;
8712 PyObject
* obj3
= 0 ;
8713 char * kwnames
[] = {
8714 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8719 if (!SWIG_IsOK(res1
)) {
8720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8722 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8724 if (!SWIG_IsOK(res2
)) {
8725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8730 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8732 if (!SWIG_IsOK(ecode3
)) {
8733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8735 arg3
= static_cast< int >(val3
);
8736 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8737 if (!SWIG_IsOK(ecode4
)) {
8738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8740 arg4
= static_cast< int >(val4
);
8742 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8743 if (PyErr_Occurred()) SWIG_fail
;
8745 resultobj
= SWIG_Py_Void();
8752 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
= 0;
8754 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8755 wxAlphaPixelData
*arg2
= 0 ;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8765 PyObject
* obj2
= 0 ;
8766 char * kwnames
[] = {
8767 (char *) "self",(char *) "data",(char *) "x", NULL
8770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8772 if (!SWIG_IsOK(res1
)) {
8773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8775 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8777 if (!SWIG_IsOK(res2
)) {
8778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8783 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8785 if (!SWIG_IsOK(ecode3
)) {
8786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8788 arg3
= static_cast< int >(val3
);
8790 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= SWIG_Py_Void();
8800 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= 0;
8802 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8803 wxAlphaPixelData
*arg2
= 0 ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8814 char * kwnames
[] = {
8815 (char *) "self",(char *) "data",(char *) "y", NULL
8818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8820 if (!SWIG_IsOK(res1
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8823 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8825 if (!SWIG_IsOK(res2
)) {
8826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8831 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8833 if (!SWIG_IsOK(ecode3
)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8836 arg3
= static_cast< int >(val3
);
8838 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= SWIG_Py_Void();
8848 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
= 0;
8850 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8851 wxAlphaPixelData
*arg2
= 0 ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8865 PyObject
* obj3
= 0 ;
8866 char * kwnames
[] = {
8867 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8872 if (!SWIG_IsOK(res1
)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8875 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8877 if (!SWIG_IsOK(res2
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8883 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8885 if (!SWIG_IsOK(ecode3
)) {
8886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8888 arg3
= static_cast< int >(val3
);
8889 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8890 if (!SWIG_IsOK(ecode4
)) {
8891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8893 arg4
= static_cast< int >(val4
);
8895 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_Py_Void();
8905 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= 0;
8907 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8914 unsigned char val2
;
8916 unsigned char val3
;
8918 unsigned char val4
;
8920 unsigned char val5
;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8924 PyObject
* obj2
= 0 ;
8925 PyObject
* obj3
= 0 ;
8926 PyObject
* obj4
= 0 ;
8927 char * kwnames
[] = {
8928 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8933 if (!SWIG_IsOK(res1
)) {
8934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8936 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8937 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8938 if (!SWIG_IsOK(ecode2
)) {
8939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8941 arg2
= static_cast< byte
>(val2
);
8942 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8943 if (!SWIG_IsOK(ecode3
)) {
8944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8946 arg3
= static_cast< byte
>(val3
);
8947 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8948 if (!SWIG_IsOK(ecode4
)) {
8949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8951 arg4
= static_cast< byte
>(val4
);
8952 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8953 if (!SWIG_IsOK(ecode5
)) {
8954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8956 arg5
= static_cast< byte
>(val5
);
8958 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= SWIG_Py_Void();
8968 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8969 PyObject
*resultobj
= 0;
8970 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8971 PyObject
*result
= 0 ;
8974 PyObject
*swig_obj
[1] ;
8976 if (!args
) SWIG_fail
;
8978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8979 if (!SWIG_IsOK(res1
)) {
8980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8982 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8984 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8994 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8997 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8998 return SWIG_Py_Void();
9001 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9002 return SWIG_Python_InitShadowInstance(args
);
9005 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
= 0;
9007 wxBitmap
*arg1
= 0 ;
9008 wxColour
const &arg2_defvalue
= wxNullColour
;
9009 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9010 wxMask
*result
= 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9016 char * kwnames
[] = {
9017 (char *) "bitmap",(char *) "colour", NULL
9020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9028 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9036 if (!wxPyCheckForApp()) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9049 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9050 PyObject
*resultobj
= 0;
9051 wxMask
*arg1
= (wxMask
*) 0 ;
9054 PyObject
*swig_obj
[1] ;
9056 if (!args
) SWIG_fail
;
9058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9059 if (!SWIG_IsOK(res1
)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9062 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= SWIG_Py_Void();
9075 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9078 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9079 return SWIG_Py_Void();
9082 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9083 return SWIG_Python_InitShadowInstance(args
);
9086 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= 0;
9088 wxString
*arg1
= 0 ;
9090 int arg3
= (int) -1 ;
9091 int arg4
= (int) -1 ;
9092 wxIcon
*result
= 0 ;
9093 bool temp1
= false ;
9100 PyObject
* obj0
= 0 ;
9101 PyObject
* obj1
= 0 ;
9102 PyObject
* obj2
= 0 ;
9103 PyObject
* obj3
= 0 ;
9104 char * kwnames
[] = {
9105 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9110 arg1
= wxString_in_helper(obj0
);
9111 if (arg1
== NULL
) SWIG_fail
;
9114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9115 if (!SWIG_IsOK(ecode2
)) {
9116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9118 arg2
= static_cast< wxBitmapType
>(val2
);
9120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9121 if (!SWIG_IsOK(ecode3
)) {
9122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9124 arg3
= static_cast< int >(val3
);
9127 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9128 if (!SWIG_IsOK(ecode4
)) {
9129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9131 arg4
= static_cast< int >(val4
);
9134 if (!wxPyCheckForApp()) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9155 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9156 PyObject
*resultobj
= 0;
9157 wxIcon
*arg1
= (wxIcon
*) 0 ;
9160 PyObject
*swig_obj
[1] ;
9162 if (!args
) SWIG_fail
;
9164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9165 if (!SWIG_IsOK(res1
)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9168 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_Py_Void();
9183 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9184 PyObject
*resultobj
= 0;
9185 wxIcon
*result
= 0 ;
9187 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9189 if (!wxPyCheckForApp()) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (wxIcon
*)new wxIcon();
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9202 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
= 0;
9204 wxIconLocation
*arg1
= 0 ;
9205 wxIcon
*result
= 0 ;
9208 PyObject
* obj0
= 0 ;
9209 char * kwnames
[] = {
9210 (char *) "loc", NULL
9213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9214 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9215 if (!SWIG_IsOK(res1
)) {
9216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9221 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9223 if (!wxPyCheckForApp()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9236 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
= 0;
9238 wxBitmap
*arg1
= 0 ;
9239 wxIcon
*result
= 0 ;
9242 PyObject
* obj0
= 0 ;
9243 char * kwnames
[] = {
9244 (char *) "bmp", NULL
9247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9248 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9249 if (!SWIG_IsOK(res1
)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9255 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9257 if (!wxPyCheckForApp()) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9270 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
= 0;
9272 PyObject
*arg1
= (PyObject
*) 0 ;
9273 wxIcon
*result
= 0 ;
9274 PyObject
* obj0
= 0 ;
9275 char * kwnames
[] = {
9276 (char *) "listOfStrings", NULL
9279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9282 if (!wxPyCheckForApp()) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (wxIcon
*)new_wxIcon(arg1
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9295 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9296 PyObject
*resultobj
= 0;
9297 wxIcon
*arg1
= (wxIcon
*) 0 ;
9301 PyObject
*swig_obj
[1] ;
9303 if (!args
) SWIG_fail
;
9305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9306 if (!SWIG_IsOK(res1
)) {
9307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9309 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (bool)(arg1
)->IsOk();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9325 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9326 PyObject
*resultobj
= 0;
9327 wxIcon
*arg1
= (wxIcon
*) 0 ;
9331 PyObject
*swig_obj
[1] ;
9333 if (!args
) SWIG_fail
;
9335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9336 if (!SWIG_IsOK(res1
)) {
9337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9339 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (int)(arg1
)->GetWidth();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_From_int(static_cast< int >(result
));
9353 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9354 PyObject
*resultobj
= 0;
9355 wxIcon
*arg1
= (wxIcon
*) 0 ;
9359 PyObject
*swig_obj
[1] ;
9361 if (!args
) SWIG_fail
;
9363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9364 if (!SWIG_IsOK(res1
)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9367 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (int)(arg1
)->GetHeight();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 resultobj
= SWIG_From_int(static_cast< int >(result
));
9381 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9382 PyObject
*resultobj
= 0;
9383 wxIcon
*arg1
= (wxIcon
*) 0 ;
9387 PyObject
*swig_obj
[1] ;
9389 if (!args
) SWIG_fail
;
9391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9392 if (!SWIG_IsOK(res1
)) {
9393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9395 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (int)(arg1
)->GetDepth();
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= SWIG_From_int(static_cast< int >(result
));
9409 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
= 0;
9411 wxIcon
*arg1
= (wxIcon
*) 0 ;
9417 PyObject
* obj0
= 0 ;
9418 PyObject
* obj1
= 0 ;
9419 char * kwnames
[] = {
9420 (char *) "self",(char *) "w", NULL
9423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9425 if (!SWIG_IsOK(res1
)) {
9426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9428 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9430 if (!SWIG_IsOK(ecode2
)) {
9431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9433 arg2
= static_cast< int >(val2
);
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 (arg1
)->SetWidth(arg2
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_Py_Void();
9447 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
= 0;
9449 wxIcon
*arg1
= (wxIcon
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9456 PyObject
* obj1
= 0 ;
9457 char * kwnames
[] = {
9458 (char *) "self",(char *) "h", NULL
9461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9463 if (!SWIG_IsOK(res1
)) {
9464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9466 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9468 if (!SWIG_IsOK(ecode2
)) {
9469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9471 arg2
= static_cast< int >(val2
);
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 (arg1
)->SetHeight(arg2
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_Py_Void();
9485 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
= 0;
9487 wxIcon
*arg1
= (wxIcon
*) 0 ;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9495 char * kwnames
[] = {
9496 (char *) "self",(char *) "d", NULL
9499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9501 if (!SWIG_IsOK(res1
)) {
9502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9504 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9506 if (!SWIG_IsOK(ecode2
)) {
9507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9509 arg2
= static_cast< int >(val2
);
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 (arg1
)->SetDepth(arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_Py_Void();
9523 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
= 0;
9525 wxIcon
*arg1
= (wxIcon
*) 0 ;
9526 wxBitmap
*arg2
= 0 ;
9531 PyObject
* obj0
= 0 ;
9532 PyObject
* obj1
= 0 ;
9533 char * kwnames
[] = {
9534 (char *) "self",(char *) "bmp", NULL
9537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9539 if (!SWIG_IsOK(res1
)) {
9540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9542 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9544 if (!SWIG_IsOK(res2
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9550 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 resultobj
= SWIG_Py_Void();
9564 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9567 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9568 return SWIG_Py_Void();
9571 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9572 return SWIG_Python_InitShadowInstance(args
);
9575 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
= 0;
9577 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9578 int arg2
= (int) 0 ;
9579 wxIconLocation
*result
= 0 ;
9580 bool temp1
= false ;
9583 PyObject
* obj0
= 0 ;
9584 PyObject
* obj1
= 0 ;
9585 char * kwnames
[] = {
9586 (char *) "filename",(char *) "num", NULL
9589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9592 arg1
= wxString_in_helper(obj0
);
9593 if (arg1
== NULL
) SWIG_fail
;
9598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9599 if (!SWIG_IsOK(ecode2
)) {
9600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9602 arg2
= static_cast< int >(val2
);
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9625 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9626 PyObject
*resultobj
= 0;
9627 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9630 PyObject
*swig_obj
[1] ;
9632 if (!args
) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9638 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= SWIG_Py_Void();
9653 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9654 PyObject
*resultobj
= 0;
9655 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9659 PyObject
*swig_obj
[1] ;
9661 if (!args
) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9667 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9683 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
= 0;
9685 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9686 wxString
*arg2
= 0 ;
9689 bool temp2
= false ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 char * kwnames
[] = {
9693 (char *) "self",(char *) "filename", NULL
9696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9698 if (!SWIG_IsOK(res1
)) {
9699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9701 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9703 arg2
= wxString_in_helper(obj1
);
9704 if (arg2
== NULL
) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->SetFileName((wxString
const &)*arg2
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_Py_Void();
9728 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9729 PyObject
*resultobj
= 0;
9730 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9731 wxString
*result
= 0 ;
9734 PyObject
*swig_obj
[1] ;
9736 if (!args
) SWIG_fail
;
9738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9739 if (!SWIG_IsOK(res1
)) {
9740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9742 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9747 result
= (wxString
*) &_result_ref
;
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9756 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9765 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
= 0;
9767 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9773 PyObject
* obj0
= 0 ;
9774 PyObject
* obj1
= 0 ;
9775 char * kwnames
[] = {
9776 (char *) "self",(char *) "num", NULL
9779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9781 if (!SWIG_IsOK(res1
)) {
9782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9784 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9786 if (!SWIG_IsOK(ecode2
)) {
9787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9789 arg2
= static_cast< int >(val2
);
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 wxIconLocation_SetIndex(arg1
,arg2
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_Py_Void();
9803 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9804 PyObject
*resultobj
= 0;
9805 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9809 PyObject
*swig_obj
[1] ;
9811 if (!args
) SWIG_fail
;
9813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9814 if (!SWIG_IsOK(res1
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9817 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (int)wxIconLocation_GetIndex(arg1
);
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_From_int(static_cast< int >(result
));
9831 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9834 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9835 return SWIG_Py_Void();
9838 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9839 return SWIG_Python_InitShadowInstance(args
);
9842 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9843 PyObject
*resultobj
= 0;
9844 wxIconBundle
*result
= 0 ;
9846 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (wxIconBundle
*)new wxIconBundle();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9860 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9862 wxString
*arg1
= 0 ;
9864 wxIconBundle
*result
= 0 ;
9865 bool temp1
= false ;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9870 char * kwnames
[] = {
9871 (char *) "file",(char *) "type", NULL
9874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9876 arg1
= wxString_in_helper(obj0
);
9877 if (arg1
== NULL
) SWIG_fail
;
9880 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9881 if (!SWIG_IsOK(ecode2
)) {
9882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9884 arg2
= static_cast< long >(val2
);
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9906 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
= 0;
9909 wxIconBundle
*result
= 0 ;
9912 PyObject
* obj0
= 0 ;
9913 char * kwnames
[] = {
9914 (char *) "icon", NULL
9917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9918 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9919 if (!SWIG_IsOK(res1
)) {
9920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9925 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9939 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9940 PyObject
*resultobj
= 0;
9941 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9944 PyObject
*swig_obj
[1] ;
9946 if (!args
) SWIG_fail
;
9948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9949 if (!SWIG_IsOK(res1
)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9952 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_Py_Void();
9967 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
= 0;
9969 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9977 char * kwnames
[] = {
9978 (char *) "self",(char *) "icon", NULL
9981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9983 if (!SWIG_IsOK(res1
)) {
9984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9986 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9988 if (!SWIG_IsOK(res2
)) {
9989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9994 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_Py_Void();
10008 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
= 0;
10010 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10011 wxString
*arg2
= 0 ;
10015 bool temp2
= false ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 PyObject
* obj2
= 0 ;
10021 char * kwnames
[] = {
10022 (char *) "self",(char *) "file",(char *) "type", NULL
10025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10030 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10032 arg2
= wxString_in_helper(obj1
);
10033 if (arg2
== NULL
) SWIG_fail
;
10036 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10037 if (!SWIG_IsOK(ecode3
)) {
10038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10040 arg3
= static_cast< long >(val3
);
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_Py_Void();
10062 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
= 0;
10064 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10066 wxIcon
*result
= 0 ;
10070 PyObject
* obj0
= 0 ;
10071 PyObject
* obj1
= 0 ;
10072 char * kwnames
[] = {
10073 (char *) "self",(char *) "size", NULL
10076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10078 if (!SWIG_IsOK(res1
)) {
10079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10081 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10084 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10090 result
= (wxIcon
*) &_result_ref
;
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10096 wxIcon
* resultptr
= new wxIcon(*result
);
10097 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10105 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10108 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10109 return SWIG_Py_Void();
10112 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 return SWIG_Python_InitShadowInstance(args
);
10116 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
= 0;
10118 wxString
*arg1
= 0 ;
10120 int arg3
= (int) 0 ;
10121 int arg4
= (int) 0 ;
10122 wxCursor
*result
= 0 ;
10123 bool temp1
= false ;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 PyObject
* obj2
= 0 ;
10133 PyObject
* obj3
= 0 ;
10134 char * kwnames
[] = {
10135 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10140 arg1
= wxString_in_helper(obj0
);
10141 if (arg1
== NULL
) SWIG_fail
;
10144 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10145 if (!SWIG_IsOK(ecode2
)) {
10146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10148 arg2
= static_cast< long >(val2
);
10150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10151 if (!SWIG_IsOK(ecode3
)) {
10152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10154 arg3
= static_cast< int >(val3
);
10157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10158 if (!SWIG_IsOK(ecode4
)) {
10159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10161 arg4
= static_cast< int >(val4
);
10164 if (!wxPyCheckForApp()) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10185 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10186 PyObject
*resultobj
= 0;
10187 wxCursor
*arg1
= (wxCursor
*) 0 ;
10190 PyObject
*swig_obj
[1] ;
10192 if (!args
) SWIG_fail
;
10193 swig_obj
[0] = args
;
10194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10195 if (!SWIG_IsOK(res1
)) {
10196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10198 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_Py_Void();
10213 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
= 0;
10216 wxCursor
*result
= 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char * kwnames
[] = {
10221 (char *) "id", NULL
10224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10225 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10226 if (!SWIG_IsOK(ecode1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10229 arg1
= static_cast< int >(val1
);
10231 if (!wxPyCheckForApp()) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (wxCursor
*)new wxCursor(arg1
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10244 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
= 0;
10246 wxImage
*arg1
= 0 ;
10247 wxCursor
*result
= 0 ;
10250 PyObject
* obj0
= 0 ;
10251 char * kwnames
[] = {
10252 (char *) "image", NULL
10255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10256 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10257 if (!SWIG_IsOK(res1
)) {
10258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10263 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10265 if (!wxPyCheckForApp()) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10278 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10279 PyObject
*resultobj
= 0;
10280 wxCursor
*arg1
= (wxCursor
*) 0 ;
10284 PyObject
*swig_obj
[1] ;
10286 if (!args
) SWIG_fail
;
10287 swig_obj
[0] = args
;
10288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10289 if (!SWIG_IsOK(res1
)) {
10290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10292 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (bool)(arg1
)->IsOk();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10308 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10311 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10312 return SWIG_Py_Void();
10315 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10316 return SWIG_Python_InitShadowInstance(args
);
10319 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
= 0;
10321 int arg1
= (int) 0 ;
10322 int arg2
= (int) 0 ;
10323 int arg3
= (int) 0 ;
10324 int arg4
= (int) 0 ;
10325 wxRegion
*result
= 0 ;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 PyObject
* obj2
= 0 ;
10337 PyObject
* obj3
= 0 ;
10338 char * kwnames
[] = {
10339 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10345 if (!SWIG_IsOK(ecode1
)) {
10346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10348 arg1
= static_cast< int >(val1
);
10351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10352 if (!SWIG_IsOK(ecode2
)) {
10353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10355 arg2
= static_cast< int >(val2
);
10358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10359 if (!SWIG_IsOK(ecode3
)) {
10360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10362 arg3
= static_cast< int >(val3
);
10365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10366 if (!SWIG_IsOK(ecode4
)) {
10367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10369 arg4
= static_cast< int >(val4
);
10372 if (!wxPyCheckForApp()) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10385 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
= 0;
10387 wxBitmap
*arg1
= 0 ;
10388 wxRegion
*result
= 0 ;
10391 PyObject
* obj0
= 0 ;
10392 char * kwnames
[] = {
10393 (char *) "bmp", NULL
10396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10397 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10398 if (!SWIG_IsOK(res1
)) {
10399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10406 if (!wxPyCheckForApp()) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10419 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
= 0;
10421 wxBitmap
*arg1
= 0 ;
10422 wxColour
*arg2
= 0 ;
10423 int arg3
= (int) 0 ;
10424 wxRegion
*result
= 0 ;
10430 PyObject
* obj0
= 0 ;
10431 PyObject
* obj1
= 0 ;
10432 PyObject
* obj2
= 0 ;
10433 char * kwnames
[] = {
10434 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10438 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10439 if (!SWIG_IsOK(res1
)) {
10440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10445 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10448 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10452 if (!SWIG_IsOK(ecode3
)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10455 arg3
= static_cast< int >(val3
);
10458 if (!wxPyCheckForApp()) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10471 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
= 0;
10474 wxPoint
*arg2
= (wxPoint
*) 0 ;
10475 int arg3
= (int) wxWINDING_RULE
;
10476 wxRegion
*result
= 0 ;
10479 PyObject
* obj0
= 0 ;
10480 PyObject
* obj1
= 0 ;
10481 char * kwnames
[] = {
10482 (char *) "points",(char *) "fillStyle", NULL
10485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10487 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10488 if (arg2
== NULL
) SWIG_fail
;
10491 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10492 if (!SWIG_IsOK(ecode3
)) {
10493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10495 arg3
= static_cast< int >(val3
);
10498 if (!wxPyCheckForApp()) SWIG_fail
;
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10506 if (arg2
) delete [] arg2
;
10511 if (arg2
) delete [] arg2
;
10517 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10518 PyObject
*resultobj
= 0;
10519 wxRegion
*arg1
= (wxRegion
*) 0 ;
10522 PyObject
*swig_obj
[1] ;
10524 if (!args
) SWIG_fail
;
10525 swig_obj
[0] = args
;
10526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10530 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_Py_Void();
10545 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxRegion
*arg1
= (wxRegion
*) 0 ;
10550 PyObject
*swig_obj
[1] ;
10552 if (!args
) SWIG_fail
;
10553 swig_obj
[0] = args
;
10554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10558 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_Py_Void();
10572 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
= 0;
10574 wxRegion
*arg1
= (wxRegion
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 PyObject
* obj2
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "self",(char *) "x",(char *) "y", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10593 if (!SWIG_IsOK(res1
)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10596 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10598 if (!SWIG_IsOK(ecode2
)) {
10599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10601 arg2
= static_cast< int >(val2
);
10602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10603 if (!SWIG_IsOK(ecode3
)) {
10604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10606 arg3
= static_cast< int >(val3
);
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10622 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
= 0;
10624 wxRegion
*arg1
= (wxRegion
*) 0 ;
10627 wxRegionContain result
;
10634 PyObject
* obj0
= 0 ;
10635 PyObject
* obj1
= 0 ;
10636 PyObject
* obj2
= 0 ;
10637 char * kwnames
[] = {
10638 (char *) "self",(char *) "x",(char *) "y", NULL
10641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10646 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10648 if (!SWIG_IsOK(ecode2
)) {
10649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10651 arg2
= static_cast< int >(val2
);
10652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10653 if (!SWIG_IsOK(ecode3
)) {
10654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10656 arg3
= static_cast< int >(val3
);
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_From_int(static_cast< int >(result
));
10670 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
= 0;
10672 wxRegion
*arg1
= (wxRegion
*) 0 ;
10673 wxPoint
*arg2
= 0 ;
10674 wxRegionContain result
;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 char * kwnames
[] = {
10681 (char *) "self",(char *) "pt", NULL
10684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10686 if (!SWIG_IsOK(res1
)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10689 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_From_int(static_cast< int >(result
));
10707 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
= 0;
10709 wxRegion
*arg1
= (wxRegion
*) 0 ;
10711 wxRegionContain result
;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char * kwnames
[] = {
10718 (char *) "self",(char *) "rect", NULL
10721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10723 if (!SWIG_IsOK(res1
)) {
10724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10726 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10729 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= SWIG_From_int(static_cast< int >(result
));
10744 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
= 0;
10746 wxRegion
*arg1
= (wxRegion
*) 0 ;
10751 wxRegionContain result
;
10762 PyObject
* obj0
= 0 ;
10763 PyObject
* obj1
= 0 ;
10764 PyObject
* obj2
= 0 ;
10765 PyObject
* obj3
= 0 ;
10766 PyObject
* obj4
= 0 ;
10767 char * kwnames
[] = {
10768 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10773 if (!SWIG_IsOK(res1
)) {
10774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10776 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10778 if (!SWIG_IsOK(ecode2
)) {
10779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10781 arg2
= static_cast< int >(val2
);
10782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10783 if (!SWIG_IsOK(ecode3
)) {
10784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10786 arg3
= static_cast< int >(val3
);
10787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10788 if (!SWIG_IsOK(ecode4
)) {
10789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10791 arg4
= static_cast< int >(val4
);
10792 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10793 if (!SWIG_IsOK(ecode5
)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10796 arg5
= static_cast< int >(val5
);
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_From_int(static_cast< int >(result
));
10810 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10811 PyObject
*resultobj
= 0;
10812 wxRegion
*arg1
= (wxRegion
*) 0 ;
10816 PyObject
*swig_obj
[1] ;
10818 if (!args
) SWIG_fail
;
10819 swig_obj
[0] = args
;
10820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10821 if (!SWIG_IsOK(res1
)) {
10822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10824 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (arg1
)->GetBox();
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10838 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
= 0;
10840 wxRegion
*arg1
= (wxRegion
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 PyObject
* obj1
= 0 ;
10858 PyObject
* obj2
= 0 ;
10859 PyObject
* obj3
= 0 ;
10860 PyObject
* obj4
= 0 ;
10861 char * kwnames
[] = {
10862 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10867 if (!SWIG_IsOK(res1
)) {
10868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10870 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10872 if (!SWIG_IsOK(ecode2
)) {
10873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10875 arg2
= static_cast< int >(val2
);
10876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10877 if (!SWIG_IsOK(ecode3
)) {
10878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10880 arg3
= static_cast< int >(val3
);
10881 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10882 if (!SWIG_IsOK(ecode4
)) {
10883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10885 arg4
= static_cast< int >(val4
);
10886 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10887 if (!SWIG_IsOK(ecode5
)) {
10888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10890 arg5
= static_cast< int >(val5
);
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10906 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
= 0;
10908 wxRegion
*arg1
= (wxRegion
*) 0 ;
10914 PyObject
* obj0
= 0 ;
10915 PyObject
* obj1
= 0 ;
10916 char * kwnames
[] = {
10917 (char *) "self",(char *) "rect", NULL
10920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10922 if (!SWIG_IsOK(res1
)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10925 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10928 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10945 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
= 0;
10947 wxRegion
*arg1
= (wxRegion
*) 0 ;
10948 wxRegion
*arg2
= 0 ;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 char * kwnames
[] = {
10957 (char *) "self",(char *) "region", NULL
10960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10962 if (!SWIG_IsOK(res1
)) {
10963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10965 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10966 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10967 if (!SWIG_IsOK(res2
)) {
10968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10973 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10989 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10990 PyObject
*resultobj
= 0;
10991 wxRegion
*arg1
= (wxRegion
*) 0 ;
10995 PyObject
*swig_obj
[1] ;
10997 if (!args
) SWIG_fail
;
10998 swig_obj
[0] = args
;
10999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11000 if (!SWIG_IsOK(res1
)) {
11001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11003 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (bool)(arg1
)->IsEmpty();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11019 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
= 0;
11021 wxRegion
*arg1
= (wxRegion
*) 0 ;
11022 wxRegion
*arg2
= 0 ;
11028 PyObject
* obj0
= 0 ;
11029 PyObject
* obj1
= 0 ;
11030 char * kwnames
[] = {
11031 (char *) "self",(char *) "region", NULL
11034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11036 if (!SWIG_IsOK(res1
)) {
11037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11039 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11041 if (!SWIG_IsOK(res2
)) {
11042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11047 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11063 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
= 0;
11065 wxRegion
*arg1
= (wxRegion
*) 0 ;
11081 PyObject
* obj0
= 0 ;
11082 PyObject
* obj1
= 0 ;
11083 PyObject
* obj2
= 0 ;
11084 PyObject
* obj3
= 0 ;
11085 PyObject
* obj4
= 0 ;
11086 char * kwnames
[] = {
11087 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11092 if (!SWIG_IsOK(res1
)) {
11093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11095 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11097 if (!SWIG_IsOK(ecode2
)) {
11098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11100 arg2
= static_cast< int >(val2
);
11101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11102 if (!SWIG_IsOK(ecode3
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11105 arg3
= static_cast< int >(val3
);
11106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11107 if (!SWIG_IsOK(ecode4
)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11110 arg4
= static_cast< int >(val4
);
11111 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11112 if (!SWIG_IsOK(ecode5
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11115 arg5
= static_cast< int >(val5
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11131 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
= 0;
11133 wxRegion
*arg1
= (wxRegion
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char * kwnames
[] = {
11142 (char *) "self",(char *) "rect", NULL
11145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11150 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11153 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
= 0;
11172 wxRegion
*arg1
= (wxRegion
*) 0 ;
11173 wxRegion
*arg2
= 0 ;
11179 PyObject
* obj0
= 0 ;
11180 PyObject
* obj1
= 0 ;
11181 char * kwnames
[] = {
11182 (char *) "self",(char *) "region", NULL
11185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11187 if (!SWIG_IsOK(res1
)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11190 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11192 if (!SWIG_IsOK(res2
)) {
11193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11198 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11214 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
= 0;
11216 wxRegion
*arg1
= (wxRegion
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 PyObject
* obj1
= 0 ;
11234 PyObject
* obj2
= 0 ;
11235 PyObject
* obj3
= 0 ;
11236 PyObject
* obj4
= 0 ;
11237 char * kwnames
[] = {
11238 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11243 if (!SWIG_IsOK(res1
)) {
11244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11246 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11248 if (!SWIG_IsOK(ecode2
)) {
11249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11251 arg2
= static_cast< int >(val2
);
11252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11253 if (!SWIG_IsOK(ecode3
)) {
11254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11256 arg3
= static_cast< int >(val3
);
11257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11258 if (!SWIG_IsOK(ecode4
)) {
11259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11261 arg4
= static_cast< int >(val4
);
11262 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11263 if (!SWIG_IsOK(ecode5
)) {
11264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11266 arg5
= static_cast< int >(val5
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11282 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
= 0;
11284 wxRegion
*arg1
= (wxRegion
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 char * kwnames
[] = {
11293 (char *) "self",(char *) "rect", NULL
11296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11301 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11304 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11321 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
= 0;
11323 wxRegion
*arg1
= (wxRegion
*) 0 ;
11324 wxRegion
*arg2
= 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char * kwnames
[] = {
11333 (char *) "self",(char *) "region", NULL
11336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11338 if (!SWIG_IsOK(res1
)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11341 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11343 if (!SWIG_IsOK(res2
)) {
11344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11349 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11365 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
= 0;
11367 wxRegion
*arg1
= (wxRegion
*) 0 ;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 PyObject
* obj2
= 0 ;
11386 PyObject
* obj3
= 0 ;
11387 PyObject
* obj4
= 0 ;
11388 char * kwnames
[] = {
11389 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11394 if (!SWIG_IsOK(res1
)) {
11395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11397 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11399 if (!SWIG_IsOK(ecode2
)) {
11400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11402 arg2
= static_cast< int >(val2
);
11403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11404 if (!SWIG_IsOK(ecode3
)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11407 arg3
= static_cast< int >(val3
);
11408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11409 if (!SWIG_IsOK(ecode4
)) {
11410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11412 arg4
= static_cast< int >(val4
);
11413 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11414 if (!SWIG_IsOK(ecode5
)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11417 arg5
= static_cast< int >(val5
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11433 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
= 0;
11435 wxRegion
*arg1
= (wxRegion
*) 0 ;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char * kwnames
[] = {
11444 (char *) "self",(char *) "rect", NULL
11447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11449 if (!SWIG_IsOK(res1
)) {
11450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11452 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11455 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11472 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
= 0;
11474 wxRegion
*arg1
= (wxRegion
*) 0 ;
11475 wxRegion
*arg2
= 0 ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 char * kwnames
[] = {
11484 (char *) "self",(char *) "region", NULL
11487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11492 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11494 if (!SWIG_IsOK(res2
)) {
11495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11500 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11516 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11517 PyObject
*resultobj
= 0;
11518 wxRegion
*arg1
= (wxRegion
*) 0 ;
11519 SwigValueWrapper
<wxBitmap
> result
;
11522 PyObject
*swig_obj
[1] ;
11524 if (!args
) SWIG_fail
;
11525 swig_obj
[0] = args
;
11526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11527 if (!SWIG_IsOK(res1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11530 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= (arg1
)->ConvertToBitmap();
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11544 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
= 0;
11546 wxRegion
*arg1
= (wxRegion
*) 0 ;
11547 wxBitmap
*arg2
= 0 ;
11553 PyObject
* obj0
= 0 ;
11554 PyObject
* obj1
= 0 ;
11555 char * kwnames
[] = {
11556 (char *) "self",(char *) "bmp", NULL
11559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11561 if (!SWIG_IsOK(res1
)) {
11562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11564 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11566 if (!SWIG_IsOK(res2
)) {
11567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11572 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11588 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
= 0;
11590 wxRegion
*arg1
= (wxRegion
*) 0 ;
11591 wxBitmap
*arg2
= 0 ;
11592 wxColour
*arg3
= 0 ;
11593 int arg4
= (int) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 PyObject
* obj2
= 0 ;
11605 PyObject
* obj3
= 0 ;
11606 char * kwnames
[] = {
11607 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11612 if (!SWIG_IsOK(res1
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11615 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11617 if (!SWIG_IsOK(res2
)) {
11618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11623 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11626 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11629 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11630 if (!SWIG_IsOK(ecode4
)) {
11631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11633 arg4
= static_cast< int >(val4
);
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11650 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11652 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11653 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11654 return SWIG_Py_Void();
11657 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11658 return SWIG_Python_InitShadowInstance(args
);
11661 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
= 0;
11663 wxRegion
*arg1
= 0 ;
11664 wxRegionIterator
*result
= 0 ;
11667 PyObject
* obj0
= 0 ;
11668 char * kwnames
[] = {
11669 (char *) "region", NULL
11672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11673 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11674 if (!SWIG_IsOK(res1
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11680 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11682 if (!wxPyCheckForApp()) SWIG_fail
;
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11695 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11696 PyObject
*resultobj
= 0;
11697 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11700 PyObject
*swig_obj
[1] ;
11702 if (!args
) SWIG_fail
;
11703 swig_obj
[0] = args
;
11704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11705 if (!SWIG_IsOK(res1
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11708 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_Py_Void();
11723 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11724 PyObject
*resultobj
= 0;
11725 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11729 PyObject
*swig_obj
[1] ;
11731 if (!args
) SWIG_fail
;
11732 swig_obj
[0] = args
;
11733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11734 if (!SWIG_IsOK(res1
)) {
11735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11737 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (int)(arg1
)->GetX();
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= SWIG_From_int(static_cast< int >(result
));
11751 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11752 PyObject
*resultobj
= 0;
11753 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11757 PyObject
*swig_obj
[1] ;
11759 if (!args
) SWIG_fail
;
11760 swig_obj
[0] = args
;
11761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11762 if (!SWIG_IsOK(res1
)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11765 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (int)(arg1
)->GetY();
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= SWIG_From_int(static_cast< int >(result
));
11779 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11780 PyObject
*resultobj
= 0;
11781 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11785 PyObject
*swig_obj
[1] ;
11787 if (!args
) SWIG_fail
;
11788 swig_obj
[0] = args
;
11789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11790 if (!SWIG_IsOK(res1
)) {
11791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11793 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (int)(arg1
)->GetW();
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_From_int(static_cast< int >(result
));
11807 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11808 PyObject
*resultobj
= 0;
11809 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11813 PyObject
*swig_obj
[1] ;
11815 if (!args
) SWIG_fail
;
11816 swig_obj
[0] = args
;
11817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11818 if (!SWIG_IsOK(res1
)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11821 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (int)(arg1
)->GetWidth();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_From_int(static_cast< int >(result
));
11835 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11836 PyObject
*resultobj
= 0;
11837 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11841 PyObject
*swig_obj
[1] ;
11843 if (!args
) SWIG_fail
;
11844 swig_obj
[0] = args
;
11845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11846 if (!SWIG_IsOK(res1
)) {
11847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11849 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (int)(arg1
)->GetH();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_From_int(static_cast< int >(result
));
11863 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 PyObject
*resultobj
= 0;
11865 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11869 PyObject
*swig_obj
[1] ;
11871 if (!args
) SWIG_fail
;
11872 swig_obj
[0] = args
;
11873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11874 if (!SWIG_IsOK(res1
)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11877 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (int)(arg1
)->GetHeight();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_From_int(static_cast< int >(result
));
11891 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11892 PyObject
*resultobj
= 0;
11893 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11897 PyObject
*swig_obj
[1] ;
11899 if (!args
) SWIG_fail
;
11900 swig_obj
[0] = args
;
11901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11902 if (!SWIG_IsOK(res1
)) {
11903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11905 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (arg1
)->GetRect();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11919 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11920 PyObject
*resultobj
= 0;
11921 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11925 PyObject
*swig_obj
[1] ;
11927 if (!args
) SWIG_fail
;
11928 swig_obj
[0] = args
;
11929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11930 if (!SWIG_IsOK(res1
)) {
11931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11933 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (bool)(arg1
)->HaveRects();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11949 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11950 PyObject
*resultobj
= 0;
11951 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11954 PyObject
*swig_obj
[1] ;
11956 if (!args
) SWIG_fail
;
11957 swig_obj
[0] = args
;
11958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11959 if (!SWIG_IsOK(res1
)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11962 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_Py_Void();
11976 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11977 PyObject
*resultobj
= 0;
11978 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11981 PyObject
*swig_obj
[1] ;
11983 if (!args
) SWIG_fail
;
11984 swig_obj
[0] = args
;
11985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11986 if (!SWIG_IsOK(res1
)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11989 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 wxRegionIterator_Next(arg1
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= SWIG_Py_Void();
12003 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12004 PyObject
*resultobj
= 0;
12005 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12009 PyObject
*swig_obj
[1] ;
12011 if (!args
) SWIG_fail
;
12012 swig_obj
[0] = args
;
12013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12017 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12033 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12036 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12037 return SWIG_Py_Void();
12040 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12041 return SWIG_Python_InitShadowInstance(args
);
12044 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12045 PyObject
*resultobj
= 0;
12046 wxNativeFontInfo
*result
= 0 ;
12048 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12062 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12063 PyObject
*resultobj
= 0;
12064 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12067 PyObject
*swig_obj
[1] ;
12069 if (!args
) SWIG_fail
;
12070 swig_obj
[0] = args
;
12071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12072 if (!SWIG_IsOK(res1
)) {
12073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12075 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_Py_Void();
12090 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12095 PyObject
*swig_obj
[1] ;
12097 if (!args
) SWIG_fail
;
12098 swig_obj
[0] = args
;
12099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12100 if (!SWIG_IsOK(res1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12103 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_Py_Void();
12117 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
= 0;
12119 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 char * kwnames
[] = {
12128 (char *) "self",(char *) "font", NULL
12131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12133 if (!SWIG_IsOK(res1
)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12136 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12138 if (!SWIG_IsOK(res2
)) {
12139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12144 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= SWIG_Py_Void();
12158 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12159 PyObject
*resultobj
= 0;
12160 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12164 PyObject
*swig_obj
[1] ;
12166 if (!args
) SWIG_fail
;
12167 swig_obj
[0] = args
;
12168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12172 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= SWIG_From_int(static_cast< int >(result
));
12186 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12187 PyObject
*resultobj
= 0;
12188 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12189 wxFontStyle result
;
12192 PyObject
*swig_obj
[1] ;
12194 if (!args
) SWIG_fail
;
12195 swig_obj
[0] = args
;
12196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12197 if (!SWIG_IsOK(res1
)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12200 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= SWIG_From_int(static_cast< int >(result
));
12214 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12215 PyObject
*resultobj
= 0;
12216 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12217 wxFontWeight result
;
12220 PyObject
*swig_obj
[1] ;
12222 if (!args
) SWIG_fail
;
12223 swig_obj
[0] = args
;
12224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12225 if (!SWIG_IsOK(res1
)) {
12226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12228 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_From_int(static_cast< int >(result
));
12242 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12243 PyObject
*resultobj
= 0;
12244 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12248 PyObject
*swig_obj
[1] ;
12250 if (!args
) SWIG_fail
;
12251 swig_obj
[0] = args
;
12252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12253 if (!SWIG_IsOK(res1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12256 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12272 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12286 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12306 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12309 wxFontFamily result
;
12312 PyObject
*swig_obj
[1] ;
12314 if (!args
) SWIG_fail
;
12315 swig_obj
[0] = args
;
12316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12320 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_From_int(static_cast< int >(result
));
12334 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12335 PyObject
*resultobj
= 0;
12336 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12337 wxFontEncoding result
;
12340 PyObject
*swig_obj
[1] ;
12342 if (!args
) SWIG_fail
;
12343 swig_obj
[0] = args
;
12344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12348 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_From_int(static_cast< int >(result
));
12362 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
= 0;
12364 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 char * kwnames
[] = {
12373 (char *) "self",(char *) "pointsize", NULL
12376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12378 if (!SWIG_IsOK(res1
)) {
12379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12381 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12383 if (!SWIG_IsOK(ecode2
)) {
12384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12386 arg2
= static_cast< int >(val2
);
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 (arg1
)->SetPointSize(arg2
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= SWIG_Py_Void();
12400 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
= 0;
12402 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 char * kwnames
[] = {
12411 (char *) "self",(char *) "style", NULL
12414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12419 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12421 if (!SWIG_IsOK(ecode2
)) {
12422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12424 arg2
= static_cast< wxFontStyle
>(val2
);
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 (arg1
)->SetStyle(arg2
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= SWIG_Py_Void();
12438 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12439 PyObject
*resultobj
= 0;
12440 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12441 wxFontWeight arg2
;
12446 PyObject
* obj0
= 0 ;
12447 PyObject
* obj1
= 0 ;
12448 char * kwnames
[] = {
12449 (char *) "self",(char *) "weight", NULL
12452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12454 if (!SWIG_IsOK(res1
)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12457 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12459 if (!SWIG_IsOK(ecode2
)) {
12460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12462 arg2
= static_cast< wxFontWeight
>(val2
);
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 (arg1
)->SetWeight(arg2
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 resultobj
= SWIG_Py_Void();
12476 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
= 0;
12478 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12484 PyObject
* obj0
= 0 ;
12485 PyObject
* obj1
= 0 ;
12486 char * kwnames
[] = {
12487 (char *) "self",(char *) "underlined", NULL
12490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12492 if (!SWIG_IsOK(res1
)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12495 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12496 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12497 if (!SWIG_IsOK(ecode2
)) {
12498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12500 arg2
= static_cast< bool >(val2
);
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 (arg1
)->SetUnderlined(arg2
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= SWIG_Py_Void();
12514 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12515 PyObject
*resultobj
= 0;
12516 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 PyObject
* obj1
= 0 ;
12523 char * kwnames
[] = {
12524 (char *) "self",(char *) "facename", NULL
12527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12529 if (!SWIG_IsOK(res1
)) {
12530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12532 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12534 wxString
* sptr
= wxString_in_helper(obj1
);
12535 if (sptr
== NULL
) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (bool)(arg1
)->SetFaceName(arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12554 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
= 0;
12556 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12557 wxFontFamily arg2
;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 char * kwnames
[] = {
12565 (char *) "self",(char *) "family", NULL
12568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12570 if (!SWIG_IsOK(res1
)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12573 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12575 if (!SWIG_IsOK(ecode2
)) {
12576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12578 arg2
= static_cast< wxFontFamily
>(val2
);
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 (arg1
)->SetFamily(arg2
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_Py_Void();
12592 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12593 PyObject
*resultobj
= 0;
12594 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12595 wxFontEncoding arg2
;
12600 PyObject
* obj0
= 0 ;
12601 PyObject
* obj1
= 0 ;
12602 char * kwnames
[] = {
12603 (char *) "self",(char *) "encoding", NULL
12606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12608 if (!SWIG_IsOK(res1
)) {
12609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12611 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12613 if (!SWIG_IsOK(ecode2
)) {
12614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12616 arg2
= static_cast< wxFontEncoding
>(val2
);
12618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12619 (arg1
)->SetEncoding(arg2
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 resultobj
= SWIG_Py_Void();
12630 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
= 0;
12632 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12633 wxString
*arg2
= 0 ;
12637 bool temp2
= false ;
12638 PyObject
* obj0
= 0 ;
12639 PyObject
* obj1
= 0 ;
12640 char * kwnames
[] = {
12641 (char *) "self",(char *) "s", NULL
12644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12646 if (!SWIG_IsOK(res1
)) {
12647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12649 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12651 arg2
= wxString_in_helper(obj1
);
12652 if (arg2
== NULL
) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12678 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12679 PyObject
*resultobj
= 0;
12680 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12684 PyObject
*swig_obj
[1] ;
12686 if (!args
) SWIG_fail
;
12687 swig_obj
[0] = args
;
12688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12689 if (!SWIG_IsOK(res1
)) {
12690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12692 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12712 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12713 PyObject
*resultobj
= 0;
12714 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12718 PyObject
*swig_obj
[1] ;
12720 if (!args
) SWIG_fail
;
12721 swig_obj
[0] = args
;
12722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12723 if (!SWIG_IsOK(res1
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12726 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= wxNativeFontInfo___str__(arg1
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12746 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
= 0;
12748 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12749 wxString
*arg2
= 0 ;
12753 bool temp2
= false ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 char * kwnames
[] = {
12757 (char *) "self",(char *) "s", NULL
12760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12765 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12767 arg2
= wxString_in_helper(obj1
);
12768 if (arg2
== NULL
) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12794 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12795 PyObject
*resultobj
= 0;
12796 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12800 PyObject
*swig_obj
[1] ;
12802 if (!args
) SWIG_fail
;
12803 swig_obj
[0] = args
;
12804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12808 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12811 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12828 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12831 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12832 return SWIG_Py_Void();
12835 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12836 return SWIG_Python_InitShadowInstance(args
);
12839 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12840 PyObject
*resultobj
= 0;
12841 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12842 wxString
*arg2
= (wxString
*) 0 ;
12845 bool temp2
= false ;
12846 PyObject
*swig_obj
[2] ;
12848 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12850 if (!SWIG_IsOK(res1
)) {
12851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12853 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12855 arg2
= wxString_in_helper(swig_obj
[1]);
12856 if (arg2
== NULL
) SWIG_fail
;
12859 if (arg1
) (arg1
)->facename
= *arg2
;
12861 resultobj
= SWIG_Py_Void();
12876 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12877 PyObject
*resultobj
= 0;
12878 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12879 wxString
*result
= 0 ;
12882 PyObject
*swig_obj
[1] ;
12884 if (!args
) SWIG_fail
;
12885 swig_obj
[0] = args
;
12886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12887 if (!SWIG_IsOK(res1
)) {
12888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12890 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12891 result
= (wxString
*)& ((arg1
)->facename
);
12894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12905 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 PyObject
*resultobj
= 0;
12907 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12908 wxFontEncoding arg2
;
12913 PyObject
*swig_obj
[2] ;
12915 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12917 if (!SWIG_IsOK(res1
)) {
12918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12920 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12921 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12922 if (!SWIG_IsOK(ecode2
)) {
12923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12925 arg2
= static_cast< wxFontEncoding
>(val2
);
12926 if (arg1
) (arg1
)->encoding
= arg2
;
12928 resultobj
= SWIG_Py_Void();
12935 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12936 PyObject
*resultobj
= 0;
12937 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12938 wxFontEncoding result
;
12941 PyObject
*swig_obj
[1] ;
12943 if (!args
) SWIG_fail
;
12944 swig_obj
[0] = args
;
12945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12946 if (!SWIG_IsOK(res1
)) {
12947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12949 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12950 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12951 resultobj
= SWIG_From_int(static_cast< int >(result
));
12958 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12959 PyObject
*resultobj
= 0;
12960 wxNativeEncodingInfo
*result
= 0 ;
12962 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12976 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12977 PyObject
*resultobj
= 0;
12978 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12981 PyObject
*swig_obj
[1] ;
12983 if (!args
) SWIG_fail
;
12984 swig_obj
[0] = args
;
12985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12986 if (!SWIG_IsOK(res1
)) {
12987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12989 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= SWIG_Py_Void();
13004 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
= 0;
13006 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13007 wxString
*arg2
= 0 ;
13011 bool temp2
= false ;
13012 PyObject
* obj0
= 0 ;
13013 PyObject
* obj1
= 0 ;
13014 char * kwnames
[] = {
13015 (char *) "self",(char *) "s", NULL
13018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13020 if (!SWIG_IsOK(res1
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13023 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13025 arg2
= wxString_in_helper(obj1
);
13026 if (arg2
== NULL
) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13052 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13053 PyObject
*resultobj
= 0;
13054 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13058 PyObject
*swig_obj
[1] ;
13060 if (!args
) SWIG_fail
;
13061 swig_obj
[0] = args
;
13062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13063 if (!SWIG_IsOK(res1
)) {
13064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13066 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13086 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13089 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13090 return SWIG_Py_Void();
13093 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13094 return SWIG_Python_InitShadowInstance(args
);
13097 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
= 0;
13099 wxFontEncoding arg1
;
13100 wxNativeEncodingInfo
*result
= 0 ;
13103 PyObject
* obj0
= 0 ;
13104 char * kwnames
[] = {
13105 (char *) "encoding", NULL
13108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13109 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13110 if (!SWIG_IsOK(ecode1
)) {
13111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13113 arg1
= static_cast< wxFontEncoding
>(val1
);
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13127 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
= 0;
13129 wxNativeEncodingInfo
*arg1
= 0 ;
13133 PyObject
* obj0
= 0 ;
13134 char * kwnames
[] = {
13135 (char *) "info", NULL
13138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13139 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13140 if (!SWIG_IsOK(res1
)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13146 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13162 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13163 PyObject
*resultobj
= 0;
13164 wxFontMapper
*result
= 0 ;
13166 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 result
= (wxFontMapper
*)new wxFontMapper();
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13180 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13181 PyObject
*resultobj
= 0;
13182 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13185 PyObject
*swig_obj
[1] ;
13187 if (!args
) SWIG_fail
;
13188 swig_obj
[0] = args
;
13189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13190 if (!SWIG_IsOK(res1
)) {
13191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13193 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_Py_Void();
13208 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13209 PyObject
*resultobj
= 0;
13210 wxFontMapper
*result
= 0 ;
13212 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (wxFontMapper
*)wxFontMapper::Get();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13226 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
= 0;
13228 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13229 wxFontMapper
*result
= 0 ;
13232 PyObject
* obj0
= 0 ;
13233 char * kwnames
[] = {
13234 (char *) "mapper", NULL
13237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13239 if (!SWIG_IsOK(res1
)) {
13240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13242 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13256 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
= 0;
13258 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13259 wxString
*arg2
= 0 ;
13260 bool arg3
= (bool) true ;
13261 wxFontEncoding result
;
13264 bool temp2
= false ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 PyObject
* obj2
= 0 ;
13270 char * kwnames
[] = {
13271 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13276 if (!SWIG_IsOK(res1
)) {
13277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13279 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13281 arg2
= wxString_in_helper(obj1
);
13282 if (arg2
== NULL
) SWIG_fail
;
13286 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13287 if (!SWIG_IsOK(ecode3
)) {
13288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13290 arg3
= static_cast< bool >(val3
);
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_From_int(static_cast< int >(result
));
13313 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 PyObject
*resultobj
= 0;
13317 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13320 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13331 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
= 0;
13334 wxFontEncoding result
;
13337 PyObject
* obj0
= 0 ;
13338 char * kwnames
[] = {
13342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13343 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13344 if (!SWIG_IsOK(ecode1
)) {
13345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13347 arg1
= static_cast< size_t >(val1
);
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= SWIG_From_int(static_cast< int >(result
));
13361 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
= 0;
13363 wxFontEncoding arg1
;
13367 PyObject
* obj0
= 0 ;
13368 char * kwnames
[] = {
13369 (char *) "encoding", NULL
13372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13373 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13374 if (!SWIG_IsOK(ecode1
)) {
13375 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13377 arg1
= static_cast< wxFontEncoding
>(val1
);
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= wxFontMapper::GetEncodingName(arg1
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13397 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
= 0;
13399 wxFontEncoding arg1
;
13403 PyObject
* obj0
= 0 ;
13404 char * kwnames
[] = {
13405 (char *) "encoding", NULL
13408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13409 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13410 if (!SWIG_IsOK(ecode1
)) {
13411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13413 arg1
= static_cast< wxFontEncoding
>(val1
);
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 result
= wxFontMapper::GetEncodingDescription(arg1
);
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13433 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
= 0;
13435 wxString
*arg1
= 0 ;
13436 wxFontEncoding result
;
13437 bool temp1
= false ;
13438 PyObject
* obj0
= 0 ;
13439 char * kwnames
[] = {
13440 (char *) "name", NULL
13443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13445 arg1
= wxString_in_helper(obj0
);
13446 if (arg1
== NULL
) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= SWIG_From_int(static_cast< int >(result
));
13470 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
= 0;
13472 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13473 wxString
*arg2
= 0 ;
13476 bool temp2
= false ;
13477 PyObject
* obj0
= 0 ;
13478 PyObject
* obj1
= 0 ;
13479 char * kwnames
[] = {
13480 (char *) "self",(char *) "prefix", NULL
13483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13485 if (!SWIG_IsOK(res1
)) {
13486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13488 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13490 arg2
= wxString_in_helper(obj1
);
13491 if (arg2
== NULL
) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= SWIG_Py_Void();
13515 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13516 PyObject
*resultobj
= 0;
13519 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= wxFontMapper::GetDefaultConfigPath();
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13539 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
= 0;
13541 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13542 wxFontEncoding arg2
;
13543 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13544 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13545 bool arg4
= (bool) true ;
13546 PyObject
*result
= 0 ;
13551 bool temp3
= false ;
13554 PyObject
* obj0
= 0 ;
13555 PyObject
* obj1
= 0 ;
13556 PyObject
* obj2
= 0 ;
13557 PyObject
* obj3
= 0 ;
13558 char * kwnames
[] = {
13559 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13564 if (!SWIG_IsOK(res1
)) {
13565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13567 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13569 if (!SWIG_IsOK(ecode2
)) {
13570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13572 arg2
= static_cast< wxFontEncoding
>(val2
);
13575 arg3
= wxString_in_helper(obj2
);
13576 if (arg3
== NULL
) SWIG_fail
;
13581 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13582 if (!SWIG_IsOK(ecode4
)) {
13583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13585 arg4
= static_cast< bool >(val4
);
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
;
13608 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
= 0;
13610 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13611 wxFontEncoding arg2
;
13612 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13613 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13619 bool temp3
= false ;
13620 PyObject
* obj0
= 0 ;
13621 PyObject
* obj1
= 0 ;
13622 PyObject
* obj2
= 0 ;
13623 char * kwnames
[] = {
13624 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13629 if (!SWIG_IsOK(res1
)) {
13630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13632 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13634 if (!SWIG_IsOK(ecode2
)) {
13635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13637 arg2
= static_cast< wxFontEncoding
>(val2
);
13640 arg3
= wxString_in_helper(obj2
);
13641 if (arg3
== NULL
) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13668 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
= 0;
13670 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13671 wxWindow
*arg2
= (wxWindow
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 PyObject
* obj1
= 0 ;
13678 char * kwnames
[] = {
13679 (char *) "self",(char *) "parent", NULL
13682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13684 if (!SWIG_IsOK(res1
)) {
13685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13687 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13689 if (!SWIG_IsOK(res2
)) {
13690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 (arg1
)->SetDialogParent(arg2
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= SWIG_Py_Void();
13706 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
= 0;
13708 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13709 wxString
*arg2
= 0 ;
13712 bool temp2
= false ;
13713 PyObject
* obj0
= 0 ;
13714 PyObject
* obj1
= 0 ;
13715 char * kwnames
[] = {
13716 (char *) "self",(char *) "title", NULL
13719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13721 if (!SWIG_IsOK(res1
)) {
13722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13724 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13726 arg2
= wxString_in_helper(obj1
);
13727 if (arg2
== NULL
) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= SWIG_Py_Void();
13751 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13754 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13755 return SWIG_Py_Void();
13758 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13759 return SWIG_Python_InitShadowInstance(args
);
13762 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
= 0;
13768 bool arg5
= (bool) false ;
13769 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13770 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13771 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13772 wxFont
*result
= 0 ;
13783 bool temp6
= false ;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 PyObject
* obj2
= 0 ;
13789 PyObject
* obj3
= 0 ;
13790 PyObject
* obj4
= 0 ;
13791 PyObject
* obj5
= 0 ;
13792 PyObject
* obj6
= 0 ;
13793 char * kwnames
[] = {
13794 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13798 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13799 if (!SWIG_IsOK(ecode1
)) {
13800 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13802 arg1
= static_cast< int >(val1
);
13803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13804 if (!SWIG_IsOK(ecode2
)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13807 arg2
= static_cast< int >(val2
);
13808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13809 if (!SWIG_IsOK(ecode3
)) {
13810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13812 arg3
= static_cast< int >(val3
);
13813 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13814 if (!SWIG_IsOK(ecode4
)) {
13815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13817 arg4
= static_cast< int >(val4
);
13819 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13820 if (!SWIG_IsOK(ecode5
)) {
13821 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13823 arg5
= static_cast< bool >(val5
);
13827 arg6
= wxString_in_helper(obj5
);
13828 if (arg6
== NULL
) SWIG_fail
;
13833 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13834 if (!SWIG_IsOK(ecode7
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13837 arg7
= static_cast< wxFontEncoding
>(val7
);
13840 if (!wxPyCheckForApp()) SWIG_fail
;
13841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13842 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13861 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13862 PyObject
*resultobj
= 0;
13863 wxFont
*arg1
= (wxFont
*) 0 ;
13866 PyObject
*swig_obj
[1] ;
13868 if (!args
) SWIG_fail
;
13869 swig_obj
[0] = args
;
13870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13871 if (!SWIG_IsOK(res1
)) {
13872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13874 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13882 resultobj
= SWIG_Py_Void();
13889 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
= 0;
13891 wxNativeFontInfo
*arg1
= 0 ;
13892 wxFont
*result
= 0 ;
13895 PyObject
* obj0
= 0 ;
13896 char * kwnames
[] = {
13897 (char *) "info", NULL
13900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13901 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13902 if (!SWIG_IsOK(res1
)) {
13903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13908 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13910 if (!wxPyCheckForApp()) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13923 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
= 0;
13925 wxString
*arg1
= 0 ;
13926 wxFont
*result
= 0 ;
13927 bool temp1
= false ;
13928 PyObject
* obj0
= 0 ;
13929 char * kwnames
[] = {
13930 (char *) "info", NULL
13933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13935 arg1
= wxString_in_helper(obj0
);
13936 if (arg1
== NULL
) SWIG_fail
;
13940 if (!wxPyCheckForApp()) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13961 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
= 0;
13964 wxFontFamily arg2
;
13965 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13966 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13967 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13968 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13969 wxFont
*result
= 0 ;
13976 bool temp4
= false ;
13979 PyObject
* obj0
= 0 ;
13980 PyObject
* obj1
= 0 ;
13981 PyObject
* obj2
= 0 ;
13982 PyObject
* obj3
= 0 ;
13983 PyObject
* obj4
= 0 ;
13984 char * kwnames
[] = {
13985 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13989 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13990 if (!SWIG_IsOK(ecode1
)) {
13991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13993 arg1
= static_cast< int >(val1
);
13994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13995 if (!SWIG_IsOK(ecode2
)) {
13996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13998 arg2
= static_cast< wxFontFamily
>(val2
);
14000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14001 if (!SWIG_IsOK(ecode3
)) {
14002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14004 arg3
= static_cast< int >(val3
);
14008 arg4
= wxString_in_helper(obj3
);
14009 if (arg4
== NULL
) SWIG_fail
;
14014 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14015 if (!SWIG_IsOK(ecode5
)) {
14016 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14018 arg5
= static_cast< wxFontEncoding
>(val5
);
14021 if (!wxPyCheckForApp()) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14042 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
= 0;
14048 bool arg5
= (bool) false ;
14049 wxString
const &arg6_defvalue
= wxEmptyString
;
14050 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14051 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14052 wxFont
*result
= 0 ;
14062 bool temp6
= false ;
14065 PyObject
* obj0
= 0 ;
14066 PyObject
* obj1
= 0 ;
14067 PyObject
* obj2
= 0 ;
14068 PyObject
* obj3
= 0 ;
14069 PyObject
* obj4
= 0 ;
14070 PyObject
* obj5
= 0 ;
14071 PyObject
* obj6
= 0 ;
14072 char * kwnames
[] = {
14073 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14079 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14082 if (!SWIG_IsOK(ecode2
)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14085 arg2
= static_cast< int >(val2
);
14086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14087 if (!SWIG_IsOK(ecode3
)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14090 arg3
= static_cast< int >(val3
);
14091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14092 if (!SWIG_IsOK(ecode4
)) {
14093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14095 arg4
= static_cast< int >(val4
);
14097 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14098 if (!SWIG_IsOK(ecode5
)) {
14099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14101 arg5
= static_cast< bool >(val5
);
14105 arg6
= wxString_in_helper(obj5
);
14106 if (arg6
== NULL
) SWIG_fail
;
14111 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14112 if (!SWIG_IsOK(ecode7
)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14115 arg7
= static_cast< wxFontEncoding
>(val7
);
14118 if (!wxPyCheckForApp()) SWIG_fail
;
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14139 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
= 0;
14142 wxFontFamily arg2
;
14143 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14144 wxString
const &arg4_defvalue
= wxEmptyString
;
14145 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14146 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14147 wxFont
*result
= 0 ;
14153 bool temp4
= false ;
14156 PyObject
* obj0
= 0 ;
14157 PyObject
* obj1
= 0 ;
14158 PyObject
* obj2
= 0 ;
14159 PyObject
* obj3
= 0 ;
14160 PyObject
* obj4
= 0 ;
14161 char * kwnames
[] = {
14162 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14168 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14171 if (!SWIG_IsOK(ecode2
)) {
14172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14174 arg2
= static_cast< wxFontFamily
>(val2
);
14176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14177 if (!SWIG_IsOK(ecode3
)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14180 arg3
= static_cast< int >(val3
);
14184 arg4
= wxString_in_helper(obj3
);
14185 if (arg4
== NULL
) SWIG_fail
;
14190 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14191 if (!SWIG_IsOK(ecode5
)) {
14192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14194 arg5
= static_cast< wxFontEncoding
>(val5
);
14197 if (!wxPyCheckForApp()) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14218 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14219 PyObject
*resultobj
= 0;
14220 wxFont
*arg1
= (wxFont
*) 0 ;
14224 PyObject
*swig_obj
[1] ;
14226 if (!args
) SWIG_fail
;
14227 swig_obj
[0] = args
;
14228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14229 if (!SWIG_IsOK(res1
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14232 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14248 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
= 0;
14250 wxFont
*arg1
= (wxFont
*) 0 ;
14251 wxFont
*arg2
= (wxFont
*) 0 ;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 char * kwnames
[] = {
14260 (char *) "self",(char *) "other", NULL
14263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14265 if (!SWIG_IsOK(res1
)) {
14266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14268 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14270 if (!SWIG_IsOK(res2
)) {
14271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14273 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14289 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
= 0;
14291 wxFont
*arg1
= (wxFont
*) 0 ;
14292 wxFont
*arg2
= (wxFont
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 char * kwnames
[] = {
14301 (char *) "self",(char *) "other", NULL
14304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14306 if (!SWIG_IsOK(res1
)) {
14307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14309 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14310 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14311 if (!SWIG_IsOK(res2
)) {
14312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14314 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14330 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14331 PyObject
*resultobj
= 0;
14332 wxFont
*arg1
= (wxFont
*) 0 ;
14336 PyObject
*swig_obj
[1] ;
14338 if (!args
) SWIG_fail
;
14339 swig_obj
[0] = args
;
14340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14341 if (!SWIG_IsOK(res1
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14344 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= SWIG_From_int(static_cast< int >(result
));
14358 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14359 PyObject
*resultobj
= 0;
14360 wxFont
*arg1
= (wxFont
*) 0 ;
14364 PyObject
*swig_obj
[1] ;
14366 if (!args
) SWIG_fail
;
14367 swig_obj
[0] = args
;
14368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14369 if (!SWIG_IsOK(res1
)) {
14370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14372 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14386 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14387 PyObject
*resultobj
= 0;
14388 wxFont
*arg1
= (wxFont
*) 0 ;
14392 PyObject
*swig_obj
[1] ;
14394 if (!args
) SWIG_fail
;
14395 swig_obj
[0] = args
;
14396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14397 if (!SWIG_IsOK(res1
)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14400 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14416 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14417 PyObject
*resultobj
= 0;
14418 wxFont
*arg1
= (wxFont
*) 0 ;
14422 PyObject
*swig_obj
[1] ;
14424 if (!args
) SWIG_fail
;
14425 swig_obj
[0] = args
;
14426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14427 if (!SWIG_IsOK(res1
)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14430 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_From_int(static_cast< int >(result
));
14444 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14445 PyObject
*resultobj
= 0;
14446 wxFont
*arg1
= (wxFont
*) 0 ;
14450 PyObject
*swig_obj
[1] ;
14452 if (!args
) SWIG_fail
;
14453 swig_obj
[0] = args
;
14454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14455 if (!SWIG_IsOK(res1
)) {
14456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14458 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_From_int(static_cast< int >(result
));
14472 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14473 PyObject
*resultobj
= 0;
14474 wxFont
*arg1
= (wxFont
*) 0 ;
14478 PyObject
*swig_obj
[1] ;
14480 if (!args
) SWIG_fail
;
14481 swig_obj
[0] = args
;
14482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14486 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_From_int(static_cast< int >(result
));
14500 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14501 PyObject
*resultobj
= 0;
14502 wxFont
*arg1
= (wxFont
*) 0 ;
14506 PyObject
*swig_obj
[1] ;
14508 if (!args
) SWIG_fail
;
14509 swig_obj
[0] = args
;
14510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14511 if (!SWIG_IsOK(res1
)) {
14512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14514 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14530 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14531 PyObject
*resultobj
= 0;
14532 wxFont
*arg1
= (wxFont
*) 0 ;
14536 PyObject
*swig_obj
[1] ;
14538 if (!args
) SWIG_fail
;
14539 swig_obj
[0] = args
;
14540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14541 if (!SWIG_IsOK(res1
)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14544 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= ((wxFont
const *)arg1
)->GetFaceName();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14564 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14565 PyObject
*resultobj
= 0;
14566 wxFont
*arg1
= (wxFont
*) 0 ;
14567 wxFontEncoding result
;
14570 PyObject
*swig_obj
[1] ;
14572 if (!args
) SWIG_fail
;
14573 swig_obj
[0] = args
;
14574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14575 if (!SWIG_IsOK(res1
)) {
14576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14578 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= SWIG_From_int(static_cast< int >(result
));
14592 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14593 PyObject
*resultobj
= 0;
14594 wxFont
*arg1
= (wxFont
*) 0 ;
14595 wxNativeFontInfo
*result
= 0 ;
14598 PyObject
*swig_obj
[1] ;
14600 if (!args
) SWIG_fail
;
14601 swig_obj
[0] = args
;
14602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14606 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14620 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14621 PyObject
*resultobj
= 0;
14622 wxFont
*arg1
= (wxFont
*) 0 ;
14626 PyObject
*swig_obj
[1] ;
14628 if (!args
) SWIG_fail
;
14629 swig_obj
[0] = args
;
14630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14631 if (!SWIG_IsOK(res1
)) {
14632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14634 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14650 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14651 PyObject
*resultobj
= 0;
14652 wxFont
*arg1
= (wxFont
*) 0 ;
14656 PyObject
*swig_obj
[1] ;
14658 if (!args
) SWIG_fail
;
14659 swig_obj
[0] = args
;
14660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14661 if (!SWIG_IsOK(res1
)) {
14662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14664 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14684 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14685 PyObject
*resultobj
= 0;
14686 wxFont
*arg1
= (wxFont
*) 0 ;
14690 PyObject
*swig_obj
[1] ;
14692 if (!args
) SWIG_fail
;
14693 swig_obj
[0] = args
;
14694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14698 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14718 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
= 0;
14720 wxFont
*arg1
= (wxFont
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 PyObject
* obj1
= 0 ;
14728 char * kwnames
[] = {
14729 (char *) "self",(char *) "pointSize", NULL
14732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14734 if (!SWIG_IsOK(res1
)) {
14735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14737 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14739 if (!SWIG_IsOK(ecode2
)) {
14740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14742 arg2
= static_cast< int >(val2
);
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 (arg1
)->SetPointSize(arg2
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= SWIG_Py_Void();
14756 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
= 0;
14758 wxFont
*arg1
= (wxFont
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 char * kwnames
[] = {
14766 (char *) "self",(char *) "pixelSize", NULL
14769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14771 if (!SWIG_IsOK(res1
)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14774 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14777 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_Py_Void();
14792 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
= 0;
14794 wxFont
*arg1
= (wxFont
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 PyObject
* obj1
= 0 ;
14802 char * kwnames
[] = {
14803 (char *) "self",(char *) "family", NULL
14806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14808 if (!SWIG_IsOK(res1
)) {
14809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14811 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14813 if (!SWIG_IsOK(ecode2
)) {
14814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14816 arg2
= static_cast< int >(val2
);
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 (arg1
)->SetFamily(arg2
);
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= SWIG_Py_Void();
14830 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
= 0;
14832 wxFont
*arg1
= (wxFont
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 PyObject
* obj1
= 0 ;
14840 char * kwnames
[] = {
14841 (char *) "self",(char *) "style", NULL
14844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14846 if (!SWIG_IsOK(res1
)) {
14847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14849 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14851 if (!SWIG_IsOK(ecode2
)) {
14852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14854 arg2
= static_cast< int >(val2
);
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 (arg1
)->SetStyle(arg2
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_Py_Void();
14868 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
= 0;
14870 wxFont
*arg1
= (wxFont
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 char * kwnames
[] = {
14879 (char *) "self",(char *) "weight", NULL
14882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14887 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14889 if (!SWIG_IsOK(ecode2
)) {
14890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14892 arg2
= static_cast< int >(val2
);
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 (arg1
)->SetWeight(arg2
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_Py_Void();
14906 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
= 0;
14908 wxFont
*arg1
= (wxFont
*) 0 ;
14909 wxString
*arg2
= 0 ;
14913 bool temp2
= false ;
14914 PyObject
* obj0
= 0 ;
14915 PyObject
* obj1
= 0 ;
14916 char * kwnames
[] = {
14917 (char *) "self",(char *) "faceName", NULL
14920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14922 if (!SWIG_IsOK(res1
)) {
14923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14925 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14927 arg2
= wxString_in_helper(obj1
);
14928 if (arg2
== NULL
) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14954 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
= 0;
14956 wxFont
*arg1
= (wxFont
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 PyObject
* obj1
= 0 ;
14964 char * kwnames
[] = {
14965 (char *) "self",(char *) "underlined", NULL
14968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14970 if (!SWIG_IsOK(res1
)) {
14971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14973 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14974 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14975 if (!SWIG_IsOK(ecode2
)) {
14976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14978 arg2
= static_cast< bool >(val2
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 (arg1
)->SetUnderlined(arg2
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_Py_Void();
14992 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
= 0;
14994 wxFont
*arg1
= (wxFont
*) 0 ;
14995 wxFontEncoding arg2
;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 char * kwnames
[] = {
15003 (char *) "self",(char *) "encoding", NULL
15006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15008 if (!SWIG_IsOK(res1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15011 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15013 if (!SWIG_IsOK(ecode2
)) {
15014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15016 arg2
= static_cast< wxFontEncoding
>(val2
);
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 (arg1
)->SetEncoding(arg2
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_Py_Void();
15030 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
= 0;
15032 wxFont
*arg1
= (wxFont
*) 0 ;
15033 wxNativeFontInfo
*arg2
= 0 ;
15038 PyObject
* obj0
= 0 ;
15039 PyObject
* obj1
= 0 ;
15040 char * kwnames
[] = {
15041 (char *) "self",(char *) "info", NULL
15044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15046 if (!SWIG_IsOK(res1
)) {
15047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15049 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15051 if (!SWIG_IsOK(res2
)) {
15052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15057 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_Py_Void();
15071 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= 0;
15073 wxFont
*arg1
= (wxFont
*) 0 ;
15074 wxString
*arg2
= 0 ;
15078 bool temp2
= false ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char * kwnames
[] = {
15082 (char *) "self",(char *) "info", NULL
15085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15087 if (!SWIG_IsOK(res1
)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15090 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15092 arg2
= wxString_in_helper(obj1
);
15093 if (arg2
== NULL
) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15119 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
= 0;
15121 wxFont
*arg1
= (wxFont
*) 0 ;
15122 wxString
*arg2
= 0 ;
15126 bool temp2
= false ;
15127 PyObject
* obj0
= 0 ;
15128 PyObject
* obj1
= 0 ;
15129 char * kwnames
[] = {
15130 (char *) "self",(char *) "info", NULL
15133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15135 if (!SWIG_IsOK(res1
)) {
15136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15138 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15140 arg2
= wxString_in_helper(obj1
);
15141 if (arg2
== NULL
) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15167 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15168 PyObject
*resultobj
= 0;
15169 wxFont
*arg1
= (wxFont
*) 0 ;
15173 PyObject
*swig_obj
[1] ;
15175 if (!args
) SWIG_fail
;
15176 swig_obj
[0] = args
;
15177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15178 if (!SWIG_IsOK(res1
)) {
15179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15181 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15201 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15202 PyObject
*resultobj
= 0;
15203 wxFont
*arg1
= (wxFont
*) 0 ;
15207 PyObject
*swig_obj
[1] ;
15209 if (!args
) SWIG_fail
;
15210 swig_obj
[0] = args
;
15211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15212 if (!SWIG_IsOK(res1
)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15215 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= ((wxFont
const *)arg1
)->GetStyleString();
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15235 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15236 PyObject
*resultobj
= 0;
15237 wxFont
*arg1
= (wxFont
*) 0 ;
15241 PyObject
*swig_obj
[1] ;
15243 if (!args
) SWIG_fail
;
15244 swig_obj
[0] = args
;
15245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15246 if (!SWIG_IsOK(res1
)) {
15247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15249 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= ((wxFont
const *)arg1
)->GetWeightString();
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15269 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
= 0;
15271 wxFont
*arg1
= (wxFont
*) 0 ;
15272 bool arg2
= (bool) true ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char * kwnames
[] = {
15280 (char *) "self",(char *) "no", NULL
15283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15285 if (!SWIG_IsOK(res1
)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15288 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15290 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15291 if (!SWIG_IsOK(ecode2
)) {
15292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15294 arg2
= static_cast< bool >(val2
);
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 (arg1
)->SetNoAntiAliasing(arg2
);
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 resultobj
= SWIG_Py_Void();
15309 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15310 PyObject
*resultobj
= 0;
15311 wxFont
*arg1
= (wxFont
*) 0 ;
15315 PyObject
*swig_obj
[1] ;
15317 if (!args
) SWIG_fail
;
15318 swig_obj
[0] = args
;
15319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15320 if (!SWIG_IsOK(res1
)) {
15321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15323 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15339 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15340 PyObject
*resultobj
= 0;
15341 wxFontEncoding result
;
15343 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15345 if (!wxPyCheckForApp()) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_From_int(static_cast< int >(result
));
15358 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
= 0;
15360 wxFontEncoding arg1
;
15363 PyObject
* obj0
= 0 ;
15364 char * kwnames
[] = {
15365 (char *) "encoding", NULL
15368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15370 if (!SWIG_IsOK(ecode1
)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15373 arg1
= static_cast< wxFontEncoding
>(val1
);
15375 if (!wxPyCheckForApp()) SWIG_fail
;
15376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15377 wxFont::SetDefaultEncoding(arg1
);
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_Py_Void();
15388 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15391 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15392 return SWIG_Py_Void();
15395 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15396 return SWIG_Python_InitShadowInstance(args
);
15399 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15400 PyObject
*resultobj
= 0;
15401 wxPyFontEnumerator
*result
= 0 ;
15403 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15405 if (!wxPyCheckForApp()) SWIG_fail
;
15406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15407 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15418 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15419 PyObject
*resultobj
= 0;
15420 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15423 PyObject
*swig_obj
[1] ;
15425 if (!args
) SWIG_fail
;
15426 swig_obj
[0] = args
;
15427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15428 if (!SWIG_IsOK(res1
)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15431 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 wxPyEndAllowThreads(__tstate
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= SWIG_Py_Void();
15446 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
= 0;
15448 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15449 PyObject
*arg2
= (PyObject
*) 0 ;
15450 PyObject
*arg3
= (PyObject
*) 0 ;
15451 int arg4
= (int) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 PyObject
* obj2
= 0 ;
15459 PyObject
* obj3
= 0 ;
15460 char * kwnames
[] = {
15461 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15466 if (!SWIG_IsOK(res1
)) {
15467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15469 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15474 if (!SWIG_IsOK(ecode4
)) {
15475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15477 arg4
= static_cast< int >(val4
);
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_Py_Void();
15492 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
= 0;
15494 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15495 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15496 bool arg3
= (bool) false ;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 PyObject
* obj2
= 0 ;
15507 char * kwnames
[] = {
15508 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15513 if (!SWIG_IsOK(res1
)) {
15514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15516 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15519 if (!SWIG_IsOK(ecode2
)) {
15520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15522 arg2
= static_cast< wxFontEncoding
>(val2
);
15525 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15526 if (!SWIG_IsOK(ecode3
)) {
15527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15529 arg3
= static_cast< bool >(val3
);
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15546 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
= 0;
15548 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15549 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15550 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15554 bool temp2
= false ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 char * kwnames
[] = {
15558 (char *) "self",(char *) "facename", NULL
15561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15563 if (!SWIG_IsOK(res1
)) {
15564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15566 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15569 arg2
= wxString_in_helper(obj1
);
15570 if (arg2
== NULL
) SWIG_fail
;
15575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15576 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15577 wxPyEndAllowThreads(__tstate
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15597 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15598 PyObject
*resultobj
= 0;
15599 PyObject
*result
= 0 ;
15601 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= result
;
15615 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15616 PyObject
*resultobj
= 0;
15617 PyObject
*result
= 0 ;
15619 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= result
;
15633 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
= 0;
15635 wxString
*arg1
= 0 ;
15637 bool temp1
= false ;
15638 PyObject
* obj0
= 0 ;
15639 char * kwnames
[] = {
15640 (char *) "str", NULL
15643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15645 arg1
= wxString_in_helper(obj0
);
15646 if (arg1
== NULL
) SWIG_fail
;
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15672 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15675 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15676 return SWIG_Py_Void();
15679 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15680 return SWIG_Python_InitShadowInstance(args
);
15683 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15684 PyObject
*resultobj
= 0;
15685 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15691 PyObject
*swig_obj
[2] ;
15693 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15695 if (!SWIG_IsOK(res1
)) {
15696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15698 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15699 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15700 if (!SWIG_IsOK(ecode2
)) {
15701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15703 arg2
= static_cast< int >(val2
);
15704 if (arg1
) (arg1
)->Language
= arg2
;
15706 resultobj
= SWIG_Py_Void();
15713 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15714 PyObject
*resultobj
= 0;
15715 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15719 PyObject
*swig_obj
[1] ;
15721 if (!args
) SWIG_fail
;
15722 swig_obj
[0] = args
;
15723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15724 if (!SWIG_IsOK(res1
)) {
15725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15727 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15728 result
= (int) ((arg1
)->Language
);
15729 resultobj
= SWIG_From_int(static_cast< int >(result
));
15736 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15737 PyObject
*resultobj
= 0;
15738 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15739 wxString
*arg2
= (wxString
*) 0 ;
15742 bool temp2
= false ;
15743 PyObject
*swig_obj
[2] ;
15745 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15747 if (!SWIG_IsOK(res1
)) {
15748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15750 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15752 arg2
= wxString_in_helper(swig_obj
[1]);
15753 if (arg2
== NULL
) SWIG_fail
;
15756 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15758 resultobj
= SWIG_Py_Void();
15773 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15774 PyObject
*resultobj
= 0;
15775 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15776 wxString
*result
= 0 ;
15779 PyObject
*swig_obj
[1] ;
15781 if (!args
) SWIG_fail
;
15782 swig_obj
[0] = args
;
15783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15787 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15788 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15791 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15793 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15802 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15803 PyObject
*resultobj
= 0;
15804 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15805 wxString
*arg2
= (wxString
*) 0 ;
15808 bool temp2
= false ;
15809 PyObject
*swig_obj
[2] ;
15811 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15813 if (!SWIG_IsOK(res1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15816 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15818 arg2
= wxString_in_helper(swig_obj
[1]);
15819 if (arg2
== NULL
) SWIG_fail
;
15822 if (arg1
) (arg1
)->Description
= *arg2
;
15824 resultobj
= SWIG_Py_Void();
15839 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15840 PyObject
*resultobj
= 0;
15841 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15842 wxString
*result
= 0 ;
15845 PyObject
*swig_obj
[1] ;
15847 if (!args
) SWIG_fail
;
15848 swig_obj
[0] = args
;
15849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15850 if (!SWIG_IsOK(res1
)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15853 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15854 result
= (wxString
*)& ((arg1
)->Description
);
15857 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15859 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15868 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15871 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15872 return SWIG_Py_Void();
15875 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
= 0;
15877 int arg1
= (int) -1 ;
15878 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15879 wxLocale
*result
= 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char * kwnames
[] = {
15887 (char *) "language",(char *) "flags", NULL
15890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15892 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15893 if (!SWIG_IsOK(ecode1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15896 arg1
= static_cast< int >(val1
);
15899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15900 if (!SWIG_IsOK(ecode2
)) {
15901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15903 arg2
= static_cast< int >(val2
);
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15918 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15919 PyObject
*resultobj
= 0;
15920 wxLocale
*arg1
= (wxLocale
*) 0 ;
15923 PyObject
*swig_obj
[1] ;
15925 if (!args
) SWIG_fail
;
15926 swig_obj
[0] = args
;
15927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15928 if (!SWIG_IsOK(res1
)) {
15929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15931 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= SWIG_Py_Void();
15946 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
= 0;
15948 wxLocale
*arg1
= (wxLocale
*) 0 ;
15949 wxString
*arg2
= 0 ;
15950 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15951 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15952 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15953 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15954 bool arg5
= (bool) true ;
15955 bool arg6
= (bool) false ;
15959 bool temp2
= false ;
15960 bool temp3
= false ;
15961 bool temp4
= false ;
15966 PyObject
* obj0
= 0 ;
15967 PyObject
* obj1
= 0 ;
15968 PyObject
* obj2
= 0 ;
15969 PyObject
* obj3
= 0 ;
15970 PyObject
* obj4
= 0 ;
15971 PyObject
* obj5
= 0 ;
15972 char * kwnames
[] = {
15973 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15978 if (!SWIG_IsOK(res1
)) {
15979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15981 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15983 arg2
= wxString_in_helper(obj1
);
15984 if (arg2
== NULL
) SWIG_fail
;
15989 arg3
= wxString_in_helper(obj2
);
15990 if (arg3
== NULL
) SWIG_fail
;
15996 arg4
= wxString_in_helper(obj3
);
15997 if (arg4
== NULL
) SWIG_fail
;
16002 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16003 if (!SWIG_IsOK(ecode5
)) {
16004 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16006 arg5
= static_cast< bool >(val5
);
16009 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16010 if (!SWIG_IsOK(ecode6
)) {
16011 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16013 arg6
= static_cast< bool >(val6
);
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16054 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
= 0;
16056 wxLocale
*arg1
= (wxLocale
*) 0 ;
16057 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16058 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16066 PyObject
* obj0
= 0 ;
16067 PyObject
* obj1
= 0 ;
16068 PyObject
* obj2
= 0 ;
16069 char * kwnames
[] = {
16070 (char *) "self",(char *) "language",(char *) "flags", NULL
16073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16075 if (!SWIG_IsOK(res1
)) {
16076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16078 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16081 if (!SWIG_IsOK(ecode2
)) {
16082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16084 arg2
= static_cast< int >(val2
);
16087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16088 if (!SWIG_IsOK(ecode3
)) {
16089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16091 arg3
= static_cast< int >(val3
);
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16108 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16109 PyObject
*resultobj
= 0;
16112 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (int)wxLocale::GetSystemLanguage();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_From_int(static_cast< int >(result
));
16126 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16127 PyObject
*resultobj
= 0;
16128 wxFontEncoding result
;
16130 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16137 resultobj
= SWIG_From_int(static_cast< int >(result
));
16144 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16145 PyObject
*resultobj
= 0;
16148 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= wxLocale::GetSystemEncodingName();
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16168 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16169 PyObject
*resultobj
= 0;
16170 wxLocale
*arg1
= (wxLocale
*) 0 ;
16174 PyObject
*swig_obj
[1] ;
16176 if (!args
) SWIG_fail
;
16177 swig_obj
[0] = args
;
16178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16179 if (!SWIG_IsOK(res1
)) {
16180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16182 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16198 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16199 PyObject
*resultobj
= 0;
16200 wxLocale
*arg1
= (wxLocale
*) 0 ;
16204 PyObject
*swig_obj
[1] ;
16206 if (!args
) SWIG_fail
;
16207 swig_obj
[0] = args
;
16208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16209 if (!SWIG_IsOK(res1
)) {
16210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16212 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= ((wxLocale
const *)arg1
)->GetLocale();
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16232 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16233 PyObject
*resultobj
= 0;
16234 wxLocale
*arg1
= (wxLocale
*) 0 ;
16238 PyObject
*swig_obj
[1] ;
16240 if (!args
) SWIG_fail
;
16241 swig_obj
[0] = args
;
16242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16243 if (!SWIG_IsOK(res1
)) {
16244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16246 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= SWIG_From_int(static_cast< int >(result
));
16260 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16261 PyObject
*resultobj
= 0;
16262 wxLocale
*arg1
= (wxLocale
*) 0 ;
16266 PyObject
*swig_obj
[1] ;
16268 if (!args
) SWIG_fail
;
16269 swig_obj
[0] = args
;
16270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16271 if (!SWIG_IsOK(res1
)) {
16272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16274 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 result
= ((wxLocale
const *)arg1
)->GetSysName();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16294 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16295 PyObject
*resultobj
= 0;
16296 wxLocale
*arg1
= (wxLocale
*) 0 ;
16300 PyObject
*swig_obj
[1] ;
16302 if (!args
) SWIG_fail
;
16303 swig_obj
[0] = args
;
16304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16305 if (!SWIG_IsOK(res1
)) {
16306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16308 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16328 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
= 0;
16330 wxString
*arg1
= 0 ;
16331 bool temp1
= false ;
16332 PyObject
* obj0
= 0 ;
16333 char * kwnames
[] = {
16334 (char *) "prefix", NULL
16337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16339 arg1
= wxString_in_helper(obj0
);
16340 if (arg1
== NULL
) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16346 wxPyEndAllowThreads(__tstate
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= SWIG_Py_Void();
16364 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
= 0;
16366 wxLocale
*arg1
= (wxLocale
*) 0 ;
16367 wxString
*arg2
= 0 ;
16371 bool temp2
= false ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 char * kwnames
[] = {
16375 (char *) "self",(char *) "szDomain", NULL
16378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16380 if (!SWIG_IsOK(res1
)) {
16381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16383 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16385 arg2
= wxString_in_helper(obj1
);
16386 if (arg2
== NULL
) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16412 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
= 0;
16418 PyObject
* obj0
= 0 ;
16419 char * kwnames
[] = {
16420 (char *) "lang", NULL
16423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16425 if (!SWIG_IsOK(ecode1
)) {
16426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16428 arg1
= static_cast< int >(val1
);
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (bool)wxLocale::IsAvailable(arg1
);
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16444 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
= 0;
16446 wxLocale
*arg1
= (wxLocale
*) 0 ;
16447 wxString
*arg2
= 0 ;
16451 bool temp2
= false ;
16452 PyObject
* obj0
= 0 ;
16453 PyObject
* obj1
= 0 ;
16454 char * kwnames
[] = {
16455 (char *) "self",(char *) "szDomain", NULL
16458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16460 if (!SWIG_IsOK(res1
)) {
16461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16463 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16465 arg2
= wxString_in_helper(obj1
);
16466 if (arg2
== NULL
) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16492 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
= 0;
16495 wxLanguageInfo
*result
= 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char * kwnames
[] = {
16500 (char *) "lang", NULL
16503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16504 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16505 if (!SWIG_IsOK(ecode1
)) {
16506 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16508 arg1
= static_cast< int >(val1
);
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16522 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
= 0;
16528 PyObject
* obj0
= 0 ;
16529 char * kwnames
[] = {
16530 (char *) "lang", NULL
16533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16534 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16535 if (!SWIG_IsOK(ecode1
)) {
16536 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16538 arg1
= static_cast< int >(val1
);
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= wxLocale::GetLanguageName(arg1
);
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16558 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
= 0;
16560 wxString
*arg1
= 0 ;
16561 wxLanguageInfo
*result
= 0 ;
16562 bool temp1
= false ;
16563 PyObject
* obj0
= 0 ;
16564 char * kwnames
[] = {
16565 (char *) "locale", NULL
16568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16570 arg1
= wxString_in_helper(obj0
);
16571 if (arg1
== NULL
) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16595 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
= 0;
16597 wxLanguageInfo
*arg1
= 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char * kwnames
[] = {
16602 (char *) "info", NULL
16605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16606 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16607 if (!SWIG_IsOK(res1
)) {
16608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16613 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16617 wxPyEndAllowThreads(__tstate
);
16618 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= SWIG_Py_Void();
16627 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16628 PyObject
*resultobj
= 0;
16629 wxLocale
*arg1
= (wxLocale
*) 0 ;
16630 wxString
*arg2
= 0 ;
16631 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16632 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16636 bool temp2
= false ;
16637 bool temp3
= false ;
16638 PyObject
* obj0
= 0 ;
16639 PyObject
* obj1
= 0 ;
16640 PyObject
* obj2
= 0 ;
16641 char * kwnames
[] = {
16642 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16647 if (!SWIG_IsOK(res1
)) {
16648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16650 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16652 arg2
= wxString_in_helper(obj1
);
16653 if (arg2
== NULL
) SWIG_fail
;
16658 arg3
= wxString_in_helper(obj2
);
16659 if (arg3
== NULL
) SWIG_fail
;
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16698 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16699 PyObject
*resultobj
= 0;
16700 wxLocale
*arg1
= (wxLocale
*) 0 ;
16701 wxString
*result
= 0 ;
16704 PyObject
*swig_obj
[1] ;
16706 if (!args
) SWIG_fail
;
16707 swig_obj
[0] = args
;
16708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16709 if (!SWIG_IsOK(res1
)) {
16710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16712 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16717 result
= (wxString
*) &_result_ref
;
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16726 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16735 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16738 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16739 return SWIG_Py_Void();
16742 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16743 return SWIG_Python_InitShadowInstance(args
);
16746 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
= 0;
16748 int arg1
= (int) -1 ;
16749 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16750 wxPyLocale
*result
= 0 ;
16755 PyObject
* obj0
= 0 ;
16756 PyObject
* obj1
= 0 ;
16757 char * kwnames
[] = {
16758 (char *) "language",(char *) "flags", NULL
16761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16764 if (!SWIG_IsOK(ecode1
)) {
16765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16767 arg1
= static_cast< int >(val1
);
16770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16771 if (!SWIG_IsOK(ecode2
)) {
16772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16774 arg2
= static_cast< int >(val2
);
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16789 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16790 PyObject
*resultobj
= 0;
16791 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16794 PyObject
*swig_obj
[1] ;
16796 if (!args
) SWIG_fail
;
16797 swig_obj
[0] = args
;
16798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16799 if (!SWIG_IsOK(res1
)) {
16800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16802 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= SWIG_Py_Void();
16817 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
= 0;
16819 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16820 PyObject
*arg2
= (PyObject
*) 0 ;
16821 PyObject
*arg3
= (PyObject
*) 0 ;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 PyObject
* obj2
= 0 ;
16827 char * kwnames
[] = {
16828 (char *) "self",(char *) "self",(char *) "_class", NULL
16831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16833 if (!SWIG_IsOK(res1
)) {
16834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16836 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 resultobj
= SWIG_Py_Void();
16852 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
= 0;
16854 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16855 wxChar
*arg2
= (wxChar
*) 0 ;
16856 wxChar
*arg3
= (wxChar
*) NULL
;
16857 wxChar
*result
= 0 ;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 PyObject
* obj2
= 0 ;
16867 char * kwnames
[] = {
16868 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16873 if (!SWIG_IsOK(res1
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16876 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16878 if (!SWIG_IsOK(res2
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16881 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16883 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16884 if (!SWIG_IsOK(res3
)) {
16885 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16887 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16902 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
= 0;
16904 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16905 wxChar
*arg2
= (wxChar
*) 0 ;
16906 wxChar
*arg3
= (wxChar
*) 0 ;
16908 wxChar
*arg5
= (wxChar
*) NULL
;
16909 wxChar
*result
= 0 ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 PyObject
* obj2
= 0 ;
16923 PyObject
* obj3
= 0 ;
16924 PyObject
* obj4
= 0 ;
16925 char * kwnames
[] = {
16926 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16931 if (!SWIG_IsOK(res1
)) {
16932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16934 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16936 if (!SWIG_IsOK(res2
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16939 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16940 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16941 if (!SWIG_IsOK(res3
)) {
16942 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16944 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16945 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16946 if (!SWIG_IsOK(ecode4
)) {
16947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16949 arg4
= static_cast< size_t >(val4
);
16951 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16952 if (!SWIG_IsOK(res5
)) {
16953 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16955 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16970 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16973 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16974 return SWIG_Py_Void();
16977 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16978 return SWIG_Python_InitShadowInstance(args
);
16981 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16982 PyObject
*resultobj
= 0;
16983 wxLocale
*result
= 0 ;
16985 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= (wxLocale
*)wxGetLocale();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16999 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17000 PyObject
*resultobj
= 0;
17001 wxString
*arg1
= 0 ;
17003 bool temp1
= false ;
17005 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17007 arg1
= wxString_in_helper(swig_obj
[0]);
17008 if (arg1
== NULL
) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= wxGetTranslation((wxString
const &)*arg1
);
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17038 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17039 PyObject
*resultobj
= 0;
17040 wxString
*arg1
= 0 ;
17041 wxString
*arg2
= 0 ;
17043 bool temp1
= false ;
17044 bool temp2
= false ;
17046 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17048 arg1
= wxString_in_helper(swig_obj
[0]);
17049 if (arg1
== NULL
) SWIG_fail
;
17053 arg2
= wxString_in_helper(swig_obj
[1]);
17054 if (arg2
== NULL
) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17092 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17093 PyObject
*resultobj
= 0;
17094 wxString
*arg1
= 0 ;
17095 wxString
*arg2
= 0 ;
17098 bool temp1
= false ;
17099 bool temp2
= false ;
17103 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17105 arg1
= wxString_in_helper(swig_obj
[0]);
17106 if (arg1
== NULL
) SWIG_fail
;
17110 arg2
= wxString_in_helper(swig_obj
[1]);
17111 if (arg2
== NULL
) SWIG_fail
;
17114 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17115 if (!SWIG_IsOK(ecode3
)) {
17116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17118 arg3
= static_cast< size_t >(val3
);
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17154 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17155 PyObject
*resultobj
= 0;
17156 wxString
*arg1
= 0 ;
17157 wxString
*arg2
= 0 ;
17159 wxString
*arg4
= 0 ;
17161 bool temp1
= false ;
17162 bool temp2
= false ;
17165 bool temp4
= false ;
17167 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17169 arg1
= wxString_in_helper(swig_obj
[0]);
17170 if (arg1
== NULL
) SWIG_fail
;
17174 arg2
= wxString_in_helper(swig_obj
[1]);
17175 if (arg2
== NULL
) SWIG_fail
;
17178 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17179 if (!SWIG_IsOK(ecode3
)) {
17180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17182 arg3
= static_cast< size_t >(val3
);
17184 arg4
= wxString_in_helper(swig_obj
[3]);
17185 if (arg4
== NULL
) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17231 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17235 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17238 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17241 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17244 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17247 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17251 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17256 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17257 PyObject
*resultobj
= 0;
17258 wxEncodingConverter
*result
= 0 ;
17260 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17274 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17275 PyObject
*resultobj
= 0;
17276 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17279 PyObject
*swig_obj
[1] ;
17281 if (!args
) SWIG_fail
;
17282 swig_obj
[0] = args
;
17283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17284 if (!SWIG_IsOK(res1
)) {
17285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17287 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_Py_Void();
17302 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
= 0;
17304 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17305 wxFontEncoding arg2
;
17306 wxFontEncoding arg3
;
17307 int arg4
= (int) wxCONVERT_STRICT
;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 PyObject
* obj2
= 0 ;
17320 PyObject
* obj3
= 0 ;
17321 char * kwnames
[] = {
17322 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17327 if (!SWIG_IsOK(res1
)) {
17328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17330 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17332 if (!SWIG_IsOK(ecode2
)) {
17333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17335 arg2
= static_cast< wxFontEncoding
>(val2
);
17336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17337 if (!SWIG_IsOK(ecode3
)) {
17338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17340 arg3
= static_cast< wxFontEncoding
>(val3
);
17342 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17343 if (!SWIG_IsOK(ecode4
)) {
17344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17346 arg4
= static_cast< int >(val4
);
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17363 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
= 0;
17365 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17366 wxString
*arg2
= 0 ;
17370 bool temp2
= false ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 char * kwnames
[] = {
17374 (char *) "self",(char *) "input", NULL
17377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17382 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17384 arg2
= wxString_in_helper(obj1
);
17385 if (arg2
== NULL
) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17415 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
= 0;
17417 wxFontEncoding arg1
;
17418 int arg2
= (int) wxPLATFORM_CURRENT
;
17419 wxFontEncodingArray result
;
17424 PyObject
* obj0
= 0 ;
17425 PyObject
* obj1
= 0 ;
17426 char * kwnames
[] = {
17427 (char *) "enc",(char *) "platform", NULL
17430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17432 if (!SWIG_IsOK(ecode1
)) {
17433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17435 arg1
= static_cast< wxFontEncoding
>(val1
);
17437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17438 if (!SWIG_IsOK(ecode2
)) {
17439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17441 arg2
= static_cast< int >(val2
);
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17450 resultobj
= PyList_New(0);
17451 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17452 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17453 PyList_Append(resultobj
, number
);
17463 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
= 0;
17465 wxFontEncoding arg1
;
17466 wxFontEncodingArray result
;
17469 PyObject
* obj0
= 0 ;
17470 char * kwnames
[] = {
17471 (char *) "enc", NULL
17474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17475 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17476 if (!SWIG_IsOK(ecode1
)) {
17477 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17479 arg1
= static_cast< wxFontEncoding
>(val1
);
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= PyList_New(0);
17488 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17489 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17490 PyList_Append(resultobj
, number
);
17500 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
= 0;
17502 wxFontEncoding arg1
;
17503 wxFontEncoding arg2
;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 char * kwnames
[] = {
17512 (char *) "encIn",(char *) "encOut", NULL
17515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17516 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17517 if (!SWIG_IsOK(ecode1
)) {
17518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17520 arg1
= static_cast< wxFontEncoding
>(val1
);
17521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17522 if (!SWIG_IsOK(ecode2
)) {
17523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17525 arg2
= static_cast< wxFontEncoding
>(val2
);
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17541 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17544 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17545 return SWIG_Py_Void();
17548 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17549 return SWIG_Python_InitShadowInstance(args
);
17552 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17553 PyObject
*resultobj
= 0;
17554 wxDC
*arg1
= (wxDC
*) 0 ;
17557 PyObject
*swig_obj
[1] ;
17559 if (!args
) SWIG_fail
;
17560 swig_obj
[0] = args
;
17561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17562 if (!SWIG_IsOK(res1
)) {
17563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= SWIG_Py_Void();
17580 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
= 0;
17582 wxDC
*arg1
= (wxDC
*) 0 ;
17585 wxColour
*arg4
= 0 ;
17586 int arg5
= (int) wxFLOOD_SURFACE
;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 PyObject
* obj2
= 0 ;
17600 PyObject
* obj3
= 0 ;
17601 PyObject
* obj4
= 0 ;
17602 char * kwnames
[] = {
17603 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17608 if (!SWIG_IsOK(res1
)) {
17609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17613 if (!SWIG_IsOK(ecode2
)) {
17614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17616 arg2
= static_cast< int >(val2
);
17617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17618 if (!SWIG_IsOK(ecode3
)) {
17619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17621 arg3
= static_cast< int >(val3
);
17624 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17627 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17628 if (!SWIG_IsOK(ecode5
)) {
17629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17631 arg5
= static_cast< int >(val5
);
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17648 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
= 0;
17650 wxDC
*arg1
= (wxDC
*) 0 ;
17651 wxPoint
*arg2
= 0 ;
17652 wxColour
*arg3
= 0 ;
17653 int arg4
= (int) wxFLOOD_SURFACE
;
17661 PyObject
* obj0
= 0 ;
17662 PyObject
* obj1
= 0 ;
17663 PyObject
* obj2
= 0 ;
17664 PyObject
* obj3
= 0 ;
17665 char * kwnames
[] = {
17666 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17671 if (!SWIG_IsOK(res1
)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17681 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17684 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17685 if (!SWIG_IsOK(ecode4
)) {
17686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17688 arg4
= static_cast< int >(val4
);
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17705 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
= 0;
17707 wxDC
*arg1
= (wxDC
*) 0 ;
17709 wxColour
*arg3
= 0 ;
17710 wxColour
*arg4
= 0 ;
17711 wxPoint
*arg5
= 0 ;
17718 PyObject
* obj0
= 0 ;
17719 PyObject
* obj1
= 0 ;
17720 PyObject
* obj2
= 0 ;
17721 PyObject
* obj3
= 0 ;
17722 PyObject
* obj4
= 0 ;
17723 char * kwnames
[] = {
17724 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17729 if (!SWIG_IsOK(res1
)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17735 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17739 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17743 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17747 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_Py_Void();
17762 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
= 0;
17764 wxDC
*arg1
= (wxDC
*) 0 ;
17766 wxColour
*arg3
= 0 ;
17767 wxColour
*arg4
= 0 ;
17768 wxDirection arg5
= (wxDirection
) wxEAST
;
17776 PyObject
* obj0
= 0 ;
17777 PyObject
* obj1
= 0 ;
17778 PyObject
* obj2
= 0 ;
17779 PyObject
* obj3
= 0 ;
17780 PyObject
* obj4
= 0 ;
17781 char * kwnames
[] = {
17782 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17787 if (!SWIG_IsOK(res1
)) {
17788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17793 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17797 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17801 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17804 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17805 if (!SWIG_IsOK(ecode5
)) {
17806 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17808 arg5
= static_cast< wxDirection
>(val5
);
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_Py_Void();
17823 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
= 0;
17825 wxDC
*arg1
= (wxDC
*) 0 ;
17835 PyObject
* obj0
= 0 ;
17836 PyObject
* obj1
= 0 ;
17837 PyObject
* obj2
= 0 ;
17838 char * kwnames
[] = {
17839 (char *) "self",(char *) "x",(char *) "y", NULL
17842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17844 if (!SWIG_IsOK(res1
)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17849 if (!SWIG_IsOK(ecode2
)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17852 arg2
= static_cast< int >(val2
);
17853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17854 if (!SWIG_IsOK(ecode3
)) {
17855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17857 arg3
= static_cast< int >(val3
);
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17871 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
= 0;
17873 wxDC
*arg1
= (wxDC
*) 0 ;
17874 wxPoint
*arg2
= 0 ;
17879 PyObject
* obj0
= 0 ;
17880 PyObject
* obj1
= 0 ;
17881 char * kwnames
[] = {
17882 (char *) "self",(char *) "pt", NULL
17885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17887 if (!SWIG_IsOK(res1
)) {
17888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17890 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17893 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17908 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
= 0;
17910 wxDC
*arg1
= (wxDC
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 PyObject
* obj1
= 0 ;
17927 PyObject
* obj2
= 0 ;
17928 PyObject
* obj3
= 0 ;
17929 PyObject
* obj4
= 0 ;
17930 char * kwnames
[] = {
17931 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17936 if (!SWIG_IsOK(res1
)) {
17937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17941 if (!SWIG_IsOK(ecode2
)) {
17942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17944 arg2
= static_cast< int >(val2
);
17945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17946 if (!SWIG_IsOK(ecode3
)) {
17947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17949 arg3
= static_cast< int >(val3
);
17950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17951 if (!SWIG_IsOK(ecode4
)) {
17952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17954 arg4
= static_cast< int >(val4
);
17955 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17956 if (!SWIG_IsOK(ecode5
)) {
17957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17959 arg5
= static_cast< int >(val5
);
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= SWIG_Py_Void();
17973 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
= 0;
17975 wxDC
*arg1
= (wxDC
*) 0 ;
17976 wxPoint
*arg2
= 0 ;
17977 wxPoint
*arg3
= 0 ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 PyObject
* obj2
= 0 ;
17985 char * kwnames
[] = {
17986 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17991 if (!SWIG_IsOK(res1
)) {
17992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= SWIG_Py_Void();
18016 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
= 0;
18018 wxDC
*arg1
= (wxDC
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 PyObject
* obj1
= 0 ;
18029 PyObject
* obj2
= 0 ;
18030 char * kwnames
[] = {
18031 (char *) "self",(char *) "x",(char *) "y", NULL
18034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18036 if (!SWIG_IsOK(res1
)) {
18037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18041 if (!SWIG_IsOK(ecode2
)) {
18042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18044 arg2
= static_cast< int >(val2
);
18045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18046 if (!SWIG_IsOK(ecode3
)) {
18047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18049 arg3
= static_cast< int >(val3
);
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 (arg1
)->CrossHair(arg2
,arg3
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_Py_Void();
18063 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
= 0;
18065 wxDC
*arg1
= (wxDC
*) 0 ;
18066 wxPoint
*arg2
= 0 ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 char * kwnames
[] = {
18073 (char *) "self",(char *) "pt", NULL
18076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18078 if (!SWIG_IsOK(res1
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= SWIG_Py_Void();
18099 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
= 0;
18101 wxDC
*arg1
= (wxDC
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 PyObject
* obj1
= 0 ;
18124 PyObject
* obj2
= 0 ;
18125 PyObject
* obj3
= 0 ;
18126 PyObject
* obj4
= 0 ;
18127 PyObject
* obj5
= 0 ;
18128 PyObject
* obj6
= 0 ;
18129 char * kwnames
[] = {
18130 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18135 if (!SWIG_IsOK(res1
)) {
18136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18140 if (!SWIG_IsOK(ecode2
)) {
18141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18143 arg2
= static_cast< int >(val2
);
18144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18145 if (!SWIG_IsOK(ecode3
)) {
18146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18148 arg3
= static_cast< int >(val3
);
18149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18150 if (!SWIG_IsOK(ecode4
)) {
18151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18153 arg4
= static_cast< int >(val4
);
18154 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18155 if (!SWIG_IsOK(ecode5
)) {
18156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18158 arg5
= static_cast< int >(val5
);
18159 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18160 if (!SWIG_IsOK(ecode6
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18163 arg6
= static_cast< int >(val6
);
18164 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18165 if (!SWIG_IsOK(ecode7
)) {
18166 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18168 arg7
= static_cast< int >(val7
);
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_Py_Void();
18182 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
= 0;
18184 wxDC
*arg1
= (wxDC
*) 0 ;
18185 wxPoint
*arg2
= 0 ;
18186 wxPoint
*arg3
= 0 ;
18187 wxPoint
*arg4
= 0 ;
18193 PyObject
* obj0
= 0 ;
18194 PyObject
* obj1
= 0 ;
18195 PyObject
* obj2
= 0 ;
18196 PyObject
* obj3
= 0 ;
18197 char * kwnames
[] = {
18198 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18203 if (!SWIG_IsOK(res1
)) {
18204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18206 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18209 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18213 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 resultobj
= SWIG_Py_Void();
18232 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
= 0;
18234 wxDC
*arg1
= (wxDC
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 PyObject
* obj2
= 0 ;
18252 PyObject
* obj3
= 0 ;
18253 PyObject
* obj4
= 0 ;
18254 char * kwnames
[] = {
18255 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18260 if (!SWIG_IsOK(res1
)) {
18261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18265 if (!SWIG_IsOK(ecode2
)) {
18266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18268 arg2
= static_cast< int >(val2
);
18269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18270 if (!SWIG_IsOK(ecode3
)) {
18271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18273 arg3
= static_cast< int >(val3
);
18274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18275 if (!SWIG_IsOK(ecode4
)) {
18276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18278 arg4
= static_cast< int >(val4
);
18279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18280 if (!SWIG_IsOK(ecode5
)) {
18281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18283 arg5
= static_cast< int >(val5
);
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= SWIG_Py_Void();
18297 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
= 0;
18299 wxDC
*arg1
= (wxDC
*) 0 ;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char * kwnames
[] = {
18307 (char *) "self",(char *) "rect", NULL
18310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18312 if (!SWIG_IsOK(res1
)) {
18313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= SWIG_Py_Void();
18333 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
= 0;
18335 wxDC
*arg1
= (wxDC
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 PyObject
* obj2
= 0 ;
18359 PyObject
* obj3
= 0 ;
18360 PyObject
* obj4
= 0 ;
18361 PyObject
* obj5
= 0 ;
18362 PyObject
* obj6
= 0 ;
18363 char * kwnames
[] = {
18364 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18369 if (!SWIG_IsOK(res1
)) {
18370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18374 if (!SWIG_IsOK(ecode2
)) {
18375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18377 arg2
= static_cast< int >(val2
);
18378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18379 if (!SWIG_IsOK(ecode3
)) {
18380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18382 arg3
= static_cast< int >(val3
);
18383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18384 if (!SWIG_IsOK(ecode4
)) {
18385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18387 arg4
= static_cast< int >(val4
);
18388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18389 if (!SWIG_IsOK(ecode5
)) {
18390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18392 arg5
= static_cast< int >(val5
);
18393 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18394 if (!SWIG_IsOK(ecode6
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18397 arg6
= static_cast< double >(val6
);
18398 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18399 if (!SWIG_IsOK(ecode7
)) {
18400 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18402 arg7
= static_cast< double >(val7
);
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= SWIG_Py_Void();
18416 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18417 PyObject
*resultobj
= 0;
18418 wxDC
*arg1
= (wxDC
*) 0 ;
18419 wxPoint
*arg2
= 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 PyObject
* obj2
= 0 ;
18434 PyObject
* obj3
= 0 ;
18435 PyObject
* obj4
= 0 ;
18436 char * kwnames
[] = {
18437 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18442 if (!SWIG_IsOK(res1
)) {
18443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18452 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18454 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18455 if (!SWIG_IsOK(ecode4
)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18458 arg4
= static_cast< double >(val4
);
18459 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18460 if (!SWIG_IsOK(ecode5
)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18463 arg5
= static_cast< double >(val5
);
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18467 wxPyEndAllowThreads(__tstate
);
18468 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= SWIG_Py_Void();
18477 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
= 0;
18479 wxDC
*arg1
= (wxDC
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18490 PyObject
* obj2
= 0 ;
18491 char * kwnames
[] = {
18492 (char *) "self",(char *) "x",(char *) "y", NULL
18495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18502 if (!SWIG_IsOK(ecode2
)) {
18503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18505 arg2
= static_cast< int >(val2
);
18506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18507 if (!SWIG_IsOK(ecode3
)) {
18508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18510 arg3
= static_cast< int >(val3
);
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 (arg1
)->DrawPoint(arg2
,arg3
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_Py_Void();
18524 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
= 0;
18526 wxDC
*arg1
= (wxDC
*) 0 ;
18527 wxPoint
*arg2
= 0 ;
18531 PyObject
* obj0
= 0 ;
18532 PyObject
* obj1
= 0 ;
18533 char * kwnames
[] = {
18534 (char *) "self",(char *) "pt", NULL
18537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18539 if (!SWIG_IsOK(res1
)) {
18540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 resultobj
= SWIG_Py_Void();
18560 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
= 0;
18562 wxDC
*arg1
= (wxDC
*) 0 ;
18577 PyObject
* obj0
= 0 ;
18578 PyObject
* obj1
= 0 ;
18579 PyObject
* obj2
= 0 ;
18580 PyObject
* obj3
= 0 ;
18581 PyObject
* obj4
= 0 ;
18582 char * kwnames
[] = {
18583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18588 if (!SWIG_IsOK(res1
)) {
18589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18593 if (!SWIG_IsOK(ecode2
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18596 arg2
= static_cast< int >(val2
);
18597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18598 if (!SWIG_IsOK(ecode3
)) {
18599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18601 arg3
= static_cast< int >(val3
);
18602 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18603 if (!SWIG_IsOK(ecode4
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18606 arg4
= static_cast< int >(val4
);
18607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18608 if (!SWIG_IsOK(ecode5
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18611 arg5
= static_cast< int >(val5
);
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_Py_Void();
18625 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
= 0;
18627 wxDC
*arg1
= (wxDC
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 PyObject
* obj1
= 0 ;
18634 char * kwnames
[] = {
18635 (char *) "self",(char *) "rect", NULL
18638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18640 if (!SWIG_IsOK(res1
)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18646 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_Py_Void();
18661 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
= 0;
18663 wxDC
*arg1
= (wxDC
*) 0 ;
18664 wxPoint
*arg2
= 0 ;
18670 PyObject
* obj0
= 0 ;
18671 PyObject
* obj1
= 0 ;
18672 PyObject
* obj2
= 0 ;
18673 char * kwnames
[] = {
18674 (char *) "self",(char *) "pt",(char *) "sz", NULL
18677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18679 if (!SWIG_IsOK(res1
)) {
18680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18689 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= SWIG_Py_Void();
18704 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
= 0;
18706 wxDC
*arg1
= (wxDC
*) 0 ;
18724 PyObject
* obj0
= 0 ;
18725 PyObject
* obj1
= 0 ;
18726 PyObject
* obj2
= 0 ;
18727 PyObject
* obj3
= 0 ;
18728 PyObject
* obj4
= 0 ;
18729 PyObject
* obj5
= 0 ;
18730 char * kwnames
[] = {
18731 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18736 if (!SWIG_IsOK(res1
)) {
18737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18741 if (!SWIG_IsOK(ecode2
)) {
18742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18744 arg2
= static_cast< int >(val2
);
18745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18746 if (!SWIG_IsOK(ecode3
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18749 arg3
= static_cast< int >(val3
);
18750 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18751 if (!SWIG_IsOK(ecode4
)) {
18752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18754 arg4
= static_cast< int >(val4
);
18755 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18756 if (!SWIG_IsOK(ecode5
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18759 arg5
= static_cast< int >(val5
);
18760 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18761 if (!SWIG_IsOK(ecode6
)) {
18762 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18764 arg6
= static_cast< double >(val6
);
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= SWIG_Py_Void();
18778 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
= 0;
18780 wxDC
*arg1
= (wxDC
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 PyObject
* obj1
= 0 ;
18790 PyObject
* obj2
= 0 ;
18791 char * kwnames
[] = {
18792 (char *) "self",(char *) "r",(char *) "radius", NULL
18795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18797 if (!SWIG_IsOK(res1
)) {
18798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18803 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18805 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18806 if (!SWIG_IsOK(ecode3
)) {
18807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18809 arg3
= static_cast< double >(val3
);
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= SWIG_Py_Void();
18823 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
= 0;
18825 wxDC
*arg1
= (wxDC
*) 0 ;
18826 wxPoint
*arg2
= 0 ;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 PyObject
* obj2
= 0 ;
18838 PyObject
* obj3
= 0 ;
18839 char * kwnames
[] = {
18840 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18845 if (!SWIG_IsOK(res1
)) {
18846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18851 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18855 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18857 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18858 if (!SWIG_IsOK(ecode4
)) {
18859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18861 arg4
= static_cast< double >(val4
);
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 resultobj
= SWIG_Py_Void();
18875 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
= 0;
18877 wxDC
*arg1
= (wxDC
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 PyObject
* obj2
= 0 ;
18892 PyObject
* obj3
= 0 ;
18893 char * kwnames
[] = {
18894 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18899 if (!SWIG_IsOK(res1
)) {
18900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18904 if (!SWIG_IsOK(ecode2
)) {
18905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18907 arg2
= static_cast< int >(val2
);
18908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18909 if (!SWIG_IsOK(ecode3
)) {
18910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18912 arg3
= static_cast< int >(val3
);
18913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18914 if (!SWIG_IsOK(ecode4
)) {
18915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18917 arg4
= static_cast< int >(val4
);
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_Py_Void();
18931 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
= 0;
18933 wxDC
*arg1
= (wxDC
*) 0 ;
18934 wxPoint
*arg2
= 0 ;
18941 PyObject
* obj0
= 0 ;
18942 PyObject
* obj1
= 0 ;
18943 PyObject
* obj2
= 0 ;
18944 char * kwnames
[] = {
18945 (char *) "self",(char *) "pt",(char *) "radius", NULL
18948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18950 if (!SWIG_IsOK(res1
)) {
18951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18959 if (!SWIG_IsOK(ecode3
)) {
18960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18962 arg3
= static_cast< int >(val3
);
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 resultobj
= SWIG_Py_Void();
18976 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
= 0;
18978 wxDC
*arg1
= (wxDC
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 PyObject
* obj2
= 0 ;
18996 PyObject
* obj3
= 0 ;
18997 PyObject
* obj4
= 0 ;
18998 char * kwnames
[] = {
18999 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19004 if (!SWIG_IsOK(res1
)) {
19005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19009 if (!SWIG_IsOK(ecode2
)) {
19010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19012 arg2
= static_cast< int >(val2
);
19013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19014 if (!SWIG_IsOK(ecode3
)) {
19015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19017 arg3
= static_cast< int >(val3
);
19018 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19019 if (!SWIG_IsOK(ecode4
)) {
19020 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19022 arg4
= static_cast< int >(val4
);
19023 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19024 if (!SWIG_IsOK(ecode5
)) {
19025 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19027 arg5
= static_cast< int >(val5
);
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= SWIG_Py_Void();
19041 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
= 0;
19043 wxDC
*arg1
= (wxDC
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 char * kwnames
[] = {
19051 (char *) "self",(char *) "rect", NULL
19054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19056 if (!SWIG_IsOK(res1
)) {
19057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19062 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 resultobj
= SWIG_Py_Void();
19077 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
= 0;
19079 wxDC
*arg1
= (wxDC
*) 0 ;
19080 wxPoint
*arg2
= 0 ;
19086 PyObject
* obj0
= 0 ;
19087 PyObject
* obj1
= 0 ;
19088 PyObject
* obj2
= 0 ;
19089 char * kwnames
[] = {
19090 (char *) "self",(char *) "pt",(char *) "sz", NULL
19093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19095 if (!SWIG_IsOK(res1
)) {
19096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19101 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19105 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= SWIG_Py_Void();
19120 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
= 0;
19122 wxDC
*arg1
= (wxDC
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 PyObject
* obj2
= 0 ;
19137 PyObject
* obj3
= 0 ;
19138 char * kwnames
[] = {
19139 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19144 if (!SWIG_IsOK(res1
)) {
19145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19149 if (!SWIG_IsOK(res2
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19155 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19157 if (!SWIG_IsOK(ecode3
)) {
19158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19160 arg3
= static_cast< int >(val3
);
19161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19162 if (!SWIG_IsOK(ecode4
)) {
19163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19165 arg4
= static_cast< int >(val4
);
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19169 wxPyEndAllowThreads(__tstate
);
19170 if (PyErr_Occurred()) SWIG_fail
;
19172 resultobj
= SWIG_Py_Void();
19179 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
= 0;
19181 wxDC
*arg1
= (wxDC
*) 0 ;
19183 wxPoint
*arg3
= 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 PyObject
* obj2
= 0 ;
19192 char * kwnames
[] = {
19193 (char *) "self",(char *) "icon",(char *) "pt", NULL
19196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19198 if (!SWIG_IsOK(res1
)) {
19199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19203 if (!SWIG_IsOK(res2
)) {
19204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19209 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= SWIG_Py_Void();
19227 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
= 0;
19229 wxDC
*arg1
= (wxDC
*) 0 ;
19230 wxBitmap
*arg2
= 0 ;
19233 bool arg5
= (bool) false ;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 PyObject
* obj2
= 0 ;
19247 PyObject
* obj3
= 0 ;
19248 PyObject
* obj4
= 0 ;
19249 char * kwnames
[] = {
19250 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19255 if (!SWIG_IsOK(res1
)) {
19256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19260 if (!SWIG_IsOK(res2
)) {
19261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19266 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19268 if (!SWIG_IsOK(ecode3
)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19271 arg3
= static_cast< int >(val3
);
19272 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19273 if (!SWIG_IsOK(ecode4
)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19276 arg4
= static_cast< int >(val4
);
19278 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19279 if (!SWIG_IsOK(ecode5
)) {
19280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19282 arg5
= static_cast< bool >(val5
);
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= SWIG_Py_Void();
19297 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
= 0;
19299 wxDC
*arg1
= (wxDC
*) 0 ;
19300 wxBitmap
*arg2
= 0 ;
19301 wxPoint
*arg3
= 0 ;
19302 bool arg4
= (bool) false ;
19310 PyObject
* obj0
= 0 ;
19311 PyObject
* obj1
= 0 ;
19312 PyObject
* obj2
= 0 ;
19313 PyObject
* obj3
= 0 ;
19314 char * kwnames
[] = {
19315 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19320 if (!SWIG_IsOK(res1
)) {
19321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19323 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19325 if (!SWIG_IsOK(res2
)) {
19326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19331 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19334 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19337 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19338 if (!SWIG_IsOK(ecode4
)) {
19339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19341 arg4
= static_cast< bool >(val4
);
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 resultobj
= SWIG_Py_Void();
19356 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
= 0;
19358 wxDC
*arg1
= (wxDC
*) 0 ;
19359 wxString
*arg2
= 0 ;
19364 bool temp2
= false ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 PyObject
* obj2
= 0 ;
19372 PyObject
* obj3
= 0 ;
19373 char * kwnames
[] = {
19374 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19379 if (!SWIG_IsOK(res1
)) {
19380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19384 arg2
= wxString_in_helper(obj1
);
19385 if (arg2
== NULL
) SWIG_fail
;
19388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19389 if (!SWIG_IsOK(ecode3
)) {
19390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19392 arg3
= static_cast< int >(val3
);
19393 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19394 if (!SWIG_IsOK(ecode4
)) {
19395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19397 arg4
= static_cast< int >(val4
);
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= SWIG_Py_Void();
19419 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
= 0;
19421 wxDC
*arg1
= (wxDC
*) 0 ;
19422 wxString
*arg2
= 0 ;
19423 wxPoint
*arg3
= 0 ;
19426 bool temp2
= false ;
19428 PyObject
* obj0
= 0 ;
19429 PyObject
* obj1
= 0 ;
19430 PyObject
* obj2
= 0 ;
19431 char * kwnames
[] = {
19432 (char *) "self",(char *) "text",(char *) "pt", NULL
19435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19437 if (!SWIG_IsOK(res1
)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19442 arg2
= wxString_in_helper(obj1
);
19443 if (arg2
== NULL
) SWIG_fail
;
19448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19453 wxPyEndAllowThreads(__tstate
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19456 resultobj
= SWIG_Py_Void();
19471 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
= 0;
19473 wxDC
*arg1
= (wxDC
*) 0 ;
19474 wxString
*arg2
= 0 ;
19480 bool temp2
= false ;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 PyObject
* obj2
= 0 ;
19490 PyObject
* obj3
= 0 ;
19491 PyObject
* obj4
= 0 ;
19492 char * kwnames
[] = {
19493 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19498 if (!SWIG_IsOK(res1
)) {
19499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19503 arg2
= wxString_in_helper(obj1
);
19504 if (arg2
== NULL
) SWIG_fail
;
19507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19508 if (!SWIG_IsOK(ecode3
)) {
19509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19511 arg3
= static_cast< int >(val3
);
19512 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19513 if (!SWIG_IsOK(ecode4
)) {
19514 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19516 arg4
= static_cast< int >(val4
);
19517 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19518 if (!SWIG_IsOK(ecode5
)) {
19519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19521 arg5
= static_cast< double >(val5
);
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= SWIG_Py_Void();
19543 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
= 0;
19545 wxDC
*arg1
= (wxDC
*) 0 ;
19546 wxString
*arg2
= 0 ;
19547 wxPoint
*arg3
= 0 ;
19551 bool temp2
= false ;
19555 PyObject
* obj0
= 0 ;
19556 PyObject
* obj1
= 0 ;
19557 PyObject
* obj2
= 0 ;
19558 PyObject
* obj3
= 0 ;
19559 char * kwnames
[] = {
19560 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19565 if (!SWIG_IsOK(res1
)) {
19566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19568 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19570 arg2
= wxString_in_helper(obj1
);
19571 if (arg2
== NULL
) SWIG_fail
;
19576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19578 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19579 if (!SWIG_IsOK(ecode4
)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19582 arg4
= static_cast< double >(val4
);
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= SWIG_Py_Void();
19604 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
= 0;
19606 wxDC
*arg1
= (wxDC
*) 0 ;
19611 wxDC
*arg6
= (wxDC
*) 0 ;
19614 int arg9
= (int) wxCOPY
;
19615 bool arg10
= (bool) false ;
19616 int arg11
= (int) -1 ;
19617 int arg12
= (int) -1 ;
19643 PyObject
* obj0
= 0 ;
19644 PyObject
* obj1
= 0 ;
19645 PyObject
* obj2
= 0 ;
19646 PyObject
* obj3
= 0 ;
19647 PyObject
* obj4
= 0 ;
19648 PyObject
* obj5
= 0 ;
19649 PyObject
* obj6
= 0 ;
19650 PyObject
* obj7
= 0 ;
19651 PyObject
* obj8
= 0 ;
19652 PyObject
* obj9
= 0 ;
19653 PyObject
* obj10
= 0 ;
19654 PyObject
* obj11
= 0 ;
19655 char * kwnames
[] = {
19656 (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
19659 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
;
19660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19661 if (!SWIG_IsOK(res1
)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19666 if (!SWIG_IsOK(ecode2
)) {
19667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19669 arg2
= static_cast< int >(val2
);
19670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19671 if (!SWIG_IsOK(ecode3
)) {
19672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19674 arg3
= static_cast< int >(val3
);
19675 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19676 if (!SWIG_IsOK(ecode4
)) {
19677 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19679 arg4
= static_cast< int >(val4
);
19680 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19681 if (!SWIG_IsOK(ecode5
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19684 arg5
= static_cast< int >(val5
);
19685 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19686 if (!SWIG_IsOK(res6
)) {
19687 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19689 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19690 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19691 if (!SWIG_IsOK(ecode7
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19694 arg7
= static_cast< int >(val7
);
19695 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19696 if (!SWIG_IsOK(ecode8
)) {
19697 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19699 arg8
= static_cast< int >(val8
);
19701 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19702 if (!SWIG_IsOK(ecode9
)) {
19703 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19705 arg9
= static_cast< int >(val9
);
19708 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19709 if (!SWIG_IsOK(ecode10
)) {
19710 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19712 arg10
= static_cast< bool >(val10
);
19715 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19716 if (!SWIG_IsOK(ecode11
)) {
19717 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19719 arg11
= static_cast< int >(val11
);
19722 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19723 if (!SWIG_IsOK(ecode12
)) {
19724 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19726 arg12
= static_cast< int >(val12
);
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19743 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
= 0;
19745 wxDC
*arg1
= (wxDC
*) 0 ;
19746 wxPoint
*arg2
= 0 ;
19748 wxDC
*arg4
= (wxDC
*) 0 ;
19749 wxPoint
*arg5
= 0 ;
19750 int arg6
= (int) wxCOPY
;
19751 bool arg7
= (bool) false ;
19752 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19753 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19767 PyObject
* obj0
= 0 ;
19768 PyObject
* obj1
= 0 ;
19769 PyObject
* obj2
= 0 ;
19770 PyObject
* obj3
= 0 ;
19771 PyObject
* obj4
= 0 ;
19772 PyObject
* obj5
= 0 ;
19773 PyObject
* obj6
= 0 ;
19774 PyObject
* obj7
= 0 ;
19775 char * kwnames
[] = {
19776 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19781 if (!SWIG_IsOK(res1
)) {
19782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19787 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19791 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19793 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19794 if (!SWIG_IsOK(res4
)) {
19795 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19797 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19800 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19803 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19804 if (!SWIG_IsOK(ecode6
)) {
19805 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19807 arg6
= static_cast< int >(val6
);
19810 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19811 if (!SWIG_IsOK(ecode7
)) {
19812 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19814 arg7
= static_cast< bool >(val7
);
19819 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19837 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
= 0;
19839 wxDC
*arg1
= (wxDC
*) 0 ;
19840 wxRect
*arg2
= (wxRect
*) NULL
;
19841 SwigValueWrapper
<wxBitmap
> result
;
19846 PyObject
* obj0
= 0 ;
19847 PyObject
* obj1
= 0 ;
19848 char * kwnames
[] = {
19849 (char *) "self",(char *) "subrect", NULL
19852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19854 if (!SWIG_IsOK(res1
)) {
19855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19860 if (!SWIG_IsOK(res2
)) {
19861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19863 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19878 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
= 0;
19880 wxDC
*arg1
= (wxDC
*) 0 ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 PyObject
* obj2
= 0 ;
19898 PyObject
* obj3
= 0 ;
19899 PyObject
* obj4
= 0 ;
19900 char * kwnames
[] = {
19901 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19906 if (!SWIG_IsOK(res1
)) {
19907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19911 if (!SWIG_IsOK(ecode2
)) {
19912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19914 arg2
= static_cast< int >(val2
);
19915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19916 if (!SWIG_IsOK(ecode3
)) {
19917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19919 arg3
= static_cast< int >(val3
);
19920 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19921 if (!SWIG_IsOK(ecode4
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19924 arg4
= static_cast< int >(val4
);
19925 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19926 if (!SWIG_IsOK(ecode5
)) {
19927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19929 arg5
= static_cast< int >(val5
);
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= SWIG_Py_Void();
19943 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
= 0;
19945 wxDC
*arg1
= (wxDC
*) 0 ;
19946 wxPoint
*arg2
= 0 ;
19952 PyObject
* obj0
= 0 ;
19953 PyObject
* obj1
= 0 ;
19954 PyObject
* obj2
= 0 ;
19955 char * kwnames
[] = {
19956 (char *) "self",(char *) "pt",(char *) "sz", NULL
19959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19961 if (!SWIG_IsOK(res1
)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19971 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= SWIG_Py_Void();
19986 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
= 0;
19988 wxDC
*arg1
= (wxDC
*) 0 ;
19989 wxRegion
*arg2
= 0 ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 char * kwnames
[] = {
19997 (char *) "self",(char *) "region", NULL
20000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20002 if (!SWIG_IsOK(res1
)) {
20003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20005 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20006 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20007 if (!SWIG_IsOK(res2
)) {
20008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20013 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_Py_Void();
20027 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
= 0;
20029 wxDC
*arg1
= (wxDC
*) 0 ;
20034 PyObject
* obj0
= 0 ;
20035 PyObject
* obj1
= 0 ;
20036 char * kwnames
[] = {
20037 (char *) "self",(char *) "rect", NULL
20040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20042 if (!SWIG_IsOK(res1
)) {
20043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20048 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= SWIG_Py_Void();
20063 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
= 0;
20065 wxDC
*arg1
= (wxDC
*) 0 ;
20067 wxPoint
*arg3
= (wxPoint
*) 0 ;
20068 int arg4
= (int) 0 ;
20069 int arg5
= (int) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 PyObject
* obj2
= 0 ;
20079 PyObject
* obj3
= 0 ;
20080 char * kwnames
[] = {
20081 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20086 if (!SWIG_IsOK(res1
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20091 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20092 if (arg3
== NULL
) SWIG_fail
;
20095 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20096 if (!SWIG_IsOK(ecode4
)) {
20097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20099 arg4
= static_cast< int >(val4
);
20102 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20103 if (!SWIG_IsOK(ecode5
)) {
20104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20106 arg5
= static_cast< int >(val5
);
20109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20110 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 resultobj
= SWIG_Py_Void();
20116 if (arg3
) delete [] arg3
;
20121 if (arg3
) delete [] arg3
;
20127 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
= 0;
20129 wxDC
*arg1
= (wxDC
*) 0 ;
20131 wxPoint
*arg3
= (wxPoint
*) 0 ;
20132 int arg4
= (int) 0 ;
20133 int arg5
= (int) 0 ;
20134 int arg6
= (int) wxODDEVEN_RULE
;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20145 PyObject
* obj2
= 0 ;
20146 PyObject
* obj3
= 0 ;
20147 PyObject
* obj4
= 0 ;
20148 char * kwnames
[] = {
20149 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20154 if (!SWIG_IsOK(res1
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20159 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20160 if (arg3
== NULL
) SWIG_fail
;
20163 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20164 if (!SWIG_IsOK(ecode4
)) {
20165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20167 arg4
= static_cast< int >(val4
);
20170 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20171 if (!SWIG_IsOK(ecode5
)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20174 arg5
= static_cast< int >(val5
);
20177 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20178 if (!SWIG_IsOK(ecode6
)) {
20179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20181 arg6
= static_cast< int >(val6
);
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20186 wxPyEndAllowThreads(__tstate
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20189 resultobj
= SWIG_Py_Void();
20191 if (arg3
) delete [] arg3
;
20196 if (arg3
) delete [] arg3
;
20202 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
= 0;
20204 wxDC
*arg1
= (wxDC
*) 0 ;
20205 wxString
*arg2
= 0 ;
20207 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20208 int arg5
= (int) -1 ;
20211 bool temp2
= false ;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 PyObject
* obj2
= 0 ;
20220 PyObject
* obj3
= 0 ;
20221 PyObject
* obj4
= 0 ;
20222 char * kwnames
[] = {
20223 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20228 if (!SWIG_IsOK(res1
)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20233 arg2
= wxString_in_helper(obj1
);
20234 if (arg2
== NULL
) SWIG_fail
;
20239 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20243 if (!SWIG_IsOK(ecode4
)) {
20244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20246 arg4
= static_cast< int >(val4
);
20249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20250 if (!SWIG_IsOK(ecode5
)) {
20251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20253 arg5
= static_cast< int >(val5
);
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20258 wxPyEndAllowThreads(__tstate
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= SWIG_Py_Void();
20276 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
= 0;
20278 wxDC
*arg1
= (wxDC
*) 0 ;
20279 wxString
*arg2
= 0 ;
20280 wxBitmap
*arg3
= 0 ;
20282 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20283 int arg6
= (int) -1 ;
20287 bool temp2
= false ;
20295 PyObject
* obj0
= 0 ;
20296 PyObject
* obj1
= 0 ;
20297 PyObject
* obj2
= 0 ;
20298 PyObject
* obj3
= 0 ;
20299 PyObject
* obj4
= 0 ;
20300 PyObject
* obj5
= 0 ;
20301 char * kwnames
[] = {
20302 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20307 if (!SWIG_IsOK(res1
)) {
20308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20312 arg2
= wxString_in_helper(obj1
);
20313 if (arg2
== NULL
) SWIG_fail
;
20316 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20317 if (!SWIG_IsOK(res3
)) {
20318 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20323 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20326 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20329 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20330 if (!SWIG_IsOK(ecode5
)) {
20331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20333 arg5
= static_cast< int >(val5
);
20336 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20337 if (!SWIG_IsOK(ecode6
)) {
20338 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20340 arg6
= static_cast< int >(val6
);
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20363 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
= 0;
20365 wxDC
*arg1
= (wxDC
*) 0 ;
20367 wxPoint
*arg3
= (wxPoint
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char * kwnames
[] = {
20373 (char *) "self",(char *) "points", NULL
20376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20378 if (!SWIG_IsOK(res1
)) {
20379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20383 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20384 if (arg3
== NULL
) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 (arg1
)->DrawSpline(arg2
,arg3
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_Py_Void();
20394 if (arg3
) delete [] arg3
;
20399 if (arg3
) delete [] arg3
;
20405 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20406 PyObject
*resultobj
= 0;
20407 wxDC
*arg1
= (wxDC
*) 0 ;
20410 PyObject
*swig_obj
[1] ;
20412 if (!args
) SWIG_fail
;
20413 swig_obj
[0] = args
;
20414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20415 if (!SWIG_IsOK(res1
)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_Py_Void();
20432 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
= 0;
20434 wxDC
*arg1
= (wxDC
*) 0 ;
20435 wxString
*arg2
= 0 ;
20439 bool temp2
= false ;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 char * kwnames
[] = {
20443 (char *) "self",(char *) "message", NULL
20446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20448 if (!SWIG_IsOK(res1
)) {
20449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20453 arg2
= wxString_in_helper(obj1
);
20454 if (arg2
== NULL
) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20480 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20481 PyObject
*resultobj
= 0;
20482 wxDC
*arg1
= (wxDC
*) 0 ;
20485 PyObject
*swig_obj
[1] ;
20487 if (!args
) SWIG_fail
;
20488 swig_obj
[0] = args
;
20489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20490 if (!SWIG_IsOK(res1
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_Py_Void();
20507 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20508 PyObject
*resultobj
= 0;
20509 wxDC
*arg1
= (wxDC
*) 0 ;
20512 PyObject
*swig_obj
[1] ;
20514 if (!args
) SWIG_fail
;
20515 swig_obj
[0] = args
;
20516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20517 if (!SWIG_IsOK(res1
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 (arg1
)->StartPage();
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= SWIG_Py_Void();
20534 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20535 PyObject
*resultobj
= 0;
20536 wxDC
*arg1
= (wxDC
*) 0 ;
20539 PyObject
*swig_obj
[1] ;
20541 if (!args
) SWIG_fail
;
20542 swig_obj
[0] = args
;
20543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20544 if (!SWIG_IsOK(res1
)) {
20545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 resultobj
= SWIG_Py_Void();
20561 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
= 0;
20563 wxDC
*arg1
= (wxDC
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 char * kwnames
[] = {
20572 (char *) "self",(char *) "font", NULL
20575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20577 if (!SWIG_IsOK(res1
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20582 if (!SWIG_IsOK(res2
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20588 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 (arg1
)->SetFont((wxFont
const &)*arg2
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= SWIG_Py_Void();
20602 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
= 0;
20604 wxDC
*arg1
= (wxDC
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 PyObject
* obj1
= 0 ;
20612 char * kwnames
[] = {
20613 (char *) "self",(char *) "pen", NULL
20616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20618 if (!SWIG_IsOK(res1
)) {
20619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20623 if (!SWIG_IsOK(res2
)) {
20624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20629 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 (arg1
)->SetPen((wxPen
const &)*arg2
);
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= SWIG_Py_Void();
20643 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
= 0;
20645 wxDC
*arg1
= (wxDC
*) 0 ;
20646 wxBrush
*arg2
= 0 ;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 char * kwnames
[] = {
20654 (char *) "self",(char *) "brush", NULL
20657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20659 if (!SWIG_IsOK(res1
)) {
20660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20664 if (!SWIG_IsOK(res2
)) {
20665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20670 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= SWIG_Py_Void();
20684 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
= 0;
20686 wxDC
*arg1
= (wxDC
*) 0 ;
20687 wxBrush
*arg2
= 0 ;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20694 char * kwnames
[] = {
20695 (char *) "self",(char *) "brush", NULL
20698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20700 if (!SWIG_IsOK(res1
)) {
20701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20705 if (!SWIG_IsOK(res2
)) {
20706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20711 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20714 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= SWIG_Py_Void();
20725 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
= 0;
20727 wxDC
*arg1
= (wxDC
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 char * kwnames
[] = {
20736 (char *) "self",(char *) "mode", NULL
20739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20741 if (!SWIG_IsOK(res1
)) {
20742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20746 if (!SWIG_IsOK(ecode2
)) {
20747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20749 arg2
= static_cast< int >(val2
);
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 (arg1
)->SetBackgroundMode(arg2
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_Py_Void();
20763 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
= 0;
20765 wxDC
*arg1
= (wxDC
*) 0 ;
20766 wxPalette
*arg2
= 0 ;
20771 PyObject
* obj0
= 0 ;
20772 PyObject
* obj1
= 0 ;
20773 char * kwnames
[] = {
20774 (char *) "self",(char *) "palette", NULL
20777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20779 if (!SWIG_IsOK(res1
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20784 if (!SWIG_IsOK(res2
)) {
20785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20790 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= SWIG_Py_Void();
20804 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20805 PyObject
*resultobj
= 0;
20806 wxDC
*arg1
= (wxDC
*) 0 ;
20809 PyObject
*swig_obj
[1] ;
20811 if (!args
) SWIG_fail
;
20812 swig_obj
[0] = args
;
20813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20814 if (!SWIG_IsOK(res1
)) {
20815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 (arg1
)->DestroyClippingRegion();
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_Py_Void();
20831 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20832 PyObject
*resultobj
= 0;
20833 wxDC
*arg1
= (wxDC
*) 0 ;
20834 int *arg2
= (int *) 0 ;
20835 int *arg3
= (int *) 0 ;
20836 int *arg4
= (int *) 0 ;
20837 int *arg5
= (int *) 0 ;
20841 int res2
= SWIG_TMPOBJ
;
20843 int res3
= SWIG_TMPOBJ
;
20845 int res4
= SWIG_TMPOBJ
;
20847 int res5
= SWIG_TMPOBJ
;
20848 PyObject
*swig_obj
[1] ;
20854 if (!args
) SWIG_fail
;
20855 swig_obj
[0] = args
;
20856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20857 if (!SWIG_IsOK(res1
)) {
20858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= SWIG_Py_Void();
20868 if (SWIG_IsTmpObj(res2
)) {
20869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20871 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20874 if (SWIG_IsTmpObj(res3
)) {
20875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20877 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20880 if (SWIG_IsTmpObj(res4
)) {
20881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20883 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20886 if (SWIG_IsTmpObj(res5
)) {
20887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20889 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20898 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20899 PyObject
*resultobj
= 0;
20900 wxDC
*arg1
= (wxDC
*) 0 ;
20904 PyObject
*swig_obj
[1] ;
20906 if (!args
) SWIG_fail
;
20907 swig_obj
[0] = args
;
20908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20909 if (!SWIG_IsOK(res1
)) {
20910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= wxDC_GetClippingRect(arg1
);
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20926 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20927 PyObject
*resultobj
= 0;
20928 wxDC
*arg1
= (wxDC
*) 0 ;
20932 PyObject
*swig_obj
[1] ;
20934 if (!args
) SWIG_fail
;
20935 swig_obj
[0] = args
;
20936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20937 if (!SWIG_IsOK(res1
)) {
20938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_From_int(static_cast< int >(result
));
20954 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20955 PyObject
*resultobj
= 0;
20956 wxDC
*arg1
= (wxDC
*) 0 ;
20960 PyObject
*swig_obj
[1] ;
20962 if (!args
) SWIG_fail
;
20963 swig_obj
[0] = args
;
20964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20965 if (!SWIG_IsOK(res1
)) {
20966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_From_int(static_cast< int >(result
));
20982 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
= 0;
20984 wxDC
*arg1
= (wxDC
*) 0 ;
20985 wxString
*arg2
= 0 ;
20986 int *arg3
= (int *) 0 ;
20987 int *arg4
= (int *) 0 ;
20990 bool temp2
= false ;
20992 int res3
= SWIG_TMPOBJ
;
20994 int res4
= SWIG_TMPOBJ
;
20995 PyObject
* obj0
= 0 ;
20996 PyObject
* obj1
= 0 ;
20997 char * kwnames
[] = {
20998 (char *) "self",(char *) "string", NULL
21003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21005 if (!SWIG_IsOK(res1
)) {
21006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21010 arg2
= wxString_in_helper(obj1
);
21011 if (arg2
== NULL
) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_Py_Void();
21021 if (SWIG_IsTmpObj(res3
)) {
21022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21024 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21027 if (SWIG_IsTmpObj(res4
)) {
21028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21030 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21047 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
= 0;
21049 wxDC
*arg1
= (wxDC
*) 0 ;
21050 wxString
*arg2
= 0 ;
21051 int *arg3
= (int *) 0 ;
21052 int *arg4
= (int *) 0 ;
21053 int *arg5
= (int *) 0 ;
21054 int *arg6
= (int *) 0 ;
21055 wxFont
*arg7
= (wxFont
*) NULL
;
21058 bool temp2
= false ;
21060 int res3
= SWIG_TMPOBJ
;
21062 int res4
= SWIG_TMPOBJ
;
21064 int res5
= SWIG_TMPOBJ
;
21066 int res6
= SWIG_TMPOBJ
;
21069 PyObject
* obj0
= 0 ;
21070 PyObject
* obj1
= 0 ;
21071 PyObject
* obj2
= 0 ;
21072 char * kwnames
[] = {
21073 (char *) "self",(char *) "string",(char *) "font", NULL
21080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21082 if (!SWIG_IsOK(res1
)) {
21083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21087 arg2
= wxString_in_helper(obj1
);
21088 if (arg2
== NULL
) SWIG_fail
;
21092 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21093 if (!SWIG_IsOK(res7
)) {
21094 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21096 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= SWIG_Py_Void();
21105 if (SWIG_IsTmpObj(res3
)) {
21106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21108 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21111 if (SWIG_IsTmpObj(res4
)) {
21112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21114 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21117 if (SWIG_IsTmpObj(res5
)) {
21118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21120 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21123 if (SWIG_IsTmpObj(res6
)) {
21124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21126 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21143 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
= 0;
21145 wxDC
*arg1
= (wxDC
*) 0 ;
21146 wxString
*arg2
= 0 ;
21147 int *arg3
= (int *) 0 ;
21148 int *arg4
= (int *) 0 ;
21149 int *arg5
= (int *) 0 ;
21150 wxFont
*arg6
= (wxFont
*) NULL
;
21153 bool temp2
= false ;
21155 int res3
= SWIG_TMPOBJ
;
21157 int res4
= SWIG_TMPOBJ
;
21159 int res5
= SWIG_TMPOBJ
;
21162 PyObject
* obj0
= 0 ;
21163 PyObject
* obj1
= 0 ;
21164 PyObject
* obj2
= 0 ;
21165 char * kwnames
[] = {
21166 (char *) "self",(char *) "text",(char *) "font", NULL
21172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21174 if (!SWIG_IsOK(res1
)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21179 arg2
= wxString_in_helper(obj1
);
21180 if (arg2
== NULL
) SWIG_fail
;
21184 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21185 if (!SWIG_IsOK(res6
)) {
21186 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21188 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= SWIG_Py_Void();
21197 if (SWIG_IsTmpObj(res3
)) {
21198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21200 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21203 if (SWIG_IsTmpObj(res4
)) {
21204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21206 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21209 if (SWIG_IsTmpObj(res5
)) {
21210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21212 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21229 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
= 0;
21231 wxDC
*arg1
= (wxDC
*) 0 ;
21232 wxString
*arg2
= 0 ;
21236 bool temp2
= false ;
21237 PyObject
* obj0
= 0 ;
21238 PyObject
* obj1
= 0 ;
21239 char * kwnames
[] = {
21240 (char *) "self",(char *) "text", NULL
21243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21245 if (!SWIG_IsOK(res1
)) {
21246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21248 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21250 arg2
= wxString_in_helper(obj1
);
21251 if (arg2
== NULL
) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= wxArrayInt2PyList_helper(result
);
21277 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21278 PyObject
*resultobj
= 0;
21279 wxDC
*arg1
= (wxDC
*) 0 ;
21283 PyObject
*swig_obj
[1] ;
21285 if (!args
) SWIG_fail
;
21286 swig_obj
[0] = args
;
21287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21288 if (!SWIG_IsOK(res1
)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= (arg1
)->GetSize();
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21305 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21306 PyObject
*resultobj
= 0;
21307 wxDC
*arg1
= (wxDC
*) 0 ;
21308 int *arg2
= (int *) 0 ;
21309 int *arg3
= (int *) 0 ;
21313 int res2
= SWIG_TMPOBJ
;
21315 int res3
= SWIG_TMPOBJ
;
21316 PyObject
*swig_obj
[1] ;
21320 if (!args
) SWIG_fail
;
21321 swig_obj
[0] = args
;
21322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21323 if (!SWIG_IsOK(res1
)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21326 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 (arg1
)->GetSize(arg2
,arg3
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= SWIG_Py_Void();
21334 if (SWIG_IsTmpObj(res2
)) {
21335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21337 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21340 if (SWIG_IsTmpObj(res3
)) {
21341 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21343 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21344 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21352 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21353 PyObject
*resultobj
= 0;
21354 wxDC
*arg1
= (wxDC
*) 0 ;
21358 PyObject
*swig_obj
[1] ;
21360 if (!args
) SWIG_fail
;
21361 swig_obj
[0] = args
;
21362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21363 if (!SWIG_IsOK(res1
)) {
21364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21380 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21381 PyObject
*resultobj
= 0;
21382 wxDC
*arg1
= (wxDC
*) 0 ;
21383 int *arg2
= (int *) 0 ;
21384 int *arg3
= (int *) 0 ;
21388 int res2
= SWIG_TMPOBJ
;
21390 int res3
= SWIG_TMPOBJ
;
21391 PyObject
*swig_obj
[1] ;
21395 if (!args
) SWIG_fail
;
21396 swig_obj
[0] = args
;
21397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21398 if (!SWIG_IsOK(res1
)) {
21399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 resultobj
= SWIG_Py_Void();
21409 if (SWIG_IsTmpObj(res2
)) {
21410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21412 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21415 if (SWIG_IsTmpObj(res3
)) {
21416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21418 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21427 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
= 0;
21429 wxDC
*arg1
= (wxDC
*) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 PyObject
* obj1
= 0 ;
21438 char * kwnames
[] = {
21439 (char *) "self",(char *) "x", NULL
21442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21444 if (!SWIG_IsOK(res1
)) {
21445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21447 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21449 if (!SWIG_IsOK(ecode2
)) {
21450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21452 arg2
= static_cast< int >(val2
);
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_From_int(static_cast< int >(result
));
21466 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
= 0;
21468 wxDC
*arg1
= (wxDC
*) 0 ;
21475 PyObject
* obj0
= 0 ;
21476 PyObject
* obj1
= 0 ;
21477 char * kwnames
[] = {
21478 (char *) "self",(char *) "y", NULL
21481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21483 if (!SWIG_IsOK(res1
)) {
21484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21488 if (!SWIG_IsOK(ecode2
)) {
21489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21491 arg2
= static_cast< int >(val2
);
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= SWIG_From_int(static_cast< int >(result
));
21505 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
= 0;
21507 wxDC
*arg1
= (wxDC
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 char * kwnames
[] = {
21517 (char *) "self",(char *) "x", NULL
21520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21522 if (!SWIG_IsOK(res1
)) {
21523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21527 if (!SWIG_IsOK(ecode2
)) {
21528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21530 arg2
= static_cast< int >(val2
);
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 resultobj
= SWIG_From_int(static_cast< int >(result
));
21544 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
= 0;
21546 wxDC
*arg1
= (wxDC
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 char * kwnames
[] = {
21556 (char *) "self",(char *) "y", NULL
21559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21561 if (!SWIG_IsOK(res1
)) {
21562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21566 if (!SWIG_IsOK(ecode2
)) {
21567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21569 arg2
= static_cast< int >(val2
);
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= SWIG_From_int(static_cast< int >(result
));
21583 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
= 0;
21585 wxDC
*arg1
= (wxDC
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 PyObject
* obj1
= 0 ;
21594 char * kwnames
[] = {
21595 (char *) "self",(char *) "x", NULL
21598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21600 if (!SWIG_IsOK(res1
)) {
21601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21603 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21605 if (!SWIG_IsOK(ecode2
)) {
21606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21608 arg2
= static_cast< int >(val2
);
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= SWIG_From_int(static_cast< int >(result
));
21622 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
= 0;
21624 wxDC
*arg1
= (wxDC
*) 0 ;
21631 PyObject
* obj0
= 0 ;
21632 PyObject
* obj1
= 0 ;
21633 char * kwnames
[] = {
21634 (char *) "self",(char *) "y", NULL
21637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21639 if (!SWIG_IsOK(res1
)) {
21640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21644 if (!SWIG_IsOK(ecode2
)) {
21645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21647 arg2
= static_cast< int >(val2
);
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 resultobj
= SWIG_From_int(static_cast< int >(result
));
21661 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
= 0;
21663 wxDC
*arg1
= (wxDC
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 char * kwnames
[] = {
21673 (char *) "self",(char *) "x", NULL
21676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21678 if (!SWIG_IsOK(res1
)) {
21679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21683 if (!SWIG_IsOK(ecode2
)) {
21684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21686 arg2
= static_cast< int >(val2
);
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_From_int(static_cast< int >(result
));
21700 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
= 0;
21702 wxDC
*arg1
= (wxDC
*) 0 ;
21709 PyObject
* obj0
= 0 ;
21710 PyObject
* obj1
= 0 ;
21711 char * kwnames
[] = {
21712 (char *) "self",(char *) "y", NULL
21715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21717 if (!SWIG_IsOK(res1
)) {
21718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21722 if (!SWIG_IsOK(ecode2
)) {
21723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21725 arg2
= static_cast< int >(val2
);
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_From_int(static_cast< int >(result
));
21739 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21740 PyObject
*resultobj
= 0;
21741 wxDC
*arg1
= (wxDC
*) 0 ;
21745 PyObject
*swig_obj
[1] ;
21747 if (!args
) SWIG_fail
;
21748 swig_obj
[0] = args
;
21749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21750 if (!SWIG_IsOK(res1
)) {
21751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21769 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21770 PyObject
*resultobj
= 0;
21771 wxDC
*arg1
= (wxDC
*) 0 ;
21775 PyObject
*swig_obj
[1] ;
21777 if (!args
) SWIG_fail
;
21778 swig_obj
[0] = args
;
21779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21780 if (!SWIG_IsOK(res1
)) {
21781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21783 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21799 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21800 PyObject
*resultobj
= 0;
21801 wxDC
*arg1
= (wxDC
*) 0 ;
21805 PyObject
*swig_obj
[1] ;
21807 if (!args
) SWIG_fail
;
21808 swig_obj
[0] = args
;
21809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21810 if (!SWIG_IsOK(res1
)) {
21811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= SWIG_From_int(static_cast< int >(result
));
21827 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 PyObject
*resultobj
= 0;
21829 wxDC
*arg1
= (wxDC
*) 0 ;
21833 PyObject
*swig_obj
[1] ;
21835 if (!args
) SWIG_fail
;
21836 swig_obj
[0] = args
;
21837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21838 if (!SWIG_IsOK(res1
)) {
21839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= ((wxDC
const *)arg1
)->GetPPI();
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21855 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21856 PyObject
*resultobj
= 0;
21857 wxDC
*arg1
= (wxDC
*) 0 ;
21861 PyObject
*swig_obj
[1] ;
21863 if (!args
) SWIG_fail
;
21864 swig_obj
[0] = args
;
21865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21866 if (!SWIG_IsOK(res1
)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21885 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21886 PyObject
*resultobj
= 0;
21887 wxDC
*arg1
= (wxDC
*) 0 ;
21891 PyObject
*swig_obj
[1] ;
21893 if (!args
) SWIG_fail
;
21894 swig_obj
[0] = args
;
21895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21896 if (!SWIG_IsOK(res1
)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= SWIG_From_int(static_cast< int >(result
));
21913 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21914 PyObject
*resultobj
= 0;
21915 wxDC
*arg1
= (wxDC
*) 0 ;
21916 wxBrush
*result
= 0 ;
21919 PyObject
*swig_obj
[1] ;
21921 if (!args
) SWIG_fail
;
21922 swig_obj
[0] = args
;
21923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21924 if (!SWIG_IsOK(res1
)) {
21925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21927 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21932 result
= (wxBrush
*) &_result_ref
;
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21938 wxBrush
* resultptr
= new wxBrush(*result
);
21939 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21947 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21948 PyObject
*resultobj
= 0;
21949 wxDC
*arg1
= (wxDC
*) 0 ;
21950 wxBrush
*result
= 0 ;
21953 PyObject
*swig_obj
[1] ;
21955 if (!args
) SWIG_fail
;
21956 swig_obj
[0] = args
;
21957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21958 if (!SWIG_IsOK(res1
)) {
21959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21966 result
= (wxBrush
*) &_result_ref
;
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 wxBrush
* resultptr
= new wxBrush(*result
);
21973 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21981 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21982 PyObject
*resultobj
= 0;
21983 wxDC
*arg1
= (wxDC
*) 0 ;
21984 wxFont
*result
= 0 ;
21987 PyObject
*swig_obj
[1] ;
21989 if (!args
) SWIG_fail
;
21990 swig_obj
[0] = args
;
21991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21992 if (!SWIG_IsOK(res1
)) {
21993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22000 result
= (wxFont
*) &_result_ref
;
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22006 wxFont
* resultptr
= new wxFont(*result
);
22007 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22015 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22016 PyObject
*resultobj
= 0;
22017 wxDC
*arg1
= (wxDC
*) 0 ;
22018 wxPen
*result
= 0 ;
22021 PyObject
*swig_obj
[1] ;
22023 if (!args
) SWIG_fail
;
22024 swig_obj
[0] = args
;
22025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22026 if (!SWIG_IsOK(res1
)) {
22027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22034 result
= (wxPen
*) &_result_ref
;
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22040 wxPen
* resultptr
= new wxPen(*result
);
22041 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22049 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22050 PyObject
*resultobj
= 0;
22051 wxDC
*arg1
= (wxDC
*) 0 ;
22052 wxColour
*result
= 0 ;
22055 PyObject
*swig_obj
[1] ;
22057 if (!args
) SWIG_fail
;
22058 swig_obj
[0] = args
;
22059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22060 if (!SWIG_IsOK(res1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22068 result
= (wxColour
*) &_result_ref
;
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22080 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22081 PyObject
*resultobj
= 0;
22082 wxDC
*arg1
= (wxDC
*) 0 ;
22083 wxColour
*result
= 0 ;
22086 PyObject
*swig_obj
[1] ;
22088 if (!args
) SWIG_fail
;
22089 swig_obj
[0] = args
;
22090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22091 if (!SWIG_IsOK(res1
)) {
22092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22099 result
= (wxColour
*) &_result_ref
;
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22111 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
= 0;
22113 wxDC
*arg1
= (wxDC
*) 0 ;
22114 wxColour
*arg2
= 0 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 char * kwnames
[] = {
22121 (char *) "self",(char *) "colour", NULL
22124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22126 if (!SWIG_IsOK(res1
)) {
22127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22132 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_Py_Void();
22147 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
= 0;
22149 wxDC
*arg1
= (wxDC
*) 0 ;
22150 wxColour
*arg2
= 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 char * kwnames
[] = {
22157 (char *) "self",(char *) "colour", NULL
22160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22162 if (!SWIG_IsOK(res1
)) {
22163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22165 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_Py_Void();
22183 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22184 PyObject
*resultobj
= 0;
22185 wxDC
*arg1
= (wxDC
*) 0 ;
22189 PyObject
*swig_obj
[1] ;
22191 if (!args
) SWIG_fail
;
22192 swig_obj
[0] = args
;
22193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= SWIG_From_int(static_cast< int >(result
));
22211 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
= 0;
22213 wxDC
*arg1
= (wxDC
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 char * kwnames
[] = {
22222 (char *) "self",(char *) "mode", NULL
22225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22227 if (!SWIG_IsOK(res1
)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22232 if (!SWIG_IsOK(ecode2
)) {
22233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22235 arg2
= static_cast< int >(val2
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 (arg1
)->SetMapMode(arg2
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_Py_Void();
22249 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22250 PyObject
*resultobj
= 0;
22251 wxDC
*arg1
= (wxDC
*) 0 ;
22252 double *arg2
= (double *) 0 ;
22253 double *arg3
= (double *) 0 ;
22257 int res2
= SWIG_TMPOBJ
;
22259 int res3
= SWIG_TMPOBJ
;
22260 PyObject
*swig_obj
[1] ;
22264 if (!args
) SWIG_fail
;
22265 swig_obj
[0] = args
;
22266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22267 if (!SWIG_IsOK(res1
)) {
22268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= SWIG_Py_Void();
22278 if (SWIG_IsTmpObj(res2
)) {
22279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22281 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22284 if (SWIG_IsTmpObj(res3
)) {
22285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22287 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22296 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
= 0;
22298 wxDC
*arg1
= (wxDC
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 PyObject
* obj1
= 0 ;
22309 PyObject
* obj2
= 0 ;
22310 char * kwnames
[] = {
22311 (char *) "self",(char *) "x",(char *) "y", NULL
22314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22316 if (!SWIG_IsOK(res1
)) {
22317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22320 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22321 if (!SWIG_IsOK(ecode2
)) {
22322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22324 arg2
= static_cast< double >(val2
);
22325 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22326 if (!SWIG_IsOK(ecode3
)) {
22327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22329 arg3
= static_cast< double >(val3
);
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 (arg1
)->SetUserScale(arg2
,arg3
);
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= SWIG_Py_Void();
22343 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22344 PyObject
*resultobj
= 0;
22345 wxDC
*arg1
= (wxDC
*) 0 ;
22346 double *arg2
= (double *) 0 ;
22347 double *arg3
= (double *) 0 ;
22351 int res2
= SWIG_TMPOBJ
;
22353 int res3
= SWIG_TMPOBJ
;
22354 PyObject
*swig_obj
[1] ;
22358 if (!args
) SWIG_fail
;
22359 swig_obj
[0] = args
;
22360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22361 if (!SWIG_IsOK(res1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 (arg1
)->GetLogicalScale(arg2
,arg3
);
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_Py_Void();
22372 if (SWIG_IsTmpObj(res2
)) {
22373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22375 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22378 if (SWIG_IsTmpObj(res3
)) {
22379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22381 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22390 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
= 0;
22392 wxDC
*arg1
= (wxDC
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 PyObject
* obj2
= 0 ;
22404 char * kwnames
[] = {
22405 (char *) "self",(char *) "x",(char *) "y", NULL
22408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22410 if (!SWIG_IsOK(res1
)) {
22411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22414 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22415 if (!SWIG_IsOK(ecode2
)) {
22416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22418 arg2
= static_cast< double >(val2
);
22419 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22420 if (!SWIG_IsOK(ecode3
)) {
22421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22423 arg3
= static_cast< double >(val3
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 (arg1
)->SetLogicalScale(arg2
,arg3
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_Py_Void();
22437 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22438 PyObject
*resultobj
= 0;
22439 wxDC
*arg1
= (wxDC
*) 0 ;
22443 PyObject
*swig_obj
[1] ;
22445 if (!args
) SWIG_fail
;
22446 swig_obj
[0] = args
;
22447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22448 if (!SWIG_IsOK(res1
)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22465 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22466 PyObject
*resultobj
= 0;
22467 wxDC
*arg1
= (wxDC
*) 0 ;
22468 int *arg2
= (int *) 0 ;
22469 int *arg3
= (int *) 0 ;
22473 int res2
= SWIG_TMPOBJ
;
22475 int res3
= SWIG_TMPOBJ
;
22476 PyObject
*swig_obj
[1] ;
22480 if (!args
) SWIG_fail
;
22481 swig_obj
[0] = args
;
22482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22483 if (!SWIG_IsOK(res1
)) {
22484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22490 wxPyEndAllowThreads(__tstate
);
22491 if (PyErr_Occurred()) SWIG_fail
;
22493 resultobj
= SWIG_Py_Void();
22494 if (SWIG_IsTmpObj(res2
)) {
22495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22497 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22500 if (SWIG_IsTmpObj(res3
)) {
22501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22503 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22512 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
= 0;
22514 wxDC
*arg1
= (wxDC
*) 0 ;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 PyObject
* obj2
= 0 ;
22526 char * kwnames
[] = {
22527 (char *) "self",(char *) "x",(char *) "y", NULL
22530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22532 if (!SWIG_IsOK(res1
)) {
22533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22537 if (!SWIG_IsOK(ecode2
)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22540 arg2
= static_cast< int >(val2
);
22541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22542 if (!SWIG_IsOK(ecode3
)) {
22543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22545 arg3
= static_cast< int >(val3
);
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_Py_Void();
22559 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
= 0;
22561 wxDC
*arg1
= (wxDC
*) 0 ;
22562 wxPoint
*arg2
= 0 ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 char * kwnames
[] = {
22569 (char *) "self",(char *) "point", NULL
22572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22574 if (!SWIG_IsOK(res1
)) {
22575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22580 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22585 wxPyEndAllowThreads(__tstate
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22588 resultobj
= SWIG_Py_Void();
22595 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22596 PyObject
*resultobj
= 0;
22597 wxDC
*arg1
= (wxDC
*) 0 ;
22601 PyObject
*swig_obj
[1] ;
22603 if (!args
) SWIG_fail
;
22604 swig_obj
[0] = args
;
22605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22606 if (!SWIG_IsOK(res1
)) {
22607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22623 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22624 PyObject
*resultobj
= 0;
22625 wxDC
*arg1
= (wxDC
*) 0 ;
22626 int *arg2
= (int *) 0 ;
22627 int *arg3
= (int *) 0 ;
22631 int res2
= SWIG_TMPOBJ
;
22633 int res3
= SWIG_TMPOBJ
;
22634 PyObject
*swig_obj
[1] ;
22638 if (!args
) SWIG_fail
;
22639 swig_obj
[0] = args
;
22640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22641 if (!SWIG_IsOK(res1
)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_Py_Void();
22652 if (SWIG_IsTmpObj(res2
)) {
22653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22655 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22658 if (SWIG_IsTmpObj(res3
)) {
22659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22661 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22670 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
= 0;
22672 wxDC
*arg1
= (wxDC
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 PyObject
* obj2
= 0 ;
22684 char * kwnames
[] = {
22685 (char *) "self",(char *) "x",(char *) "y", NULL
22688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22690 if (!SWIG_IsOK(res1
)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22695 if (!SWIG_IsOK(ecode2
)) {
22696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22698 arg2
= static_cast< int >(val2
);
22699 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22700 if (!SWIG_IsOK(ecode3
)) {
22701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22703 arg3
= static_cast< int >(val3
);
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= SWIG_Py_Void();
22717 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
= 0;
22719 wxDC
*arg1
= (wxDC
*) 0 ;
22720 wxPoint
*arg2
= 0 ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 char * kwnames
[] = {
22727 (char *) "self",(char *) "point", NULL
22730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22732 if (!SWIG_IsOK(res1
)) {
22733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_Py_Void();
22753 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
= 0;
22755 wxDC
*arg1
= (wxDC
*) 0 ;
22764 PyObject
* obj0
= 0 ;
22765 PyObject
* obj1
= 0 ;
22766 PyObject
* obj2
= 0 ;
22767 char * kwnames
[] = {
22768 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22773 if (!SWIG_IsOK(res1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22777 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22778 if (!SWIG_IsOK(ecode2
)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22781 arg2
= static_cast< bool >(val2
);
22782 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22783 if (!SWIG_IsOK(ecode3
)) {
22784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22786 arg3
= static_cast< bool >(val3
);
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 resultobj
= SWIG_Py_Void();
22800 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22801 PyObject
*resultobj
= 0;
22802 wxDC
*arg1
= (wxDC
*) 0 ;
22806 PyObject
*swig_obj
[1] ;
22808 if (!args
) SWIG_fail
;
22809 swig_obj
[0] = args
;
22810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22811 if (!SWIG_IsOK(res1
)) {
22812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= SWIG_From_int(static_cast< int >(result
));
22828 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
= 0;
22830 wxDC
*arg1
= (wxDC
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char * kwnames
[] = {
22839 (char *) "self",(char *) "function", NULL
22842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22844 if (!SWIG_IsOK(res1
)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22849 if (!SWIG_IsOK(ecode2
)) {
22850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22852 arg2
= static_cast< int >(val2
);
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 (arg1
)->SetLogicalFunction(arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_Py_Void();
22866 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22867 PyObject
*resultobj
= 0;
22868 wxDC
*arg1
= (wxDC
*) 0 ;
22871 PyObject
*swig_obj
[1] ;
22873 if (!args
) SWIG_fail
;
22874 swig_obj
[0] = args
;
22875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22876 if (!SWIG_IsOK(res1
)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 (arg1
)->ComputeScaleAndOrigin();
22883 wxPyEndAllowThreads(__tstate
);
22884 if (PyErr_Occurred()) SWIG_fail
;
22886 resultobj
= SWIG_Py_Void();
22893 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
= 0;
22895 wxDC
*arg1
= (wxDC
*) 0 ;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 PyObject
* obj2
= 0 ;
22907 char * kwnames
[] = {
22908 (char *) "self",(char *) "x",(char *) "y", NULL
22911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22913 if (!SWIG_IsOK(res1
)) {
22914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22918 if (!SWIG_IsOK(ecode2
)) {
22919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22921 arg2
= static_cast< int >(val2
);
22922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22923 if (!SWIG_IsOK(ecode3
)) {
22924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22926 arg3
= static_cast< int >(val3
);
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_Py_Void();
22940 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
= 0;
22942 wxDC
*arg1
= (wxDC
*) 0 ;
22943 wxPoint
*arg2
= 0 ;
22947 PyObject
* obj0
= 0 ;
22948 PyObject
* obj1
= 0 ;
22949 char * kwnames
[] = {
22950 (char *) "self",(char *) "point", NULL
22953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22955 if (!SWIG_IsOK(res1
)) {
22956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_Py_Void();
22976 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 PyObject
*resultobj
= 0;
22978 wxDC
*arg1
= (wxDC
*) 0 ;
22981 PyObject
*swig_obj
[1] ;
22983 if (!args
) SWIG_fail
;
22984 swig_obj
[0] = args
;
22985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 (arg1
)->ResetBoundingBox();
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= SWIG_Py_Void();
23003 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23004 PyObject
*resultobj
= 0;
23005 wxDC
*arg1
= (wxDC
*) 0 ;
23009 PyObject
*swig_obj
[1] ;
23011 if (!args
) SWIG_fail
;
23012 swig_obj
[0] = args
;
23013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= (int)((wxDC
const *)arg1
)->MinX();
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= SWIG_From_int(static_cast< int >(result
));
23031 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23032 PyObject
*resultobj
= 0;
23033 wxDC
*arg1
= (wxDC
*) 0 ;
23037 PyObject
*swig_obj
[1] ;
23039 if (!args
) SWIG_fail
;
23040 swig_obj
[0] = args
;
23041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23042 if (!SWIG_IsOK(res1
)) {
23043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (int)((wxDC
const *)arg1
)->MaxX();
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_From_int(static_cast< int >(result
));
23059 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23060 PyObject
*resultobj
= 0;
23061 wxDC
*arg1
= (wxDC
*) 0 ;
23065 PyObject
*swig_obj
[1] ;
23067 if (!args
) SWIG_fail
;
23068 swig_obj
[0] = args
;
23069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23070 if (!SWIG_IsOK(res1
)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (int)((wxDC
const *)arg1
)->MinY();
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_From_int(static_cast< int >(result
));
23087 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23088 PyObject
*resultobj
= 0;
23089 wxDC
*arg1
= (wxDC
*) 0 ;
23093 PyObject
*swig_obj
[1] ;
23095 if (!args
) SWIG_fail
;
23096 swig_obj
[0] = args
;
23097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23098 if (!SWIG_IsOK(res1
)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (int)((wxDC
const *)arg1
)->MaxY();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_From_int(static_cast< int >(result
));
23115 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23116 PyObject
*resultobj
= 0;
23117 wxDC
*arg1
= (wxDC
*) 0 ;
23118 int *arg2
= (int *) 0 ;
23119 int *arg3
= (int *) 0 ;
23120 int *arg4
= (int *) 0 ;
23121 int *arg5
= (int *) 0 ;
23125 int res2
= SWIG_TMPOBJ
;
23127 int res3
= SWIG_TMPOBJ
;
23129 int res4
= SWIG_TMPOBJ
;
23131 int res5
= SWIG_TMPOBJ
;
23132 PyObject
*swig_obj
[1] ;
23138 if (!args
) SWIG_fail
;
23139 swig_obj
[0] = args
;
23140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23141 if (!SWIG_IsOK(res1
)) {
23142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= SWIG_Py_Void();
23152 if (SWIG_IsTmpObj(res2
)) {
23153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23155 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23158 if (SWIG_IsTmpObj(res3
)) {
23159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23161 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23164 if (SWIG_IsTmpObj(res4
)) {
23165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23167 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23170 if (SWIG_IsTmpObj(res5
)) {
23171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23173 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23182 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23183 PyObject
*resultobj
= 0;
23184 wxDC
*arg1
= (wxDC
*) 0 ;
23185 wxLayoutDirection result
;
23188 PyObject
*swig_obj
[1] ;
23190 if (!args
) SWIG_fail
;
23191 swig_obj
[0] = args
;
23192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23193 if (!SWIG_IsOK(res1
)) {
23194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= SWIG_From_int(static_cast< int >(result
));
23210 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
= 0;
23212 wxDC
*arg1
= (wxDC
*) 0 ;
23213 wxLayoutDirection arg2
;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 char * kwnames
[] = {
23221 (char *) "self",(char *) "dir", NULL
23224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23226 if (!SWIG_IsOK(res1
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23231 if (!SWIG_IsOK(ecode2
)) {
23232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23234 arg2
= static_cast< wxLayoutDirection
>(val2
);
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 (arg1
)->SetLayoutDirection(arg2
);
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= SWIG_Py_Void();
23248 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
= 0;
23250 wxDC
*arg1
= (wxDC
*) 0 ;
23251 PyObject
*arg2
= (PyObject
*) 0 ;
23252 PyObject
*arg3
= (PyObject
*) 0 ;
23253 PyObject
*arg4
= (PyObject
*) 0 ;
23254 PyObject
*result
= 0 ;
23257 PyObject
* obj0
= 0 ;
23258 PyObject
* obj1
= 0 ;
23259 PyObject
* obj2
= 0 ;
23260 PyObject
* obj3
= 0 ;
23261 char * kwnames
[] = {
23262 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23267 if (!SWIG_IsOK(res1
)) {
23268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= result
;
23287 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
= 0;
23289 wxDC
*arg1
= (wxDC
*) 0 ;
23290 PyObject
*arg2
= (PyObject
*) 0 ;
23291 PyObject
*arg3
= (PyObject
*) 0 ;
23292 PyObject
*arg4
= (PyObject
*) 0 ;
23293 PyObject
*result
= 0 ;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 PyObject
* obj2
= 0 ;
23299 PyObject
* obj3
= 0 ;
23300 char * kwnames
[] = {
23301 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23306 if (!SWIG_IsOK(res1
)) {
23307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23309 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= result
;
23326 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
= 0;
23328 wxDC
*arg1
= (wxDC
*) 0 ;
23329 PyObject
*arg2
= (PyObject
*) 0 ;
23330 PyObject
*arg3
= (PyObject
*) 0 ;
23331 PyObject
*arg4
= (PyObject
*) 0 ;
23332 PyObject
*result
= 0 ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 PyObject
* obj2
= 0 ;
23338 PyObject
* obj3
= 0 ;
23339 char * kwnames
[] = {
23340 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23345 if (!SWIG_IsOK(res1
)) {
23346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= result
;
23365 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
= 0;
23367 wxDC
*arg1
= (wxDC
*) 0 ;
23368 PyObject
*arg2
= (PyObject
*) 0 ;
23369 PyObject
*arg3
= (PyObject
*) 0 ;
23370 PyObject
*arg4
= (PyObject
*) 0 ;
23371 PyObject
*result
= 0 ;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 PyObject
* obj2
= 0 ;
23377 PyObject
* obj3
= 0 ;
23378 char * kwnames
[] = {
23379 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23384 if (!SWIG_IsOK(res1
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= result
;
23404 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
= 0;
23406 wxDC
*arg1
= (wxDC
*) 0 ;
23407 PyObject
*arg2
= (PyObject
*) 0 ;
23408 PyObject
*arg3
= (PyObject
*) 0 ;
23409 PyObject
*arg4
= (PyObject
*) 0 ;
23410 PyObject
*result
= 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 PyObject
* obj3
= 0 ;
23417 char * kwnames
[] = {
23418 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23423 if (!SWIG_IsOK(res1
)) {
23424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= result
;
23443 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
= 0;
23445 wxDC
*arg1
= (wxDC
*) 0 ;
23446 PyObject
*arg2
= (PyObject
*) 0 ;
23447 PyObject
*arg3
= (PyObject
*) 0 ;
23448 PyObject
*arg4
= (PyObject
*) 0 ;
23449 PyObject
*arg5
= (PyObject
*) 0 ;
23450 PyObject
*result
= 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 PyObject
* obj2
= 0 ;
23456 PyObject
* obj3
= 0 ;
23457 PyObject
* obj4
= 0 ;
23458 char * kwnames
[] = {
23459 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23464 if (!SWIG_IsOK(res1
)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= result
;
23485 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23488 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23489 return SWIG_Py_Void();
23492 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
= 0;
23495 wxColour
*arg2
= 0 ;
23496 wxDCTextColourChanger
*result
= 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char * kwnames
[] = {
23503 (char *) "dc",(char *) "col", NULL
23506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23507 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23508 if (!SWIG_IsOK(res1
)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23517 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23532 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23533 PyObject
*resultobj
= 0;
23534 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23537 PyObject
*swig_obj
[1] ;
23539 if (!args
) SWIG_fail
;
23540 swig_obj
[0] = args
;
23541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23542 if (!SWIG_IsOK(res1
)) {
23543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23545 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= SWIG_Py_Void();
23560 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23563 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23564 return SWIG_Py_Void();
23567 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23568 return SWIG_Python_InitShadowInstance(args
);
23571 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
= 0;
23575 wxDCPenChanger
*result
= 0 ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 char * kwnames
[] = {
23583 (char *) "dc",(char *) "pen", NULL
23586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23587 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23588 if (!SWIG_IsOK(res1
)) {
23589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23594 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23596 if (!SWIG_IsOK(res2
)) {
23597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23602 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23616 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23617 PyObject
*resultobj
= 0;
23618 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23621 PyObject
*swig_obj
[1] ;
23623 if (!args
) SWIG_fail
;
23624 swig_obj
[0] = args
;
23625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23626 if (!SWIG_IsOK(res1
)) {
23627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23629 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= SWIG_Py_Void();
23644 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23647 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23648 return SWIG_Py_Void();
23651 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23652 return SWIG_Python_InitShadowInstance(args
);
23655 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
= 0;
23658 wxBrush
*arg2
= 0 ;
23659 wxDCBrushChanger
*result
= 0 ;
23664 PyObject
* obj0
= 0 ;
23665 PyObject
* obj1
= 0 ;
23666 char * kwnames
[] = {
23667 (char *) "dc",(char *) "brush", NULL
23670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23671 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23672 if (!SWIG_IsOK(res1
)) {
23673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23680 if (!SWIG_IsOK(res2
)) {
23681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23686 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23700 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23701 PyObject
*resultobj
= 0;
23702 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23705 PyObject
*swig_obj
[1] ;
23707 if (!args
) SWIG_fail
;
23708 swig_obj
[0] = args
;
23709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23710 if (!SWIG_IsOK(res1
)) {
23711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23713 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_Py_Void();
23728 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23731 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23732 return SWIG_Py_Void();
23735 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23736 return SWIG_Python_InitShadowInstance(args
);
23739 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23740 PyObject
*resultobj
= 0;
23742 wxRegion
*arg2
= 0 ;
23743 wxDCClipper
*result
= 0 ;
23749 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23751 if (!SWIG_IsOK(res1
)) {
23752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23758 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23759 if (!SWIG_IsOK(res2
)) {
23760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23765 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23779 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23780 PyObject
*resultobj
= 0;
23783 wxDCClipper
*result
= 0 ;
23788 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23790 if (!SWIG_IsOK(res1
)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23799 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23814 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23815 PyObject
*resultobj
= 0;
23821 wxDCClipper
*result
= 0 ;
23833 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23835 if (!SWIG_IsOK(res1
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23842 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23843 if (!SWIG_IsOK(ecode2
)) {
23844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23846 arg2
= static_cast< int >(val2
);
23847 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23848 if (!SWIG_IsOK(ecode3
)) {
23849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23851 arg3
= static_cast< int >(val3
);
23852 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23853 if (!SWIG_IsOK(ecode4
)) {
23854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23856 arg4
= static_cast< int >(val4
);
23857 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23858 if (!SWIG_IsOK(ecode5
)) {
23859 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23861 arg5
= static_cast< int >(val5
);
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23875 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23879 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23884 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23885 _v
= SWIG_CheckState(res
);
23887 if (!_v
) goto check_1
;
23888 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23893 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23896 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23900 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23905 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23906 PyObject
*resultobj
= 0;
23907 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23910 PyObject
*swig_obj
[1] ;
23912 if (!args
) SWIG_fail
;
23913 swig_obj
[0] = args
;
23914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23915 if (!SWIG_IsOK(res1
)) {
23916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23918 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= SWIG_Py_Void();
23933 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23936 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23937 return SWIG_Py_Void();
23940 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23941 return SWIG_Python_InitShadowInstance(args
);
23944 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23945 PyObject
*resultobj
= 0;
23946 wxScreenDC
*result
= 0 ;
23948 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23950 if (!wxPyCheckForApp()) SWIG_fail
;
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= (wxScreenDC
*)new wxScreenDC();
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23963 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
= 0;
23965 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23966 wxWindow
*arg2
= (wxWindow
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23974 char * kwnames
[] = {
23975 (char *) "self",(char *) "window", NULL
23978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23980 if (!SWIG_IsOK(res1
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23983 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23985 if (!SWIG_IsOK(res2
)) {
23986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23988 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24004 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
= 0;
24006 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24007 wxRect
*arg2
= (wxRect
*) NULL
;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char * kwnames
[] = {
24016 (char *) "self",(char *) "rect", NULL
24019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24021 if (!SWIG_IsOK(res1
)) {
24022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24024 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24027 if (!SWIG_IsOK(res2
)) {
24028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24030 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24047 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24048 PyObject
*resultobj
= 0;
24049 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24053 PyObject
*swig_obj
[1] ;
24055 if (!args
) SWIG_fail
;
24056 swig_obj
[0] = args
;
24057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24061 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (bool)(arg1
)->EndDrawingOnTop();
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24077 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24080 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24081 return SWIG_Py_Void();
24084 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24085 return SWIG_Python_InitShadowInstance(args
);
24088 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
= 0;
24090 wxWindow
*arg1
= (wxWindow
*) 0 ;
24091 wxWindowDC
*result
= 0 ;
24094 PyObject
* obj0
= 0 ;
24095 char * kwnames
[] = {
24096 (char *) "win", NULL
24099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24106 if (!wxPyCheckForApp()) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24119 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24122 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24123 return SWIG_Py_Void();
24126 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24127 return SWIG_Python_InitShadowInstance(args
);
24130 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
= 0;
24132 wxWindow
*arg1
= (wxWindow
*) 0 ;
24133 wxClientDC
*result
= 0 ;
24136 PyObject
* obj0
= 0 ;
24137 char * kwnames
[] = {
24138 (char *) "win", NULL
24141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24143 if (!SWIG_IsOK(res1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24146 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24148 if (!wxPyCheckForApp()) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (wxClientDC
*)new wxClientDC(arg1
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24161 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24164 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24165 return SWIG_Py_Void();
24168 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24169 return SWIG_Python_InitShadowInstance(args
);
24172 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
= 0;
24174 wxWindow
*arg1
= (wxWindow
*) 0 ;
24175 wxPaintDC
*result
= 0 ;
24178 PyObject
* obj0
= 0 ;
24179 char * kwnames
[] = {
24180 (char *) "win", NULL
24183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24185 if (!SWIG_IsOK(res1
)) {
24186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24190 if (!wxPyCheckForApp()) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24203 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24206 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24207 return SWIG_Py_Void();
24210 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24211 return SWIG_Python_InitShadowInstance(args
);
24214 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
= 0;
24216 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24217 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24218 wxMemoryDC
*result
= 0 ;
24221 PyObject
* obj0
= 0 ;
24222 char * kwnames
[] = {
24223 (char *) "bitmap", NULL
24226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24228 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24229 if (!SWIG_IsOK(res1
)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24235 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24238 if (!wxPyCheckForApp()) SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24251 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
= 0;
24253 wxDC
*arg1
= (wxDC
*) 0 ;
24254 wxMemoryDC
*result
= 0 ;
24257 PyObject
* obj0
= 0 ;
24258 char * kwnames
[] = {
24259 (char *) "oldDC", NULL
24262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24264 if (!SWIG_IsOK(res1
)) {
24265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24269 if (!wxPyCheckForApp()) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24282 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
= 0;
24284 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24285 wxBitmap
*arg2
= 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 char * kwnames
[] = {
24293 (char *) "self",(char *) "bitmap", NULL
24296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24298 if (!SWIG_IsOK(res1
)) {
24299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24301 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24303 if (!SWIG_IsOK(res2
)) {
24304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24309 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 (arg1
)->SelectObject(*arg2
);
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= SWIG_Py_Void();
24323 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
= 0;
24325 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24326 wxBitmap
*arg2
= 0 ;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 char * kwnames
[] = {
24334 (char *) "self",(char *) "bmp", NULL
24337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24339 if (!SWIG_IsOK(res1
)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24342 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24343 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24344 if (!SWIG_IsOK(res2
)) {
24345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24350 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_Py_Void();
24364 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24367 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24368 return SWIG_Py_Void();
24371 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24372 return SWIG_Python_InitShadowInstance(args
);
24375 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24376 PyObject
*resultobj
= 0;
24377 wxDC
*arg1
= (wxDC
*) 0 ;
24378 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24379 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24380 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24381 wxBufferedDC
*result
= 0 ;
24389 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24391 if (!SWIG_IsOK(res1
)) {
24392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24396 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24397 if (!SWIG_IsOK(res2
)) {
24398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24403 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24406 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24407 if (!SWIG_IsOK(ecode3
)) {
24408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24410 arg3
= static_cast< int >(val3
);
24413 if (!wxPyCheckForApp()) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24426 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24427 PyObject
*resultobj
= 0;
24428 wxDC
*arg1
= (wxDC
*) 0 ;
24430 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24431 wxBufferedDC
*result
= 0 ;
24438 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24440 if (!SWIG_IsOK(res1
)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24446 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24449 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24450 if (!SWIG_IsOK(ecode3
)) {
24451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24453 arg3
= static_cast< int >(val3
);
24456 if (!wxPyCheckForApp()) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24469 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24473 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24475 if ((argc
>= 1) && (argc
<= 3)) {
24480 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24481 _v
= SWIG_CheckState(res
);
24483 if (!_v
) goto check_1
;
24485 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24489 if ((argc
>= 2) && (argc
<= 3)) {
24490 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24494 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24499 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24500 PyObject
*resultobj
= 0;
24501 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24504 PyObject
*swig_obj
[1] ;
24506 if (!args
) SWIG_fail
;
24507 swig_obj
[0] = args
;
24508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24509 if (!SWIG_IsOK(res1
)) {
24510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24512 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= SWIG_Py_Void();
24527 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24528 PyObject
*resultobj
= 0;
24529 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24532 PyObject
*swig_obj
[1] ;
24534 if (!args
) SWIG_fail
;
24535 swig_obj
[0] = args
;
24536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24537 if (!SWIG_IsOK(res1
)) {
24538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24540 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= SWIG_Py_Void();
24554 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
= 0;
24556 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24562 PyObject
* obj0
= 0 ;
24563 PyObject
* obj1
= 0 ;
24564 char * kwnames
[] = {
24565 (char *) "self",(char *) "style", NULL
24568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24570 if (!SWIG_IsOK(res1
)) {
24571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24573 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24575 if (!SWIG_IsOK(ecode2
)) {
24576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24578 arg2
= static_cast< int >(val2
);
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 (arg1
)->SetStyle(arg2
);
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= SWIG_Py_Void();
24592 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24593 PyObject
*resultobj
= 0;
24594 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24598 PyObject
*swig_obj
[1] ;
24600 if (!args
) SWIG_fail
;
24601 swig_obj
[0] = args
;
24602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24603 if (!SWIG_IsOK(res1
)) {
24604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24606 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= SWIG_From_int(static_cast< int >(result
));
24620 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24623 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24624 return SWIG_Py_Void();
24627 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24628 return SWIG_Python_InitShadowInstance(args
);
24631 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
= 0;
24633 wxWindow
*arg1
= (wxWindow
*) 0 ;
24634 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24635 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24636 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24637 wxBufferedPaintDC
*result
= 0 ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 char * kwnames
[] = {
24648 (char *) "window",(char *) "buffer",(char *) "style", NULL
24651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24653 if (!SWIG_IsOK(res1
)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24656 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24659 if (!SWIG_IsOK(res2
)) {
24660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24665 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24669 if (!SWIG_IsOK(ecode3
)) {
24670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24672 arg3
= static_cast< int >(val3
);
24675 if (!wxPyCheckForApp()) SWIG_fail
;
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24688 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24691 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24692 return SWIG_Py_Void();
24695 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24696 return SWIG_Python_InitShadowInstance(args
);
24699 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
= 0;
24701 wxWindow
*arg1
= (wxWindow
*) 0 ;
24702 wxAutoBufferedPaintDC
*result
= 0 ;
24705 PyObject
* obj0
= 0 ;
24706 char * kwnames
[] = {
24707 (char *) "win", NULL
24710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24712 if (!SWIG_IsOK(res1
)) {
24713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24715 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24729 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24732 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24733 return SWIG_Py_Void();
24736 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24737 return SWIG_Python_InitShadowInstance(args
);
24740 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
= 0;
24742 wxWindow
*arg1
= (wxWindow
*) 0 ;
24746 PyObject
* obj0
= 0 ;
24747 char * kwnames
[] = {
24748 (char *) "window", NULL
24751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24756 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24772 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
= 0;
24776 wxMirrorDC
*result
= 0 ;
24781 PyObject
* obj0
= 0 ;
24782 PyObject
* obj1
= 0 ;
24783 char * kwnames
[] = {
24784 (char *) "dc",(char *) "mirror", NULL
24787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24788 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24789 if (!SWIG_IsOK(res1
)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24796 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24797 if (!SWIG_IsOK(ecode2
)) {
24798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24800 arg2
= static_cast< bool >(val2
);
24802 if (!wxPyCheckForApp()) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24815 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24818 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24819 return SWIG_Py_Void();
24822 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24823 return SWIG_Python_InitShadowInstance(args
);
24826 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
= 0;
24828 wxPrintData
*arg1
= 0 ;
24829 wxPostScriptDC
*result
= 0 ;
24832 PyObject
* obj0
= 0 ;
24833 char * kwnames
[] = {
24834 (char *) "printData", NULL
24837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24838 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24839 if (!SWIG_IsOK(res1
)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24845 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24847 if (!wxPyCheckForApp()) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24860 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24861 PyObject
*resultobj
= 0;
24862 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24863 wxPrintData
*result
= 0 ;
24866 PyObject
*swig_obj
[1] ;
24868 if (!args
) SWIG_fail
;
24869 swig_obj
[0] = args
;
24870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24871 if (!SWIG_IsOK(res1
)) {
24872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24874 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24878 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24879 result
= (wxPrintData
*) &_result_ref
;
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24891 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
= 0;
24893 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24894 wxPrintData
*arg2
= 0 ;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 char * kwnames
[] = {
24902 (char *) "self",(char *) "data", NULL
24905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24907 if (!SWIG_IsOK(res1
)) {
24908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24910 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24912 if (!SWIG_IsOK(res2
)) {
24913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24918 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24921 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 resultobj
= SWIG_Py_Void();
24932 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
= 0;
24937 PyObject
* obj0
= 0 ;
24938 char * kwnames
[] = {
24939 (char *) "ppi", NULL
24942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24944 if (!SWIG_IsOK(ecode1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24947 arg1
= static_cast< int >(val1
);
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 wxPostScriptDC::SetResolution(arg1
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= SWIG_Py_Void();
24961 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24962 PyObject
*resultobj
= 0;
24965 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (int)wxPostScriptDC::GetResolution();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_From_int(static_cast< int >(result
));
24979 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24982 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24983 return SWIG_Py_Void();
24986 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24987 return SWIG_Python_InitShadowInstance(args
);
24990 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24991 PyObject
*resultobj
= 0;
24992 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24993 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24994 wxMetaFile
*result
= 0 ;
24995 bool temp1
= false ;
24996 PyObject
* obj0
= 0 ;
24997 char * kwnames
[] = {
24998 (char *) "filename", NULL
25001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25004 arg1
= wxString_in_helper(obj0
);
25005 if (arg1
== NULL
) SWIG_fail
;
25010 if (!wxPyCheckForApp()) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25031 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25032 PyObject
*resultobj
= 0;
25033 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25036 PyObject
*swig_obj
[1] ;
25038 if (!args
) SWIG_fail
;
25039 swig_obj
[0] = args
;
25040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25041 if (!SWIG_IsOK(res1
)) {
25042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25044 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_Py_Void();
25059 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25060 PyObject
*resultobj
= 0;
25061 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25065 PyObject
*swig_obj
[1] ;
25067 if (!args
) SWIG_fail
;
25068 swig_obj
[0] = args
;
25069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25070 if (!SWIG_IsOK(res1
)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25073 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (bool)(arg1
)->IsOk();
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25089 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
= 0;
25091 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25092 int arg2
= (int) 0 ;
25093 int arg3
= (int) 0 ;
25101 PyObject
* obj0
= 0 ;
25102 PyObject
* obj1
= 0 ;
25103 PyObject
* obj2
= 0 ;
25104 char * kwnames
[] = {
25105 (char *) "self",(char *) "width",(char *) "height", NULL
25108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25110 if (!SWIG_IsOK(res1
)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25113 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25116 if (!SWIG_IsOK(ecode2
)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25119 arg2
= static_cast< int >(val2
);
25122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25123 if (!SWIG_IsOK(ecode3
)) {
25124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25126 arg3
= static_cast< int >(val3
);
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25143 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 PyObject
*resultobj
= 0;
25145 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25149 PyObject
*swig_obj
[1] ;
25151 if (!args
) SWIG_fail
;
25152 swig_obj
[0] = args
;
25153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25154 if (!SWIG_IsOK(res1
)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25157 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (arg1
)->GetSize();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25171 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25172 PyObject
*resultobj
= 0;
25173 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25177 PyObject
*swig_obj
[1] ;
25179 if (!args
) SWIG_fail
;
25180 swig_obj
[0] = args
;
25181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25182 if (!SWIG_IsOK(res1
)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25185 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 result
= (int)(arg1
)->GetWidth();
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= SWIG_From_int(static_cast< int >(result
));
25199 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 PyObject
*resultobj
= 0;
25201 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25205 PyObject
*swig_obj
[1] ;
25207 if (!args
) SWIG_fail
;
25208 swig_obj
[0] = args
;
25209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25213 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 result
= (int)(arg1
)->GetHeight();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_From_int(static_cast< int >(result
));
25227 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25230 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25231 return SWIG_Py_Void();
25234 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25235 return SWIG_Python_InitShadowInstance(args
);
25238 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
= 0;
25240 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25241 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25242 int arg2
= (int) 0 ;
25243 int arg3
= (int) 0 ;
25244 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25245 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25246 wxMetaFileDC
*result
= 0 ;
25247 bool temp1
= false ;
25252 bool temp4
= false ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 PyObject
* obj2
= 0 ;
25256 PyObject
* obj3
= 0 ;
25257 char * kwnames
[] = {
25258 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25264 arg1
= wxString_in_helper(obj0
);
25265 if (arg1
== NULL
) SWIG_fail
;
25270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25271 if (!SWIG_IsOK(ecode2
)) {
25272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25274 arg2
= static_cast< int >(val2
);
25277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25278 if (!SWIG_IsOK(ecode3
)) {
25279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25281 arg3
= static_cast< int >(val3
);
25285 arg4
= wxString_in_helper(obj3
);
25286 if (arg4
== NULL
) SWIG_fail
;
25291 if (!wxPyCheckForApp()) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25320 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25321 PyObject
*resultobj
= 0;
25322 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25323 wxMetaFile
*result
= 0 ;
25326 PyObject
*swig_obj
[1] ;
25328 if (!args
) SWIG_fail
;
25329 swig_obj
[0] = args
;
25330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25331 if (!SWIG_IsOK(res1
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25334 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (wxMetaFile
*)(arg1
)->Close();
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25348 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25351 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25352 return SWIG_Py_Void();
25355 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25356 return SWIG_Python_InitShadowInstance(args
);
25359 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
= 0;
25361 wxPrintData
*arg1
= 0 ;
25362 wxPrinterDC
*result
= 0 ;
25365 PyObject
* obj0
= 0 ;
25366 char * kwnames
[] = {
25367 (char *) "printData", NULL
25370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25371 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25372 if (!SWIG_IsOK(res1
)) {
25373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25378 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25380 if (!wxPyCheckForApp()) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25393 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25396 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25397 return SWIG_Py_Void();
25400 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25401 return SWIG_Python_InitShadowInstance(args
);
25404 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
= 0;
25406 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25407 wxGraphicsObject
*result
= 0 ;
25410 PyObject
* obj0
= 0 ;
25411 char * kwnames
[] = {
25412 (char *) "renderer", NULL
25415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25418 if (!SWIG_IsOK(res1
)) {
25419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25421 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25424 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25434 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25435 PyObject
*resultobj
= 0;
25436 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25439 PyObject
*swig_obj
[1] ;
25441 if (!args
) SWIG_fail
;
25442 swig_obj
[0] = args
;
25443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25444 if (!SWIG_IsOK(res1
)) {
25445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25447 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= SWIG_Py_Void();
25460 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25461 PyObject
*resultobj
= 0;
25462 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25466 PyObject
*swig_obj
[1] ;
25468 if (!args
) SWIG_fail
;
25469 swig_obj
[0] = args
;
25470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25471 if (!SWIG_IsOK(res1
)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25474 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25476 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25477 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25488 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25489 PyObject
*resultobj
= 0;
25490 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25491 wxGraphicsRenderer
*result
= 0 ;
25494 PyObject
*swig_obj
[1] ;
25496 if (!args
) SWIG_fail
;
25497 swig_obj
[0] = args
;
25498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25499 if (!SWIG_IsOK(res1
)) {
25500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25502 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25504 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25514 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25517 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25518 return SWIG_Py_Void();
25521 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25522 return SWIG_Python_InitShadowInstance(args
);
25525 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 PyObject
*resultobj
= 0;
25527 wxGraphicsPen
*result
= 0 ;
25529 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25531 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25541 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25542 PyObject
*resultobj
= 0;
25543 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25546 PyObject
*swig_obj
[1] ;
25548 if (!args
) SWIG_fail
;
25549 swig_obj
[0] = args
;
25550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25551 if (!SWIG_IsOK(res1
)) {
25552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25554 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_Py_Void();
25567 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25569 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25570 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25571 return SWIG_Py_Void();
25574 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25575 return SWIG_Python_InitShadowInstance(args
);
25578 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25579 PyObject
*resultobj
= 0;
25580 wxGraphicsBrush
*result
= 0 ;
25582 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25584 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25594 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25595 PyObject
*resultobj
= 0;
25596 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25599 PyObject
*swig_obj
[1] ;
25601 if (!args
) SWIG_fail
;
25602 swig_obj
[0] = args
;
25603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25604 if (!SWIG_IsOK(res1
)) {
25605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25607 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= SWIG_Py_Void();
25620 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25623 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25624 return SWIG_Py_Void();
25627 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25628 return SWIG_Python_InitShadowInstance(args
);
25631 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25632 PyObject
*resultobj
= 0;
25633 wxGraphicsFont
*result
= 0 ;
25635 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25637 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25647 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25648 PyObject
*resultobj
= 0;
25649 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25652 PyObject
*swig_obj
[1] ;
25654 if (!args
) SWIG_fail
;
25655 swig_obj
[0] = args
;
25656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25657 if (!SWIG_IsOK(res1
)) {
25658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25660 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= SWIG_Py_Void();
25673 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25676 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25677 return SWIG_Py_Void();
25680 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25681 return SWIG_Python_InitShadowInstance(args
);
25684 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25685 PyObject
*resultobj
= 0;
25686 wxGraphicsMatrix
*result
= 0 ;
25688 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25690 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25700 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25701 PyObject
*resultobj
= 0;
25702 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25705 PyObject
*swig_obj
[1] ;
25707 if (!args
) SWIG_fail
;
25708 swig_obj
[0] = args
;
25709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25710 if (!SWIG_IsOK(res1
)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25713 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_Py_Void();
25726 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
= 0;
25728 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25729 wxGraphicsMatrix
*arg2
= 0 ;
25734 PyObject
* obj0
= 0 ;
25735 PyObject
* obj1
= 0 ;
25736 char * kwnames
[] = {
25737 (char *) "self",(char *) "t", NULL
25740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25742 if (!SWIG_IsOK(res1
)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25745 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25747 if (!SWIG_IsOK(res2
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25753 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25755 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_Py_Void();
25765 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
= 0;
25767 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25768 wxDouble arg2
= (wxDouble
) 1.0 ;
25769 wxDouble arg3
= (wxDouble
) 0.0 ;
25770 wxDouble arg4
= (wxDouble
) 0.0 ;
25771 wxDouble arg5
= (wxDouble
) 1.0 ;
25772 wxDouble arg6
= (wxDouble
) 0.0 ;
25773 wxDouble arg7
= (wxDouble
) 0.0 ;
25788 PyObject
* obj0
= 0 ;
25789 PyObject
* obj1
= 0 ;
25790 PyObject
* obj2
= 0 ;
25791 PyObject
* obj3
= 0 ;
25792 PyObject
* obj4
= 0 ;
25793 PyObject
* obj5
= 0 ;
25794 PyObject
* obj6
= 0 ;
25795 char * kwnames
[] = {
25796 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25801 if (!SWIG_IsOK(res1
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25804 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25806 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25807 if (!SWIG_IsOK(ecode2
)) {
25808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25810 arg2
= static_cast< wxDouble
>(val2
);
25813 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25814 if (!SWIG_IsOK(ecode3
)) {
25815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25817 arg3
= static_cast< wxDouble
>(val3
);
25820 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25821 if (!SWIG_IsOK(ecode4
)) {
25822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25824 arg4
= static_cast< wxDouble
>(val4
);
25827 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25828 if (!SWIG_IsOK(ecode5
)) {
25829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25831 arg5
= static_cast< wxDouble
>(val5
);
25834 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25835 if (!SWIG_IsOK(ecode6
)) {
25836 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25838 arg6
= static_cast< wxDouble
>(val6
);
25841 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25842 if (!SWIG_IsOK(ecode7
)) {
25843 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25845 arg7
= static_cast< wxDouble
>(val7
);
25848 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 resultobj
= SWIG_Py_Void();
25858 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25859 PyObject
*resultobj
= 0;
25860 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25861 wxDouble
*arg2
= (wxDouble
*) 0 ;
25862 wxDouble
*arg3
= (wxDouble
*) 0 ;
25863 wxDouble
*arg4
= (wxDouble
*) 0 ;
25864 wxDouble
*arg5
= (wxDouble
*) 0 ;
25865 wxDouble
*arg6
= (wxDouble
*) 0 ;
25866 wxDouble
*arg7
= (wxDouble
*) 0 ;
25870 int res2
= SWIG_TMPOBJ
;
25872 int res3
= SWIG_TMPOBJ
;
25874 int res4
= SWIG_TMPOBJ
;
25876 int res5
= SWIG_TMPOBJ
;
25878 int res6
= SWIG_TMPOBJ
;
25880 int res7
= SWIG_TMPOBJ
;
25881 PyObject
*swig_obj
[1] ;
25889 if (!args
) SWIG_fail
;
25890 swig_obj
[0] = args
;
25891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25892 if (!SWIG_IsOK(res1
)) {
25893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25895 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25897 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= SWIG_Py_Void();
25901 if (SWIG_IsTmpObj(res2
)) {
25902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25904 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25907 if (SWIG_IsTmpObj(res3
)) {
25908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25910 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25913 if (SWIG_IsTmpObj(res4
)) {
25914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25916 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25919 if (SWIG_IsTmpObj(res5
)) {
25920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25922 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25925 if (SWIG_IsTmpObj(res6
)) {
25926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25928 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25931 if (SWIG_IsTmpObj(res7
)) {
25932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
25934 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
25943 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25944 PyObject
*resultobj
= 0;
25945 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25948 PyObject
*swig_obj
[1] ;
25950 if (!args
) SWIG_fail
;
25951 swig_obj
[0] = args
;
25952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25953 if (!SWIG_IsOK(res1
)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25956 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= SWIG_Py_Void();
25968 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
= 0;
25970 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25971 wxGraphicsMatrix
*arg2
= 0 ;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 char * kwnames
[] = {
25980 (char *) "self",(char *) "t", NULL
25983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25985 if (!SWIG_IsOK(res1
)) {
25986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25988 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25989 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25990 if (!SWIG_IsOK(res2
)) {
25991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25996 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25998 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26010 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26011 PyObject
*resultobj
= 0;
26012 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26016 PyObject
*swig_obj
[1] ;
26018 if (!args
) SWIG_fail
;
26019 swig_obj
[0] = args
;
26020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26021 if (!SWIG_IsOK(res1
)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26024 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26026 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26027 if (PyErr_Occurred()) SWIG_fail
;
26030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26038 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
= 0;
26040 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 PyObject
* obj2
= 0 ;
26052 char * kwnames
[] = {
26053 (char *) "self",(char *) "dx",(char *) "dy", NULL
26056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26058 if (!SWIG_IsOK(res1
)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26061 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26062 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26063 if (!SWIG_IsOK(ecode2
)) {
26064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26066 arg2
= static_cast< wxDouble
>(val2
);
26067 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26068 if (!SWIG_IsOK(ecode3
)) {
26069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26071 arg3
= static_cast< wxDouble
>(val3
);
26073 (arg1
)->Translate(arg2
,arg3
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_Py_Void();
26083 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26084 PyObject
*resultobj
= 0;
26085 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 PyObject
* obj2
= 0 ;
26097 char * kwnames
[] = {
26098 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26103 if (!SWIG_IsOK(res1
)) {
26104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26106 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26107 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26108 if (!SWIG_IsOK(ecode2
)) {
26109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26111 arg2
= static_cast< wxDouble
>(val2
);
26112 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26113 if (!SWIG_IsOK(ecode3
)) {
26114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26116 arg3
= static_cast< wxDouble
>(val3
);
26118 (arg1
)->Scale(arg2
,arg3
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= SWIG_Py_Void();
26128 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
= 0;
26130 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 char * kwnames
[] = {
26139 (char *) "self",(char *) "angle", NULL
26142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26144 if (!SWIG_IsOK(res1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26147 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26148 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26149 if (!SWIG_IsOK(ecode2
)) {
26150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26152 arg2
= static_cast< wxDouble
>(val2
);
26154 (arg1
)->Rotate(arg2
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= SWIG_Py_Void();
26164 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
= 0;
26166 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26167 wxDouble
*arg2
= (wxDouble
*) 0 ;
26168 wxDouble
*arg3
= (wxDouble
*) 0 ;
26175 PyObject
* obj0
= 0 ;
26176 PyObject
* obj1
= 0 ;
26177 PyObject
* obj2
= 0 ;
26178 char * kwnames
[] = {
26179 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26187 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26188 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26190 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26191 if (!SWIG_IsOK(ecode
)) {
26192 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26194 temp2
= static_cast< wxDouble
>(val
);
26196 res2
= SWIG_AddTmpMask(ecode
);
26198 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26200 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26201 if (!SWIG_IsOK(ecode
)) {
26202 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26204 temp3
= static_cast< wxDouble
>(val
);
26206 res3
= SWIG_AddTmpMask(ecode
);
26209 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_Py_Void();
26213 if (SWIG_IsTmpObj(res2
)) {
26214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26216 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26219 if (SWIG_IsTmpObj(res3
)) {
26220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26222 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26231 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
= 0;
26233 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26234 wxDouble
*arg2
= (wxDouble
*) 0 ;
26235 wxDouble
*arg3
= (wxDouble
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 PyObject
* obj1
= 0 ;
26244 PyObject
* obj2
= 0 ;
26245 char * kwnames
[] = {
26246 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26254 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26255 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26257 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26258 if (!SWIG_IsOK(ecode
)) {
26259 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26261 temp2
= static_cast< wxDouble
>(val
);
26263 res2
= SWIG_AddTmpMask(ecode
);
26265 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26267 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26268 if (!SWIG_IsOK(ecode
)) {
26269 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26271 temp3
= static_cast< wxDouble
>(val
);
26273 res3
= SWIG_AddTmpMask(ecode
);
26276 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= SWIG_Py_Void();
26280 if (SWIG_IsTmpObj(res2
)) {
26281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26283 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26284 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26286 if (SWIG_IsTmpObj(res3
)) {
26287 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26289 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26290 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26298 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26299 PyObject
*resultobj
= 0;
26300 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26304 PyObject
*swig_obj
[1] ;
26306 if (!args
) SWIG_fail
;
26307 swig_obj
[0] = args
;
26308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26309 if (!SWIG_IsOK(res1
)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26312 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26314 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26324 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26327 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26328 return SWIG_Py_Void();
26331 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26332 return SWIG_Python_InitShadowInstance(args
);
26335 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26336 PyObject
*resultobj
= 0;
26337 wxGraphicsPath
*result
= 0 ;
26339 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26341 if (!wxPyCheckForApp()) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26354 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26355 PyObject
*resultobj
= 0;
26356 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26359 PyObject
*swig_obj
[1] ;
26361 if (!args
) SWIG_fail
;
26362 swig_obj
[0] = args
;
26363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26364 if (!SWIG_IsOK(res1
)) {
26365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26367 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26373 resultobj
= SWIG_Py_Void();
26380 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26381 PyObject
*resultobj
= 0;
26382 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26392 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26397 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26398 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26399 if (!SWIG_IsOK(ecode2
)) {
26400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26402 arg2
= static_cast< wxDouble
>(val2
);
26403 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26404 if (!SWIG_IsOK(ecode3
)) {
26405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26407 arg3
= static_cast< wxDouble
>(val3
);
26409 (arg1
)->MoveToPoint(arg2
,arg3
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= SWIG_Py_Void();
26419 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26420 PyObject
*resultobj
= 0;
26421 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26422 wxPoint2D
*arg2
= 0 ;
26427 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26429 if (!SWIG_IsOK(res1
)) {
26430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26432 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26435 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26438 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= SWIG_Py_Void();
26448 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26452 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26455 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26458 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26462 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26467 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26468 PyObject
*resultobj
= 0;
26469 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26479 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26481 if (!SWIG_IsOK(res1
)) {
26482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26484 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26485 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26486 if (!SWIG_IsOK(ecode2
)) {
26487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26489 arg2
= static_cast< wxDouble
>(val2
);
26490 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26491 if (!SWIG_IsOK(ecode3
)) {
26492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26494 arg3
= static_cast< wxDouble
>(val3
);
26496 (arg1
)->AddLineToPoint(arg2
,arg3
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 resultobj
= SWIG_Py_Void();
26506 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26507 PyObject
*resultobj
= 0;
26508 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26509 wxPoint2D
*arg2
= 0 ;
26514 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26516 if (!SWIG_IsOK(res1
)) {
26517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26519 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26522 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26525 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= SWIG_Py_Void();
26535 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26539 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26542 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26545 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26549 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26554 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26555 PyObject
*resultobj
= 0;
26556 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26578 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26580 if (!SWIG_IsOK(res1
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26583 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26584 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26585 if (!SWIG_IsOK(ecode2
)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26588 arg2
= static_cast< wxDouble
>(val2
);
26589 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26590 if (!SWIG_IsOK(ecode3
)) {
26591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26593 arg3
= static_cast< wxDouble
>(val3
);
26594 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26595 if (!SWIG_IsOK(ecode4
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26598 arg4
= static_cast< wxDouble
>(val4
);
26599 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26600 if (!SWIG_IsOK(ecode5
)) {
26601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26603 arg5
= static_cast< wxDouble
>(val5
);
26604 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26605 if (!SWIG_IsOK(ecode6
)) {
26606 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26608 arg6
= static_cast< wxDouble
>(val6
);
26609 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26610 if (!SWIG_IsOK(ecode7
)) {
26611 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26613 arg7
= static_cast< wxDouble
>(val7
);
26615 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_Py_Void();
26625 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26626 PyObject
*resultobj
= 0;
26627 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26628 wxPoint2D
*arg2
= 0 ;
26629 wxPoint2D
*arg3
= 0 ;
26630 wxPoint2D
*arg4
= 0 ;
26637 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26639 if (!SWIG_IsOK(res1
)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26642 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26645 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26649 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26653 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26656 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= SWIG_Py_Void();
26666 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26670 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26673 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26676 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26680 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26685 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
= 0;
26687 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26688 wxGraphicsPath
*arg2
= 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char * kwnames
[] = {
26696 (char *) "self",(char *) "path", NULL
26699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26701 if (!SWIG_IsOK(res1
)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26704 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26706 if (!SWIG_IsOK(res2
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26712 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26714 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= SWIG_Py_Void();
26724 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26725 PyObject
*resultobj
= 0;
26726 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26729 PyObject
*swig_obj
[1] ;
26731 if (!args
) SWIG_fail
;
26732 swig_obj
[0] = args
;
26733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26734 if (!SWIG_IsOK(res1
)) {
26735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26737 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26739 (arg1
)->CloseSubpath();
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= SWIG_Py_Void();
26749 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26750 PyObject
*resultobj
= 0;
26751 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26755 PyObject
*swig_obj
[1] ;
26757 if (!args
) SWIG_fail
;
26758 swig_obj
[0] = args
;
26759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26763 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26765 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26775 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26776 PyObject
*resultobj
= 0;
26777 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26799 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26804 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26805 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26806 if (!SWIG_IsOK(ecode2
)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26809 arg2
= static_cast< wxDouble
>(val2
);
26810 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26811 if (!SWIG_IsOK(ecode3
)) {
26812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26814 arg3
= static_cast< wxDouble
>(val3
);
26815 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26816 if (!SWIG_IsOK(ecode4
)) {
26817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26819 arg4
= static_cast< wxDouble
>(val4
);
26820 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26821 if (!SWIG_IsOK(ecode5
)) {
26822 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26824 arg5
= static_cast< wxDouble
>(val5
);
26825 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26826 if (!SWIG_IsOK(ecode6
)) {
26827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26829 arg6
= static_cast< wxDouble
>(val6
);
26830 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26831 if (!SWIG_IsOK(ecode7
)) {
26832 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26834 arg7
= static_cast< bool >(val7
);
26836 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26839 resultobj
= SWIG_Py_Void();
26846 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26847 PyObject
*resultobj
= 0;
26848 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26849 wxPoint2D
*arg2
= 0 ;
26866 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26871 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26874 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26876 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26877 if (!SWIG_IsOK(ecode3
)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26880 arg3
= static_cast< wxDouble
>(val3
);
26881 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26882 if (!SWIG_IsOK(ecode4
)) {
26883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26885 arg4
= static_cast< wxDouble
>(val4
);
26886 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26887 if (!SWIG_IsOK(ecode5
)) {
26888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26890 arg5
= static_cast< wxDouble
>(val5
);
26891 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26892 if (!SWIG_IsOK(ecode6
)) {
26893 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26895 arg6
= static_cast< bool >(val6
);
26897 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= SWIG_Py_Void();
26907 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26911 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26914 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26917 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26921 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26926 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
= 0;
26928 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26943 PyObject
* obj0
= 0 ;
26944 PyObject
* obj1
= 0 ;
26945 PyObject
* obj2
= 0 ;
26946 PyObject
* obj3
= 0 ;
26947 PyObject
* obj4
= 0 ;
26948 char * kwnames
[] = {
26949 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26954 if (!SWIG_IsOK(res1
)) {
26955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26957 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26958 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26959 if (!SWIG_IsOK(ecode2
)) {
26960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26962 arg2
= static_cast< wxDouble
>(val2
);
26963 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26964 if (!SWIG_IsOK(ecode3
)) {
26965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26967 arg3
= static_cast< wxDouble
>(val3
);
26968 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26969 if (!SWIG_IsOK(ecode4
)) {
26970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26972 arg4
= static_cast< wxDouble
>(val4
);
26973 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26974 if (!SWIG_IsOK(ecode5
)) {
26975 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26977 arg5
= static_cast< wxDouble
>(val5
);
26979 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26980 if (PyErr_Occurred()) SWIG_fail
;
26982 resultobj
= SWIG_Py_Void();
26989 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26990 PyObject
*resultobj
= 0;
26991 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 PyObject
* obj2
= 0 ;
27009 PyObject
* obj3
= 0 ;
27010 PyObject
* obj4
= 0 ;
27011 char * kwnames
[] = {
27012 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27017 if (!SWIG_IsOK(res1
)) {
27018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27020 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27021 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27022 if (!SWIG_IsOK(ecode2
)) {
27023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27025 arg2
= static_cast< wxDouble
>(val2
);
27026 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27027 if (!SWIG_IsOK(ecode3
)) {
27028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27030 arg3
= static_cast< wxDouble
>(val3
);
27031 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27032 if (!SWIG_IsOK(ecode4
)) {
27033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27035 arg4
= static_cast< wxDouble
>(val4
);
27036 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27037 if (!SWIG_IsOK(ecode5
)) {
27038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27040 arg5
= static_cast< wxDouble
>(val5
);
27042 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_Py_Void();
27052 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
= 0;
27054 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27066 PyObject
* obj0
= 0 ;
27067 PyObject
* obj1
= 0 ;
27068 PyObject
* obj2
= 0 ;
27069 PyObject
* obj3
= 0 ;
27070 char * kwnames
[] = {
27071 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27076 if (!SWIG_IsOK(res1
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27079 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27080 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27081 if (!SWIG_IsOK(ecode2
)) {
27082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27084 arg2
= static_cast< wxDouble
>(val2
);
27085 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27086 if (!SWIG_IsOK(ecode3
)) {
27087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27089 arg3
= static_cast< wxDouble
>(val3
);
27090 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27091 if (!SWIG_IsOK(ecode4
)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27094 arg4
= static_cast< wxDouble
>(val4
);
27096 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27099 resultobj
= SWIG_Py_Void();
27106 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
= 0;
27108 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 PyObject
* obj2
= 0 ;
27129 PyObject
* obj3
= 0 ;
27130 PyObject
* obj4
= 0 ;
27131 PyObject
* obj5
= 0 ;
27132 char * kwnames
[] = {
27133 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27138 if (!SWIG_IsOK(res1
)) {
27139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27141 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27142 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27143 if (!SWIG_IsOK(ecode2
)) {
27144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27146 arg2
= static_cast< wxDouble
>(val2
);
27147 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27148 if (!SWIG_IsOK(ecode3
)) {
27149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27151 arg3
= static_cast< wxDouble
>(val3
);
27152 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27153 if (!SWIG_IsOK(ecode4
)) {
27154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27156 arg4
= static_cast< wxDouble
>(val4
);
27157 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27158 if (!SWIG_IsOK(ecode5
)) {
27159 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27161 arg5
= static_cast< wxDouble
>(val5
);
27162 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27163 if (!SWIG_IsOK(ecode6
)) {
27164 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27166 arg6
= static_cast< wxDouble
>(val6
);
27168 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27171 resultobj
= SWIG_Py_Void();
27178 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
= 0;
27180 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 PyObject
* obj2
= 0 ;
27198 PyObject
* obj3
= 0 ;
27199 PyObject
* obj4
= 0 ;
27200 char * kwnames
[] = {
27201 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27206 if (!SWIG_IsOK(res1
)) {
27207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27209 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27210 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27211 if (!SWIG_IsOK(ecode2
)) {
27212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27214 arg2
= static_cast< wxDouble
>(val2
);
27215 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27216 if (!SWIG_IsOK(ecode3
)) {
27217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27219 arg3
= static_cast< wxDouble
>(val3
);
27220 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27221 if (!SWIG_IsOK(ecode4
)) {
27222 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27224 arg4
= static_cast< wxDouble
>(val4
);
27225 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27226 if (!SWIG_IsOK(ecode5
)) {
27227 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27229 arg5
= static_cast< wxDouble
>(val5
);
27231 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_Py_Void();
27241 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
= 0;
27243 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27261 PyObject
* obj0
= 0 ;
27262 PyObject
* obj1
= 0 ;
27263 PyObject
* obj2
= 0 ;
27264 PyObject
* obj3
= 0 ;
27265 PyObject
* obj4
= 0 ;
27266 PyObject
* obj5
= 0 ;
27267 char * kwnames
[] = {
27268 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27273 if (!SWIG_IsOK(res1
)) {
27274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27276 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27277 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27278 if (!SWIG_IsOK(ecode2
)) {
27279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27281 arg2
= static_cast< wxDouble
>(val2
);
27282 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27283 if (!SWIG_IsOK(ecode3
)) {
27284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27286 arg3
= static_cast< wxDouble
>(val3
);
27287 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27288 if (!SWIG_IsOK(ecode4
)) {
27289 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27291 arg4
= static_cast< wxDouble
>(val4
);
27292 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27293 if (!SWIG_IsOK(ecode5
)) {
27294 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27296 arg5
= static_cast< wxDouble
>(val5
);
27297 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27298 if (!SWIG_IsOK(ecode6
)) {
27299 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27301 arg6
= static_cast< wxDouble
>(val6
);
27303 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27306 resultobj
= SWIG_Py_Void();
27313 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27314 PyObject
*resultobj
= 0;
27315 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27319 PyObject
*swig_obj
[1] ;
27321 if (!args
) SWIG_fail
;
27322 swig_obj
[0] = args
;
27323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27324 if (!SWIG_IsOK(res1
)) {
27325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27327 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27329 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27330 if (PyErr_Occurred()) SWIG_fail
;
27332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27339 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27340 PyObject
*resultobj
= 0;
27341 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27342 void *arg2
= (void *) 0 ;
27346 PyObject
* obj0
= 0 ;
27347 PyObject
* obj1
= 0 ;
27348 char * kwnames
[] = {
27349 (char *) "self",(char *) "p", NULL
27352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27354 if (!SWIG_IsOK(res1
)) {
27355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27357 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27358 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27359 if (!SWIG_IsOK(res2
)) {
27360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27363 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_Py_Void();
27373 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
= 0;
27375 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27376 wxGraphicsMatrix
*arg2
= 0 ;
27381 PyObject
* obj0
= 0 ;
27382 PyObject
* obj1
= 0 ;
27383 char * kwnames
[] = {
27384 (char *) "self",(char *) "matrix", NULL
27387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27392 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27394 if (!SWIG_IsOK(res2
)) {
27395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27400 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27402 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= SWIG_Py_Void();
27412 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27413 PyObject
*resultobj
= 0;
27414 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27418 PyObject
*swig_obj
[1] ;
27420 if (!args
) SWIG_fail
;
27421 swig_obj
[0] = args
;
27422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27423 if (!SWIG_IsOK(res1
)) {
27424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27426 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27428 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27438 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27439 PyObject
*resultobj
= 0;
27440 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27443 int arg4
= (int) wxODDEVEN_RULE
;
27454 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27456 if (!SWIG_IsOK(res1
)) {
27457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27459 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27460 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27461 if (!SWIG_IsOK(ecode2
)) {
27462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27464 arg2
= static_cast< wxDouble
>(val2
);
27465 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27466 if (!SWIG_IsOK(ecode3
)) {
27467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27469 arg3
= static_cast< wxDouble
>(val3
);
27471 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27472 if (!SWIG_IsOK(ecode4
)) {
27473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27475 arg4
= static_cast< int >(val4
);
27478 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27490 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27491 PyObject
*resultobj
= 0;
27492 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27493 wxPoint2D
*arg2
= 0 ;
27494 int arg3
= (int) wxODDEVEN_RULE
;
27502 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27504 if (!SWIG_IsOK(res1
)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27507 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27510 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27513 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27514 if (!SWIG_IsOK(ecode3
)) {
27515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27517 arg3
= static_cast< int >(val3
);
27520 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27532 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27536 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27538 if ((argc
>= 2) && (argc
<= 3)) {
27542 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27545 if (!_v
) goto check_1
;
27549 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27550 _v
= SWIG_CheckState(res
);
27553 if (!_v
) goto check_1
;
27555 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27559 if ((argc
>= 3) && (argc
<= 4)) {
27560 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27564 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27569 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27572 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27573 return SWIG_Py_Void();
27576 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27577 return SWIG_Python_InitShadowInstance(args
);
27580 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27581 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27586 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27587 PyObject
*pyobj
= 0;
27589 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27594 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27595 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27600 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27601 PyObject
*pyobj
= 0;
27603 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27608 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27609 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27614 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27615 PyObject
*pyobj
= 0;
27617 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27622 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27623 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27628 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27629 PyObject
*pyobj
= 0;
27631 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27636 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27637 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27642 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27643 PyObject
*pyobj
= 0;
27645 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27650 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27651 PyObject
*resultobj
= 0;
27652 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27655 PyObject
*swig_obj
[1] ;
27657 if (!args
) SWIG_fail
;
27658 swig_obj
[0] = args
;
27659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27660 if (!SWIG_IsOK(res1
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27663 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 resultobj
= SWIG_Py_Void();
27676 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27677 PyObject
*resultobj
= 0;
27678 wxWindowDC
*arg1
= 0 ;
27679 wxGraphicsContext
*result
= 0 ;
27683 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27685 if (!SWIG_IsOK(res1
)) {
27686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27691 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27693 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27703 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27704 PyObject
*resultobj
= 0;
27705 wxWindow
*arg1
= (wxWindow
*) 0 ;
27706 wxGraphicsContext
*result
= 0 ;
27710 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27712 if (!SWIG_IsOK(res1
)) {
27713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27715 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27717 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27727 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27731 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27736 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27737 _v
= SWIG_CheckState(res
);
27739 if (!_v
) goto check_1
;
27740 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27745 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27749 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27754 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27755 PyObject
*resultobj
= 0;
27756 wxGraphicsContext
*result
= 0 ;
27758 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27760 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27761 if (PyErr_Occurred()) SWIG_fail
;
27763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27770 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
= 0;
27772 void *arg1
= (void *) 0 ;
27773 wxGraphicsContext
*result
= 0 ;
27775 PyObject
* obj0
= 0 ;
27776 char * kwnames
[] = {
27777 (char *) "context", NULL
27780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27781 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27782 if (!SWIG_IsOK(res1
)) {
27783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27786 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27796 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
= 0;
27798 void *arg1
= (void *) 0 ;
27799 wxGraphicsContext
*result
= 0 ;
27801 PyObject
* obj0
= 0 ;
27802 char * kwnames
[] = {
27803 (char *) "window", NULL
27806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27807 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27808 if (!SWIG_IsOK(res1
)) {
27809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27812 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27822 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27823 PyObject
*resultobj
= 0;
27824 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27825 wxGraphicsPath result
;
27828 PyObject
*swig_obj
[1] ;
27830 if (!args
) SWIG_fail
;
27831 swig_obj
[0] = args
;
27832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27833 if (!SWIG_IsOK(res1
)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27836 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27838 result
= (arg1
)->CreatePath();
27839 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27848 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27849 PyObject
*resultobj
= 0;
27850 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27852 wxGraphicsPen result
;
27857 PyObject
* obj0
= 0 ;
27858 PyObject
* obj1
= 0 ;
27859 char * kwnames
[] = {
27860 (char *) "self",(char *) "pen", NULL
27863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27865 if (!SWIG_IsOK(res1
)) {
27866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27868 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27870 if (!SWIG_IsOK(res2
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27876 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27878 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27879 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27888 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
= 0;
27890 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27891 wxBrush
*arg2
= 0 ;
27892 wxGraphicsBrush result
;
27897 PyObject
* obj0
= 0 ;
27898 PyObject
* obj1
= 0 ;
27899 char * kwnames
[] = {
27900 (char *) "self",(char *) "brush", NULL
27903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) 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_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27908 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27910 if (!SWIG_IsOK(res2
)) {
27911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27916 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27918 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27921 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27928 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27929 PyObject
*resultobj
= 0;
27930 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27935 wxColour
*arg6
= 0 ;
27936 wxColour
*arg7
= 0 ;
27937 wxGraphicsBrush result
;
27950 PyObject
* obj0
= 0 ;
27951 PyObject
* obj1
= 0 ;
27952 PyObject
* obj2
= 0 ;
27953 PyObject
* obj3
= 0 ;
27954 PyObject
* obj4
= 0 ;
27955 PyObject
* obj5
= 0 ;
27956 PyObject
* obj6
= 0 ;
27957 char * kwnames
[] = {
27958 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27963 if (!SWIG_IsOK(res1
)) {
27964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27966 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27967 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27968 if (!SWIG_IsOK(ecode2
)) {
27969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27971 arg2
= static_cast< wxDouble
>(val2
);
27972 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27973 if (!SWIG_IsOK(ecode3
)) {
27974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27976 arg3
= static_cast< wxDouble
>(val3
);
27977 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27978 if (!SWIG_IsOK(ecode4
)) {
27979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27981 arg4
= static_cast< wxDouble
>(val4
);
27982 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27983 if (!SWIG_IsOK(ecode5
)) {
27984 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27986 arg5
= static_cast< wxDouble
>(val5
);
27989 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27993 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27996 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27997 if (PyErr_Occurred()) SWIG_fail
;
27999 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28006 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28007 PyObject
*resultobj
= 0;
28008 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28014 wxColour
*arg7
= 0 ;
28015 wxColour
*arg8
= 0 ;
28016 wxGraphicsBrush result
;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28033 PyObject
* obj2
= 0 ;
28034 PyObject
* obj3
= 0 ;
28035 PyObject
* obj4
= 0 ;
28036 PyObject
* obj5
= 0 ;
28037 PyObject
* obj6
= 0 ;
28038 PyObject
* obj7
= 0 ;
28039 char * kwnames
[] = {
28040 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28045 if (!SWIG_IsOK(res1
)) {
28046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28048 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28049 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28050 if (!SWIG_IsOK(ecode2
)) {
28051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28053 arg2
= static_cast< wxDouble
>(val2
);
28054 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28055 if (!SWIG_IsOK(ecode3
)) {
28056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28058 arg3
= static_cast< wxDouble
>(val3
);
28059 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28060 if (!SWIG_IsOK(ecode4
)) {
28061 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28063 arg4
= static_cast< wxDouble
>(val4
);
28064 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28065 if (!SWIG_IsOK(ecode5
)) {
28066 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28068 arg5
= static_cast< wxDouble
>(val5
);
28069 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28070 if (!SWIG_IsOK(ecode6
)) {
28071 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28073 arg6
= static_cast< wxDouble
>(val6
);
28076 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28080 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28083 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28084 if (PyErr_Occurred()) SWIG_fail
;
28086 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28093 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28094 PyObject
*resultobj
= 0;
28095 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28097 wxColour
const &arg3_defvalue
= *wxBLACK
;
28098 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28099 wxGraphicsFont result
;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 PyObject
* obj2
= 0 ;
28108 char * kwnames
[] = {
28109 (char *) "self",(char *) "font",(char *) "col", NULL
28112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28114 if (!SWIG_IsOK(res1
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28117 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28119 if (!SWIG_IsOK(res2
)) {
28120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28125 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28129 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28133 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28136 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28143 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
= 0;
28145 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28146 wxDouble arg2
= (wxDouble
) 1.0 ;
28147 wxDouble arg3
= (wxDouble
) 0.0 ;
28148 wxDouble arg4
= (wxDouble
) 0.0 ;
28149 wxDouble arg5
= (wxDouble
) 1.0 ;
28150 wxDouble arg6
= (wxDouble
) 0.0 ;
28151 wxDouble arg7
= (wxDouble
) 0.0 ;
28152 wxGraphicsMatrix result
;
28167 PyObject
* obj0
= 0 ;
28168 PyObject
* obj1
= 0 ;
28169 PyObject
* obj2
= 0 ;
28170 PyObject
* obj3
= 0 ;
28171 PyObject
* obj4
= 0 ;
28172 PyObject
* obj5
= 0 ;
28173 PyObject
* obj6
= 0 ;
28174 char * kwnames
[] = {
28175 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28180 if (!SWIG_IsOK(res1
)) {
28181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28183 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28185 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28186 if (!SWIG_IsOK(ecode2
)) {
28187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28189 arg2
= static_cast< wxDouble
>(val2
);
28192 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28193 if (!SWIG_IsOK(ecode3
)) {
28194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28196 arg3
= static_cast< wxDouble
>(val3
);
28199 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28200 if (!SWIG_IsOK(ecode4
)) {
28201 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28203 arg4
= static_cast< wxDouble
>(val4
);
28206 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28207 if (!SWIG_IsOK(ecode5
)) {
28208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28210 arg5
= static_cast< wxDouble
>(val5
);
28213 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28214 if (!SWIG_IsOK(ecode6
)) {
28215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28217 arg6
= static_cast< wxDouble
>(val6
);
28220 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28221 if (!SWIG_IsOK(ecode7
)) {
28222 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28224 arg7
= static_cast< wxDouble
>(val7
);
28227 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28237 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28238 PyObject
*resultobj
= 0;
28239 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28242 PyObject
*swig_obj
[1] ;
28244 if (!args
) SWIG_fail
;
28245 swig_obj
[0] = args
;
28246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28247 if (!SWIG_IsOK(res1
)) {
28248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28250 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28252 (arg1
)->PushState();
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= SWIG_Py_Void();
28262 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28263 PyObject
*resultobj
= 0;
28264 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28267 PyObject
*swig_obj
[1] ;
28269 if (!args
) SWIG_fail
;
28270 swig_obj
[0] = args
;
28271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28272 if (!SWIG_IsOK(res1
)) {
28273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28275 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28277 (arg1
)->PopState();
28278 if (PyErr_Occurred()) SWIG_fail
;
28280 resultobj
= SWIG_Py_Void();
28287 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
= 0;
28289 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28290 wxRegion
*arg2
= 0 ;
28295 PyObject
* obj0
= 0 ;
28296 PyObject
* obj1
= 0 ;
28297 char * kwnames
[] = {
28298 (char *) "self",(char *) "region", NULL
28301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28303 if (!SWIG_IsOK(res1
)) {
28304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28306 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28307 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28308 if (!SWIG_IsOK(res2
)) {
28309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28312 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28314 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28316 (arg1
)->Clip((wxRegion
const &)*arg2
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= SWIG_Py_Void();
28326 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
= 0;
28328 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28343 PyObject
* obj0
= 0 ;
28344 PyObject
* obj1
= 0 ;
28345 PyObject
* obj2
= 0 ;
28346 PyObject
* obj3
= 0 ;
28347 PyObject
* obj4
= 0 ;
28348 char * kwnames
[] = {
28349 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28354 if (!SWIG_IsOK(res1
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28357 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28358 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28359 if (!SWIG_IsOK(ecode2
)) {
28360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28362 arg2
= static_cast< wxDouble
>(val2
);
28363 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28364 if (!SWIG_IsOK(ecode3
)) {
28365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28367 arg3
= static_cast< wxDouble
>(val3
);
28368 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28369 if (!SWIG_IsOK(ecode4
)) {
28370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28372 arg4
= static_cast< wxDouble
>(val4
);
28373 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28374 if (!SWIG_IsOK(ecode5
)) {
28375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28377 arg5
= static_cast< wxDouble
>(val5
);
28379 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28380 if (PyErr_Occurred()) SWIG_fail
;
28382 resultobj
= SWIG_Py_Void();
28389 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28390 PyObject
*resultobj
= 0;
28391 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28394 PyObject
*swig_obj
[1] ;
28396 if (!args
) SWIG_fail
;
28397 swig_obj
[0] = args
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28402 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28404 (arg1
)->ResetClip();
28405 if (PyErr_Occurred()) SWIG_fail
;
28407 resultobj
= SWIG_Py_Void();
28414 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28415 PyObject
*resultobj
= 0;
28416 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28420 PyObject
*swig_obj
[1] ;
28422 if (!args
) SWIG_fail
;
28423 swig_obj
[0] = args
;
28424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28425 if (!SWIG_IsOK(res1
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28428 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28430 result
= (void *)(arg1
)->GetNativeContext();
28431 if (PyErr_Occurred()) SWIG_fail
;
28433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28440 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28441 PyObject
*resultobj
= 0;
28442 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28446 PyObject
*swig_obj
[1] ;
28448 if (!args
) SWIG_fail
;
28449 swig_obj
[0] = args
;
28450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28451 if (!SWIG_IsOK(res1
)) {
28452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28454 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28456 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 resultobj
= SWIG_From_int(static_cast< int >(result
));
28466 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
= 0;
28468 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 char * kwnames
[] = {
28478 (char *) "self",(char *) "function", NULL
28481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28483 if (!SWIG_IsOK(res1
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28486 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28488 if (!SWIG_IsOK(ecode2
)) {
28489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28491 arg2
= static_cast< int >(val2
);
28493 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28505 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28506 PyObject
*resultobj
= 0;
28507 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28516 PyObject
* obj0
= 0 ;
28517 PyObject
* obj1
= 0 ;
28518 PyObject
* obj2
= 0 ;
28519 char * kwnames
[] = {
28520 (char *) "self",(char *) "dx",(char *) "dy", NULL
28523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28525 if (!SWIG_IsOK(res1
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28528 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28529 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28530 if (!SWIG_IsOK(ecode2
)) {
28531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28533 arg2
= static_cast< wxDouble
>(val2
);
28534 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28535 if (!SWIG_IsOK(ecode3
)) {
28536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28538 arg3
= static_cast< wxDouble
>(val3
);
28540 (arg1
)->Translate(arg2
,arg3
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= SWIG_Py_Void();
28550 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
= 0;
28552 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28561 PyObject
* obj0
= 0 ;
28562 PyObject
* obj1
= 0 ;
28563 PyObject
* obj2
= 0 ;
28564 char * kwnames
[] = {
28565 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28570 if (!SWIG_IsOK(res1
)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28573 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28574 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28575 if (!SWIG_IsOK(ecode2
)) {
28576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28578 arg2
= static_cast< wxDouble
>(val2
);
28579 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28580 if (!SWIG_IsOK(ecode3
)) {
28581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28583 arg3
= static_cast< wxDouble
>(val3
);
28585 (arg1
)->Scale(arg2
,arg3
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= SWIG_Py_Void();
28595 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28596 PyObject
*resultobj
= 0;
28597 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28603 PyObject
* obj0
= 0 ;
28604 PyObject
* obj1
= 0 ;
28605 char * kwnames
[] = {
28606 (char *) "self",(char *) "angle", NULL
28609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28611 if (!SWIG_IsOK(res1
)) {
28612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28614 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28615 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28616 if (!SWIG_IsOK(ecode2
)) {
28617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28619 arg2
= static_cast< wxDouble
>(val2
);
28621 (arg1
)->Rotate(arg2
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28624 resultobj
= SWIG_Py_Void();
28631 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
= 0;
28633 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28634 wxGraphicsMatrix
*arg2
= 0 ;
28639 PyObject
* obj0
= 0 ;
28640 PyObject
* obj1
= 0 ;
28641 char * kwnames
[] = {
28642 (char *) "self",(char *) "matrix", NULL
28645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28647 if (!SWIG_IsOK(res1
)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28650 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28652 if (!SWIG_IsOK(res2
)) {
28653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28658 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28660 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= SWIG_Py_Void();
28670 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
= 0;
28672 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28673 wxGraphicsMatrix
*arg2
= 0 ;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 char * kwnames
[] = {
28681 (char *) "self",(char *) "matrix", NULL
28684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28686 if (!SWIG_IsOK(res1
)) {
28687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28689 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28691 if (!SWIG_IsOK(res2
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28697 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28699 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28702 resultobj
= SWIG_Py_Void();
28709 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28710 PyObject
*resultobj
= 0;
28711 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28712 wxGraphicsMatrix result
;
28715 PyObject
*swig_obj
[1] ;
28717 if (!args
) SWIG_fail
;
28718 swig_obj
[0] = args
;
28719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28720 if (!SWIG_IsOK(res1
)) {
28721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28723 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28725 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28726 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28735 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28736 PyObject
*resultobj
= 0;
28737 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28738 wxGraphicsPen
*arg2
= 0 ;
28744 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28746 if (!SWIG_IsOK(res1
)) {
28747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28749 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28750 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28751 if (!SWIG_IsOK(res2
)) {
28752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28757 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28759 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 resultobj
= SWIG_Py_Void();
28769 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28770 PyObject
*resultobj
= 0;
28771 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28778 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28780 if (!SWIG_IsOK(res1
)) {
28781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28783 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28784 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28785 if (!SWIG_IsOK(res2
)) {
28786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28791 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28793 (arg1
)->SetPen((wxPen
const &)*arg2
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28796 resultobj
= SWIG_Py_Void();
28803 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28807 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28812 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28813 _v
= SWIG_CheckState(res
);
28815 if (!_v
) goto check_1
;
28816 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28821 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28825 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28830 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28831 PyObject
*resultobj
= 0;
28832 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28833 wxGraphicsBrush
*arg2
= 0 ;
28839 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28841 if (!SWIG_IsOK(res1
)) {
28842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28844 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28845 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28846 if (!SWIG_IsOK(res2
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28852 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28854 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= SWIG_Py_Void();
28864 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28865 PyObject
*resultobj
= 0;
28866 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28867 wxBrush
*arg2
= 0 ;
28873 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28875 if (!SWIG_IsOK(res1
)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28878 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28879 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28880 if (!SWIG_IsOK(res2
)) {
28881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28886 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28888 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_Py_Void();
28898 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28902 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28907 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28908 _v
= SWIG_CheckState(res
);
28910 if (!_v
) goto check_1
;
28911 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28916 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28920 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28925 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28926 PyObject
*resultobj
= 0;
28927 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28928 wxGraphicsFont
*arg2
= 0 ;
28934 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28936 if (!SWIG_IsOK(res1
)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28939 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28940 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28941 if (!SWIG_IsOK(res2
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28947 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28949 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= SWIG_Py_Void();
28959 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28960 PyObject
*resultobj
= 0;
28961 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28963 wxColour
const &arg3_defvalue
= *wxBLACK
;
28964 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28971 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28973 if (!SWIG_IsOK(res1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28976 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28977 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28978 if (!SWIG_IsOK(res2
)) {
28979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28984 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28988 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28992 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_Py_Void();
29002 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29006 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29011 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29012 _v
= SWIG_CheckState(res
);
29014 if (!_v
) goto check_1
;
29015 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29019 if ((argc
>= 2) && (argc
<= 3)) {
29020 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29024 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29029 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
= 0;
29031 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29032 wxGraphicsPath
*arg2
= 0 ;
29037 PyObject
* obj0
= 0 ;
29038 PyObject
* obj1
= 0 ;
29039 char * kwnames
[] = {
29040 (char *) "self",(char *) "path", NULL
29043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29045 if (!SWIG_IsOK(res1
)) {
29046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29048 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29050 if (!SWIG_IsOK(res2
)) {
29051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29056 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29058 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= SWIG_Py_Void();
29068 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29069 PyObject
*resultobj
= 0;
29070 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29071 wxGraphicsPath
*arg2
= 0 ;
29072 int arg3
= (int) wxODDEVEN_RULE
;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 PyObject
* obj2
= 0 ;
29082 char * kwnames
[] = {
29083 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29088 if (!SWIG_IsOK(res1
)) {
29089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29091 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29093 if (!SWIG_IsOK(res2
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29099 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29102 if (!SWIG_IsOK(ecode3
)) {
29103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29105 arg3
= static_cast< int >(val3
);
29108 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29109 if (PyErr_Occurred()) SWIG_fail
;
29111 resultobj
= SWIG_Py_Void();
29118 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29119 PyObject
*resultobj
= 0;
29120 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29121 wxGraphicsPath
*arg2
= 0 ;
29122 int arg3
= (int) wxODDEVEN_RULE
;
29129 PyObject
* obj0
= 0 ;
29130 PyObject
* obj1
= 0 ;
29131 PyObject
* obj2
= 0 ;
29132 char * kwnames
[] = {
29133 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29141 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29142 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29143 if (!SWIG_IsOK(res2
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29149 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29152 if (!SWIG_IsOK(ecode3
)) {
29153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29155 arg3
= static_cast< int >(val3
);
29158 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 resultobj
= SWIG_Py_Void();
29168 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29169 PyObject
*resultobj
= 0;
29170 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29171 wxString
*arg2
= 0 ;
29174 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29175 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29178 bool temp2
= false ;
29185 PyObject
* obj0
= 0 ;
29186 PyObject
* obj1
= 0 ;
29187 PyObject
* obj2
= 0 ;
29188 PyObject
* obj3
= 0 ;
29189 PyObject
* obj4
= 0 ;
29190 char * kwnames
[] = {
29191 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29199 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29201 arg2
= wxString_in_helper(obj1
);
29202 if (arg2
== NULL
) SWIG_fail
;
29205 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29206 if (!SWIG_IsOK(ecode3
)) {
29207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29209 arg3
= static_cast< wxDouble
>(val3
);
29210 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29211 if (!SWIG_IsOK(ecode4
)) {
29212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29214 arg4
= static_cast< wxDouble
>(val4
);
29216 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29217 if (!SWIG_IsOK(res5
)) {
29218 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29223 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29226 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 resultobj
= SWIG_Py_Void();
29244 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
= 0;
29246 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29247 wxString
*arg2
= 0 ;
29251 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29252 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29255 bool temp2
= false ;
29264 PyObject
* obj0
= 0 ;
29265 PyObject
* obj1
= 0 ;
29266 PyObject
* obj2
= 0 ;
29267 PyObject
* obj3
= 0 ;
29268 PyObject
* obj4
= 0 ;
29269 PyObject
* obj5
= 0 ;
29270 char * kwnames
[] = {
29271 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29276 if (!SWIG_IsOK(res1
)) {
29277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29279 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29281 arg2
= wxString_in_helper(obj1
);
29282 if (arg2
== NULL
) SWIG_fail
;
29285 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29286 if (!SWIG_IsOK(ecode3
)) {
29287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29289 arg3
= static_cast< wxDouble
>(val3
);
29290 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29291 if (!SWIG_IsOK(ecode4
)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29294 arg4
= static_cast< wxDouble
>(val4
);
29295 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29296 if (!SWIG_IsOK(ecode5
)) {
29297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29299 arg5
= static_cast< wxDouble
>(val5
);
29301 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29302 if (!SWIG_IsOK(res6
)) {
29303 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29308 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29311 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29314 resultobj
= SWIG_Py_Void();
29329 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29330 PyObject
*resultobj
= 0;
29331 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29332 wxString
*arg2
= 0 ;
29333 wxDouble
*arg3
= (wxDouble
*) 0 ;
29334 wxDouble
*arg4
= (wxDouble
*) 0 ;
29335 wxDouble
*arg5
= (wxDouble
*) 0 ;
29336 wxDouble
*arg6
= (wxDouble
*) 0 ;
29339 bool temp2
= false ;
29341 int res3
= SWIG_TMPOBJ
;
29343 int res4
= SWIG_TMPOBJ
;
29345 int res5
= SWIG_TMPOBJ
;
29347 int res6
= SWIG_TMPOBJ
;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 char * kwnames
[] = {
29351 (char *) "self",(char *) "text", NULL
29358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29360 if (!SWIG_IsOK(res1
)) {
29361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29363 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29365 arg2
= wxString_in_helper(obj1
);
29366 if (arg2
== NULL
) SWIG_fail
;
29370 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29373 resultobj
= SWIG_Py_Void();
29374 if (SWIG_IsTmpObj(res3
)) {
29375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29377 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29380 if (SWIG_IsTmpObj(res4
)) {
29381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29383 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29386 if (SWIG_IsTmpObj(res5
)) {
29387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29389 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29392 if (SWIG_IsTmpObj(res6
)) {
29393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29395 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29412 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29413 PyObject
*resultobj
= 0;
29414 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29415 wxString
*arg2
= 0 ;
29416 PyObject
*result
= 0 ;
29419 bool temp2
= false ;
29420 PyObject
* obj0
= 0 ;
29421 PyObject
* obj1
= 0 ;
29422 char * kwnames
[] = {
29423 (char *) "self",(char *) "text", NULL
29426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29428 if (!SWIG_IsOK(res1
)) {
29429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29431 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29433 arg2
= wxString_in_helper(obj1
);
29434 if (arg2
== NULL
) SWIG_fail
;
29438 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= result
;
29456 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
= 0;
29458 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29459 wxString
*arg2
= 0 ;
29460 wxArrayDouble result
;
29463 bool temp2
= false ;
29464 PyObject
* obj0
= 0 ;
29465 PyObject
* obj1
= 0 ;
29466 char * kwnames
[] = {
29467 (char *) "self",(char *) "text", NULL
29470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29472 if (!SWIG_IsOK(res1
)) {
29473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29475 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29477 arg2
= wxString_in_helper(obj1
);
29478 if (arg2
== NULL
) SWIG_fail
;
29482 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 resultobj
= wxArrayDouble2PyList_helper(result
);
29502 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29503 PyObject
*resultobj
= 0;
29504 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29505 wxBitmap
*arg2
= 0 ;
29522 PyObject
* obj0
= 0 ;
29523 PyObject
* obj1
= 0 ;
29524 PyObject
* obj2
= 0 ;
29525 PyObject
* obj3
= 0 ;
29526 PyObject
* obj4
= 0 ;
29527 PyObject
* obj5
= 0 ;
29528 char * kwnames
[] = {
29529 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29534 if (!SWIG_IsOK(res1
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29537 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29539 if (!SWIG_IsOK(res2
)) {
29540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29545 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29546 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29547 if (!SWIG_IsOK(ecode3
)) {
29548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29550 arg3
= static_cast< wxDouble
>(val3
);
29551 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29552 if (!SWIG_IsOK(ecode4
)) {
29553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29555 arg4
= static_cast< wxDouble
>(val4
);
29556 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29557 if (!SWIG_IsOK(ecode5
)) {
29558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29560 arg5
= static_cast< wxDouble
>(val5
);
29561 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29562 if (!SWIG_IsOK(ecode6
)) {
29563 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29565 arg6
= static_cast< wxDouble
>(val6
);
29567 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= SWIG_Py_Void();
29577 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29578 PyObject
*resultobj
= 0;
29579 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29597 PyObject
* obj0
= 0 ;
29598 PyObject
* obj1
= 0 ;
29599 PyObject
* obj2
= 0 ;
29600 PyObject
* obj3
= 0 ;
29601 PyObject
* obj4
= 0 ;
29602 PyObject
* obj5
= 0 ;
29603 char * kwnames
[] = {
29604 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29609 if (!SWIG_IsOK(res1
)) {
29610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29612 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29614 if (!SWIG_IsOK(res2
)) {
29615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29620 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29621 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29622 if (!SWIG_IsOK(ecode3
)) {
29623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29625 arg3
= static_cast< wxDouble
>(val3
);
29626 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29627 if (!SWIG_IsOK(ecode4
)) {
29628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29630 arg4
= static_cast< wxDouble
>(val4
);
29631 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29632 if (!SWIG_IsOK(ecode5
)) {
29633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29635 arg5
= static_cast< wxDouble
>(val5
);
29636 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29637 if (!SWIG_IsOK(ecode6
)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29640 arg6
= static_cast< wxDouble
>(val6
);
29642 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29645 resultobj
= SWIG_Py_Void();
29652 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29653 PyObject
*resultobj
= 0;
29654 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29669 PyObject
* obj0
= 0 ;
29670 PyObject
* obj1
= 0 ;
29671 PyObject
* obj2
= 0 ;
29672 PyObject
* obj3
= 0 ;
29673 PyObject
* obj4
= 0 ;
29674 char * kwnames
[] = {
29675 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29680 if (!SWIG_IsOK(res1
)) {
29681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29683 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29684 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29685 if (!SWIG_IsOK(ecode2
)) {
29686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29688 arg2
= static_cast< wxDouble
>(val2
);
29689 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29690 if (!SWIG_IsOK(ecode3
)) {
29691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29693 arg3
= static_cast< wxDouble
>(val3
);
29694 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29695 if (!SWIG_IsOK(ecode4
)) {
29696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29698 arg4
= static_cast< wxDouble
>(val4
);
29699 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29700 if (!SWIG_IsOK(ecode5
)) {
29701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29703 arg5
= static_cast< wxDouble
>(val5
);
29705 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29708 resultobj
= SWIG_Py_Void();
29715 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
= 0;
29717 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29719 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char * kwnames
[] = {
29725 (char *) "self",(char *) "points", NULL
29728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29730 if (!SWIG_IsOK(res1
)) {
29731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29733 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29735 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29736 if (arg3
== NULL
) SWIG_fail
;
29739 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29742 resultobj
= SWIG_Py_Void();
29744 if (arg3
) delete [] arg3
;
29749 if (arg3
) delete [] arg3
;
29755 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
= 0;
29757 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29758 PyObject
*arg2
= (PyObject
*) 0 ;
29759 PyObject
*arg3
= (PyObject
*) 0 ;
29762 PyObject
* obj0
= 0 ;
29763 PyObject
* obj1
= 0 ;
29764 PyObject
* obj2
= 0 ;
29765 char * kwnames
[] = {
29766 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29771 if (!SWIG_IsOK(res1
)) {
29772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29774 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29778 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29779 if (PyErr_Occurred()) SWIG_fail
;
29781 resultobj
= SWIG_Py_Void();
29788 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29789 PyObject
*resultobj
= 0;
29790 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29792 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29793 int arg4
= (int) wxODDEVEN_RULE
;
29798 PyObject
* obj0
= 0 ;
29799 PyObject
* obj1
= 0 ;
29800 PyObject
* obj2
= 0 ;
29801 char * kwnames
[] = {
29802 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29807 if (!SWIG_IsOK(res1
)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29810 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29812 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29813 if (arg3
== NULL
) SWIG_fail
;
29816 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29817 if (!SWIG_IsOK(ecode4
)) {
29818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29820 arg4
= static_cast< int >(val4
);
29823 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= SWIG_Py_Void();
29828 if (arg3
) delete [] arg3
;
29833 if (arg3
) delete [] arg3
;
29839 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
= 0;
29841 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 PyObject
* obj2
= 0 ;
29859 PyObject
* obj3
= 0 ;
29860 PyObject
* obj4
= 0 ;
29861 char * kwnames
[] = {
29862 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29867 if (!SWIG_IsOK(res1
)) {
29868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29870 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29871 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29872 if (!SWIG_IsOK(ecode2
)) {
29873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29875 arg2
= static_cast< wxDouble
>(val2
);
29876 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29877 if (!SWIG_IsOK(ecode3
)) {
29878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29880 arg3
= static_cast< wxDouble
>(val3
);
29881 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29882 if (!SWIG_IsOK(ecode4
)) {
29883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29885 arg4
= static_cast< wxDouble
>(val4
);
29886 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29887 if (!SWIG_IsOK(ecode5
)) {
29888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29890 arg5
= static_cast< wxDouble
>(val5
);
29892 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29895 resultobj
= SWIG_Py_Void();
29902 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29903 PyObject
*resultobj
= 0;
29904 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 PyObject
* obj2
= 0 ;
29922 PyObject
* obj3
= 0 ;
29923 PyObject
* obj4
= 0 ;
29924 char * kwnames
[] = {
29925 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29930 if (!SWIG_IsOK(res1
)) {
29931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29933 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29934 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29935 if (!SWIG_IsOK(ecode2
)) {
29936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29938 arg2
= static_cast< wxDouble
>(val2
);
29939 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29940 if (!SWIG_IsOK(ecode3
)) {
29941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29943 arg3
= static_cast< wxDouble
>(val3
);
29944 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29945 if (!SWIG_IsOK(ecode4
)) {
29946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29948 arg4
= static_cast< wxDouble
>(val4
);
29949 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29950 if (!SWIG_IsOK(ecode5
)) {
29951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29953 arg5
= static_cast< wxDouble
>(val5
);
29955 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29958 resultobj
= SWIG_Py_Void();
29965 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
= 0;
29967 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 PyObject
* obj2
= 0 ;
29988 PyObject
* obj3
= 0 ;
29989 PyObject
* obj4
= 0 ;
29990 PyObject
* obj5
= 0 ;
29991 char * kwnames
[] = {
29992 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29997 if (!SWIG_IsOK(res1
)) {
29998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30000 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30001 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30002 if (!SWIG_IsOK(ecode2
)) {
30003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30005 arg2
= static_cast< wxDouble
>(val2
);
30006 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30007 if (!SWIG_IsOK(ecode3
)) {
30008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30010 arg3
= static_cast< wxDouble
>(val3
);
30011 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30012 if (!SWIG_IsOK(ecode4
)) {
30013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30015 arg4
= static_cast< wxDouble
>(val4
);
30016 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30017 if (!SWIG_IsOK(ecode5
)) {
30018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30020 arg5
= static_cast< wxDouble
>(val5
);
30021 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30022 if (!SWIG_IsOK(ecode6
)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30025 arg6
= static_cast< wxDouble
>(val6
);
30027 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= SWIG_Py_Void();
30037 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30038 PyObject
*resultobj
= 0;
30039 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30043 PyObject
*swig_obj
[1] ;
30045 if (!args
) SWIG_fail
;
30046 swig_obj
[0] = args
;
30047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30048 if (!SWIG_IsOK(res1
)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30051 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30053 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30054 if (PyErr_Occurred()) SWIG_fail
;
30057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30065 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30068 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30069 return SWIG_Py_Void();
30072 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30073 PyObject
*resultobj
= 0;
30074 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30077 PyObject
*swig_obj
[1] ;
30079 if (!args
) SWIG_fail
;
30080 swig_obj
[0] = args
;
30081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30082 if (!SWIG_IsOK(res1
)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30085 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30091 resultobj
= SWIG_Py_Void();
30098 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30099 PyObject
*resultobj
= 0;
30100 wxGraphicsRenderer
*result
= 0 ;
30102 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30104 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30105 if (PyErr_Occurred()) SWIG_fail
;
30107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30114 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30115 PyObject
*resultobj
= 0;
30116 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30117 wxWindowDC
*arg2
= 0 ;
30118 wxGraphicsContext
*result
= 0 ;
30124 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30126 if (!SWIG_IsOK(res1
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30129 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30130 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30131 if (!SWIG_IsOK(res2
)) {
30132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30137 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30139 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30149 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30150 PyObject
*resultobj
= 0;
30151 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30152 wxWindow
*arg2
= (wxWindow
*) 0 ;
30153 wxGraphicsContext
*result
= 0 ;
30159 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30161 if (!SWIG_IsOK(res1
)) {
30162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30164 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30165 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30166 if (!SWIG_IsOK(res2
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30171 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30172 if (PyErr_Occurred()) SWIG_fail
;
30174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30181 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30185 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30190 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30191 _v
= SWIG_CheckState(res
);
30193 if (!_v
) goto check_1
;
30194 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30199 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30203 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30208 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30209 PyObject
*resultobj
= 0;
30210 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30211 wxGraphicsContext
*result
= 0 ;
30214 PyObject
*swig_obj
[1] ;
30216 if (!args
) SWIG_fail
;
30217 swig_obj
[0] = args
;
30218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30219 if (!SWIG_IsOK(res1
)) {
30220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30222 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30224 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30225 if (PyErr_Occurred()) SWIG_fail
;
30227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30234 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
= 0;
30236 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30237 void *arg2
= (void *) 0 ;
30238 wxGraphicsContext
*result
= 0 ;
30242 PyObject
* obj0
= 0 ;
30243 PyObject
* obj1
= 0 ;
30244 char * kwnames
[] = {
30245 (char *) "self",(char *) "context", NULL
30248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30250 if (!SWIG_IsOK(res1
)) {
30251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30253 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30254 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30255 if (!SWIG_IsOK(res2
)) {
30256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30259 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30269 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30270 PyObject
*resultobj
= 0;
30271 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30272 void *arg2
= (void *) 0 ;
30273 wxGraphicsContext
*result
= 0 ;
30277 PyObject
* obj0
= 0 ;
30278 PyObject
* obj1
= 0 ;
30279 char * kwnames
[] = {
30280 (char *) "self",(char *) "window", NULL
30283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30285 if (!SWIG_IsOK(res1
)) {
30286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30288 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30289 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30290 if (!SWIG_IsOK(res2
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30294 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30304 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30305 PyObject
*resultobj
= 0;
30306 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30307 wxGraphicsPath result
;
30310 PyObject
*swig_obj
[1] ;
30312 if (!args
) SWIG_fail
;
30313 swig_obj
[0] = args
;
30314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30315 if (!SWIG_IsOK(res1
)) {
30316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30318 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30320 result
= (arg1
)->CreatePath();
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30330 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
= 0;
30332 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30333 wxDouble arg2
= (wxDouble
) 1.0 ;
30334 wxDouble arg3
= (wxDouble
) 0.0 ;
30335 wxDouble arg4
= (wxDouble
) 0.0 ;
30336 wxDouble arg5
= (wxDouble
) 1.0 ;
30337 wxDouble arg6
= (wxDouble
) 0.0 ;
30338 wxDouble arg7
= (wxDouble
) 0.0 ;
30339 wxGraphicsMatrix result
;
30354 PyObject
* obj0
= 0 ;
30355 PyObject
* obj1
= 0 ;
30356 PyObject
* obj2
= 0 ;
30357 PyObject
* obj3
= 0 ;
30358 PyObject
* obj4
= 0 ;
30359 PyObject
* obj5
= 0 ;
30360 PyObject
* obj6
= 0 ;
30361 char * kwnames
[] = {
30362 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30367 if (!SWIG_IsOK(res1
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30370 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30372 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30373 if (!SWIG_IsOK(ecode2
)) {
30374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30376 arg2
= static_cast< wxDouble
>(val2
);
30379 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30380 if (!SWIG_IsOK(ecode3
)) {
30381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30383 arg3
= static_cast< wxDouble
>(val3
);
30386 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30387 if (!SWIG_IsOK(ecode4
)) {
30388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30390 arg4
= static_cast< wxDouble
>(val4
);
30393 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30394 if (!SWIG_IsOK(ecode5
)) {
30395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30397 arg5
= static_cast< wxDouble
>(val5
);
30400 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30401 if (!SWIG_IsOK(ecode6
)) {
30402 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30404 arg6
= static_cast< wxDouble
>(val6
);
30407 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30408 if (!SWIG_IsOK(ecode7
)) {
30409 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30411 arg7
= static_cast< wxDouble
>(val7
);
30414 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30424 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
= 0;
30426 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30428 wxGraphicsPen result
;
30433 PyObject
* obj0
= 0 ;
30434 PyObject
* obj1
= 0 ;
30435 char * kwnames
[] = {
30436 (char *) "self",(char *) "pen", NULL
30439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30441 if (!SWIG_IsOK(res1
)) {
30442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30444 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30446 if (!SWIG_IsOK(res2
)) {
30447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30452 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30454 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30464 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30465 PyObject
*resultobj
= 0;
30466 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30467 wxBrush
*arg2
= 0 ;
30468 wxGraphicsBrush result
;
30473 PyObject
* obj0
= 0 ;
30474 PyObject
* obj1
= 0 ;
30475 char * kwnames
[] = {
30476 (char *) "self",(char *) "brush", NULL
30479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) 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_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30484 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30486 if (!SWIG_IsOK(res2
)) {
30487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30492 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30494 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30504 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
= 0;
30506 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30511 wxColour
*arg6
= 0 ;
30512 wxColour
*arg7
= 0 ;
30513 wxGraphicsBrush result
;
30526 PyObject
* obj0
= 0 ;
30527 PyObject
* obj1
= 0 ;
30528 PyObject
* obj2
= 0 ;
30529 PyObject
* obj3
= 0 ;
30530 PyObject
* obj4
= 0 ;
30531 PyObject
* obj5
= 0 ;
30532 PyObject
* obj6
= 0 ;
30533 char * kwnames
[] = {
30534 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30539 if (!SWIG_IsOK(res1
)) {
30540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30542 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30543 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30544 if (!SWIG_IsOK(ecode2
)) {
30545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30547 arg2
= static_cast< wxDouble
>(val2
);
30548 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30549 if (!SWIG_IsOK(ecode3
)) {
30550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30552 arg3
= static_cast< wxDouble
>(val3
);
30553 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30554 if (!SWIG_IsOK(ecode4
)) {
30555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30557 arg4
= static_cast< wxDouble
>(val4
);
30558 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30559 if (!SWIG_IsOK(ecode5
)) {
30560 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30562 arg5
= static_cast< wxDouble
>(val5
);
30565 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30569 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30572 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30582 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
= 0;
30584 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30590 wxColour
*arg7
= 0 ;
30591 wxColour
*arg8
= 0 ;
30592 wxGraphicsBrush result
;
30607 PyObject
* obj0
= 0 ;
30608 PyObject
* obj1
= 0 ;
30609 PyObject
* obj2
= 0 ;
30610 PyObject
* obj3
= 0 ;
30611 PyObject
* obj4
= 0 ;
30612 PyObject
* obj5
= 0 ;
30613 PyObject
* obj6
= 0 ;
30614 PyObject
* obj7
= 0 ;
30615 char * kwnames
[] = {
30616 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30621 if (!SWIG_IsOK(res1
)) {
30622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30624 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30625 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30626 if (!SWIG_IsOK(ecode2
)) {
30627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30629 arg2
= static_cast< wxDouble
>(val2
);
30630 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30631 if (!SWIG_IsOK(ecode3
)) {
30632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30634 arg3
= static_cast< wxDouble
>(val3
);
30635 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30636 if (!SWIG_IsOK(ecode4
)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30639 arg4
= static_cast< wxDouble
>(val4
);
30640 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30641 if (!SWIG_IsOK(ecode5
)) {
30642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30644 arg5
= static_cast< wxDouble
>(val5
);
30645 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30646 if (!SWIG_IsOK(ecode6
)) {
30647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30649 arg6
= static_cast< wxDouble
>(val6
);
30652 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30656 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30659 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30662 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30669 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30670 PyObject
*resultobj
= 0;
30671 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30673 wxColour
const &arg3_defvalue
= *wxBLACK
;
30674 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30675 wxGraphicsFont result
;
30681 PyObject
* obj0
= 0 ;
30682 PyObject
* obj1
= 0 ;
30683 PyObject
* obj2
= 0 ;
30684 char * kwnames
[] = {
30685 (char *) "self",(char *) "font",(char *) "col", NULL
30688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30690 if (!SWIG_IsOK(res1
)) {
30691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30693 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30695 if (!SWIG_IsOK(res2
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30701 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30705 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30709 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30710 if (PyErr_Occurred()) SWIG_fail
;
30712 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30719 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30722 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30723 return SWIG_Py_Void();
30726 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30727 PyObject
*resultobj
= 0;
30728 wxWindowDC
*arg1
= 0 ;
30729 wxGCDC
*result
= 0 ;
30733 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30735 if (!SWIG_IsOK(res1
)) {
30736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30741 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30743 if (!wxPyCheckForApp()) SWIG_fail
;
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30756 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30757 PyObject
*resultobj
= 0;
30758 wxWindow
*arg1
= (wxWindow
*) 0 ;
30759 wxGCDC
*result
= 0 ;
30763 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30765 if (!SWIG_IsOK(res1
)) {
30766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30768 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30770 if (!wxPyCheckForApp()) SWIG_fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (wxGCDC
*)new wxGCDC(arg1
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30783 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30787 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30792 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30793 _v
= SWIG_CheckState(res
);
30795 if (!_v
) goto check_1
;
30796 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30801 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30805 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30810 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30811 PyObject
*resultobj
= 0;
30812 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30815 PyObject
*swig_obj
[1] ;
30817 if (!args
) SWIG_fail
;
30818 swig_obj
[0] = args
;
30819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30820 if (!SWIG_IsOK(res1
)) {
30821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30823 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30827 if (PyErr_Occurred()) SWIG_fail
;
30829 resultobj
= SWIG_Py_Void();
30836 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30837 PyObject
*resultobj
= 0;
30838 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30839 wxGraphicsContext
*result
= 0 ;
30842 PyObject
*swig_obj
[1] ;
30844 if (!args
) SWIG_fail
;
30845 swig_obj
[0] = args
;
30846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30850 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30852 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30853 if (PyErr_Occurred()) SWIG_fail
;
30855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30862 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30863 PyObject
*resultobj
= 0;
30864 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30865 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30870 PyObject
* obj0
= 0 ;
30871 PyObject
* obj1
= 0 ;
30872 char * kwnames
[] = {
30873 (char *) "self",(char *) "ctx", NULL
30876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30878 if (!SWIG_IsOK(res1
)) {
30879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30881 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30883 if (!SWIG_IsOK(res2
)) {
30884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30886 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30888 (arg1
)->SetGraphicsContext(arg2
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= SWIG_Py_Void();
30898 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30901 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30902 return SWIG_Py_Void();
30905 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30906 return SWIG_Python_InitShadowInstance(args
);
30909 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30910 PyObject
*resultobj
= 0;
30911 wxOverlay
*result
= 0 ;
30913 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 result
= (wxOverlay
*)new wxOverlay();
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30927 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30928 PyObject
*resultobj
= 0;
30929 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30932 PyObject
*swig_obj
[1] ;
30934 if (!args
) SWIG_fail
;
30935 swig_obj
[0] = args
;
30936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30937 if (!SWIG_IsOK(res1
)) {
30938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30940 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 wxPyEndAllowThreads(__tstate
);
30946 if (PyErr_Occurred()) SWIG_fail
;
30948 resultobj
= SWIG_Py_Void();
30955 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30956 PyObject
*resultobj
= 0;
30957 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30960 PyObject
*swig_obj
[1] ;
30962 if (!args
) SWIG_fail
;
30963 swig_obj
[0] = args
;
30964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30965 if (!SWIG_IsOK(res1
)) {
30966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30968 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30975 resultobj
= SWIG_Py_Void();
30982 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30985 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30986 return SWIG_Py_Void();
30989 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30990 return SWIG_Python_InitShadowInstance(args
);
30993 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30994 PyObject
*resultobj
= 0;
30995 wxOverlay
*arg1
= 0 ;
30996 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31001 wxDCOverlay
*result
= 0 ;
31015 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31017 if (!SWIG_IsOK(res1
)) {
31018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31023 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31024 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31025 if (!SWIG_IsOK(res2
)) {
31026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31028 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31029 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31030 if (!SWIG_IsOK(ecode3
)) {
31031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31033 arg3
= static_cast< int >(val3
);
31034 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31035 if (!SWIG_IsOK(ecode4
)) {
31036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31038 arg4
= static_cast< int >(val4
);
31039 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31040 if (!SWIG_IsOK(ecode5
)) {
31041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31043 arg5
= static_cast< int >(val5
);
31044 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31045 if (!SWIG_IsOK(ecode6
)) {
31046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31048 arg6
= static_cast< int >(val6
);
31050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31051 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31052 wxPyEndAllowThreads(__tstate
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31062 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31063 PyObject
*resultobj
= 0;
31064 wxOverlay
*arg1
= 0 ;
31065 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31066 wxDCOverlay
*result
= 0 ;
31072 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31074 if (!SWIG_IsOK(res1
)) {
31075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31080 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31081 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31082 if (!SWIG_IsOK(res2
)) {
31083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31085 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31089 wxPyEndAllowThreads(__tstate
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31099 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31103 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31106 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31109 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31113 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31118 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31119 PyObject
*resultobj
= 0;
31120 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31123 PyObject
*swig_obj
[1] ;
31125 if (!args
) SWIG_fail
;
31126 swig_obj
[0] = args
;
31127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31128 if (!SWIG_IsOK(res1
)) {
31129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31131 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= SWIG_Py_Void();
31146 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31147 PyObject
*resultobj
= 0;
31148 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31151 PyObject
*swig_obj
[1] ;
31153 if (!args
) SWIG_fail
;
31154 swig_obj
[0] = args
;
31155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31156 if (!SWIG_IsOK(res1
)) {
31157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31159 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= SWIG_Py_Void();
31173 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31176 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31177 return SWIG_Py_Void();
31180 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31181 return SWIG_Python_InitShadowInstance(args
);
31184 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
= 0;
31188 int arg3
= (int) true ;
31189 int arg4
= (int) 1 ;
31190 wxImageList
*result
= 0 ;
31199 PyObject
* obj0
= 0 ;
31200 PyObject
* obj1
= 0 ;
31201 PyObject
* obj2
= 0 ;
31202 PyObject
* obj3
= 0 ;
31203 char * kwnames
[] = {
31204 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31209 if (!SWIG_IsOK(ecode1
)) {
31210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31212 arg1
= static_cast< int >(val1
);
31213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31214 if (!SWIG_IsOK(ecode2
)) {
31215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31217 arg2
= static_cast< int >(val2
);
31219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31220 if (!SWIG_IsOK(ecode3
)) {
31221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31223 arg3
= static_cast< int >(val3
);
31226 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31227 if (!SWIG_IsOK(ecode4
)) {
31228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31230 arg4
= static_cast< int >(val4
);
31233 if (!wxPyCheckForApp()) SWIG_fail
;
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31246 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31247 PyObject
*resultobj
= 0;
31248 wxImageList
*arg1
= (wxImageList
*) 0 ;
31251 PyObject
*swig_obj
[1] ;
31253 if (!args
) SWIG_fail
;
31254 swig_obj
[0] = args
;
31255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31256 if (!SWIG_IsOK(res1
)) {
31257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31259 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 wxPyEndAllowThreads(__tstate
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31267 resultobj
= SWIG_Py_Void();
31274 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31275 PyObject
*resultobj
= 0;
31276 wxImageList
*arg1
= (wxImageList
*) 0 ;
31277 wxBitmap
*arg2
= 0 ;
31278 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31279 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31287 PyObject
* obj0
= 0 ;
31288 PyObject
* obj1
= 0 ;
31289 PyObject
* obj2
= 0 ;
31290 char * kwnames
[] = {
31291 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31296 if (!SWIG_IsOK(res1
)) {
31297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31299 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31301 if (!SWIG_IsOK(res2
)) {
31302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31307 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31309 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31310 if (!SWIG_IsOK(res3
)) {
31311 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31316 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_From_int(static_cast< int >(result
));
31331 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
= 0;
31333 wxImageList
*arg1
= (wxImageList
*) 0 ;
31334 wxBitmap
*arg2
= 0 ;
31335 wxColour
*arg3
= 0 ;
31342 PyObject
* obj0
= 0 ;
31343 PyObject
* obj1
= 0 ;
31344 PyObject
* obj2
= 0 ;
31345 char * kwnames
[] = {
31346 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31351 if (!SWIG_IsOK(res1
)) {
31352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31354 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31355 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31356 if (!SWIG_IsOK(res2
)) {
31357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31362 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31365 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31369 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31373 resultobj
= SWIG_From_int(static_cast< int >(result
));
31380 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31381 PyObject
*resultobj
= 0;
31382 wxImageList
*arg1
= (wxImageList
*) 0 ;
31389 PyObject
* obj0
= 0 ;
31390 PyObject
* obj1
= 0 ;
31391 char * kwnames
[] = {
31392 (char *) "self",(char *) "icon", NULL
31395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31397 if (!SWIG_IsOK(res1
)) {
31398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31400 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31402 if (!SWIG_IsOK(res2
)) {
31403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31408 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31411 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31412 wxPyEndAllowThreads(__tstate
);
31413 if (PyErr_Occurred()) SWIG_fail
;
31415 resultobj
= SWIG_From_int(static_cast< int >(result
));
31422 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31423 PyObject
*resultobj
= 0;
31424 wxImageList
*arg1
= (wxImageList
*) 0 ;
31426 SwigValueWrapper
<wxBitmap
> result
;
31431 PyObject
* obj0
= 0 ;
31432 PyObject
* obj1
= 0 ;
31433 char * kwnames
[] = {
31434 (char *) "self",(char *) "index", NULL
31437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31439 if (!SWIG_IsOK(res1
)) {
31440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31442 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31444 if (!SWIG_IsOK(ecode2
)) {
31445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31447 arg2
= static_cast< int >(val2
);
31449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31450 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31451 wxPyEndAllowThreads(__tstate
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31454 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31461 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31462 PyObject
*resultobj
= 0;
31463 wxImageList
*arg1
= (wxImageList
*) 0 ;
31470 PyObject
* obj0
= 0 ;
31471 PyObject
* obj1
= 0 ;
31472 char * kwnames
[] = {
31473 (char *) "self",(char *) "index", NULL
31476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31478 if (!SWIG_IsOK(res1
)) {
31479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31481 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31483 if (!SWIG_IsOK(ecode2
)) {
31484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31486 arg2
= static_cast< int >(val2
);
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31493 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31500 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31501 PyObject
*resultobj
= 0;
31502 wxImageList
*arg1
= (wxImageList
*) 0 ;
31504 wxBitmap
*arg3
= 0 ;
31505 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31506 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31516 PyObject
* obj0
= 0 ;
31517 PyObject
* obj1
= 0 ;
31518 PyObject
* obj2
= 0 ;
31519 PyObject
* obj3
= 0 ;
31520 char * kwnames
[] = {
31521 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31526 if (!SWIG_IsOK(res1
)) {
31527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31529 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31531 if (!SWIG_IsOK(ecode2
)) {
31532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31534 arg2
= static_cast< int >(val2
);
31535 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31536 if (!SWIG_IsOK(res3
)) {
31537 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31542 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31544 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31545 if (!SWIG_IsOK(res4
)) {
31546 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31551 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31568 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
= 0;
31570 wxImageList
*arg1
= (wxImageList
*) 0 ;
31575 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31576 bool arg7
= (bool) (bool)false ;
31592 PyObject
* obj0
= 0 ;
31593 PyObject
* obj1
= 0 ;
31594 PyObject
* obj2
= 0 ;
31595 PyObject
* obj3
= 0 ;
31596 PyObject
* obj4
= 0 ;
31597 PyObject
* obj5
= 0 ;
31598 PyObject
* obj6
= 0 ;
31599 char * kwnames
[] = {
31600 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31605 if (!SWIG_IsOK(res1
)) {
31606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31608 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31610 if (!SWIG_IsOK(ecode2
)) {
31611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31613 arg2
= static_cast< int >(val2
);
31614 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31615 if (!SWIG_IsOK(res3
)) {
31616 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31621 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31622 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31623 if (!SWIG_IsOK(ecode4
)) {
31624 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31626 arg4
= static_cast< int >(val4
);
31627 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31628 if (!SWIG_IsOK(ecode5
)) {
31629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31631 arg5
= static_cast< int >(val5
);
31633 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31634 if (!SWIG_IsOK(ecode6
)) {
31635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31637 arg6
= static_cast< int >(val6
);
31640 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31641 if (!SWIG_IsOK(ecode7
)) {
31642 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31644 arg7
= static_cast< bool >(val7
);
31647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31648 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31649 wxPyEndAllowThreads(__tstate
);
31650 if (PyErr_Occurred()) SWIG_fail
;
31653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31661 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31662 PyObject
*resultobj
= 0;
31663 wxImageList
*arg1
= (wxImageList
*) 0 ;
31667 PyObject
*swig_obj
[1] ;
31669 if (!args
) SWIG_fail
;
31670 swig_obj
[0] = args
;
31671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31672 if (!SWIG_IsOK(res1
)) {
31673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31675 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 result
= (int)(arg1
)->GetImageCount();
31679 wxPyEndAllowThreads(__tstate
);
31680 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= SWIG_From_int(static_cast< int >(result
));
31689 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31690 PyObject
*resultobj
= 0;
31691 wxImageList
*arg1
= (wxImageList
*) 0 ;
31698 PyObject
* obj0
= 0 ;
31699 PyObject
* obj1
= 0 ;
31700 char * kwnames
[] = {
31701 (char *) "self",(char *) "index", NULL
31704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31706 if (!SWIG_IsOK(res1
)) {
31707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31709 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31711 if (!SWIG_IsOK(ecode2
)) {
31712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31714 arg2
= static_cast< int >(val2
);
31716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31717 result
= (bool)(arg1
)->Remove(arg2
);
31718 wxPyEndAllowThreads(__tstate
);
31719 if (PyErr_Occurred()) SWIG_fail
;
31722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31730 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31731 PyObject
*resultobj
= 0;
31732 wxImageList
*arg1
= (wxImageList
*) 0 ;
31736 PyObject
*swig_obj
[1] ;
31738 if (!args
) SWIG_fail
;
31739 swig_obj
[0] = args
;
31740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31741 if (!SWIG_IsOK(res1
)) {
31742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31744 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31747 result
= (bool)(arg1
)->RemoveAll();
31748 wxPyEndAllowThreads(__tstate
);
31749 if (PyErr_Occurred()) SWIG_fail
;
31752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31760 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31761 PyObject
*resultobj
= 0;
31762 wxImageList
*arg1
= (wxImageList
*) 0 ;
31771 int res3
= SWIG_TMPOBJ
;
31773 int res4
= SWIG_TMPOBJ
;
31774 PyObject
* obj0
= 0 ;
31775 PyObject
* obj1
= 0 ;
31776 char * kwnames
[] = {
31777 (char *) "self",(char *) "index", NULL
31782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31784 if (!SWIG_IsOK(res1
)) {
31785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31787 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31789 if (!SWIG_IsOK(ecode2
)) {
31790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31792 arg2
= static_cast< int >(val2
);
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31799 resultobj
= SWIG_Py_Void();
31800 if (SWIG_IsTmpObj(res3
)) {
31801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31803 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31806 if (SWIG_IsTmpObj(res4
)) {
31807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31809 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31818 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31821 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31822 return SWIG_Py_Void();
31825 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31826 return SWIG_Python_InitShadowInstance(args
);
31829 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31830 PyObject
*resultobj
= 0;
31831 wxStockGDI
*result
= 0 ;
31833 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31836 result
= (wxStockGDI
*)new wxStockGDI();
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31847 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31848 PyObject
*resultobj
= 0;
31849 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31852 PyObject
*swig_obj
[1] ;
31854 if (!args
) SWIG_fail
;
31855 swig_obj
[0] = args
;
31856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31857 if (!SWIG_IsOK(res1
)) {
31858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31860 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 wxPyEndAllowThreads(__tstate
);
31866 if (PyErr_Occurred()) SWIG_fail
;
31868 resultobj
= SWIG_Py_Void();
31875 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31876 PyObject
*resultobj
= 0;
31878 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31881 wxStockGDI::DeleteAll();
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31885 resultobj
= SWIG_Py_Void();
31892 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31893 PyObject
*resultobj
= 0;
31894 wxStockGDI
*result
= 0 ;
31896 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31901 result
= (wxStockGDI
*) &_result_ref
;
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31913 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
= 0;
31915 wxStockGDI::Item arg1
;
31916 wxBrush
*result
= 0 ;
31919 PyObject
* obj0
= 0 ;
31920 char * kwnames
[] = {
31921 (char *) "item", NULL
31924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31925 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31926 if (!SWIG_IsOK(ecode1
)) {
31927 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31929 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31932 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31943 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31944 PyObject
*resultobj
= 0;
31945 wxStockGDI::Item arg1
;
31946 wxColour
*result
= 0 ;
31949 PyObject
* obj0
= 0 ;
31950 char * kwnames
[] = {
31951 (char *) "item", NULL
31954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31955 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31956 if (!SWIG_IsOK(ecode1
)) {
31957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31959 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31962 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31963 wxPyEndAllowThreads(__tstate
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31973 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31974 PyObject
*resultobj
= 0;
31975 wxStockGDI::Item arg1
;
31976 wxCursor
*result
= 0 ;
31979 PyObject
* obj0
= 0 ;
31980 char * kwnames
[] = {
31981 (char *) "item", NULL
31984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31985 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31986 if (!SWIG_IsOK(ecode1
)) {
31987 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31989 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32003 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32004 PyObject
*resultobj
= 0;
32005 wxStockGDI::Item arg1
;
32006 wxPen
*result
= 0 ;
32009 PyObject
* obj0
= 0 ;
32010 char * kwnames
[] = {
32011 (char *) "item", NULL
32014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32016 if (!SWIG_IsOK(ecode1
)) {
32017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32019 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32033 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32034 PyObject
*resultobj
= 0;
32035 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32036 wxStockGDI::Item arg2
;
32037 wxFont
*result
= 0 ;
32042 PyObject
* obj0
= 0 ;
32043 PyObject
* obj1
= 0 ;
32044 char * kwnames
[] = {
32045 (char *) "self",(char *) "item", NULL
32048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32050 if (!SWIG_IsOK(res1
)) {
32051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32053 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32055 if (!SWIG_IsOK(ecode2
)) {
32056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32058 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32072 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32075 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32076 return SWIG_Py_Void();
32079 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32080 return SWIG_Python_InitShadowInstance(args
);
32083 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32084 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32089 SWIGINTERN PyObject
*NullBitmap_get(void) {
32090 PyObject
*pyobj
= 0;
32092 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32097 SWIGINTERN
int NullIcon_set(PyObject
*) {
32098 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32103 SWIGINTERN PyObject
*NullIcon_get(void) {
32104 PyObject
*pyobj
= 0;
32106 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32111 SWIGINTERN
int NullCursor_set(PyObject
*) {
32112 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32117 SWIGINTERN PyObject
*NullCursor_get(void) {
32118 PyObject
*pyobj
= 0;
32120 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32125 SWIGINTERN
int NullPen_set(PyObject
*) {
32126 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32131 SWIGINTERN PyObject
*NullPen_get(void) {
32132 PyObject
*pyobj
= 0;
32134 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32139 SWIGINTERN
int NullBrush_set(PyObject
*) {
32140 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32145 SWIGINTERN PyObject
*NullBrush_get(void) {
32146 PyObject
*pyobj
= 0;
32148 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32153 SWIGINTERN
int NullPalette_set(PyObject
*) {
32154 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32159 SWIGINTERN PyObject
*NullPalette_get(void) {
32160 PyObject
*pyobj
= 0;
32162 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32167 SWIGINTERN
int NullFont_set(PyObject
*) {
32168 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32173 SWIGINTERN PyObject
*NullFont_get(void) {
32174 PyObject
*pyobj
= 0;
32176 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32181 SWIGINTERN
int NullColour_set(PyObject
*) {
32182 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32187 SWIGINTERN PyObject
*NullColour_get(void) {
32188 PyObject
*pyobj
= 0;
32190 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32195 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32196 PyObject
*resultobj
= 0;
32197 wxGDIObjListBase
*result
= 0 ;
32199 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32202 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32203 wxPyEndAllowThreads(__tstate
);
32204 if (PyErr_Occurred()) SWIG_fail
;
32206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32213 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32214 PyObject
*resultobj
= 0;
32215 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32218 PyObject
*swig_obj
[1] ;
32220 if (!args
) SWIG_fail
;
32221 swig_obj
[0] = args
;
32222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32223 if (!SWIG_IsOK(res1
)) {
32224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32226 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 wxPyEndAllowThreads(__tstate
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32234 resultobj
= SWIG_Py_Void();
32241 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32244 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32245 return SWIG_Py_Void();
32248 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32249 return SWIG_Python_InitShadowInstance(args
);
32252 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32253 PyObject
*resultobj
= 0;
32254 wxPenList
*arg1
= (wxPenList
*) 0 ;
32255 wxColour
*arg2
= 0 ;
32258 wxPen
*result
= 0 ;
32266 PyObject
* obj0
= 0 ;
32267 PyObject
* obj1
= 0 ;
32268 PyObject
* obj2
= 0 ;
32269 PyObject
* obj3
= 0 ;
32270 char * kwnames
[] = {
32271 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32276 if (!SWIG_IsOK(res1
)) {
32277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32279 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32282 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32285 if (!SWIG_IsOK(ecode3
)) {
32286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32288 arg3
= static_cast< int >(val3
);
32289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32290 if (!SWIG_IsOK(ecode4
)) {
32291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32293 arg4
= static_cast< int >(val4
);
32295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32296 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32307 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
= 0;
32309 wxPenList
*arg1
= (wxPenList
*) 0 ;
32310 wxPen
*arg2
= (wxPen
*) 0 ;
32315 PyObject
* obj0
= 0 ;
32316 PyObject
* obj1
= 0 ;
32317 char * kwnames
[] = {
32318 (char *) "self",(char *) "pen", NULL
32321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32323 if (!SWIG_IsOK(res1
)) {
32324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32326 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32328 if (!SWIG_IsOK(res2
)) {
32329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32331 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32334 (arg1
)->AddPen(arg2
);
32335 wxPyEndAllowThreads(__tstate
);
32336 if (PyErr_Occurred()) SWIG_fail
;
32338 resultobj
= SWIG_Py_Void();
32345 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32346 PyObject
*resultobj
= 0;
32347 wxPenList
*arg1
= (wxPenList
*) 0 ;
32348 wxPen
*arg2
= (wxPen
*) 0 ;
32353 PyObject
* obj0
= 0 ;
32354 PyObject
* obj1
= 0 ;
32355 char * kwnames
[] = {
32356 (char *) "self",(char *) "pen", NULL
32359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32361 if (!SWIG_IsOK(res1
)) {
32362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32364 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32366 if (!SWIG_IsOK(res2
)) {
32367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32369 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32372 (arg1
)->RemovePen(arg2
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32376 resultobj
= SWIG_Py_Void();
32383 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32386 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32387 return SWIG_Py_Void();
32390 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32391 PyObject
*resultobj
= 0;
32392 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32393 wxColour
*arg2
= 0 ;
32394 int arg3
= (int) wxSOLID
;
32395 wxBrush
*result
= 0 ;
32401 PyObject
* obj0
= 0 ;
32402 PyObject
* obj1
= 0 ;
32403 PyObject
* obj2
= 0 ;
32404 char * kwnames
[] = {
32405 (char *) "self",(char *) "colour",(char *) "style", NULL
32408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32410 if (!SWIG_IsOK(res1
)) {
32411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32413 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32416 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32420 if (!SWIG_IsOK(ecode3
)) {
32421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32423 arg3
= static_cast< int >(val3
);
32426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32438 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32439 PyObject
*resultobj
= 0;
32440 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32441 wxBrush
*arg2
= (wxBrush
*) 0 ;
32446 PyObject
* obj0
= 0 ;
32447 PyObject
* obj1
= 0 ;
32448 char * kwnames
[] = {
32449 (char *) "self",(char *) "brush", NULL
32452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32454 if (!SWIG_IsOK(res1
)) {
32455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32457 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32459 if (!SWIG_IsOK(res2
)) {
32460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32462 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32465 (arg1
)->AddBrush(arg2
);
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32469 resultobj
= SWIG_Py_Void();
32476 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32477 PyObject
*resultobj
= 0;
32478 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32479 wxBrush
*arg2
= (wxBrush
*) 0 ;
32484 PyObject
* obj0
= 0 ;
32485 PyObject
* obj1
= 0 ;
32486 char * kwnames
[] = {
32487 (char *) "self",(char *) "brush", NULL
32490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32492 if (!SWIG_IsOK(res1
)) {
32493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32495 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32497 if (!SWIG_IsOK(res2
)) {
32498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32500 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32503 (arg1
)->RemoveBrush(arg2
);
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= SWIG_Py_Void();
32514 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32517 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32518 return SWIG_Py_Void();
32521 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
= 0;
32523 wxFontList
*arg1
= (wxFontList
*) 0 ;
32528 bool arg6
= (bool) false ;
32529 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32530 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32531 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32532 wxFont
*result
= 0 ;
32545 bool temp7
= false ;
32548 PyObject
* obj0
= 0 ;
32549 PyObject
* obj1
= 0 ;
32550 PyObject
* obj2
= 0 ;
32551 PyObject
* obj3
= 0 ;
32552 PyObject
* obj4
= 0 ;
32553 PyObject
* obj5
= 0 ;
32554 PyObject
* obj6
= 0 ;
32555 PyObject
* obj7
= 0 ;
32556 char * kwnames
[] = {
32557 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32562 if (!SWIG_IsOK(res1
)) {
32563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32565 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32567 if (!SWIG_IsOK(ecode2
)) {
32568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32570 arg2
= static_cast< int >(val2
);
32571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32572 if (!SWIG_IsOK(ecode3
)) {
32573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32575 arg3
= static_cast< int >(val3
);
32576 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32577 if (!SWIG_IsOK(ecode4
)) {
32578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32580 arg4
= static_cast< int >(val4
);
32581 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32582 if (!SWIG_IsOK(ecode5
)) {
32583 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32585 arg5
= static_cast< int >(val5
);
32587 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32588 if (!SWIG_IsOK(ecode6
)) {
32589 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32591 arg6
= static_cast< bool >(val6
);
32595 arg7
= wxString_in_helper(obj6
);
32596 if (arg7
== NULL
) SWIG_fail
;
32601 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32602 if (!SWIG_IsOK(ecode8
)) {
32603 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32605 arg8
= static_cast< wxFontEncoding
>(val8
);
32608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32609 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32610 wxPyEndAllowThreads(__tstate
);
32611 if (PyErr_Occurred()) SWIG_fail
;
32613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32628 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32629 PyObject
*resultobj
= 0;
32630 wxFontList
*arg1
= (wxFontList
*) 0 ;
32631 wxFont
*arg2
= (wxFont
*) 0 ;
32636 PyObject
* obj0
= 0 ;
32637 PyObject
* obj1
= 0 ;
32638 char * kwnames
[] = {
32639 (char *) "self",(char *) "font", NULL
32642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32644 if (!SWIG_IsOK(res1
)) {
32645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32647 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32649 if (!SWIG_IsOK(res2
)) {
32650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32652 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32655 (arg1
)->AddFont(arg2
);
32656 wxPyEndAllowThreads(__tstate
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= SWIG_Py_Void();
32666 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32667 PyObject
*resultobj
= 0;
32668 wxFontList
*arg1
= (wxFontList
*) 0 ;
32669 wxFont
*arg2
= (wxFont
*) 0 ;
32674 PyObject
* obj0
= 0 ;
32675 PyObject
* obj1
= 0 ;
32676 char * kwnames
[] = {
32677 (char *) "self",(char *) "font", NULL
32680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32682 if (!SWIG_IsOK(res1
)) {
32683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32685 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32687 if (!SWIG_IsOK(res2
)) {
32688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32690 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 (arg1
)->RemoveFont(arg2
);
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_Py_Void();
32704 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32707 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32708 return SWIG_Py_Void();
32711 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32712 PyObject
*resultobj
= 0;
32713 wxColourDatabase
*result
= 0 ;
32715 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32717 if (!wxPyCheckForApp()) SWIG_fail
;
32718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 result
= (wxColourDatabase
*)new wxColourDatabase();
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32730 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32731 PyObject
*resultobj
= 0;
32732 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32735 PyObject
*swig_obj
[1] ;
32737 if (!args
) SWIG_fail
;
32738 swig_obj
[0] = args
;
32739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32740 if (!SWIG_IsOK(res1
)) {
32741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32743 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32751 resultobj
= SWIG_Py_Void();
32758 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32759 PyObject
*resultobj
= 0;
32760 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32761 wxString
*arg2
= 0 ;
32765 bool temp2
= false ;
32766 PyObject
* obj0
= 0 ;
32767 PyObject
* obj1
= 0 ;
32768 char * kwnames
[] = {
32769 (char *) "self",(char *) "name", NULL
32772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32774 if (!SWIG_IsOK(res1
)) {
32775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32777 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32779 arg2
= wxString_in_helper(obj1
);
32780 if (arg2
== NULL
) SWIG_fail
;
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32786 wxPyEndAllowThreads(__tstate
);
32787 if (PyErr_Occurred()) SWIG_fail
;
32789 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32804 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32805 PyObject
*resultobj
= 0;
32806 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32807 wxColour
*arg2
= 0 ;
32812 PyObject
* obj0
= 0 ;
32813 PyObject
* obj1
= 0 ;
32814 char * kwnames
[] = {
32815 (char *) "self",(char *) "colour", NULL
32818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32820 if (!SWIG_IsOK(res1
)) {
32821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32823 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32826 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32830 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32847 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32848 PyObject
*resultobj
= 0;
32849 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32850 wxString
*arg2
= 0 ;
32851 wxColour
*arg3
= 0 ;
32854 bool temp2
= false ;
32856 PyObject
* obj0
= 0 ;
32857 PyObject
* obj1
= 0 ;
32858 PyObject
* obj2
= 0 ;
32859 char * kwnames
[] = {
32860 (char *) "self",(char *) "name",(char *) "colour", NULL
32863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32865 if (!SWIG_IsOK(res1
)) {
32866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32868 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32870 arg2
= wxString_in_helper(obj1
);
32871 if (arg2
== NULL
) SWIG_fail
;
32876 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32881 wxPyEndAllowThreads(__tstate
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32884 resultobj
= SWIG_Py_Void();
32899 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32900 PyObject
*resultobj
= 0;
32901 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32902 wxString
*arg2
= 0 ;
32908 bool temp2
= false ;
32915 PyObject
* obj0
= 0 ;
32916 PyObject
* obj1
= 0 ;
32917 PyObject
* obj2
= 0 ;
32918 PyObject
* obj3
= 0 ;
32919 PyObject
* obj4
= 0 ;
32920 char * kwnames
[] = {
32921 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32926 if (!SWIG_IsOK(res1
)) {
32927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32929 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32931 arg2
= wxString_in_helper(obj1
);
32932 if (arg2
== NULL
) SWIG_fail
;
32935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32936 if (!SWIG_IsOK(ecode3
)) {
32937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32939 arg3
= static_cast< int >(val3
);
32940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32941 if (!SWIG_IsOK(ecode4
)) {
32942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32944 arg4
= static_cast< int >(val4
);
32945 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32946 if (!SWIG_IsOK(ecode5
)) {
32947 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32949 arg5
= static_cast< int >(val5
);
32951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32952 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32953 wxPyEndAllowThreads(__tstate
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32956 resultobj
= SWIG_Py_Void();
32971 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32974 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32975 return SWIG_Py_Void();
32978 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32979 return SWIG_Python_InitShadowInstance(args
);
32982 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32983 PyObject
*resultobj
= 0;
32984 wxFontList
*result
= 0 ;
32986 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32989 result
= (wxFontList
*)_wxPyInitTheFontList();
32990 wxPyEndAllowThreads(__tstate
);
32991 if (PyErr_Occurred()) SWIG_fail
;
32993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33000 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33001 PyObject
*resultobj
= 0;
33002 wxPenList
*result
= 0 ;
33004 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33007 result
= (wxPenList
*)_wxPyInitThePenList();
33008 wxPyEndAllowThreads(__tstate
);
33009 if (PyErr_Occurred()) SWIG_fail
;
33011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33018 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33019 PyObject
*resultobj
= 0;
33020 wxBrushList
*result
= 0 ;
33022 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33025 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33026 wxPyEndAllowThreads(__tstate
);
33027 if (PyErr_Occurred()) SWIG_fail
;
33029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33036 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33037 PyObject
*resultobj
= 0;
33038 wxColourDatabase
*result
= 0 ;
33040 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33043 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33054 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33055 PyObject
*resultobj
= 0;
33056 wxEffects
*result
= 0 ;
33058 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33061 result
= (wxEffects
*)new wxEffects();
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33072 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33073 PyObject
*resultobj
= 0;
33074 wxEffects
*arg1
= (wxEffects
*) 0 ;
33078 PyObject
*swig_obj
[1] ;
33080 if (!args
) SWIG_fail
;
33081 swig_obj
[0] = args
;
33082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33086 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33089 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33090 wxPyEndAllowThreads(__tstate
);
33091 if (PyErr_Occurred()) SWIG_fail
;
33093 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33100 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33101 PyObject
*resultobj
= 0;
33102 wxEffects
*arg1
= (wxEffects
*) 0 ;
33106 PyObject
*swig_obj
[1] ;
33108 if (!args
) SWIG_fail
;
33109 swig_obj
[0] = args
;
33110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33111 if (!SWIG_IsOK(res1
)) {
33112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33114 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33121 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33128 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33129 PyObject
*resultobj
= 0;
33130 wxEffects
*arg1
= (wxEffects
*) 0 ;
33134 PyObject
*swig_obj
[1] ;
33136 if (!args
) SWIG_fail
;
33137 swig_obj
[0] = args
;
33138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33139 if (!SWIG_IsOK(res1
)) {
33140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33142 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33145 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33146 wxPyEndAllowThreads(__tstate
);
33147 if (PyErr_Occurred()) SWIG_fail
;
33149 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33156 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33157 PyObject
*resultobj
= 0;
33158 wxEffects
*arg1
= (wxEffects
*) 0 ;
33162 PyObject
*swig_obj
[1] ;
33164 if (!args
) SWIG_fail
;
33165 swig_obj
[0] = args
;
33166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33167 if (!SWIG_IsOK(res1
)) {
33168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33170 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33174 wxPyEndAllowThreads(__tstate
);
33175 if (PyErr_Occurred()) SWIG_fail
;
33177 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33184 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33185 PyObject
*resultobj
= 0;
33186 wxEffects
*arg1
= (wxEffects
*) 0 ;
33190 PyObject
*swig_obj
[1] ;
33192 if (!args
) SWIG_fail
;
33193 swig_obj
[0] = args
;
33194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33195 if (!SWIG_IsOK(res1
)) {
33196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33198 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33201 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33202 wxPyEndAllowThreads(__tstate
);
33203 if (PyErr_Occurred()) SWIG_fail
;
33205 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33212 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33213 PyObject
*resultobj
= 0;
33214 wxEffects
*arg1
= (wxEffects
*) 0 ;
33215 wxColour
*arg2
= 0 ;
33219 PyObject
* obj0
= 0 ;
33220 PyObject
* obj1
= 0 ;
33221 char * kwnames
[] = {
33222 (char *) "self",(char *) "c", NULL
33225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33227 if (!SWIG_IsOK(res1
)) {
33228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33230 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33233 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33237 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33241 resultobj
= SWIG_Py_Void();
33248 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33249 PyObject
*resultobj
= 0;
33250 wxEffects
*arg1
= (wxEffects
*) 0 ;
33251 wxColour
*arg2
= 0 ;
33255 PyObject
* obj0
= 0 ;
33256 PyObject
* obj1
= 0 ;
33257 char * kwnames
[] = {
33258 (char *) "self",(char *) "c", NULL
33261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33263 if (!SWIG_IsOK(res1
)) {
33264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33266 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33269 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33273 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33277 resultobj
= SWIG_Py_Void();
33284 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
= 0;
33286 wxEffects
*arg1
= (wxEffects
*) 0 ;
33287 wxColour
*arg2
= 0 ;
33291 PyObject
* obj0
= 0 ;
33292 PyObject
* obj1
= 0 ;
33293 char * kwnames
[] = {
33294 (char *) "self",(char *) "c", NULL
33297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33299 if (!SWIG_IsOK(res1
)) {
33300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33302 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33305 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33309 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33310 wxPyEndAllowThreads(__tstate
);
33311 if (PyErr_Occurred()) SWIG_fail
;
33313 resultobj
= SWIG_Py_Void();
33320 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33321 PyObject
*resultobj
= 0;
33322 wxEffects
*arg1
= (wxEffects
*) 0 ;
33323 wxColour
*arg2
= 0 ;
33327 PyObject
* obj0
= 0 ;
33328 PyObject
* obj1
= 0 ;
33329 char * kwnames
[] = {
33330 (char *) "self",(char *) "c", NULL
33333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33335 if (!SWIG_IsOK(res1
)) {
33336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33338 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33341 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33345 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33346 wxPyEndAllowThreads(__tstate
);
33347 if (PyErr_Occurred()) SWIG_fail
;
33349 resultobj
= SWIG_Py_Void();
33356 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33357 PyObject
*resultobj
= 0;
33358 wxEffects
*arg1
= (wxEffects
*) 0 ;
33359 wxColour
*arg2
= 0 ;
33363 PyObject
* obj0
= 0 ;
33364 PyObject
* obj1
= 0 ;
33365 char * kwnames
[] = {
33366 (char *) "self",(char *) "c", NULL
33369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33371 if (!SWIG_IsOK(res1
)) {
33372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33374 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33377 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33381 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33382 wxPyEndAllowThreads(__tstate
);
33383 if (PyErr_Occurred()) SWIG_fail
;
33385 resultobj
= SWIG_Py_Void();
33392 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33393 PyObject
*resultobj
= 0;
33394 wxEffects
*arg1
= (wxEffects
*) 0 ;
33395 wxColour
*arg2
= 0 ;
33396 wxColour
*arg3
= 0 ;
33397 wxColour
*arg4
= 0 ;
33398 wxColour
*arg5
= 0 ;
33399 wxColour
*arg6
= 0 ;
33407 PyObject
* obj0
= 0 ;
33408 PyObject
* obj1
= 0 ;
33409 PyObject
* obj2
= 0 ;
33410 PyObject
* obj3
= 0 ;
33411 PyObject
* obj4
= 0 ;
33412 PyObject
* obj5
= 0 ;
33413 char * kwnames
[] = {
33414 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33419 if (!SWIG_IsOK(res1
)) {
33420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33422 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33429 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33433 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33437 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33441 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33446 wxPyEndAllowThreads(__tstate
);
33447 if (PyErr_Occurred()) SWIG_fail
;
33449 resultobj
= SWIG_Py_Void();
33456 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33457 PyObject
*resultobj
= 0;
33458 wxEffects
*arg1
= (wxEffects
*) 0 ;
33461 int arg4
= (int) 1 ;
33469 PyObject
* obj0
= 0 ;
33470 PyObject
* obj1
= 0 ;
33471 PyObject
* obj2
= 0 ;
33472 PyObject
* obj3
= 0 ;
33473 char * kwnames
[] = {
33474 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33479 if (!SWIG_IsOK(res1
)) {
33480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33482 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33484 if (!SWIG_IsOK(res2
)) {
33485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33490 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33493 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33496 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33497 if (!SWIG_IsOK(ecode4
)) {
33498 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33500 arg4
= static_cast< int >(val4
);
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33505 wxPyEndAllowThreads(__tstate
);
33506 if (PyErr_Occurred()) SWIG_fail
;
33508 resultobj
= SWIG_Py_Void();
33515 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33516 PyObject
*resultobj
= 0;
33517 wxEffects
*arg1
= (wxEffects
*) 0 ;
33520 wxBitmap
*arg4
= 0 ;
33529 PyObject
* obj0
= 0 ;
33530 PyObject
* obj1
= 0 ;
33531 PyObject
* obj2
= 0 ;
33532 PyObject
* obj3
= 0 ;
33533 char * kwnames
[] = {
33534 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33539 if (!SWIG_IsOK(res1
)) {
33540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33542 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33545 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33547 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33548 if (!SWIG_IsOK(res3
)) {
33549 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33554 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33555 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33556 if (!SWIG_IsOK(res4
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33562 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33565 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33566 wxPyEndAllowThreads(__tstate
);
33567 if (PyErr_Occurred()) SWIG_fail
;
33570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33578 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33581 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33582 return SWIG_Py_Void();
33585 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33586 return SWIG_Python_InitShadowInstance(args
);
33589 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33590 PyObject
*resultobj
= 0;
33594 wxSplitterRenderParams
*result
= 0 ;
33601 PyObject
* obj0
= 0 ;
33602 PyObject
* obj1
= 0 ;
33603 PyObject
* obj2
= 0 ;
33604 char * kwnames
[] = {
33605 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33609 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33610 if (!SWIG_IsOK(ecode1
)) {
33611 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33613 arg1
= static_cast< int >(val1
);
33614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33615 if (!SWIG_IsOK(ecode2
)) {
33616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33618 arg2
= static_cast< int >(val2
);
33619 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33620 if (!SWIG_IsOK(ecode3
)) {
33621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33623 arg3
= static_cast< bool >(val3
);
33625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33626 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33627 wxPyEndAllowThreads(__tstate
);
33628 if (PyErr_Occurred()) SWIG_fail
;
33630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33637 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33638 PyObject
*resultobj
= 0;
33639 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33642 PyObject
*swig_obj
[1] ;
33644 if (!args
) SWIG_fail
;
33645 swig_obj
[0] = args
;
33646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33647 if (!SWIG_IsOK(res1
)) {
33648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33650 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 resultobj
= SWIG_Py_Void();
33665 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33666 PyObject
*resultobj
= 0;
33667 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33671 PyObject
*swig_obj
[1] ;
33673 if (!args
) SWIG_fail
;
33674 swig_obj
[0] = args
;
33675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33676 if (!SWIG_IsOK(res1
)) {
33677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33679 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33680 result
= (int)(int) ((arg1
)->widthSash
);
33681 resultobj
= SWIG_From_int(static_cast< int >(result
));
33688 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33689 PyObject
*resultobj
= 0;
33690 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33694 PyObject
*swig_obj
[1] ;
33696 if (!args
) SWIG_fail
;
33697 swig_obj
[0] = args
;
33698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33699 if (!SWIG_IsOK(res1
)) {
33700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33702 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33703 result
= (int)(int) ((arg1
)->border
);
33704 resultobj
= SWIG_From_int(static_cast< int >(result
));
33711 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33712 PyObject
*resultobj
= 0;
33713 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33717 PyObject
*swig_obj
[1] ;
33719 if (!args
) SWIG_fail
;
33720 swig_obj
[0] = args
;
33721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33722 if (!SWIG_IsOK(res1
)) {
33723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33725 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33726 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33727 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33734 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33737 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33738 return SWIG_Py_Void();
33741 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33742 return SWIG_Python_InitShadowInstance(args
);
33745 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33746 PyObject
*resultobj
= 0;
33747 wxHeaderButtonParams
*result
= 0 ;
33749 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33763 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33764 PyObject
*resultobj
= 0;
33765 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33768 PyObject
*swig_obj
[1] ;
33770 if (!args
) SWIG_fail
;
33771 swig_obj
[0] = args
;
33772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33773 if (!SWIG_IsOK(res1
)) {
33774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33776 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33781 wxPyEndAllowThreads(__tstate
);
33782 if (PyErr_Occurred()) SWIG_fail
;
33784 resultobj
= SWIG_Py_Void();
33791 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33792 PyObject
*resultobj
= 0;
33793 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33794 wxColour
*arg2
= (wxColour
*) 0 ;
33798 PyObject
*swig_obj
[2] ;
33800 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33802 if (!SWIG_IsOK(res1
)) {
33803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33805 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33808 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33810 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33812 resultobj
= SWIG_Py_Void();
33819 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33820 PyObject
*resultobj
= 0;
33821 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33822 wxColour
*result
= 0 ;
33825 PyObject
*swig_obj
[1] ;
33827 if (!args
) SWIG_fail
;
33828 swig_obj
[0] = args
;
33829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33830 if (!SWIG_IsOK(res1
)) {
33831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33833 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33834 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33842 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33843 PyObject
*resultobj
= 0;
33844 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33845 wxColour
*arg2
= (wxColour
*) 0 ;
33849 PyObject
*swig_obj
[2] ;
33851 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33853 if (!SWIG_IsOK(res1
)) {
33854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33856 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33859 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33861 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33863 resultobj
= SWIG_Py_Void();
33870 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33871 PyObject
*resultobj
= 0;
33872 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33873 wxColour
*result
= 0 ;
33876 PyObject
*swig_obj
[1] ;
33878 if (!args
) SWIG_fail
;
33879 swig_obj
[0] = args
;
33880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33881 if (!SWIG_IsOK(res1
)) {
33882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33884 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33885 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33893 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33894 PyObject
*resultobj
= 0;
33895 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33896 wxString
*arg2
= (wxString
*) 0 ;
33899 bool temp2
= false ;
33900 PyObject
*swig_obj
[2] ;
33902 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33904 if (!SWIG_IsOK(res1
)) {
33905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33907 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33909 arg2
= wxString_in_helper(swig_obj
[1]);
33910 if (arg2
== NULL
) SWIG_fail
;
33913 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33915 resultobj
= SWIG_Py_Void();
33930 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33931 PyObject
*resultobj
= 0;
33932 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33933 wxString
*result
= 0 ;
33936 PyObject
*swig_obj
[1] ;
33938 if (!args
) SWIG_fail
;
33939 swig_obj
[0] = args
;
33940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33941 if (!SWIG_IsOK(res1
)) {
33942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33944 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33945 result
= (wxString
*)& ((arg1
)->m_labelText
);
33948 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33950 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33959 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33960 PyObject
*resultobj
= 0;
33961 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33962 wxFont
*arg2
= (wxFont
*) 0 ;
33967 PyObject
*swig_obj
[2] ;
33969 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33971 if (!SWIG_IsOK(res1
)) {
33972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33974 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33975 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33976 if (!SWIG_IsOK(res2
)) {
33977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33979 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33980 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33982 resultobj
= SWIG_Py_Void();
33989 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33990 PyObject
*resultobj
= 0;
33991 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33992 wxFont
*result
= 0 ;
33995 PyObject
*swig_obj
[1] ;
33997 if (!args
) SWIG_fail
;
33998 swig_obj
[0] = args
;
33999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34000 if (!SWIG_IsOK(res1
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34003 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34004 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34012 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34013 PyObject
*resultobj
= 0;
34014 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34015 wxColour
*arg2
= (wxColour
*) 0 ;
34019 PyObject
*swig_obj
[2] ;
34021 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34023 if (!SWIG_IsOK(res1
)) {
34024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34026 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34029 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34031 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34033 resultobj
= SWIG_Py_Void();
34040 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34041 PyObject
*resultobj
= 0;
34042 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34043 wxColour
*result
= 0 ;
34046 PyObject
*swig_obj
[1] ;
34048 if (!args
) SWIG_fail
;
34049 swig_obj
[0] = args
;
34050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34051 if (!SWIG_IsOK(res1
)) {
34052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34054 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34055 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34063 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34064 PyObject
*resultobj
= 0;
34065 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34066 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34071 PyObject
*swig_obj
[2] ;
34073 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34075 if (!SWIG_IsOK(res1
)) {
34076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34078 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34079 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34080 if (!SWIG_IsOK(res2
)) {
34081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34083 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34084 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34086 resultobj
= SWIG_Py_Void();
34093 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34094 PyObject
*resultobj
= 0;
34095 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34096 wxBitmap
*result
= 0 ;
34099 PyObject
*swig_obj
[1] ;
34101 if (!args
) SWIG_fail
;
34102 swig_obj
[0] = args
;
34103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34104 if (!SWIG_IsOK(res1
)) {
34105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34107 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34108 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34116 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34117 PyObject
*resultobj
= 0;
34118 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34124 PyObject
*swig_obj
[2] ;
34126 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34128 if (!SWIG_IsOK(res1
)) {
34129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34131 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34132 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34133 if (!SWIG_IsOK(ecode2
)) {
34134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34136 arg2
= static_cast< int >(val2
);
34137 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34139 resultobj
= SWIG_Py_Void();
34146 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34147 PyObject
*resultobj
= 0;
34148 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34152 PyObject
*swig_obj
[1] ;
34154 if (!args
) SWIG_fail
;
34155 swig_obj
[0] = args
;
34156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34157 if (!SWIG_IsOK(res1
)) {
34158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34160 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34161 result
= (int) ((arg1
)->m_labelAlignment
);
34162 resultobj
= SWIG_From_int(static_cast< int >(result
));
34169 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34171 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34172 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34173 return SWIG_Py_Void();
34176 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34177 return SWIG_Python_InitShadowInstance(args
);
34180 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34181 PyObject
*resultobj
= 0;
34184 wxRendererVersion
*result
= 0 ;
34189 PyObject
* obj0
= 0 ;
34190 PyObject
* obj1
= 0 ;
34191 char * kwnames
[] = {
34192 (char *) "version_",(char *) "age_", NULL
34195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34196 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34197 if (!SWIG_IsOK(ecode1
)) {
34198 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34200 arg1
= static_cast< int >(val1
);
34201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34202 if (!SWIG_IsOK(ecode2
)) {
34203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34205 arg2
= static_cast< int >(val2
);
34207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34209 wxPyEndAllowThreads(__tstate
);
34210 if (PyErr_Occurred()) SWIG_fail
;
34212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34219 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34220 PyObject
*resultobj
= 0;
34221 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34224 PyObject
*swig_obj
[1] ;
34226 if (!args
) SWIG_fail
;
34227 swig_obj
[0] = args
;
34228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34229 if (!SWIG_IsOK(res1
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34232 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34237 wxPyEndAllowThreads(__tstate
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34240 resultobj
= SWIG_Py_Void();
34247 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34248 PyObject
*resultobj
= 0;
34249 wxRendererVersion
*arg1
= 0 ;
34253 PyObject
* obj0
= 0 ;
34254 char * kwnames
[] = {
34255 (char *) "ver", NULL
34258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34259 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34260 if (!SWIG_IsOK(res1
)) {
34261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34266 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34269 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34270 wxPyEndAllowThreads(__tstate
);
34271 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34282 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34283 PyObject
*resultobj
= 0;
34284 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34288 PyObject
*swig_obj
[1] ;
34290 if (!args
) SWIG_fail
;
34291 swig_obj
[0] = args
;
34292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34293 if (!SWIG_IsOK(res1
)) {
34294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34296 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34297 result
= (int)(int) ((arg1
)->version
);
34298 resultobj
= SWIG_From_int(static_cast< int >(result
));
34305 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34306 PyObject
*resultobj
= 0;
34307 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34311 PyObject
*swig_obj
[1] ;
34313 if (!args
) SWIG_fail
;
34314 swig_obj
[0] = args
;
34315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34316 if (!SWIG_IsOK(res1
)) {
34317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34319 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34320 result
= (int)(int) ((arg1
)->age
);
34321 resultobj
= SWIG_From_int(static_cast< int >(result
));
34328 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34331 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34332 return SWIG_Py_Void();
34335 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34336 return SWIG_Python_InitShadowInstance(args
);
34339 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
= 0;
34341 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34342 wxWindow
*arg2
= (wxWindow
*) 0 ;
34345 int arg5
= (int) 0 ;
34346 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34347 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34362 PyObject
* obj0
= 0 ;
34363 PyObject
* obj1
= 0 ;
34364 PyObject
* obj2
= 0 ;
34365 PyObject
* obj3
= 0 ;
34366 PyObject
* obj4
= 0 ;
34367 PyObject
* obj5
= 0 ;
34368 PyObject
* obj6
= 0 ;
34369 char * kwnames
[] = {
34370 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34375 if (!SWIG_IsOK(res1
)) {
34376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34378 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34380 if (!SWIG_IsOK(res2
)) {
34381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34383 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34384 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34385 if (!SWIG_IsOK(res3
)) {
34386 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34391 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34394 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34397 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34398 if (!SWIG_IsOK(ecode5
)) {
34399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34401 arg5
= static_cast< int >(val5
);
34404 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34405 if (!SWIG_IsOK(ecode6
)) {
34406 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34408 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34411 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34412 if (!SWIG_IsOK(res7
)) {
34413 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34415 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34419 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34420 wxPyEndAllowThreads(__tstate
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34423 resultobj
= SWIG_From_int(static_cast< int >(result
));
34430 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34431 PyObject
*resultobj
= 0;
34432 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34433 wxWindow
*arg2
= (wxWindow
*) 0 ;
34436 int arg5
= (int) 0 ;
34437 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34438 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34453 PyObject
* obj0
= 0 ;
34454 PyObject
* obj1
= 0 ;
34455 PyObject
* obj2
= 0 ;
34456 PyObject
* obj3
= 0 ;
34457 PyObject
* obj4
= 0 ;
34458 PyObject
* obj5
= 0 ;
34459 PyObject
* obj6
= 0 ;
34460 char * kwnames
[] = {
34461 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34466 if (!SWIG_IsOK(res1
)) {
34467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34469 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34471 if (!SWIG_IsOK(res2
)) {
34472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34474 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34475 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34476 if (!SWIG_IsOK(res3
)) {
34477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34482 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34485 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34488 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34489 if (!SWIG_IsOK(ecode5
)) {
34490 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34492 arg5
= static_cast< int >(val5
);
34495 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34496 if (!SWIG_IsOK(ecode6
)) {
34497 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34499 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34502 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34503 if (!SWIG_IsOK(res7
)) {
34504 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34506 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34510 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34511 wxPyEndAllowThreads(__tstate
);
34512 if (PyErr_Occurred()) SWIG_fail
;
34514 resultobj
= SWIG_From_int(static_cast< int >(result
));
34521 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34522 PyObject
*resultobj
= 0;
34523 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34524 wxWindow
*arg2
= (wxWindow
*) 0 ;
34530 PyObject
* obj0
= 0 ;
34531 PyObject
* obj1
= 0 ;
34532 char * kwnames
[] = {
34533 (char *) "self",(char *) "win", NULL
34536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34538 if (!SWIG_IsOK(res1
)) {
34539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34541 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34542 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34543 if (!SWIG_IsOK(res2
)) {
34544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34546 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34549 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 resultobj
= SWIG_From_int(static_cast< int >(result
));
34560 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34561 PyObject
*resultobj
= 0;
34562 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34563 wxWindow
*arg2
= (wxWindow
*) 0 ;
34566 int arg5
= (int) 0 ;
34576 PyObject
* obj0
= 0 ;
34577 PyObject
* obj1
= 0 ;
34578 PyObject
* obj2
= 0 ;
34579 PyObject
* obj3
= 0 ;
34580 PyObject
* obj4
= 0 ;
34581 char * kwnames
[] = {
34582 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34587 if (!SWIG_IsOK(res1
)) {
34588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34590 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34592 if (!SWIG_IsOK(res2
)) {
34593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34596 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34597 if (!SWIG_IsOK(res3
)) {
34598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34603 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34606 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34609 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34610 if (!SWIG_IsOK(ecode5
)) {
34611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34613 arg5
= static_cast< int >(val5
);
34616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34617 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34618 wxPyEndAllowThreads(__tstate
);
34619 if (PyErr_Occurred()) SWIG_fail
;
34621 resultobj
= SWIG_Py_Void();
34628 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34629 PyObject
*resultobj
= 0;
34630 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34631 wxWindow
*arg2
= (wxWindow
*) 0 ;
34634 int arg5
= (int) 0 ;
34644 PyObject
* obj0
= 0 ;
34645 PyObject
* obj1
= 0 ;
34646 PyObject
* obj2
= 0 ;
34647 PyObject
* obj3
= 0 ;
34648 PyObject
* obj4
= 0 ;
34649 char * kwnames
[] = {
34650 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34655 if (!SWIG_IsOK(res1
)) {
34656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34658 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34660 if (!SWIG_IsOK(res2
)) {
34661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34663 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34664 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34665 if (!SWIG_IsOK(res3
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34671 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34674 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34677 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34678 if (!SWIG_IsOK(ecode5
)) {
34679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34681 arg5
= static_cast< int >(val5
);
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34689 resultobj
= SWIG_Py_Void();
34696 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34697 PyObject
*resultobj
= 0;
34698 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34699 wxWindow
*arg2
= (wxWindow
*) 0 ;
34703 wxOrientation arg6
;
34704 int arg7
= (int) 0 ;
34718 PyObject
* obj0
= 0 ;
34719 PyObject
* obj1
= 0 ;
34720 PyObject
* obj2
= 0 ;
34721 PyObject
* obj3
= 0 ;
34722 PyObject
* obj4
= 0 ;
34723 PyObject
* obj5
= 0 ;
34724 PyObject
* obj6
= 0 ;
34725 char * kwnames
[] = {
34726 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34731 if (!SWIG_IsOK(res1
)) {
34732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34734 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34735 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34736 if (!SWIG_IsOK(res2
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34739 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34740 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34741 if (!SWIG_IsOK(res3
)) {
34742 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34747 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34750 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34752 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34753 if (!SWIG_IsOK(ecode5
)) {
34754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34756 arg5
= static_cast< int >(val5
);
34757 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34758 if (!SWIG_IsOK(ecode6
)) {
34759 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34761 arg6
= static_cast< wxOrientation
>(val6
);
34763 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34764 if (!SWIG_IsOK(ecode7
)) {
34765 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34767 arg7
= static_cast< int >(val7
);
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34771 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34775 resultobj
= SWIG_Py_Void();
34782 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
= 0;
34784 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34785 wxWindow
*arg2
= (wxWindow
*) 0 ;
34788 int arg5
= (int) 0 ;
34798 PyObject
* obj0
= 0 ;
34799 PyObject
* obj1
= 0 ;
34800 PyObject
* obj2
= 0 ;
34801 PyObject
* obj3
= 0 ;
34802 PyObject
* obj4
= 0 ;
34803 char * kwnames
[] = {
34804 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34809 if (!SWIG_IsOK(res1
)) {
34810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34812 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34814 if (!SWIG_IsOK(res2
)) {
34815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34817 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34818 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34819 if (!SWIG_IsOK(res3
)) {
34820 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34825 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34828 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34832 if (!SWIG_IsOK(ecode5
)) {
34833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34835 arg5
= static_cast< int >(val5
);
34838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34839 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34840 wxPyEndAllowThreads(__tstate
);
34841 if (PyErr_Occurred()) SWIG_fail
;
34843 resultobj
= SWIG_Py_Void();
34850 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34851 PyObject
*resultobj
= 0;
34852 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34853 wxWindow
*arg2
= (wxWindow
*) 0 ;
34856 int arg5
= (int) 0 ;
34866 PyObject
* obj0
= 0 ;
34867 PyObject
* obj1
= 0 ;
34868 PyObject
* obj2
= 0 ;
34869 PyObject
* obj3
= 0 ;
34870 PyObject
* obj4
= 0 ;
34871 char * kwnames
[] = {
34872 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34877 if (!SWIG_IsOK(res1
)) {
34878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34880 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34882 if (!SWIG_IsOK(res2
)) {
34883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34885 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34886 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34887 if (!SWIG_IsOK(res3
)) {
34888 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34893 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34896 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34899 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34900 if (!SWIG_IsOK(ecode5
)) {
34901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34903 arg5
= static_cast< int >(val5
);
34906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34907 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 resultobj
= SWIG_Py_Void();
34918 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
= 0;
34920 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34921 wxWindow
*arg2
= (wxWindow
*) 0 ;
34924 int arg5
= (int) 0 ;
34934 PyObject
* obj0
= 0 ;
34935 PyObject
* obj1
= 0 ;
34936 PyObject
* obj2
= 0 ;
34937 PyObject
* obj3
= 0 ;
34938 PyObject
* obj4
= 0 ;
34939 char * kwnames
[] = {
34940 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34945 if (!SWIG_IsOK(res1
)) {
34946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34948 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34950 if (!SWIG_IsOK(res2
)) {
34951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34953 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34954 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34955 if (!SWIG_IsOK(res3
)) {
34956 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34961 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34964 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34967 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34968 if (!SWIG_IsOK(ecode5
)) {
34969 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34971 arg5
= static_cast< int >(val5
);
34974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34975 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34976 wxPyEndAllowThreads(__tstate
);
34977 if (PyErr_Occurred()) SWIG_fail
;
34979 resultobj
= SWIG_Py_Void();
34986 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34987 PyObject
*resultobj
= 0;
34988 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34989 wxWindow
*arg2
= (wxWindow
*) 0 ;
34992 int arg5
= (int) 0 ;
35002 PyObject
* obj0
= 0 ;
35003 PyObject
* obj1
= 0 ;
35004 PyObject
* obj2
= 0 ;
35005 PyObject
* obj3
= 0 ;
35006 PyObject
* obj4
= 0 ;
35007 char * kwnames
[] = {
35008 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35013 if (!SWIG_IsOK(res1
)) {
35014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35016 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35018 if (!SWIG_IsOK(res2
)) {
35019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35021 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35022 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35023 if (!SWIG_IsOK(res3
)) {
35024 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35029 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35032 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35035 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35036 if (!SWIG_IsOK(ecode5
)) {
35037 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35039 arg5
= static_cast< int >(val5
);
35042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35043 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 resultobj
= SWIG_Py_Void();
35054 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35055 PyObject
*resultobj
= 0;
35056 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35057 wxWindow
*arg2
= (wxWindow
*) 0 ;
35060 int arg5
= (int) 0 ;
35070 PyObject
* obj0
= 0 ;
35071 PyObject
* obj1
= 0 ;
35072 PyObject
* obj2
= 0 ;
35073 PyObject
* obj3
= 0 ;
35074 PyObject
* obj4
= 0 ;
35075 char * kwnames
[] = {
35076 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35081 if (!SWIG_IsOK(res1
)) {
35082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35084 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35086 if (!SWIG_IsOK(res2
)) {
35087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35089 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35090 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35091 if (!SWIG_IsOK(res3
)) {
35092 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35097 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35100 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35103 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35104 if (!SWIG_IsOK(ecode5
)) {
35105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35107 arg5
= static_cast< int >(val5
);
35110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35111 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35115 resultobj
= SWIG_Py_Void();
35122 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35123 PyObject
*resultobj
= 0;
35124 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35125 wxWindow
*arg2
= (wxWindow
*) 0 ;
35126 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35131 PyObject
* obj0
= 0 ;
35132 PyObject
* obj1
= 0 ;
35133 char * kwnames
[] = {
35134 (char *) "self",(char *) "win", NULL
35137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35139 if (!SWIG_IsOK(res1
)) {
35140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35142 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35144 if (!SWIG_IsOK(res2
)) {
35145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35147 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35150 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35151 wxPyEndAllowThreads(__tstate
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35154 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35161 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35162 PyObject
*resultobj
= 0;
35163 wxRendererNative
*result
= 0 ;
35165 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35167 if (!wxPyCheckForApp()) SWIG_fail
;
35168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35170 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35171 result
= (wxRendererNative
*) &_result_ref
;
35173 wxPyEndAllowThreads(__tstate
);
35174 if (PyErr_Occurred()) SWIG_fail
;
35176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35183 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35184 PyObject
*resultobj
= 0;
35185 wxRendererNative
*result
= 0 ;
35187 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35189 if (!wxPyCheckForApp()) SWIG_fail
;
35190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35192 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35193 result
= (wxRendererNative
*) &_result_ref
;
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35205 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35206 PyObject
*resultobj
= 0;
35207 wxRendererNative
*result
= 0 ;
35209 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35211 if (!wxPyCheckForApp()) SWIG_fail
;
35212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35214 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35215 result
= (wxRendererNative
*) &_result_ref
;
35217 wxPyEndAllowThreads(__tstate
);
35218 if (PyErr_Occurred()) SWIG_fail
;
35220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35227 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35228 PyObject
*resultobj
= 0;
35229 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35230 wxRendererNative
*result
= 0 ;
35233 PyObject
* obj0
= 0 ;
35234 char * kwnames
[] = {
35235 (char *) "renderer", NULL
35238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35240 if (!SWIG_IsOK(res1
)) {
35241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35243 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35245 if (!wxPyCheckForApp()) SWIG_fail
;
35246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35247 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35248 wxPyEndAllowThreads(__tstate
);
35249 if (PyErr_Occurred()) SWIG_fail
;
35251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35258 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35259 PyObject
*resultobj
= 0;
35260 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35261 SwigValueWrapper
<wxRendererVersion
> result
;
35264 PyObject
*swig_obj
[1] ;
35266 if (!args
) SWIG_fail
;
35267 swig_obj
[0] = args
;
35268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35269 if (!SWIG_IsOK(res1
)) {
35270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35272 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35275 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35279 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35286 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35289 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35290 return SWIG_Py_Void();
35293 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35294 PyObject
*resultobj
= 0;
35295 wxPseudoDC
*result
= 0 ;
35297 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35300 result
= (wxPseudoDC
*)new wxPseudoDC();
35301 wxPyEndAllowThreads(__tstate
);
35302 if (PyErr_Occurred()) SWIG_fail
;
35304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35311 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35312 PyObject
*resultobj
= 0;
35313 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35316 PyObject
*swig_obj
[1] ;
35318 if (!args
) SWIG_fail
;
35319 swig_obj
[0] = args
;
35320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35321 if (!SWIG_IsOK(res1
)) {
35322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35324 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35327 (arg1
)->BeginDrawing();
35328 wxPyEndAllowThreads(__tstate
);
35329 if (PyErr_Occurred()) SWIG_fail
;
35331 resultobj
= SWIG_Py_Void();
35338 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35339 PyObject
*resultobj
= 0;
35340 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35343 PyObject
*swig_obj
[1] ;
35345 if (!args
) SWIG_fail
;
35346 swig_obj
[0] = args
;
35347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35348 if (!SWIG_IsOK(res1
)) {
35349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35351 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35354 (arg1
)->EndDrawing();
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35358 resultobj
= SWIG_Py_Void();
35365 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35366 PyObject
*resultobj
= 0;
35367 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35370 PyObject
*swig_obj
[1] ;
35372 if (!args
) SWIG_fail
;
35373 swig_obj
[0] = args
;
35374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35375 if (!SWIG_IsOK(res1
)) {
35376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35378 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35386 resultobj
= SWIG_Py_Void();
35393 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35394 PyObject
*resultobj
= 0;
35395 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35398 PyObject
*swig_obj
[1] ;
35400 if (!args
) SWIG_fail
;
35401 swig_obj
[0] = args
;
35402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35403 if (!SWIG_IsOK(res1
)) {
35404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35406 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 (arg1
)->RemoveAll();
35410 wxPyEndAllowThreads(__tstate
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35413 resultobj
= SWIG_Py_Void();
35420 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35421 PyObject
*resultobj
= 0;
35422 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35426 PyObject
*swig_obj
[1] ;
35428 if (!args
) SWIG_fail
;
35429 swig_obj
[0] = args
;
35430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35431 if (!SWIG_IsOK(res1
)) {
35432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35434 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35437 result
= (int)(arg1
)->GetLen();
35438 wxPyEndAllowThreads(__tstate
);
35439 if (PyErr_Occurred()) SWIG_fail
;
35441 resultobj
= SWIG_From_int(static_cast< int >(result
));
35448 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35449 PyObject
*resultobj
= 0;
35450 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35456 PyObject
* obj0
= 0 ;
35457 PyObject
* obj1
= 0 ;
35458 char * kwnames
[] = {
35459 (char *) "self",(char *) "id", NULL
35462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35464 if (!SWIG_IsOK(res1
)) {
35465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35467 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35469 if (!SWIG_IsOK(ecode2
)) {
35470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35472 arg2
= static_cast< int >(val2
);
35474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35475 (arg1
)->SetId(arg2
);
35476 wxPyEndAllowThreads(__tstate
);
35477 if (PyErr_Occurred()) SWIG_fail
;
35479 resultobj
= SWIG_Py_Void();
35486 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35487 PyObject
*resultobj
= 0;
35488 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35494 PyObject
* obj0
= 0 ;
35495 PyObject
* obj1
= 0 ;
35496 char * kwnames
[] = {
35497 (char *) "self",(char *) "id", NULL
35500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35502 if (!SWIG_IsOK(res1
)) {
35503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35505 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35507 if (!SWIG_IsOK(ecode2
)) {
35508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35510 arg2
= static_cast< int >(val2
);
35512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35513 (arg1
)->ClearId(arg2
);
35514 wxPyEndAllowThreads(__tstate
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35517 resultobj
= SWIG_Py_Void();
35524 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35525 PyObject
*resultobj
= 0;
35526 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35532 PyObject
* obj0
= 0 ;
35533 PyObject
* obj1
= 0 ;
35534 char * kwnames
[] = {
35535 (char *) "self",(char *) "id", NULL
35538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35540 if (!SWIG_IsOK(res1
)) {
35541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35543 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35545 if (!SWIG_IsOK(ecode2
)) {
35546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35548 arg2
= static_cast< int >(val2
);
35550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35551 (arg1
)->RemoveId(arg2
);
35552 wxPyEndAllowThreads(__tstate
);
35553 if (PyErr_Occurred()) SWIG_fail
;
35555 resultobj
= SWIG_Py_Void();
35562 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35563 PyObject
*resultobj
= 0;
35564 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35576 PyObject
* obj0
= 0 ;
35577 PyObject
* obj1
= 0 ;
35578 PyObject
* obj2
= 0 ;
35579 PyObject
* obj3
= 0 ;
35580 char * kwnames
[] = {
35581 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35586 if (!SWIG_IsOK(res1
)) {
35587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35589 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35591 if (!SWIG_IsOK(ecode2
)) {
35592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35594 arg2
= static_cast< int >(val2
);
35595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35596 if (!SWIG_IsOK(ecode3
)) {
35597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35599 arg3
= static_cast< int >(val3
);
35600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35601 if (!SWIG_IsOK(ecode4
)) {
35602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35604 arg4
= static_cast< int >(val4
);
35606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35607 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35608 wxPyEndAllowThreads(__tstate
);
35609 if (PyErr_Occurred()) SWIG_fail
;
35611 resultobj
= SWIG_Py_Void();
35618 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35619 PyObject
*resultobj
= 0;
35620 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35622 bool arg3
= (bool) true ;
35629 PyObject
* obj0
= 0 ;
35630 PyObject
* obj1
= 0 ;
35631 PyObject
* obj2
= 0 ;
35632 char * kwnames
[] = {
35633 (char *) "self",(char *) "id",(char *) "greyout", NULL
35636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35638 if (!SWIG_IsOK(res1
)) {
35639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35641 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35643 if (!SWIG_IsOK(ecode2
)) {
35644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35646 arg2
= static_cast< int >(val2
);
35648 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35649 if (!SWIG_IsOK(ecode3
)) {
35650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35652 arg3
= static_cast< bool >(val3
);
35655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35656 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35657 wxPyEndAllowThreads(__tstate
);
35658 if (PyErr_Occurred()) SWIG_fail
;
35660 resultobj
= SWIG_Py_Void();
35667 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35668 PyObject
*resultobj
= 0;
35669 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35676 PyObject
* obj0
= 0 ;
35677 PyObject
* obj1
= 0 ;
35678 char * kwnames
[] = {
35679 (char *) "self",(char *) "id", NULL
35682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35684 if (!SWIG_IsOK(res1
)) {
35685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35687 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35689 if (!SWIG_IsOK(ecode2
)) {
35690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35692 arg2
= static_cast< int >(val2
);
35694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35695 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35696 wxPyEndAllowThreads(__tstate
);
35697 if (PyErr_Occurred()) SWIG_fail
;
35700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35708 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35709 PyObject
*resultobj
= 0;
35710 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35713 int arg4
= (int) 1 ;
35714 wxColor
const &arg5_defvalue
= *wxWHITE
;
35715 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35716 PyObject
*result
= 0 ;
35727 PyObject
* obj0
= 0 ;
35728 PyObject
* obj1
= 0 ;
35729 PyObject
* obj2
= 0 ;
35730 PyObject
* obj3
= 0 ;
35731 PyObject
* obj4
= 0 ;
35732 char * kwnames
[] = {
35733 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35738 if (!SWIG_IsOK(res1
)) {
35739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35741 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35743 if (!SWIG_IsOK(ecode2
)) {
35744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35746 arg2
= static_cast< int >(val2
);
35747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35748 if (!SWIG_IsOK(ecode3
)) {
35749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35751 arg3
= static_cast< int >(val3
);
35753 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35754 if (!SWIG_IsOK(ecode4
)) {
35755 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35757 arg4
= static_cast< int >(val4
);
35760 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35761 if (!SWIG_IsOK(res5
)) {
35762 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35767 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35770 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35771 if (PyErr_Occurred()) SWIG_fail
;
35773 resultobj
= result
;
35780 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35781 PyObject
*resultobj
= 0;
35782 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35785 PyObject
*result
= 0 ;
35792 PyObject
* obj0
= 0 ;
35793 PyObject
* obj1
= 0 ;
35794 PyObject
* obj2
= 0 ;
35795 char * kwnames
[] = {
35796 (char *) "self",(char *) "x",(char *) "y", NULL
35799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35801 if (!SWIG_IsOK(res1
)) {
35802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35804 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35806 if (!SWIG_IsOK(ecode2
)) {
35807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35809 arg2
= static_cast< int >(val2
);
35810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35811 if (!SWIG_IsOK(ecode3
)) {
35812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35814 arg3
= static_cast< int >(val3
);
35816 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35817 if (PyErr_Occurred()) SWIG_fail
;
35819 resultobj
= result
;
35826 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35827 PyObject
*resultobj
= 0;
35828 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35830 wxDC
*arg3
= (wxDC
*) 0 ;
35837 PyObject
* obj0
= 0 ;
35838 PyObject
* obj1
= 0 ;
35839 PyObject
* obj2
= 0 ;
35840 char * kwnames
[] = {
35841 (char *) "self",(char *) "id",(char *) "dc", NULL
35844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35846 if (!SWIG_IsOK(res1
)) {
35847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35849 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35851 if (!SWIG_IsOK(ecode2
)) {
35852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35854 arg2
= static_cast< int >(val2
);
35855 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35856 if (!SWIG_IsOK(res3
)) {
35857 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35859 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35862 (arg1
)->DrawIdToDC(arg2
,arg3
);
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35866 resultobj
= SWIG_Py_Void();
35873 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35874 PyObject
*resultobj
= 0;
35875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35883 PyObject
* obj0
= 0 ;
35884 PyObject
* obj1
= 0 ;
35885 PyObject
* obj2
= 0 ;
35886 char * kwnames
[] = {
35887 (char *) "self",(char *) "id",(char *) "rect", NULL
35890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35892 if (!SWIG_IsOK(res1
)) {
35893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35895 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35897 if (!SWIG_IsOK(ecode2
)) {
35898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35900 arg2
= static_cast< int >(val2
);
35903 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35907 (arg1
)->SetIdBounds(arg2
,*arg3
);
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35911 resultobj
= SWIG_Py_Void();
35918 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35919 PyObject
*resultobj
= 0;
35920 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35927 PyObject
* obj0
= 0 ;
35928 PyObject
* obj1
= 0 ;
35929 char * kwnames
[] = {
35930 (char *) "self",(char *) "id", NULL
35933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35935 if (!SWIG_IsOK(res1
)) {
35936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35938 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35940 if (!SWIG_IsOK(ecode2
)) {
35941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35943 arg2
= static_cast< int >(val2
);
35945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35946 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35947 wxPyEndAllowThreads(__tstate
);
35948 if (PyErr_Occurred()) SWIG_fail
;
35950 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35957 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35958 PyObject
*resultobj
= 0;
35959 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35960 wxDC
*arg2
= (wxDC
*) 0 ;
35967 PyObject
* obj0
= 0 ;
35968 PyObject
* obj1
= 0 ;
35969 PyObject
* obj2
= 0 ;
35970 char * kwnames
[] = {
35971 (char *) "self",(char *) "dc",(char *) "rect", NULL
35974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35976 if (!SWIG_IsOK(res1
)) {
35977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35979 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35980 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35981 if (!SWIG_IsOK(res2
)) {
35982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35984 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35987 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35991 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35992 wxPyEndAllowThreads(__tstate
);
35993 if (PyErr_Occurred()) SWIG_fail
;
35995 resultobj
= SWIG_Py_Void();
36002 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36003 PyObject
*resultobj
= 0;
36004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36005 wxDC
*arg2
= (wxDC
*) 0 ;
36006 wxRegion
*arg3
= 0 ;
36013 PyObject
* obj0
= 0 ;
36014 PyObject
* obj1
= 0 ;
36015 PyObject
* obj2
= 0 ;
36016 char * kwnames
[] = {
36017 (char *) "self",(char *) "dc",(char *) "region", NULL
36020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36022 if (!SWIG_IsOK(res1
)) {
36023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36025 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36027 if (!SWIG_IsOK(res2
)) {
36028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36030 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36031 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36032 if (!SWIG_IsOK(res3
)) {
36033 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36038 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36041 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36042 wxPyEndAllowThreads(__tstate
);
36043 if (PyErr_Occurred()) SWIG_fail
;
36045 resultobj
= SWIG_Py_Void();
36052 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36053 PyObject
*resultobj
= 0;
36054 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36055 wxDC
*arg2
= (wxDC
*) 0 ;
36060 PyObject
* obj0
= 0 ;
36061 PyObject
* obj1
= 0 ;
36062 char * kwnames
[] = {
36063 (char *) "self",(char *) "dc", NULL
36066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36068 if (!SWIG_IsOK(res1
)) {
36069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36071 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36073 if (!SWIG_IsOK(res2
)) {
36074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36076 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36079 (arg1
)->DrawToDC(arg2
);
36080 wxPyEndAllowThreads(__tstate
);
36081 if (PyErr_Occurred()) SWIG_fail
;
36083 resultobj
= SWIG_Py_Void();
36090 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36091 PyObject
*resultobj
= 0;
36092 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36095 wxColour
*arg4
= 0 ;
36096 int arg5
= (int) wxFLOOD_SURFACE
;
36106 PyObject
* obj0
= 0 ;
36107 PyObject
* obj1
= 0 ;
36108 PyObject
* obj2
= 0 ;
36109 PyObject
* obj3
= 0 ;
36110 PyObject
* obj4
= 0 ;
36111 char * kwnames
[] = {
36112 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36117 if (!SWIG_IsOK(res1
)) {
36118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36120 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36122 if (!SWIG_IsOK(ecode2
)) {
36123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36125 arg2
= static_cast< int >(val2
);
36126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36127 if (!SWIG_IsOK(ecode3
)) {
36128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36130 arg3
= static_cast< int >(val3
);
36133 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36136 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36137 if (!SWIG_IsOK(ecode5
)) {
36138 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36140 arg5
= static_cast< int >(val5
);
36143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36145 wxPyEndAllowThreads(__tstate
);
36146 if (PyErr_Occurred()) SWIG_fail
;
36148 resultobj
= SWIG_Py_Void();
36155 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36156 PyObject
*resultobj
= 0;
36157 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36158 wxPoint
*arg2
= 0 ;
36159 wxColour
*arg3
= 0 ;
36160 int arg4
= (int) wxFLOOD_SURFACE
;
36167 PyObject
* obj0
= 0 ;
36168 PyObject
* obj1
= 0 ;
36169 PyObject
* obj2
= 0 ;
36170 PyObject
* obj3
= 0 ;
36171 char * kwnames
[] = {
36172 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36177 if (!SWIG_IsOK(res1
)) {
36178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36180 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36183 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36187 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36190 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36191 if (!SWIG_IsOK(ecode4
)) {
36192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36194 arg4
= static_cast< int >(val4
);
36197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36198 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36199 wxPyEndAllowThreads(__tstate
);
36200 if (PyErr_Occurred()) SWIG_fail
;
36202 resultobj
= SWIG_Py_Void();
36209 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36210 PyObject
*resultobj
= 0;
36211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36226 PyObject
* obj0
= 0 ;
36227 PyObject
* obj1
= 0 ;
36228 PyObject
* obj2
= 0 ;
36229 PyObject
* obj3
= 0 ;
36230 PyObject
* obj4
= 0 ;
36231 char * kwnames
[] = {
36232 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36237 if (!SWIG_IsOK(res1
)) {
36238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36240 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36242 if (!SWIG_IsOK(ecode2
)) {
36243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36245 arg2
= static_cast< int >(val2
);
36246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36247 if (!SWIG_IsOK(ecode3
)) {
36248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36250 arg3
= static_cast< int >(val3
);
36251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36252 if (!SWIG_IsOK(ecode4
)) {
36253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36255 arg4
= static_cast< int >(val4
);
36256 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36257 if (!SWIG_IsOK(ecode5
)) {
36258 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36260 arg5
= static_cast< int >(val5
);
36262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36263 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36264 wxPyEndAllowThreads(__tstate
);
36265 if (PyErr_Occurred()) SWIG_fail
;
36267 resultobj
= SWIG_Py_Void();
36274 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
= 0;
36276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36277 wxPoint
*arg2
= 0 ;
36278 wxPoint
*arg3
= 0 ;
36283 PyObject
* obj0
= 0 ;
36284 PyObject
* obj1
= 0 ;
36285 PyObject
* obj2
= 0 ;
36286 char * kwnames
[] = {
36287 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36292 if (!SWIG_IsOK(res1
)) {
36293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36295 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36307 wxPyEndAllowThreads(__tstate
);
36308 if (PyErr_Occurred()) SWIG_fail
;
36310 resultobj
= SWIG_Py_Void();
36317 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36318 PyObject
*resultobj
= 0;
36319 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36328 PyObject
* obj0
= 0 ;
36329 PyObject
* obj1
= 0 ;
36330 PyObject
* obj2
= 0 ;
36331 char * kwnames
[] = {
36332 (char *) "self",(char *) "x",(char *) "y", NULL
36335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36337 if (!SWIG_IsOK(res1
)) {
36338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36340 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36342 if (!SWIG_IsOK(ecode2
)) {
36343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36345 arg2
= static_cast< int >(val2
);
36346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36347 if (!SWIG_IsOK(ecode3
)) {
36348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36350 arg3
= static_cast< int >(val3
);
36352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36353 (arg1
)->CrossHair(arg2
,arg3
);
36354 wxPyEndAllowThreads(__tstate
);
36355 if (PyErr_Occurred()) SWIG_fail
;
36357 resultobj
= SWIG_Py_Void();
36364 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36365 PyObject
*resultobj
= 0;
36366 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36367 wxPoint
*arg2
= 0 ;
36371 PyObject
* obj0
= 0 ;
36372 PyObject
* obj1
= 0 ;
36373 char * kwnames
[] = {
36374 (char *) "self",(char *) "pt", NULL
36377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36379 if (!SWIG_IsOK(res1
)) {
36380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36382 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36385 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36389 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36390 wxPyEndAllowThreads(__tstate
);
36391 if (PyErr_Occurred()) SWIG_fail
;
36393 resultobj
= SWIG_Py_Void();
36400 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36401 PyObject
*resultobj
= 0;
36402 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36423 PyObject
* obj0
= 0 ;
36424 PyObject
* obj1
= 0 ;
36425 PyObject
* obj2
= 0 ;
36426 PyObject
* obj3
= 0 ;
36427 PyObject
* obj4
= 0 ;
36428 PyObject
* obj5
= 0 ;
36429 PyObject
* obj6
= 0 ;
36430 char * kwnames
[] = {
36431 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36436 if (!SWIG_IsOK(res1
)) {
36437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36441 if (!SWIG_IsOK(ecode2
)) {
36442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36444 arg2
= static_cast< int >(val2
);
36445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36446 if (!SWIG_IsOK(ecode3
)) {
36447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36449 arg3
= static_cast< int >(val3
);
36450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36451 if (!SWIG_IsOK(ecode4
)) {
36452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36454 arg4
= static_cast< int >(val4
);
36455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36456 if (!SWIG_IsOK(ecode5
)) {
36457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36459 arg5
= static_cast< int >(val5
);
36460 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36461 if (!SWIG_IsOK(ecode6
)) {
36462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36464 arg6
= static_cast< int >(val6
);
36465 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36466 if (!SWIG_IsOK(ecode7
)) {
36467 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36469 arg7
= static_cast< int >(val7
);
36471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36473 wxPyEndAllowThreads(__tstate
);
36474 if (PyErr_Occurred()) SWIG_fail
;
36476 resultobj
= SWIG_Py_Void();
36483 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36484 PyObject
*resultobj
= 0;
36485 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36486 wxPoint
*arg2
= 0 ;
36487 wxPoint
*arg3
= 0 ;
36488 wxPoint
*arg4
= 0 ;
36494 PyObject
* obj0
= 0 ;
36495 PyObject
* obj1
= 0 ;
36496 PyObject
* obj2
= 0 ;
36497 PyObject
* obj3
= 0 ;
36498 char * kwnames
[] = {
36499 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36504 if (!SWIG_IsOK(res1
)) {
36505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36514 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36522 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36523 wxPyEndAllowThreads(__tstate
);
36524 if (PyErr_Occurred()) SWIG_fail
;
36526 resultobj
= SWIG_Py_Void();
36533 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36534 PyObject
*resultobj
= 0;
36535 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36550 PyObject
* obj0
= 0 ;
36551 PyObject
* obj1
= 0 ;
36552 PyObject
* obj2
= 0 ;
36553 PyObject
* obj3
= 0 ;
36554 PyObject
* obj4
= 0 ;
36555 char * kwnames
[] = {
36556 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36561 if (!SWIG_IsOK(res1
)) {
36562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36564 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36566 if (!SWIG_IsOK(ecode2
)) {
36567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36569 arg2
= static_cast< int >(val2
);
36570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36571 if (!SWIG_IsOK(ecode3
)) {
36572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36574 arg3
= static_cast< int >(val3
);
36575 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36576 if (!SWIG_IsOK(ecode4
)) {
36577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36579 arg4
= static_cast< int >(val4
);
36580 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36581 if (!SWIG_IsOK(ecode5
)) {
36582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36584 arg5
= static_cast< int >(val5
);
36586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36587 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36588 wxPyEndAllowThreads(__tstate
);
36589 if (PyErr_Occurred()) SWIG_fail
;
36591 resultobj
= SWIG_Py_Void();
36598 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36599 PyObject
*resultobj
= 0;
36600 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36605 PyObject
* obj0
= 0 ;
36606 PyObject
* obj1
= 0 ;
36607 char * kwnames
[] = {
36608 (char *) "self",(char *) "rect", NULL
36611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36613 if (!SWIG_IsOK(res1
)) {
36614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36616 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36619 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36623 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36624 wxPyEndAllowThreads(__tstate
);
36625 if (PyErr_Occurred()) SWIG_fail
;
36627 resultobj
= SWIG_Py_Void();
36634 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36635 PyObject
*resultobj
= 0;
36636 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36657 PyObject
* obj0
= 0 ;
36658 PyObject
* obj1
= 0 ;
36659 PyObject
* obj2
= 0 ;
36660 PyObject
* obj3
= 0 ;
36661 PyObject
* obj4
= 0 ;
36662 PyObject
* obj5
= 0 ;
36663 PyObject
* obj6
= 0 ;
36664 char * kwnames
[] = {
36665 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36670 if (!SWIG_IsOK(res1
)) {
36671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36673 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36675 if (!SWIG_IsOK(ecode2
)) {
36676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36678 arg2
= static_cast< int >(val2
);
36679 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36680 if (!SWIG_IsOK(ecode3
)) {
36681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36683 arg3
= static_cast< int >(val3
);
36684 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36685 if (!SWIG_IsOK(ecode4
)) {
36686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36688 arg4
= static_cast< int >(val4
);
36689 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36690 if (!SWIG_IsOK(ecode5
)) {
36691 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36693 arg5
= static_cast< int >(val5
);
36694 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36695 if (!SWIG_IsOK(ecode6
)) {
36696 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36698 arg6
= static_cast< double >(val6
);
36699 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36700 if (!SWIG_IsOK(ecode7
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36703 arg7
= static_cast< double >(val7
);
36705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36706 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36707 wxPyEndAllowThreads(__tstate
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36710 resultobj
= SWIG_Py_Void();
36717 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36718 PyObject
*resultobj
= 0;
36719 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36720 wxPoint
*arg2
= 0 ;
36732 PyObject
* obj0
= 0 ;
36733 PyObject
* obj1
= 0 ;
36734 PyObject
* obj2
= 0 ;
36735 PyObject
* obj3
= 0 ;
36736 PyObject
* obj4
= 0 ;
36737 char * kwnames
[] = {
36738 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36743 if (!SWIG_IsOK(res1
)) {
36744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36746 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36749 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36753 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36755 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36756 if (!SWIG_IsOK(ecode4
)) {
36757 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36759 arg4
= static_cast< double >(val4
);
36760 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36761 if (!SWIG_IsOK(ecode5
)) {
36762 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36764 arg5
= static_cast< double >(val5
);
36766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36767 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36768 wxPyEndAllowThreads(__tstate
);
36769 if (PyErr_Occurred()) SWIG_fail
;
36771 resultobj
= SWIG_Py_Void();
36778 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36779 PyObject
*resultobj
= 0;
36780 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36789 PyObject
* obj0
= 0 ;
36790 PyObject
* obj1
= 0 ;
36791 PyObject
* obj2
= 0 ;
36792 char * kwnames
[] = {
36793 (char *) "self",(char *) "x",(char *) "y", NULL
36796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36798 if (!SWIG_IsOK(res1
)) {
36799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36801 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36803 if (!SWIG_IsOK(ecode2
)) {
36804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36806 arg2
= static_cast< int >(val2
);
36807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36808 if (!SWIG_IsOK(ecode3
)) {
36809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36811 arg3
= static_cast< int >(val3
);
36813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36814 (arg1
)->DrawPoint(arg2
,arg3
);
36815 wxPyEndAllowThreads(__tstate
);
36816 if (PyErr_Occurred()) SWIG_fail
;
36818 resultobj
= SWIG_Py_Void();
36825 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36826 PyObject
*resultobj
= 0;
36827 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36828 wxPoint
*arg2
= 0 ;
36832 PyObject
* obj0
= 0 ;
36833 PyObject
* obj1
= 0 ;
36834 char * kwnames
[] = {
36835 (char *) "self",(char *) "pt", NULL
36838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36840 if (!SWIG_IsOK(res1
)) {
36841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36843 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36850 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36851 wxPyEndAllowThreads(__tstate
);
36852 if (PyErr_Occurred()) SWIG_fail
;
36854 resultobj
= SWIG_Py_Void();
36861 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36862 PyObject
*resultobj
= 0;
36863 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36878 PyObject
* obj0
= 0 ;
36879 PyObject
* obj1
= 0 ;
36880 PyObject
* obj2
= 0 ;
36881 PyObject
* obj3
= 0 ;
36882 PyObject
* obj4
= 0 ;
36883 char * kwnames
[] = {
36884 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36892 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36894 if (!SWIG_IsOK(ecode2
)) {
36895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36897 arg2
= static_cast< int >(val2
);
36898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36899 if (!SWIG_IsOK(ecode3
)) {
36900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36902 arg3
= static_cast< int >(val3
);
36903 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36904 if (!SWIG_IsOK(ecode4
)) {
36905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36907 arg4
= static_cast< int >(val4
);
36908 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36909 if (!SWIG_IsOK(ecode5
)) {
36910 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36912 arg5
= static_cast< int >(val5
);
36914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36915 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36916 wxPyEndAllowThreads(__tstate
);
36917 if (PyErr_Occurred()) SWIG_fail
;
36919 resultobj
= SWIG_Py_Void();
36926 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36927 PyObject
*resultobj
= 0;
36928 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36933 PyObject
* obj0
= 0 ;
36934 PyObject
* obj1
= 0 ;
36935 char * kwnames
[] = {
36936 (char *) "self",(char *) "rect", NULL
36939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36941 if (!SWIG_IsOK(res1
)) {
36942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36944 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36947 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36951 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36952 wxPyEndAllowThreads(__tstate
);
36953 if (PyErr_Occurred()) SWIG_fail
;
36955 resultobj
= SWIG_Py_Void();
36962 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36963 PyObject
*resultobj
= 0;
36964 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36965 wxPoint
*arg2
= 0 ;
36971 PyObject
* obj0
= 0 ;
36972 PyObject
* obj1
= 0 ;
36973 PyObject
* obj2
= 0 ;
36974 char * kwnames
[] = {
36975 (char *) "self",(char *) "pt",(char *) "sz", NULL
36978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36980 if (!SWIG_IsOK(res1
)) {
36981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36983 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36990 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36994 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36995 wxPyEndAllowThreads(__tstate
);
36996 if (PyErr_Occurred()) SWIG_fail
;
36998 resultobj
= SWIG_Py_Void();
37005 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37006 PyObject
*resultobj
= 0;
37007 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37025 PyObject
* obj0
= 0 ;
37026 PyObject
* obj1
= 0 ;
37027 PyObject
* obj2
= 0 ;
37028 PyObject
* obj3
= 0 ;
37029 PyObject
* obj4
= 0 ;
37030 PyObject
* obj5
= 0 ;
37031 char * kwnames
[] = {
37032 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37037 if (!SWIG_IsOK(res1
)) {
37038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37040 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37042 if (!SWIG_IsOK(ecode2
)) {
37043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37045 arg2
= static_cast< int >(val2
);
37046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37047 if (!SWIG_IsOK(ecode3
)) {
37048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37050 arg3
= static_cast< int >(val3
);
37051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37052 if (!SWIG_IsOK(ecode4
)) {
37053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37055 arg4
= static_cast< int >(val4
);
37056 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37057 if (!SWIG_IsOK(ecode5
)) {
37058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37060 arg5
= static_cast< int >(val5
);
37061 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37062 if (!SWIG_IsOK(ecode6
)) {
37063 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37065 arg6
= static_cast< double >(val6
);
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37069 wxPyEndAllowThreads(__tstate
);
37070 if (PyErr_Occurred()) SWIG_fail
;
37072 resultobj
= SWIG_Py_Void();
37079 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37080 PyObject
*resultobj
= 0;
37081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37089 PyObject
* obj0
= 0 ;
37090 PyObject
* obj1
= 0 ;
37091 PyObject
* obj2
= 0 ;
37092 char * kwnames
[] = {
37093 (char *) "self",(char *) "r",(char *) "radius", NULL
37096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37098 if (!SWIG_IsOK(res1
)) {
37099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37101 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37106 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37107 if (!SWIG_IsOK(ecode3
)) {
37108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37110 arg3
= static_cast< double >(val3
);
37112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37113 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37117 resultobj
= SWIG_Py_Void();
37124 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37125 PyObject
*resultobj
= 0;
37126 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37127 wxPoint
*arg2
= 0 ;
37136 PyObject
* obj0
= 0 ;
37137 PyObject
* obj1
= 0 ;
37138 PyObject
* obj2
= 0 ;
37139 PyObject
* obj3
= 0 ;
37140 char * kwnames
[] = {
37141 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37146 if (!SWIG_IsOK(res1
)) {
37147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37149 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37156 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37158 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37159 if (!SWIG_IsOK(ecode4
)) {
37160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37162 arg4
= static_cast< double >(val4
);
37164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37165 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37166 wxPyEndAllowThreads(__tstate
);
37167 if (PyErr_Occurred()) SWIG_fail
;
37169 resultobj
= SWIG_Py_Void();
37176 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37177 PyObject
*resultobj
= 0;
37178 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37190 PyObject
* obj0
= 0 ;
37191 PyObject
* obj1
= 0 ;
37192 PyObject
* obj2
= 0 ;
37193 PyObject
* obj3
= 0 ;
37194 char * kwnames
[] = {
37195 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37200 if (!SWIG_IsOK(res1
)) {
37201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37203 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37205 if (!SWIG_IsOK(ecode2
)) {
37206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37208 arg2
= static_cast< int >(val2
);
37209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37210 if (!SWIG_IsOK(ecode3
)) {
37211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37213 arg3
= static_cast< int >(val3
);
37214 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37215 if (!SWIG_IsOK(ecode4
)) {
37216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37218 arg4
= static_cast< int >(val4
);
37220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37221 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37222 wxPyEndAllowThreads(__tstate
);
37223 if (PyErr_Occurred()) SWIG_fail
;
37225 resultobj
= SWIG_Py_Void();
37232 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37233 PyObject
*resultobj
= 0;
37234 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37235 wxPoint
*arg2
= 0 ;
37242 PyObject
* obj0
= 0 ;
37243 PyObject
* obj1
= 0 ;
37244 PyObject
* obj2
= 0 ;
37245 char * kwnames
[] = {
37246 (char *) "self",(char *) "pt",(char *) "radius", NULL
37249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37251 if (!SWIG_IsOK(res1
)) {
37252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37254 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37260 if (!SWIG_IsOK(ecode3
)) {
37261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37263 arg3
= static_cast< int >(val3
);
37265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37266 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37267 wxPyEndAllowThreads(__tstate
);
37268 if (PyErr_Occurred()) SWIG_fail
;
37270 resultobj
= SWIG_Py_Void();
37277 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37278 PyObject
*resultobj
= 0;
37279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37294 PyObject
* obj0
= 0 ;
37295 PyObject
* obj1
= 0 ;
37296 PyObject
* obj2
= 0 ;
37297 PyObject
* obj3
= 0 ;
37298 PyObject
* obj4
= 0 ;
37299 char * kwnames
[] = {
37300 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37305 if (!SWIG_IsOK(res1
)) {
37306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37308 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37310 if (!SWIG_IsOK(ecode2
)) {
37311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37313 arg2
= static_cast< int >(val2
);
37314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37315 if (!SWIG_IsOK(ecode3
)) {
37316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37318 arg3
= static_cast< int >(val3
);
37319 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37320 if (!SWIG_IsOK(ecode4
)) {
37321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37323 arg4
= static_cast< int >(val4
);
37324 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37325 if (!SWIG_IsOK(ecode5
)) {
37326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37328 arg5
= static_cast< int >(val5
);
37330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37331 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37332 wxPyEndAllowThreads(__tstate
);
37333 if (PyErr_Occurred()) SWIG_fail
;
37335 resultobj
= SWIG_Py_Void();
37342 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37343 PyObject
*resultobj
= 0;
37344 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37349 PyObject
* obj0
= 0 ;
37350 PyObject
* obj1
= 0 ;
37351 char * kwnames
[] = {
37352 (char *) "self",(char *) "rect", NULL
37355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37357 if (!SWIG_IsOK(res1
)) {
37358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37360 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37363 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37367 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37368 wxPyEndAllowThreads(__tstate
);
37369 if (PyErr_Occurred()) SWIG_fail
;
37371 resultobj
= SWIG_Py_Void();
37378 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37379 PyObject
*resultobj
= 0;
37380 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37381 wxPoint
*arg2
= 0 ;
37387 PyObject
* obj0
= 0 ;
37388 PyObject
* obj1
= 0 ;
37389 PyObject
* obj2
= 0 ;
37390 char * kwnames
[] = {
37391 (char *) "self",(char *) "pt",(char *) "sz", NULL
37394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37396 if (!SWIG_IsOK(res1
)) {
37397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37399 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37406 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37410 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37411 wxPyEndAllowThreads(__tstate
);
37412 if (PyErr_Occurred()) SWIG_fail
;
37414 resultobj
= SWIG_Py_Void();
37421 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37422 PyObject
*resultobj
= 0;
37423 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37435 PyObject
* obj0
= 0 ;
37436 PyObject
* obj1
= 0 ;
37437 PyObject
* obj2
= 0 ;
37438 PyObject
* obj3
= 0 ;
37439 char * kwnames
[] = {
37440 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37445 if (!SWIG_IsOK(res1
)) {
37446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37448 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37449 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37450 if (!SWIG_IsOK(res2
)) {
37451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37456 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37458 if (!SWIG_IsOK(ecode3
)) {
37459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37461 arg3
= static_cast< int >(val3
);
37462 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37463 if (!SWIG_IsOK(ecode4
)) {
37464 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37466 arg4
= static_cast< int >(val4
);
37468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37469 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37470 wxPyEndAllowThreads(__tstate
);
37471 if (PyErr_Occurred()) SWIG_fail
;
37473 resultobj
= SWIG_Py_Void();
37480 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37481 PyObject
*resultobj
= 0;
37482 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37484 wxPoint
*arg3
= 0 ;
37490 PyObject
* obj0
= 0 ;
37491 PyObject
* obj1
= 0 ;
37492 PyObject
* obj2
= 0 ;
37493 char * kwnames
[] = {
37494 (char *) "self",(char *) "icon",(char *) "pt", NULL
37497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37499 if (!SWIG_IsOK(res1
)) {
37500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37502 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37504 if (!SWIG_IsOK(res2
)) {
37505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37510 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37513 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37517 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37518 wxPyEndAllowThreads(__tstate
);
37519 if (PyErr_Occurred()) SWIG_fail
;
37521 resultobj
= SWIG_Py_Void();
37528 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37529 PyObject
*resultobj
= 0;
37530 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37531 wxBitmap
*arg2
= 0 ;
37534 bool arg5
= (bool) false ;
37545 PyObject
* obj0
= 0 ;
37546 PyObject
* obj1
= 0 ;
37547 PyObject
* obj2
= 0 ;
37548 PyObject
* obj3
= 0 ;
37549 PyObject
* obj4
= 0 ;
37550 char * kwnames
[] = {
37551 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37556 if (!SWIG_IsOK(res1
)) {
37557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37559 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37561 if (!SWIG_IsOK(res2
)) {
37562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37567 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37569 if (!SWIG_IsOK(ecode3
)) {
37570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37572 arg3
= static_cast< int >(val3
);
37573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37574 if (!SWIG_IsOK(ecode4
)) {
37575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37577 arg4
= static_cast< int >(val4
);
37579 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37580 if (!SWIG_IsOK(ecode5
)) {
37581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37583 arg5
= static_cast< bool >(val5
);
37586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37587 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37588 wxPyEndAllowThreads(__tstate
);
37589 if (PyErr_Occurred()) SWIG_fail
;
37591 resultobj
= SWIG_Py_Void();
37598 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37599 PyObject
*resultobj
= 0;
37600 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37601 wxBitmap
*arg2
= 0 ;
37602 wxPoint
*arg3
= 0 ;
37603 bool arg4
= (bool) false ;
37611 PyObject
* obj0
= 0 ;
37612 PyObject
* obj1
= 0 ;
37613 PyObject
* obj2
= 0 ;
37614 PyObject
* obj3
= 0 ;
37615 char * kwnames
[] = {
37616 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37621 if (!SWIG_IsOK(res1
)) {
37622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37624 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37626 if (!SWIG_IsOK(res2
)) {
37627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37632 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37635 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37638 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37639 if (!SWIG_IsOK(ecode4
)) {
37640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37642 arg4
= static_cast< bool >(val4
);
37645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37646 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37647 wxPyEndAllowThreads(__tstate
);
37648 if (PyErr_Occurred()) SWIG_fail
;
37650 resultobj
= SWIG_Py_Void();
37657 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37658 PyObject
*resultobj
= 0;
37659 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37660 wxString
*arg2
= 0 ;
37665 bool temp2
= false ;
37670 PyObject
* obj0
= 0 ;
37671 PyObject
* obj1
= 0 ;
37672 PyObject
* obj2
= 0 ;
37673 PyObject
* obj3
= 0 ;
37674 char * kwnames
[] = {
37675 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37680 if (!SWIG_IsOK(res1
)) {
37681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37683 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37685 arg2
= wxString_in_helper(obj1
);
37686 if (arg2
== NULL
) SWIG_fail
;
37689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37690 if (!SWIG_IsOK(ecode3
)) {
37691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37693 arg3
= static_cast< int >(val3
);
37694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37695 if (!SWIG_IsOK(ecode4
)) {
37696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37698 arg4
= static_cast< int >(val4
);
37700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37701 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37702 wxPyEndAllowThreads(__tstate
);
37703 if (PyErr_Occurred()) SWIG_fail
;
37705 resultobj
= SWIG_Py_Void();
37720 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37721 PyObject
*resultobj
= 0;
37722 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37723 wxString
*arg2
= 0 ;
37724 wxPoint
*arg3
= 0 ;
37727 bool temp2
= false ;
37729 PyObject
* obj0
= 0 ;
37730 PyObject
* obj1
= 0 ;
37731 PyObject
* obj2
= 0 ;
37732 char * kwnames
[] = {
37733 (char *) "self",(char *) "text",(char *) "pt", NULL
37736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37738 if (!SWIG_IsOK(res1
)) {
37739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37741 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37743 arg2
= wxString_in_helper(obj1
);
37744 if (arg2
== NULL
) SWIG_fail
;
37749 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37753 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37754 wxPyEndAllowThreads(__tstate
);
37755 if (PyErr_Occurred()) SWIG_fail
;
37757 resultobj
= SWIG_Py_Void();
37772 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37773 PyObject
*resultobj
= 0;
37774 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37775 wxString
*arg2
= 0 ;
37781 bool temp2
= false ;
37788 PyObject
* obj0
= 0 ;
37789 PyObject
* obj1
= 0 ;
37790 PyObject
* obj2
= 0 ;
37791 PyObject
* obj3
= 0 ;
37792 PyObject
* obj4
= 0 ;
37793 char * kwnames
[] = {
37794 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37799 if (!SWIG_IsOK(res1
)) {
37800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37802 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37804 arg2
= wxString_in_helper(obj1
);
37805 if (arg2
== NULL
) SWIG_fail
;
37808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37809 if (!SWIG_IsOK(ecode3
)) {
37810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37812 arg3
= static_cast< int >(val3
);
37813 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37814 if (!SWIG_IsOK(ecode4
)) {
37815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37817 arg4
= static_cast< int >(val4
);
37818 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37819 if (!SWIG_IsOK(ecode5
)) {
37820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37822 arg5
= static_cast< double >(val5
);
37824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37825 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37826 wxPyEndAllowThreads(__tstate
);
37827 if (PyErr_Occurred()) SWIG_fail
;
37829 resultobj
= SWIG_Py_Void();
37844 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37845 PyObject
*resultobj
= 0;
37846 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37847 wxString
*arg2
= 0 ;
37848 wxPoint
*arg3
= 0 ;
37852 bool temp2
= false ;
37856 PyObject
* obj0
= 0 ;
37857 PyObject
* obj1
= 0 ;
37858 PyObject
* obj2
= 0 ;
37859 PyObject
* obj3
= 0 ;
37860 char * kwnames
[] = {
37861 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37866 if (!SWIG_IsOK(res1
)) {
37867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37869 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37871 arg2
= wxString_in_helper(obj1
);
37872 if (arg2
== NULL
) SWIG_fail
;
37877 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37879 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37880 if (!SWIG_IsOK(ecode4
)) {
37881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37883 arg4
= static_cast< double >(val4
);
37885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37886 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37887 wxPyEndAllowThreads(__tstate
);
37888 if (PyErr_Occurred()) SWIG_fail
;
37890 resultobj
= SWIG_Py_Void();
37905 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37906 PyObject
*resultobj
= 0;
37907 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37909 wxPoint
*arg3
= (wxPoint
*) 0 ;
37910 int arg4
= (int) 0 ;
37911 int arg5
= (int) 0 ;
37918 PyObject
* obj0
= 0 ;
37919 PyObject
* obj1
= 0 ;
37920 PyObject
* obj2
= 0 ;
37921 PyObject
* obj3
= 0 ;
37922 char * kwnames
[] = {
37923 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37928 if (!SWIG_IsOK(res1
)) {
37929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37931 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37933 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37934 if (arg3
== NULL
) SWIG_fail
;
37937 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37938 if (!SWIG_IsOK(ecode4
)) {
37939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37941 arg4
= static_cast< int >(val4
);
37944 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37945 if (!SWIG_IsOK(ecode5
)) {
37946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37948 arg5
= static_cast< int >(val5
);
37951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37952 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37953 wxPyEndAllowThreads(__tstate
);
37954 if (PyErr_Occurred()) SWIG_fail
;
37956 resultobj
= SWIG_Py_Void();
37958 if (arg3
) delete [] arg3
;
37963 if (arg3
) delete [] arg3
;
37969 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37970 PyObject
*resultobj
= 0;
37971 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37973 wxPoint
*arg3
= (wxPoint
*) 0 ;
37974 int arg4
= (int) 0 ;
37975 int arg5
= (int) 0 ;
37976 int arg6
= (int) wxODDEVEN_RULE
;
37985 PyObject
* obj0
= 0 ;
37986 PyObject
* obj1
= 0 ;
37987 PyObject
* obj2
= 0 ;
37988 PyObject
* obj3
= 0 ;
37989 PyObject
* obj4
= 0 ;
37990 char * kwnames
[] = {
37991 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37996 if (!SWIG_IsOK(res1
)) {
37997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37999 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38001 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38002 if (arg3
== NULL
) SWIG_fail
;
38005 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38006 if (!SWIG_IsOK(ecode4
)) {
38007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38009 arg4
= static_cast< int >(val4
);
38012 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38013 if (!SWIG_IsOK(ecode5
)) {
38014 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38016 arg5
= static_cast< int >(val5
);
38019 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38020 if (!SWIG_IsOK(ecode6
)) {
38021 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38023 arg6
= static_cast< int >(val6
);
38026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38027 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38028 wxPyEndAllowThreads(__tstate
);
38029 if (PyErr_Occurred()) SWIG_fail
;
38031 resultobj
= SWIG_Py_Void();
38033 if (arg3
) delete [] arg3
;
38038 if (arg3
) delete [] arg3
;
38044 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38045 PyObject
*resultobj
= 0;
38046 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38047 wxString
*arg2
= 0 ;
38049 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38050 int arg5
= (int) -1 ;
38053 bool temp2
= false ;
38059 PyObject
* obj0
= 0 ;
38060 PyObject
* obj1
= 0 ;
38061 PyObject
* obj2
= 0 ;
38062 PyObject
* obj3
= 0 ;
38063 PyObject
* obj4
= 0 ;
38064 char * kwnames
[] = {
38065 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38070 if (!SWIG_IsOK(res1
)) {
38071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38075 arg2
= wxString_in_helper(obj1
);
38076 if (arg2
== NULL
) SWIG_fail
;
38081 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38085 if (!SWIG_IsOK(ecode4
)) {
38086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38088 arg4
= static_cast< int >(val4
);
38091 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38092 if (!SWIG_IsOK(ecode5
)) {
38093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38095 arg5
= static_cast< int >(val5
);
38098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38099 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38100 wxPyEndAllowThreads(__tstate
);
38101 if (PyErr_Occurred()) SWIG_fail
;
38103 resultobj
= SWIG_Py_Void();
38118 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38119 PyObject
*resultobj
= 0;
38120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38121 wxString
*arg2
= 0 ;
38122 wxBitmap
*arg3
= 0 ;
38124 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38125 int arg6
= (int) -1 ;
38128 bool temp2
= false ;
38136 PyObject
* obj0
= 0 ;
38137 PyObject
* obj1
= 0 ;
38138 PyObject
* obj2
= 0 ;
38139 PyObject
* obj3
= 0 ;
38140 PyObject
* obj4
= 0 ;
38141 PyObject
* obj5
= 0 ;
38142 char * kwnames
[] = {
38143 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38148 if (!SWIG_IsOK(res1
)) {
38149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38151 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38153 arg2
= wxString_in_helper(obj1
);
38154 if (arg2
== NULL
) SWIG_fail
;
38157 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38158 if (!SWIG_IsOK(res3
)) {
38159 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38164 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38167 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38170 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38171 if (!SWIG_IsOK(ecode5
)) {
38172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38174 arg5
= static_cast< int >(val5
);
38177 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38178 if (!SWIG_IsOK(ecode6
)) {
38179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38181 arg6
= static_cast< int >(val6
);
38184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38185 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38186 wxPyEndAllowThreads(__tstate
);
38187 if (PyErr_Occurred()) SWIG_fail
;
38189 resultobj
= SWIG_Py_Void();
38204 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38205 PyObject
*resultobj
= 0;
38206 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38208 wxPoint
*arg3
= (wxPoint
*) 0 ;
38211 PyObject
* obj0
= 0 ;
38212 PyObject
* obj1
= 0 ;
38213 char * kwnames
[] = {
38214 (char *) "self",(char *) "points", NULL
38217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38219 if (!SWIG_IsOK(res1
)) {
38220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38222 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38224 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38225 if (arg3
== NULL
) SWIG_fail
;
38228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38229 (arg1
)->DrawSpline(arg2
,arg3
);
38230 wxPyEndAllowThreads(__tstate
);
38231 if (PyErr_Occurred()) SWIG_fail
;
38233 resultobj
= SWIG_Py_Void();
38235 if (arg3
) delete [] arg3
;
38240 if (arg3
) delete [] arg3
;
38246 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38247 PyObject
*resultobj
= 0;
38248 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38251 PyObject
*swig_obj
[1] ;
38253 if (!args
) SWIG_fail
;
38254 swig_obj
[0] = args
;
38255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38256 if (!SWIG_IsOK(res1
)) {
38257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38259 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38266 resultobj
= SWIG_Py_Void();
38273 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
= 0;
38275 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38281 PyObject
* obj0
= 0 ;
38282 PyObject
* obj1
= 0 ;
38283 char * kwnames
[] = {
38284 (char *) "self",(char *) "font", NULL
38287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38289 if (!SWIG_IsOK(res1
)) {
38290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38292 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38294 if (!SWIG_IsOK(res2
)) {
38295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38300 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38303 (arg1
)->SetFont((wxFont
const &)*arg2
);
38304 wxPyEndAllowThreads(__tstate
);
38305 if (PyErr_Occurred()) SWIG_fail
;
38307 resultobj
= SWIG_Py_Void();
38314 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38315 PyObject
*resultobj
= 0;
38316 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38322 PyObject
* obj0
= 0 ;
38323 PyObject
* obj1
= 0 ;
38324 char * kwnames
[] = {
38325 (char *) "self",(char *) "pen", NULL
38328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38330 if (!SWIG_IsOK(res1
)) {
38331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38333 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38335 if (!SWIG_IsOK(res2
)) {
38336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38341 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38344 (arg1
)->SetPen((wxPen
const &)*arg2
);
38345 wxPyEndAllowThreads(__tstate
);
38346 if (PyErr_Occurred()) SWIG_fail
;
38348 resultobj
= SWIG_Py_Void();
38355 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38356 PyObject
*resultobj
= 0;
38357 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38358 wxBrush
*arg2
= 0 ;
38363 PyObject
* obj0
= 0 ;
38364 PyObject
* obj1
= 0 ;
38365 char * kwnames
[] = {
38366 (char *) "self",(char *) "brush", NULL
38369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38371 if (!SWIG_IsOK(res1
)) {
38372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38374 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38376 if (!SWIG_IsOK(res2
)) {
38377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38382 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38385 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38386 wxPyEndAllowThreads(__tstate
);
38387 if (PyErr_Occurred()) SWIG_fail
;
38389 resultobj
= SWIG_Py_Void();
38396 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38397 PyObject
*resultobj
= 0;
38398 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38399 wxBrush
*arg2
= 0 ;
38404 PyObject
* obj0
= 0 ;
38405 PyObject
* obj1
= 0 ;
38406 char * kwnames
[] = {
38407 (char *) "self",(char *) "brush", NULL
38410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38412 if (!SWIG_IsOK(res1
)) {
38413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38415 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38417 if (!SWIG_IsOK(res2
)) {
38418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38423 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38426 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38427 wxPyEndAllowThreads(__tstate
);
38428 if (PyErr_Occurred()) SWIG_fail
;
38430 resultobj
= SWIG_Py_Void();
38437 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38438 PyObject
*resultobj
= 0;
38439 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38445 PyObject
* obj0
= 0 ;
38446 PyObject
* obj1
= 0 ;
38447 char * kwnames
[] = {
38448 (char *) "self",(char *) "mode", NULL
38451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38453 if (!SWIG_IsOK(res1
)) {
38454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38456 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38458 if (!SWIG_IsOK(ecode2
)) {
38459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38461 arg2
= static_cast< int >(val2
);
38463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38464 (arg1
)->SetBackgroundMode(arg2
);
38465 wxPyEndAllowThreads(__tstate
);
38466 if (PyErr_Occurred()) SWIG_fail
;
38468 resultobj
= SWIG_Py_Void();
38475 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38476 PyObject
*resultobj
= 0;
38477 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38478 wxPalette
*arg2
= 0 ;
38483 PyObject
* obj0
= 0 ;
38484 PyObject
* obj1
= 0 ;
38485 char * kwnames
[] = {
38486 (char *) "self",(char *) "palette", NULL
38489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38491 if (!SWIG_IsOK(res1
)) {
38492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38494 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38496 if (!SWIG_IsOK(res2
)) {
38497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38502 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38505 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38506 wxPyEndAllowThreads(__tstate
);
38507 if (PyErr_Occurred()) SWIG_fail
;
38509 resultobj
= SWIG_Py_Void();
38516 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38517 PyObject
*resultobj
= 0;
38518 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38519 wxColour
*arg2
= 0 ;
38523 PyObject
* obj0
= 0 ;
38524 PyObject
* obj1
= 0 ;
38525 char * kwnames
[] = {
38526 (char *) "self",(char *) "colour", NULL
38529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38531 if (!SWIG_IsOK(res1
)) {
38532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38534 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38537 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38541 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38542 wxPyEndAllowThreads(__tstate
);
38543 if (PyErr_Occurred()) SWIG_fail
;
38545 resultobj
= SWIG_Py_Void();
38552 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38553 PyObject
*resultobj
= 0;
38554 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38555 wxColour
*arg2
= 0 ;
38559 PyObject
* obj0
= 0 ;
38560 PyObject
* obj1
= 0 ;
38561 char * kwnames
[] = {
38562 (char *) "self",(char *) "colour", NULL
38565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38567 if (!SWIG_IsOK(res1
)) {
38568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38570 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38577 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38578 wxPyEndAllowThreads(__tstate
);
38579 if (PyErr_Occurred()) SWIG_fail
;
38581 resultobj
= SWIG_Py_Void();
38588 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38589 PyObject
*resultobj
= 0;
38590 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38596 PyObject
* obj0
= 0 ;
38597 PyObject
* obj1
= 0 ;
38598 char * kwnames
[] = {
38599 (char *) "self",(char *) "function", NULL
38602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38604 if (!SWIG_IsOK(res1
)) {
38605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38607 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38609 if (!SWIG_IsOK(ecode2
)) {
38610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38612 arg2
= static_cast< int >(val2
);
38614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38615 (arg1
)->SetLogicalFunction(arg2
);
38616 wxPyEndAllowThreads(__tstate
);
38617 if (PyErr_Occurred()) SWIG_fail
;
38619 resultobj
= SWIG_Py_Void();
38626 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38629 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38630 return SWIG_Py_Void();
38633 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38634 return SWIG_Python_InitShadowInstance(args
);
38637 static PyMethodDef SwigMethods
[] = {
38638 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38639 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38640 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38641 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38642 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38643 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38647 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38648 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38649 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38650 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38651 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38652 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38656 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38657 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38661 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38662 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38663 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38665 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38666 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38667 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38668 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38669 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38670 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38671 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38673 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38674 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38675 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38676 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38677 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38678 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38679 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38686 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38690 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38691 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38694 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38698 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38699 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38700 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38701 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38702 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38703 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38705 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38706 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38708 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38714 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38715 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38716 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38717 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38718 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38719 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38720 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38726 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38736 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38737 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38741 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38742 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38743 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38744 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38745 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38746 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38747 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38748 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38749 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38750 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38751 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38752 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38753 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38754 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38755 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38757 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38758 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38764 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38765 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38766 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38767 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38768 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38769 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38770 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38771 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38772 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38773 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38774 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38775 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38777 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38778 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38784 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38785 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38786 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38788 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38789 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38790 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38792 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38793 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38797 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38798 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38799 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38800 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38805 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38806 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38808 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38809 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38811 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38813 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38814 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38815 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38816 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38819 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38823 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38824 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38826 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38829 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38830 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38831 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38836 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38837 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38843 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38847 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38858 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38861 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38862 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38864 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38865 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38866 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38867 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38868 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38869 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38870 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38871 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38872 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38873 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38874 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38875 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38876 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38877 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38878 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38879 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38880 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38882 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38883 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38884 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38885 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38886 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38887 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38888 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38897 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38898 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38900 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38901 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38902 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38903 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38904 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38905 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38906 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38907 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38908 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38910 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38911 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38912 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38915 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38916 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38917 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38920 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38926 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38931 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38932 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38934 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38940 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38943 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38944 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38945 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38946 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38947 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38948 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38949 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38950 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38951 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38952 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38953 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38954 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38955 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38967 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38968 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38969 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38971 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38972 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38974 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38975 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38976 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38977 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38981 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38982 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38984 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38985 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38986 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38987 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38988 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38989 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38990 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38991 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38992 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38994 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38997 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38998 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38999 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39000 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39001 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39002 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39003 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39004 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39014 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39015 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39016 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39018 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39022 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39023 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39024 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39025 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39026 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39027 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39033 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39034 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39035 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39048 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39085 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39087 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39088 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39089 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39096 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39097 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39098 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39099 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39100 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39105 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39106 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39107 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39108 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39117 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39118 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39119 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39120 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39121 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39122 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39123 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39124 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39125 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39126 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39127 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39128 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39131 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39133 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39135 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39137 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39138 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39141 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39142 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39146 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39148 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39151 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39152 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39153 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39154 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39155 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39156 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39157 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39165 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39167 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39168 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39169 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39171 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39172 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39173 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39175 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39176 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39177 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39178 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39179 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39180 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39181 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39182 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39185 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39186 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39187 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39189 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39190 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39192 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39193 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39195 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39196 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39201 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39202 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39203 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39204 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39205 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39207 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39208 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39209 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39211 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39212 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39214 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39215 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39218 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39219 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39221 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39224 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39225 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39226 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39228 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39229 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39231 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39232 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39233 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39234 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39235 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39237 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39238 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39239 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39241 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39242 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39244 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39245 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39246 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39247 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39248 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39249 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39250 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39251 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39252 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39253 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39254 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39255 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39256 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39257 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39258 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39259 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39260 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39261 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39262 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39265 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39266 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39268 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39274 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39275 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39276 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39277 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39278 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39279 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39280 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39281 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39283 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39284 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39285 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39292 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39295 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39296 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39297 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39298 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39299 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39300 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39301 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39304 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39311 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39312 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39315 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39316 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39317 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39324 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39325 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39326 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39327 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39345 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39346 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39347 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39348 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39349 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39350 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39353 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39360 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39361 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39362 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39363 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39365 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39366 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39367 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39368 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39369 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39370 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39371 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39372 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39373 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39374 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39375 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39376 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39378 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39386 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39388 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39390 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39391 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39392 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39393 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39394 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39395 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39401 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39402 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39403 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39404 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39405 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39406 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39410 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39414 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39418 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39419 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39420 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39425 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39426 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39427 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39428 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39429 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39430 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39431 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39432 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39433 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39434 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39435 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39436 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39445 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39446 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39448 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39449 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39450 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39451 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39452 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39453 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39454 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39455 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39456 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39457 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39458 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39459 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39460 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39461 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39462 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39463 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39464 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39465 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39466 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39467 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39468 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39469 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39470 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39471 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39473 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39475 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39476 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39477 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39478 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39491 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39492 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39493 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39495 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39496 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39497 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39498 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39499 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39500 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39501 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39502 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39518 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39555 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39565 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39566 { NULL
, NULL
, 0, NULL
}
39570 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39572 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39573 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39575 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39576 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39578 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39579 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39581 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39582 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39584 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39585 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39587 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39588 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39590 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39591 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39593 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39594 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39596 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39597 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39599 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39600 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39602 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39603 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39605 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39606 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39608 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39609 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39611 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39612 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39614 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39615 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39617 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39618 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39620 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39621 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39623 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39624 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39626 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39627 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39629 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39630 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39632 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39633 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39635 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39636 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39638 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39639 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39641 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39642 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39644 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39645 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39647 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39648 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39650 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39651 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39653 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39654 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39656 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39657 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39659 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39660 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39662 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39663 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39665 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39666 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39668 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39669 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39671 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39672 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39674 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39675 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39677 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39678 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39680 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39681 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39683 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39684 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39686 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39687 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39689 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39690 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39692 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39693 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39695 static void *_p_wxPenTo_p_wxObject(void *x
) {
39696 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39698 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39699 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39701 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39702 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39704 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39705 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39707 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39710 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39711 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39713 static void *_p_wxIconTo_p_wxObject(void *x
) {
39714 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39716 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39717 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39719 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39720 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39722 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39723 return (void *)((wxObject
*) ((wxSizer
*) x
));
39725 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39726 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39728 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39729 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39731 static void *_p_wxEventTo_p_wxObject(void *x
) {
39732 return (void *)((wxObject
*) ((wxEvent
*) x
));
39734 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39735 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39737 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39738 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39740 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39741 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39743 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39744 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39746 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39747 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39749 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39750 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39752 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39753 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39755 static void *_p_wxDCTo_p_wxObject(void *x
) {
39756 return (void *)((wxObject
*) ((wxDC
*) x
));
39758 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39759 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39761 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39762 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39764 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39765 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39767 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39768 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39770 static void *_p_wxControlTo_p_wxObject(void *x
) {
39771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39773 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39774 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39776 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39777 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39779 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39780 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39782 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39783 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39785 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39786 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39788 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39789 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39791 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39792 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39794 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39795 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39797 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39798 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39800 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39801 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39803 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39804 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39806 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39807 return (void *)((wxObject
*) ((wxEffects
*) x
));
39809 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39810 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39812 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39813 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39815 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39816 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39818 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39819 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39821 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39822 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39824 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39825 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39827 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39830 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39831 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39833 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39836 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39837 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39839 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39840 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39842 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39843 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39845 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39846 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39848 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39849 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39851 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39852 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39854 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39855 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39857 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39858 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39860 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39861 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39863 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39864 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39866 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39867 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39869 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39870 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39872 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39873 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39875 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39876 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39878 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39879 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39881 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39882 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39884 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39885 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39887 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39888 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39890 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39891 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39893 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39894 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39896 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39897 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39899 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39900 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39902 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39903 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39905 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39906 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39908 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39909 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39911 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39912 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39914 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39915 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39917 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39918 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39920 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39921 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39923 static void *_p_wxImageTo_p_wxObject(void *x
) {
39924 return (void *)((wxObject
*) ((wxImage
*) x
));
39926 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39927 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39929 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39930 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39932 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39933 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39935 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39936 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39938 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39939 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39941 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39942 return (void *)((wxObject
*) ((wxImageList
*) x
));
39944 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39945 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39947 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39948 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39950 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39951 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39953 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39954 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39956 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39957 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39959 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39962 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39963 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39965 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39966 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39968 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39969 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39971 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39972 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39974 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39977 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39978 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39980 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39981 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39983 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39984 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39986 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39987 return (void *)((wxObject
*) ((wxMask
*) x
));
39989 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39990 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39992 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39993 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39995 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39996 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39998 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39999 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40001 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40002 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40004 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40005 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40007 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40008 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40010 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40013 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40014 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40016 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40017 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40019 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40020 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40022 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40023 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40025 static void *_p_wxFontTo_p_wxObject(void *x
) {
40026 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40028 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40029 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40031 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40032 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40034 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40037 static void *_p_wxColourTo_p_wxObject(void *x
) {
40038 return (void *)((wxObject
*) ((wxColour
*) x
));
40040 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40043 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40044 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40046 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40047 return (void *)((wxWindow
*) ((wxControl
*) x
));
40049 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40050 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40052 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40053 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40055 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40056 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40058 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40059 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40061 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40062 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40063 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40064 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};
40065 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40066 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40067 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40068 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40069 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40070 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40071 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40072 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40073 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40074 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40075 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40076 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40077 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40078 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40079 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40080 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40081 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40082 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40083 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40084 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40085 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40086 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40087 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40088 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40089 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40090 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40091 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40092 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40093 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40094 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40095 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40096 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40097 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40098 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40099 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40100 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40101 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40102 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40103 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40104 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40105 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40106 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40107 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40108 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40109 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40110 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40111 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40112 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40113 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40114 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40115 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40116 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40117 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40118 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40119 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40120 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40121 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40122 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40123 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40124 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40125 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40126 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40127 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40128 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40129 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40130 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40131 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40132 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40133 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40134 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40135 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40136 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40137 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40138 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40139 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40140 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40141 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40142 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40143 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40144 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40145 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40146 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40147 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40148 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40149 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40150 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40151 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40152 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40153 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40154 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40155 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40156 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40157 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40158 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40159 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40160 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40161 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40162 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40163 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40164 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40165 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40166 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40167 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40168 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40169 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40170 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40171 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40172 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40173 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40174 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40175 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40176 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40177 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40178 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40179 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40180 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40181 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40182 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40183 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40184 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40185 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40186 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40187 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40188 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40189 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40190 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40191 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40192 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40193 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40194 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40195 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40196 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40197 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40198 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40199 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40200 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40201 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40202 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40203 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40204 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40205 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40206 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40207 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40208 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40209 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40210 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40211 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40212 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40213 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40214 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40215 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40216 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40217 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40218 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40219 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40220 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40221 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40222 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40223 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40224 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40225 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40226 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40227 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40228 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40229 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40230 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40232 static swig_type_info
*swig_type_initial
[] = {
40236 &_swigt__p_form_ops_t
,
40238 &_swigt__p_unsigned_char
,
40239 &_swigt__p_unsigned_int
,
40240 &_swigt__p_unsigned_long
,
40242 &_swigt__p_wxANIHandler
,
40243 &_swigt__p_wxAcceleratorTable
,
40244 &_swigt__p_wxActivateEvent
,
40245 &_swigt__p_wxAlphaPixelData
,
40246 &_swigt__p_wxAlphaPixelData_Accessor
,
40247 &_swigt__p_wxAutoBufferedPaintDC
,
40248 &_swigt__p_wxBMPHandler
,
40249 &_swigt__p_wxBitmap
,
40250 &_swigt__p_wxBoxSizer
,
40251 &_swigt__p_wxBrush
,
40252 &_swigt__p_wxBrushList
,
40253 &_swigt__p_wxBufferedDC
,
40254 &_swigt__p_wxBufferedPaintDC
,
40255 &_swigt__p_wxCURHandler
,
40257 &_swigt__p_wxChildFocusEvent
,
40258 &_swigt__p_wxClientDC
,
40259 &_swigt__p_wxClipboardTextEvent
,
40260 &_swigt__p_wxCloseEvent
,
40261 &_swigt__p_wxColor
,
40262 &_swigt__p_wxColour
,
40263 &_swigt__p_wxColourDatabase
,
40264 &_swigt__p_wxCommandEvent
,
40265 &_swigt__p_wxContextMenuEvent
,
40266 &_swigt__p_wxControl
,
40267 &_swigt__p_wxControlWithItems
,
40268 &_swigt__p_wxCursor
,
40270 &_swigt__p_wxDCBrushChanger
,
40271 &_swigt__p_wxDCClipper
,
40272 &_swigt__p_wxDCOverlay
,
40273 &_swigt__p_wxDCPenChanger
,
40274 &_swigt__p_wxDCTextColourChanger
,
40276 &_swigt__p_wxDateEvent
,
40277 &_swigt__p_wxDisplayChangedEvent
,
40278 &_swigt__p_wxDropFilesEvent
,
40279 &_swigt__p_wxDuplexMode
,
40280 &_swigt__p_wxEffects
,
40281 &_swigt__p_wxEncodingConverter
,
40282 &_swigt__p_wxEraseEvent
,
40283 &_swigt__p_wxEvent
,
40284 &_swigt__p_wxEvtHandler
,
40285 &_swigt__p_wxFSFile
,
40286 &_swigt__p_wxFileSystem
,
40287 &_swigt__p_wxFlexGridSizer
,
40288 &_swigt__p_wxFocusEvent
,
40290 &_swigt__p_wxFontList
,
40291 &_swigt__p_wxFontMapper
,
40292 &_swigt__p_wxGBSizerItem
,
40294 &_swigt__p_wxGDIObjListBase
,
40295 &_swigt__p_wxGDIObject
,
40296 &_swigt__p_wxGIFHandler
,
40297 &_swigt__p_wxGraphicsBrush
,
40298 &_swigt__p_wxGraphicsContext
,
40299 &_swigt__p_wxGraphicsFont
,
40300 &_swigt__p_wxGraphicsMatrix
,
40301 &_swigt__p_wxGraphicsObject
,
40302 &_swigt__p_wxGraphicsPath
,
40303 &_swigt__p_wxGraphicsPen
,
40304 &_swigt__p_wxGraphicsRenderer
,
40305 &_swigt__p_wxGridBagSizer
,
40306 &_swigt__p_wxGridSizer
,
40307 &_swigt__p_wxHeaderButtonParams
,
40308 &_swigt__p_wxICOHandler
,
40310 &_swigt__p_wxIconBundle
,
40311 &_swigt__p_wxIconLocation
,
40312 &_swigt__p_wxIconizeEvent
,
40313 &_swigt__p_wxIdleEvent
,
40314 &_swigt__p_wxImage
,
40315 &_swigt__p_wxImageHandler
,
40316 &_swigt__p_wxImageList
,
40317 &_swigt__p_wxIndividualLayoutConstraint
,
40318 &_swigt__p_wxInitDialogEvent
,
40319 &_swigt__p_wxJPEGHandler
,
40320 &_swigt__p_wxKeyEvent
,
40321 &_swigt__p_wxLanguageInfo
,
40322 &_swigt__p_wxLayoutConstraints
,
40323 &_swigt__p_wxLocale
,
40325 &_swigt__p_wxMaximizeEvent
,
40326 &_swigt__p_wxMemoryDC
,
40328 &_swigt__p_wxMenuBar
,
40329 &_swigt__p_wxMenuEvent
,
40330 &_swigt__p_wxMenuItem
,
40331 &_swigt__p_wxMetaFile
,
40332 &_swigt__p_wxMetaFileDC
,
40333 &_swigt__p_wxMirrorDC
,
40334 &_swigt__p_wxMouseCaptureChangedEvent
,
40335 &_swigt__p_wxMouseCaptureLostEvent
,
40336 &_swigt__p_wxMouseEvent
,
40337 &_swigt__p_wxMoveEvent
,
40338 &_swigt__p_wxNativeEncodingInfo
,
40339 &_swigt__p_wxNativeFontInfo
,
40340 &_swigt__p_wxNativePixelData
,
40341 &_swigt__p_wxNativePixelData_Accessor
,
40342 &_swigt__p_wxNavigationKeyEvent
,
40343 &_swigt__p_wxNcPaintEvent
,
40344 &_swigt__p_wxNotifyEvent
,
40345 &_swigt__p_wxObject
,
40346 &_swigt__p_wxOverlay
,
40347 &_swigt__p_wxPCXHandler
,
40348 &_swigt__p_wxPNGHandler
,
40349 &_swigt__p_wxPNMHandler
,
40350 &_swigt__p_wxPaintDC
,
40351 &_swigt__p_wxPaintEvent
,
40352 &_swigt__p_wxPalette
,
40353 &_swigt__p_wxPaletteChangedEvent
,
40354 &_swigt__p_wxPaperSize
,
40356 &_swigt__p_wxPenList
,
40357 &_swigt__p_wxPixelDataBase
,
40358 &_swigt__p_wxPoint
,
40359 &_swigt__p_wxPoint2D
,
40360 &_swigt__p_wxPostScriptDC
,
40361 &_swigt__p_wxPrintData
,
40362 &_swigt__p_wxPrinterDC
,
40363 &_swigt__p_wxPseudoDC
,
40364 &_swigt__p_wxPyApp
,
40365 &_swigt__p_wxPyCommandEvent
,
40366 &_swigt__p_wxPyEvent
,
40367 &_swigt__p_wxPyFontEnumerator
,
40368 &_swigt__p_wxPyImageHandler
,
40369 &_swigt__p_wxPyLocale
,
40370 &_swigt__p_wxPySizer
,
40371 &_swigt__p_wxPyValidator
,
40372 &_swigt__p_wxQueryNewPaletteEvent
,
40374 &_swigt__p_wxRect2D
,
40375 &_swigt__p_wxRegion
,
40376 &_swigt__p_wxRegionIterator
,
40377 &_swigt__p_wxRendererNative
,
40378 &_swigt__p_wxRendererVersion
,
40379 &_swigt__p_wxScreenDC
,
40380 &_swigt__p_wxScrollEvent
,
40381 &_swigt__p_wxScrollWinEvent
,
40382 &_swigt__p_wxSetCursorEvent
,
40383 &_swigt__p_wxShowEvent
,
40385 &_swigt__p_wxSizeEvent
,
40386 &_swigt__p_wxSizer
,
40387 &_swigt__p_wxSizerItem
,
40388 &_swigt__p_wxSplitterRenderParams
,
40389 &_swigt__p_wxStaticBoxSizer
,
40390 &_swigt__p_wxStdDialogButtonSizer
,
40391 &_swigt__p_wxStockGDI
,
40392 &_swigt__p_wxString
,
40393 &_swigt__p_wxSysColourChangedEvent
,
40394 &_swigt__p_wxTGAHandler
,
40395 &_swigt__p_wxTIFFHandler
,
40396 &_swigt__p_wxUpdateUIEvent
,
40397 &_swigt__p_wxValidator
,
40398 &_swigt__p_wxWindow
,
40399 &_swigt__p_wxWindowCreateEvent
,
40400 &_swigt__p_wxWindowDC
,
40401 &_swigt__p_wxWindowDestroyEvent
,
40402 &_swigt__p_wxXPMHandler
,
40405 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40406 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40407 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40408 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40409 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40410 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40411 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40412 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40413 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40414 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40415 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40416 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40417 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40418 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40419 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40420 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}};
40421 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40422 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40423 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}};
40424 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40425 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40426 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40427 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40428 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}};
40429 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40430 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40431 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40432 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40433 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40434 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40435 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40436 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40437 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40438 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40439 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40440 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40441 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40442 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}};
40443 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}};
40444 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40445 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40446 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40447 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40448 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}};
40449 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40450 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40451 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40452 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40453 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40454 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40455 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40456 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40457 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40458 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40459 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}};
40460 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40461 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}};
40462 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40463 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40464 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40465 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40466 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40467 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40468 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40469 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40470 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40471 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40472 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40473 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40474 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40475 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40476 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40477 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40478 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40479 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40480 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40481 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40482 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40483 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40484 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40485 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40486 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40487 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40488 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40489 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40490 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40491 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40492 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40493 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40494 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40495 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40496 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40497 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40498 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40499 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40500 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40501 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40502 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40503 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40504 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40505 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40506 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40507 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40508 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40509 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40510 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40511 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40512 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40513 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40514 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40515 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40516 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40517 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40518 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40519 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40520 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40521 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40522 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40523 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40524 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40525 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40526 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40527 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40528 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40529 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40530 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40531 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40532 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40533 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40534 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40535 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40536 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40537 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40538 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40539 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40540 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40541 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40542 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40543 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40544 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40545 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40546 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}};
40547 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40548 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40549 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40550 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40551 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40552 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40553 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}};
40554 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40555 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40556 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40557 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40558 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40559 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40560 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40561 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40562 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40563 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40564 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40565 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40566 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40567 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40568 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40569 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40570 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40571 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40572 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40573 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}};
40574 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}};
40576 static swig_cast_info
*swig_cast_initial
[] = {
40580 _swigc__p_form_ops_t
,
40582 _swigc__p_unsigned_char
,
40583 _swigc__p_unsigned_int
,
40584 _swigc__p_unsigned_long
,
40586 _swigc__p_wxANIHandler
,
40587 _swigc__p_wxAcceleratorTable
,
40588 _swigc__p_wxActivateEvent
,
40589 _swigc__p_wxAlphaPixelData
,
40590 _swigc__p_wxAlphaPixelData_Accessor
,
40591 _swigc__p_wxAutoBufferedPaintDC
,
40592 _swigc__p_wxBMPHandler
,
40593 _swigc__p_wxBitmap
,
40594 _swigc__p_wxBoxSizer
,
40596 _swigc__p_wxBrushList
,
40597 _swigc__p_wxBufferedDC
,
40598 _swigc__p_wxBufferedPaintDC
,
40599 _swigc__p_wxCURHandler
,
40601 _swigc__p_wxChildFocusEvent
,
40602 _swigc__p_wxClientDC
,
40603 _swigc__p_wxClipboardTextEvent
,
40604 _swigc__p_wxCloseEvent
,
40606 _swigc__p_wxColour
,
40607 _swigc__p_wxColourDatabase
,
40608 _swigc__p_wxCommandEvent
,
40609 _swigc__p_wxContextMenuEvent
,
40610 _swigc__p_wxControl
,
40611 _swigc__p_wxControlWithItems
,
40612 _swigc__p_wxCursor
,
40614 _swigc__p_wxDCBrushChanger
,
40615 _swigc__p_wxDCClipper
,
40616 _swigc__p_wxDCOverlay
,
40617 _swigc__p_wxDCPenChanger
,
40618 _swigc__p_wxDCTextColourChanger
,
40620 _swigc__p_wxDateEvent
,
40621 _swigc__p_wxDisplayChangedEvent
,
40622 _swigc__p_wxDropFilesEvent
,
40623 _swigc__p_wxDuplexMode
,
40624 _swigc__p_wxEffects
,
40625 _swigc__p_wxEncodingConverter
,
40626 _swigc__p_wxEraseEvent
,
40628 _swigc__p_wxEvtHandler
,
40629 _swigc__p_wxFSFile
,
40630 _swigc__p_wxFileSystem
,
40631 _swigc__p_wxFlexGridSizer
,
40632 _swigc__p_wxFocusEvent
,
40634 _swigc__p_wxFontList
,
40635 _swigc__p_wxFontMapper
,
40636 _swigc__p_wxGBSizerItem
,
40638 _swigc__p_wxGDIObjListBase
,
40639 _swigc__p_wxGDIObject
,
40640 _swigc__p_wxGIFHandler
,
40641 _swigc__p_wxGraphicsBrush
,
40642 _swigc__p_wxGraphicsContext
,
40643 _swigc__p_wxGraphicsFont
,
40644 _swigc__p_wxGraphicsMatrix
,
40645 _swigc__p_wxGraphicsObject
,
40646 _swigc__p_wxGraphicsPath
,
40647 _swigc__p_wxGraphicsPen
,
40648 _swigc__p_wxGraphicsRenderer
,
40649 _swigc__p_wxGridBagSizer
,
40650 _swigc__p_wxGridSizer
,
40651 _swigc__p_wxHeaderButtonParams
,
40652 _swigc__p_wxICOHandler
,
40654 _swigc__p_wxIconBundle
,
40655 _swigc__p_wxIconLocation
,
40656 _swigc__p_wxIconizeEvent
,
40657 _swigc__p_wxIdleEvent
,
40659 _swigc__p_wxImageHandler
,
40660 _swigc__p_wxImageList
,
40661 _swigc__p_wxIndividualLayoutConstraint
,
40662 _swigc__p_wxInitDialogEvent
,
40663 _swigc__p_wxJPEGHandler
,
40664 _swigc__p_wxKeyEvent
,
40665 _swigc__p_wxLanguageInfo
,
40666 _swigc__p_wxLayoutConstraints
,
40667 _swigc__p_wxLocale
,
40669 _swigc__p_wxMaximizeEvent
,
40670 _swigc__p_wxMemoryDC
,
40672 _swigc__p_wxMenuBar
,
40673 _swigc__p_wxMenuEvent
,
40674 _swigc__p_wxMenuItem
,
40675 _swigc__p_wxMetaFile
,
40676 _swigc__p_wxMetaFileDC
,
40677 _swigc__p_wxMirrorDC
,
40678 _swigc__p_wxMouseCaptureChangedEvent
,
40679 _swigc__p_wxMouseCaptureLostEvent
,
40680 _swigc__p_wxMouseEvent
,
40681 _swigc__p_wxMoveEvent
,
40682 _swigc__p_wxNativeEncodingInfo
,
40683 _swigc__p_wxNativeFontInfo
,
40684 _swigc__p_wxNativePixelData
,
40685 _swigc__p_wxNativePixelData_Accessor
,
40686 _swigc__p_wxNavigationKeyEvent
,
40687 _swigc__p_wxNcPaintEvent
,
40688 _swigc__p_wxNotifyEvent
,
40689 _swigc__p_wxObject
,
40690 _swigc__p_wxOverlay
,
40691 _swigc__p_wxPCXHandler
,
40692 _swigc__p_wxPNGHandler
,
40693 _swigc__p_wxPNMHandler
,
40694 _swigc__p_wxPaintDC
,
40695 _swigc__p_wxPaintEvent
,
40696 _swigc__p_wxPalette
,
40697 _swigc__p_wxPaletteChangedEvent
,
40698 _swigc__p_wxPaperSize
,
40700 _swigc__p_wxPenList
,
40701 _swigc__p_wxPixelDataBase
,
40703 _swigc__p_wxPoint2D
,
40704 _swigc__p_wxPostScriptDC
,
40705 _swigc__p_wxPrintData
,
40706 _swigc__p_wxPrinterDC
,
40707 _swigc__p_wxPseudoDC
,
40709 _swigc__p_wxPyCommandEvent
,
40710 _swigc__p_wxPyEvent
,
40711 _swigc__p_wxPyFontEnumerator
,
40712 _swigc__p_wxPyImageHandler
,
40713 _swigc__p_wxPyLocale
,
40714 _swigc__p_wxPySizer
,
40715 _swigc__p_wxPyValidator
,
40716 _swigc__p_wxQueryNewPaletteEvent
,
40718 _swigc__p_wxRect2D
,
40719 _swigc__p_wxRegion
,
40720 _swigc__p_wxRegionIterator
,
40721 _swigc__p_wxRendererNative
,
40722 _swigc__p_wxRendererVersion
,
40723 _swigc__p_wxScreenDC
,
40724 _swigc__p_wxScrollEvent
,
40725 _swigc__p_wxScrollWinEvent
,
40726 _swigc__p_wxSetCursorEvent
,
40727 _swigc__p_wxShowEvent
,
40729 _swigc__p_wxSizeEvent
,
40731 _swigc__p_wxSizerItem
,
40732 _swigc__p_wxSplitterRenderParams
,
40733 _swigc__p_wxStaticBoxSizer
,
40734 _swigc__p_wxStdDialogButtonSizer
,
40735 _swigc__p_wxStockGDI
,
40736 _swigc__p_wxString
,
40737 _swigc__p_wxSysColourChangedEvent
,
40738 _swigc__p_wxTGAHandler
,
40739 _swigc__p_wxTIFFHandler
,
40740 _swigc__p_wxUpdateUIEvent
,
40741 _swigc__p_wxValidator
,
40742 _swigc__p_wxWindow
,
40743 _swigc__p_wxWindowCreateEvent
,
40744 _swigc__p_wxWindowDC
,
40745 _swigc__p_wxWindowDestroyEvent
,
40746 _swigc__p_wxXPMHandler
,
40750 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40752 static swig_const_info swig_const_table
[] = {
40753 {0, 0, 0, 0.0, 0, 0}};
40758 /* -----------------------------------------------------------------------------
40759 * Type initialization:
40760 * This problem is tough by the requirement that no dynamic
40761 * memory is used. Also, since swig_type_info structures store pointers to
40762 * swig_cast_info structures and swig_cast_info structures store pointers back
40763 * to swig_type_info structures, we need some lookup code at initialization.
40764 * The idea is that swig generates all the structures that are needed.
40765 * The runtime then collects these partially filled structures.
40766 * The SWIG_InitializeModule function takes these initial arrays out of
40767 * swig_module, and does all the lookup, filling in the swig_module.types
40768 * array with the correct data and linking the correct swig_cast_info
40769 * structures together.
40771 * The generated swig_type_info structures are assigned staticly to an initial
40772 * array. We just loop though that array, and handle each type individually.
40773 * First we lookup if this type has been already loaded, and if so, use the
40774 * loaded structure instead of the generated one. Then we have to fill in the
40775 * cast linked list. The cast data is initially stored in something like a
40776 * two-dimensional array. Each row corresponds to a type (there are the same
40777 * number of rows as there are in the swig_type_initial array). Each entry in
40778 * a column is one of the swig_cast_info structures for that type.
40779 * The cast_initial array is actually an array of arrays, because each row has
40780 * a variable number of columns. So to actually build the cast linked list,
40781 * we find the array of casts associated with the type, and loop through it
40782 * adding the casts to the list. The one last trick we need to do is making
40783 * sure the type pointer in the swig_cast_info struct is correct.
40785 * First off, we lookup the cast->type name to see if it is already loaded.
40786 * There are three cases to handle:
40787 * 1) If the cast->type has already been loaded AND the type we are adding
40788 * casting info to has not been loaded (it is in this module), THEN we
40789 * replace the cast->type pointer with the type pointer that has already
40791 * 2) If BOTH types (the one we are adding casting info to, and the
40792 * cast->type) are loaded, THEN the cast info has already been loaded by
40793 * the previous module so we just ignore it.
40794 * 3) Finally, if cast->type has not already been loaded, then we add that
40795 * swig_cast_info to the linked list (because the cast->type) pointer will
40797 * ----------------------------------------------------------------------------- */
40807 #define SWIGRUNTIME_DEBUG
40811 SWIG_InitializeModule(void *clientdata
) {
40813 swig_module_info
*module_head
;
40814 static int init_run
= 0;
40816 clientdata
= clientdata
;
40818 if (init_run
) return;
40821 /* Initialize the swig_module */
40822 swig_module
.type_initial
= swig_type_initial
;
40823 swig_module
.cast_initial
= swig_cast_initial
;
40825 /* Try and load any already created modules */
40826 module_head
= SWIG_GetModule(clientdata
);
40828 swig_module
.next
= module_head
->next
;
40829 module_head
->next
= &swig_module
;
40831 /* This is the first module loaded */
40832 swig_module
.next
= &swig_module
;
40833 SWIG_SetModule(clientdata
, &swig_module
);
40836 /* Now work on filling in swig_module.types */
40837 #ifdef SWIGRUNTIME_DEBUG
40838 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40840 for (i
= 0; i
< swig_module
.size
; ++i
) {
40841 swig_type_info
*type
= 0;
40842 swig_type_info
*ret
;
40843 swig_cast_info
*cast
;
40845 #ifdef SWIGRUNTIME_DEBUG
40846 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40849 /* if there is another module already loaded */
40850 if (swig_module
.next
!= &swig_module
) {
40851 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40854 /* Overwrite clientdata field */
40855 #ifdef SWIGRUNTIME_DEBUG
40856 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40858 if (swig_module
.type_initial
[i
]->clientdata
) {
40859 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40860 #ifdef SWIGRUNTIME_DEBUG
40861 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40865 type
= swig_module
.type_initial
[i
];
40868 /* Insert casting types */
40869 cast
= swig_module
.cast_initial
[i
];
40870 while (cast
->type
) {
40871 /* Don't need to add information already in the list */
40873 #ifdef SWIGRUNTIME_DEBUG
40874 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40876 if (swig_module
.next
!= &swig_module
) {
40877 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40878 #ifdef SWIGRUNTIME_DEBUG
40879 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40883 if (type
== swig_module
.type_initial
[i
]) {
40884 #ifdef SWIGRUNTIME_DEBUG
40885 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40890 /* Check for casting already in the list */
40891 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40892 #ifdef SWIGRUNTIME_DEBUG
40893 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40895 if (!ocast
) ret
= 0;
40900 #ifdef SWIGRUNTIME_DEBUG
40901 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40904 type
->cast
->prev
= cast
;
40905 cast
->next
= type
->cast
;
40911 /* Set entry in modules->types array equal to the type */
40912 swig_module
.types
[i
] = type
;
40914 swig_module
.types
[i
] = 0;
40916 #ifdef SWIGRUNTIME_DEBUG
40917 printf("**** SWIG_InitializeModule: Cast List ******\n");
40918 for (i
= 0; i
< swig_module
.size
; ++i
) {
40920 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40921 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40922 while (cast
->type
) {
40923 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40927 printf("---- Total casts: %d\n",j
);
40929 printf("**** SWIG_InitializeModule: Cast List ******\n");
40933 /* This function will propagate the clientdata field of type to
40934 * any new swig_type_info structures that have been added into the list
40935 * of equivalent types. It is like calling
40936 * SWIG_TypeClientData(type, clientdata) a second time.
40939 SWIG_PropagateClientData(void) {
40941 swig_cast_info
*equiv
;
40942 static int init_run
= 0;
40944 if (init_run
) return;
40947 for (i
= 0; i
< swig_module
.size
; i
++) {
40948 if (swig_module
.types
[i
]->clientdata
) {
40949 equiv
= swig_module
.types
[i
]->cast
;
40951 if (!equiv
->converter
) {
40952 if (equiv
->type
&& !equiv
->type
->clientdata
)
40953 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40955 equiv
= equiv
->next
;
40975 /* Python-specific SWIG API */
40976 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40977 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40978 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40980 /* -----------------------------------------------------------------------------
40981 * global variable support code.
40982 * ----------------------------------------------------------------------------- */
40984 typedef struct swig_globalvar
{
40985 char *name
; /* Name of global variable */
40986 PyObject
*(*get_attr
)(void); /* Return the current value */
40987 int (*set_attr
)(PyObject
*); /* Set the value */
40988 struct swig_globalvar
*next
;
40991 typedef struct swig_varlinkobject
{
40993 swig_globalvar
*vars
;
40994 } swig_varlinkobject
;
40996 SWIGINTERN PyObject
*
40997 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40998 return PyString_FromString("<Swig global variables>");
41001 SWIGINTERN PyObject
*
41002 swig_varlink_str(swig_varlinkobject
*v
) {
41003 PyObject
*str
= PyString_FromString("(");
41004 swig_globalvar
*var
;
41005 for (var
= v
->vars
; var
; var
=var
->next
) {
41006 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41007 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41009 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41014 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41015 PyObject
*str
= swig_varlink_str(v
);
41016 fprintf(fp
,"Swig global variables ");
41017 fprintf(fp
,"%s\n", PyString_AsString(str
));
41023 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41024 swig_globalvar
*var
= v
->vars
;
41026 swig_globalvar
*n
= var
->next
;
41033 SWIGINTERN PyObject
*
41034 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41035 PyObject
*res
= NULL
;
41036 swig_globalvar
*var
= v
->vars
;
41038 if (strcmp(var
->name
,n
) == 0) {
41039 res
= (*var
->get_attr
)();
41044 if (res
== NULL
&& !PyErr_Occurred()) {
41045 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41051 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41053 swig_globalvar
*var
= v
->vars
;
41055 if (strcmp(var
->name
,n
) == 0) {
41056 res
= (*var
->set_attr
)(p
);
41061 if (res
== 1 && !PyErr_Occurred()) {
41062 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41067 SWIGINTERN PyTypeObject
*
41068 swig_varlink_type(void) {
41069 static char varlink__doc__
[] = "Swig var link object";
41070 static PyTypeObject varlink_type
;
41071 static int type_init
= 0;
41073 const PyTypeObject tmp
41075 PyObject_HEAD_INIT(NULL
)
41076 0, /* Number of items in variable part (ob_size) */
41077 (char *)"swigvarlink", /* Type name (tp_name) */
41078 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41079 0, /* Itemsize (tp_itemsize) */
41080 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41081 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41082 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41083 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41084 0, /* tp_compare */
41085 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41086 0, /* tp_as_number */
41087 0, /* tp_as_sequence */
41088 0, /* tp_as_mapping */
41091 (reprfunc
)swig_varlink_str
, /* tp_str */
41092 0, /* tp_getattro */
41093 0, /* tp_setattro */
41094 0, /* tp_as_buffer */
41096 varlink__doc__
, /* tp_doc */
41097 0, /* tp_traverse */
41099 0, /* tp_richcompare */
41100 0, /* tp_weaklistoffset */
41101 #if PY_VERSION_HEX >= 0x02020000
41102 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41104 #if PY_VERSION_HEX >= 0x02030000
41107 #ifdef COUNT_ALLOCS
41108 0,0,0,0 /* tp_alloc -> tp_next */
41111 varlink_type
= tmp
;
41112 varlink_type
.ob_type
= &PyType_Type
;
41115 return &varlink_type
;
41118 /* Create a variable linking object for use later */
41119 SWIGINTERN PyObject
*
41120 SWIG_Python_newvarlink(void) {
41121 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41125 return ((PyObject
*) result
);
41129 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41130 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41131 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41133 size_t size
= strlen(name
)+1;
41134 gv
->name
= (char *)malloc(size
);
41136 strncpy(gv
->name
,name
,size
);
41137 gv
->get_attr
= get_attr
;
41138 gv
->set_attr
= set_attr
;
41139 gv
->next
= v
->vars
;
41145 SWIGINTERN PyObject
*
41147 static PyObject
*_SWIG_globals
= 0;
41148 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41149 return _SWIG_globals
;
41152 /* -----------------------------------------------------------------------------
41153 * constants/methods manipulation
41154 * ----------------------------------------------------------------------------- */
41156 /* Install Constants */
41158 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41161 for (i
= 0; constants
[i
].type
; ++i
) {
41162 switch(constants
[i
].type
) {
41163 case SWIG_PY_POINTER
:
41164 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41166 case SWIG_PY_BINARY
:
41167 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41174 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41180 /* -----------------------------------------------------------------------------*/
41181 /* Fix SwigMethods to carry the callback ptrs when needed */
41182 /* -----------------------------------------------------------------------------*/
41185 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41186 swig_const_info
*const_table
,
41187 swig_type_info
**types
,
41188 swig_type_info
**types_initial
) {
41190 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41191 const char *c
= methods
[i
].ml_doc
;
41192 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41194 swig_const_info
*ci
= 0;
41195 const char *name
= c
+ 10;
41196 for (j
= 0; const_table
[j
].type
; ++j
) {
41197 if (strncmp(const_table
[j
].name
, name
,
41198 strlen(const_table
[j
].name
)) == 0) {
41199 ci
= &(const_table
[j
]);
41204 size_t shift
= (ci
->ptype
) - types
;
41205 swig_type_info
*ty
= types_initial
[shift
];
41206 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41207 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41208 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41211 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41213 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41215 strncpy(buff
, "swig_ptr: ", 10);
41217 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41218 methods
[i
].ml_doc
= ndoc
;
41230 /* -----------------------------------------------------------------------------*
41231 * Partial Init method
41232 * -----------------------------------------------------------------------------*/
41237 SWIGEXPORT
void SWIG_init(void) {
41240 /* Fix SwigMethods to carry the callback ptrs when needed */
41241 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41243 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41244 d
= PyModule_GetDict(m
);
41246 SWIG_InitializeModule(0);
41247 SWIG_InstallConstants(d
,swig_const_table
);
41250 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41251 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41252 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41253 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41254 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41255 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41256 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41257 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41258 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41259 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41260 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41261 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41262 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41263 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41264 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41265 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41266 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41267 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41268 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41269 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41270 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41271 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41272 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41273 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41274 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41275 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41276 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41277 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41278 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41279 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41280 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41281 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41282 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41283 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41284 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41285 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41286 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41287 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41288 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41289 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41290 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41291 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41292 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41293 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41294 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41295 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41296 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41297 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41298 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41299 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41300 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41301 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41302 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41303 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41304 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41305 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41306 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41307 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41308 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41309 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41310 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41311 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41312 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41313 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41314 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41315 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41316 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41317 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41318 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41319 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41320 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41321 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41322 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41323 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41324 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41325 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41326 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41327 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41328 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41329 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41330 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41331 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41332 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41333 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41334 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41335 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41336 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41337 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41338 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41339 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41340 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41341 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41342 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41343 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41344 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41345 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41346 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41347 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41348 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41349 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41350 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41351 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41352 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41353 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41354 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41355 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41356 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41357 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41358 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41359 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41360 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41361 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41362 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41363 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41364 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41365 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41366 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41367 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41368 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41369 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41370 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41371 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41372 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41373 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41374 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41375 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41376 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41377 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41378 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41379 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41380 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41381 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41383 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41464 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41465 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41466 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41467 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41468 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41469 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41470 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41471 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41472 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41473 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41474 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41475 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41476 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41477 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41478 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41479 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41480 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41481 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41482 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41483 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41484 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41485 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41486 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41487 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41488 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41489 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41490 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41491 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41492 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41493 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41494 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41495 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41496 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41497 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41498 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41499 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41500 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41501 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41502 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41503 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41504 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41505 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41506 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41507 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41508 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41509 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41510 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41511 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41512 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41513 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41514 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41515 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41516 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41517 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41518 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41519 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41520 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41521 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41522 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41523 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41524 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41525 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41526 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41527 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41528 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41529 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41530 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41531 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41532 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41533 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41534 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41535 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41536 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41537 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41538 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41539 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41540 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41541 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41542 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41543 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41544 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41545 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41546 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41547 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41548 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41549 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41550 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41551 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41552 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41553 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41554 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41555 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41556 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41557 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41558 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41559 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41560 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41561 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41562 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41563 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41564 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41565 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41566 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41567 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41568 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41569 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41570 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41571 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41572 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41573 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41574 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41575 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41576 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41577 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41578 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41579 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41580 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41581 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41582 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41583 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41584 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41585 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41586 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41587 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41588 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41589 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41590 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41591 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41592 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41593 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41594 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41595 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41596 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41597 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41598 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41599 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41600 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41601 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41602 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41603 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41604 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41605 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41606 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41607 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41608 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41609 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41610 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41611 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41612 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41613 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41614 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41615 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41616 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41617 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41618 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41619 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41620 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41621 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41622 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41623 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41624 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41625 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41626 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41627 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41628 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41629 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41630 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41631 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41632 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41633 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41634 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41635 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41636 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41637 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41638 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41639 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41640 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41641 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41642 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41643 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41644 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41645 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41646 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41647 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41648 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41649 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41650 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41651 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41652 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41653 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41654 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41655 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41656 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41657 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41658 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41659 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41660 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41661 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41662 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41663 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41664 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41665 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41666 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41667 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41668 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41669 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41670 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41671 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41672 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41673 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41674 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41675 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41676 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41677 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41678 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41679 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41680 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41681 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41682 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41683 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41684 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41685 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41686 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41687 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41688 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41689 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41690 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41691 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41692 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41693 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41694 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41695 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41696 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41697 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41698 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41699 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41700 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41701 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41702 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41703 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41704 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41705 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41706 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41707 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41708 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41710 // Work around a chicken/egg problem in drawlist.cpp
41711 wxPyDrawList_SetAPIPtr();