1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3248 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3250 wxImage
img(cursorName
, type
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3253 return new wxCursor(img
);
3255 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3263 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3264 return self
->operator bool();
3267 #include <wx/fontutil.h>
3268 #include <wx/fontmap.h>
3269 #include <wx/fontenum.h>
3271 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3272 return self
->ToString();
3275 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3276 static wxNativeEncodingInfo info
;
3277 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3284 SWIGINTERNINLINE PyObject
*
3285 SWIG_From_size_t (size_t value
)
3287 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3291 SWIGINTERNINLINE
int
3292 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3295 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3296 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxChar
*szName
, // name (for messages)
3400 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3401 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szDomain
= NULL
) const;
3412 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3417 const wxChar
*szDomain
= NULL
) const;
3418 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3419 const wxChar
*szOrigString2
, size_t n
,
3420 const wxChar
*szDomain
= NULL
) const;
3424 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3427 wxPyLocale::wxPyLocale() : wxLocale()
3431 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3432 const wxChar
*szShort
, // dir prefix (for msg files)
3433 const wxChar
*szLocale
, // locale (for setlocale)
3434 bool bLoadDefault
, // preload wxstd.mo?
3435 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3436 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3440 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3441 int flags
) : wxLocale(language
, flags
)
3445 wxPyLocale::~wxPyLocale()
3449 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3450 const wxChar
*szDomain
) const
3452 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3453 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3456 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3457 const wxChar
*szOrigString2
, size_t n
,
3458 const wxChar
*szDomain
) const
3460 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3461 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3464 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3465 const wxChar
*szDomain
) const
3468 static wxString str
;
3469 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(szOrigString
);
3473 PyObject
* param2
= wx2PyString(szDomain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? (wxChar
*)str
.c_str() : NULL
);
3486 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3487 const wxChar
*szOrigString2
, size_t n
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szOrigString2
);
3497 PyObject
* param4
= wx2PyString(szDomain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3503 str
= Py2wxString(ret
);
3507 wxPyEndBlockThreads(blocked
);
3508 return (found
? (wxChar
*)str
.c_str() : NULL
);
3511 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3514 loc
= new wxPyLocale();
3516 loc
= new wxPyLocale(language
, flags
);
3517 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3518 // for the floating point conversions and such to work right.
3519 #if PY_VERSION_HEX < 0x02040000
3520 setlocale(LC_NUMERIC
, "C");
3525 #include "wx/wxPython/pydrawxxx.h"
3527 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3529 self
->GetPixel(x
, y
, &col
);
3532 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3534 self
->GetPixel(pt
, &col
);
3539 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3541 if (PyNumber_Check(obj
)) {
3542 if (val
) *val
= PyFloat_AsDouble(obj
);
3545 return SWIG_TypeError
;
3548 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3550 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3553 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3555 self
->GetClippingBox(rect
);
3558 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3560 self
->GetPartialTextExtents(text
, widths
);
3564 #define SWIG_From_double PyFloat_FromDouble
3566 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3567 self
->SetLogicalOrigin(point
.x
, point
.y
);
3569 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetDeviceOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->CalcBoundingBox(point
.x
, point
.y
);
3575 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3576 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3578 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3591 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3594 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3602 #include <wx/dcbuffer.h>
3605 #include <wx/dcps.h>
3608 class wxMetaFile
: public wxObject
{
3610 wxMetaFile(const wxString
&)
3611 { wxPyRaiseNotImplemented(); }
3614 class wxMetaFileDC
: public wxClientDC
{
3616 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3617 { wxPyRaiseNotImplemented(); }
3622 class wxPrinterDC
: public wxClientDC
{
3624 wxPrinterDC(const wxPrintData
&)
3625 { wxPyRaiseNotImplemented(); }
3630 #include <wx/graphics.h>
3633 #if !wxUSE_GRAPHICS_CONTEXT
3634 // C++ stub classes for platforms or build configurations that don't have
3635 // wxGraphicsContext yet.
3638 class wxGraphicsObject
: public wxObject
3641 wxGraphicsObject( wxGraphicsRenderer
* ) {
3642 PyErr_SetString(PyExc_NotImplementedError
,
3643 "wx.GraphicsObject is not available on this platform.");
3645 wxGraphicsObject( const wxGraphicsObject
& ) {}
3646 virtual ~wxGraphicsObject() {}
3647 bool IsNull() const { return false; }
3648 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3653 class wxGraphicsPen
: public wxGraphicsObject
3656 virtual ~wxGraphicsPen() {}
3658 wxGraphicsPen wxNullGraphicsPen
;
3662 class wxGraphicsBrush
: public wxGraphicsObject
3665 wxGraphicsBrush() {}
3666 virtual ~wxGraphicsBrush() {}
3668 wxGraphicsBrush wxNullGraphicsBrush
;
3672 class wxGraphicsFont
: public wxGraphicsObject
3676 virtual ~wxGraphicsFont() {}
3678 wxGraphicsFont wxNullGraphicsFont
;
3682 class wxGraphicsPath
: public wxGraphicsObject
3685 wxGraphicsPath(wxGraphicsRenderer
* ) {
3686 PyErr_SetString(PyExc_NotImplementedError
,
3687 "wx.GraphicsPath is not available on this platform.");
3689 virtual ~wxGraphicsPath() {}
3691 void MoveToPoint( wxDouble
, wxDouble
) {}
3692 void MoveToPoint( const wxPoint2DDouble
& ) {}
3693 void AddLineToPoint( wxDouble
, wxDouble
) {}
3694 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3695 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3696 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3697 void AddPath( const wxGraphicsPath
* ) {}
3698 void CloseSubpath() {}
3699 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3700 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3701 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3702 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3704 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3705 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3706 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3707 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3709 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void * GetNativePath() const { return NULL
; }
3712 void UnGetNativePath(void *) {}
3713 void Transform( wxGraphicsMatrix
* ) {}
3714 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3715 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3717 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3718 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3720 wxGraphicsPath wxNullGraphicsPath
;
3723 class wxGraphicsMatrix
: public wxGraphicsObject
3726 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3727 PyErr_SetString(PyExc_NotImplementedError
,
3728 "wx.GraphicsMatrix is not available on this platform.");
3730 virtual ~wxGraphicsMatrix() {}
3731 virtual void Concat( const wxGraphicsMatrix
* ) {}
3732 virtual void Copy( const wxGraphicsMatrix
* ) {}
3733 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3734 wxDouble
, wxDouble
) {}
3735 virtual void Invert() {}
3736 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3737 virtual bool IsIdentity() { return false; }
3738 virtual void Translate( wxDouble
, wxDouble
) {}
3739 virtual void Scale( wxDouble
, wxDouble
) {}
3740 virtual void Rotate( wxDouble
) {}
3741 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3742 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3743 virtual void * GetNativeMatrix() const { return NULL
; }
3745 wxGraphicsMatrix wxNullGraphicsMatrix
;
3748 class wxGraphicsContext
: public wxGraphicsObject
3752 wxGraphicsContext(wxGraphicsRenderer
* ) {
3753 PyErr_SetString(PyExc_NotImplementedError
,
3754 "wx.GraphicsContext is not available on this platform.");
3757 virtual ~wxGraphicsContext() {}
3759 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3760 PyErr_SetString(PyExc_NotImplementedError
,
3761 "wx.GraphicsContext is not available on this platform.");
3764 static wxGraphicsContext
* CreateFromNative( void * ) {
3765 PyErr_SetString(PyExc_NotImplementedError
,
3766 "wx.GraphicsContext is not available on this platform.");
3769 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3770 PyErr_SetString(PyExc_NotImplementedError
,
3771 "wx.GraphicsContext is not available on this platform.");
3774 static wxGraphicsContext
* Create( wxWindow
* ) {
3775 PyErr_SetString(PyExc_NotImplementedError
,
3776 "wx.GraphicsContext is not available on this platform.");
3779 wxGraphicsPath
* CreatePath() { return NULL
; }
3781 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3783 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3785 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3786 const wxColour
&, const wxColour
&) { return NULL
; }
3788 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3789 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3790 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3792 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3794 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3795 wxDouble
, wxDouble
) { return NULL
; }
3797 virtual void PushState() {}
3798 virtual void PopState() {}
3799 virtual void Clip( const wxRegion
& ) {}
3800 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3801 virtual void ResetClip() {}
3802 virtual void * GetNativeContext() { return NULL
; }
3803 virtual void Translate( wxDouble
, wxDouble
) {}
3804 virtual void Scale( wxDouble
, wxDouble
) {}
3805 virtual void Rotate( wxDouble
) {}
3806 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3807 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3808 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3810 virtual void SetPen( const wxGraphicsPen
& ) {}
3811 void SetPen( const wxPen
& ) {}
3813 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3814 void SetBrush( const wxBrush
& ) {}
3816 virtual void SetFont( const wxGraphicsFont
& ) {}
3817 void SetFont( const wxFont
&, const wxColour
& ) {}
3819 virtual void StrokePath( const wxGraphicsPath
* ) {}
3820 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3821 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3823 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3824 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3825 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3826 wxDouble
*, wxDouble
* ) const {}
3827 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3829 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3830 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3832 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3833 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3834 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3835 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3836 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3837 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3838 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3839 virtual bool ShouldOffset() const { return false; }
3843 class wxGraphicsRenderer
: public wxObject
3846 wxGraphicsRenderer() {
3847 PyErr_SetString(PyExc_NotImplementedError
,
3848 "wx.GraphicsRenderer is not available on this platform.");
3851 virtual ~wxGraphicsRenderer() {}
3853 static wxGraphicsRenderer
* GetDefaultRenderer(
3854 PyErr_SetString(PyExc_NotImplementedError
,
3855 "wx.GraphicsRenderer is not available on this platform.");
3858 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3859 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3860 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3861 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3863 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3865 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3866 wxDouble
, wxDouble
) { return NULL
; }
3868 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3869 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3870 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3871 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3872 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3873 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3874 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3879 class wxGCDC
: public wxWindowDC
3882 wxGCDC(const wxWindowDC
&) {
3883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3884 PyErr_SetString(PyExc_NotImplementedError
,
3885 "wxGCDC is not available on this platform.");
3886 wxPyEndBlockThreads(blocked
);
3890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3891 PyErr_SetString(PyExc_NotImplementedError
,
3892 "wxGCDC is not available on this platform.");
3893 wxPyEndBlockThreads(blocked
);
3896 virtual ~wxGCDC() {}
3898 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3899 void SetGraphicsContext( wxGraphicsContext
* ) {}
3904 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3905 if ( !backgroundBrush
.IsNull() )
3906 self
->DrawText(str
, x
, y
, backgroundBrush
);
3908 self
->DrawText(str
, x
, y
);
3910 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3911 if ( !backgroundBrush
.IsNull() )
3912 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3914 self
->DrawText(str
, x
, y
, angle
);
3916 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3917 wxDouble width
= 0.0,
3919 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3920 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3921 PyObject
* rv
= PyTuple_New(2);
3922 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3923 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3926 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3927 wxArrayDouble widths
;
3928 self
->GetPartialTextExtents(text
, widths
);
3931 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3932 size_t c1
, c2
, count
;
3933 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3934 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3936 if ( beginP
!= NULL
&& endP
!= NULL
)
3938 count
= wxMin(c1
, c2
);
3939 self
->StrokeLines(count
, beginP
, endP
);
3945 #include "wx/dcgraph.h"
3948 #include <wx/overlay.h>
3952 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3953 self
->AddColour(name
, wxColour(red
, green
, blue
));
3956 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3957 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3958 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3959 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3962 #include <wx/effects.h>
3965 #include "wx/renderer.h"
3968 SWIGINTERNINLINE PyObject
*
3969 SWIG_From_bool (bool value
)
3971 return PyBool_FromLong(value
? 1 : 0);
3975 #include "wx/wxPython/pseudodc.h"
3977 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3979 self
->GetIdBounds(id
, rect
);
3985 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3986 PyObject
*resultobj
= 0;
3987 wxGDIObject
*result
= 0 ;
3989 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3991 if (!wxPyCheckForApp()) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (wxGDIObject
*)new wxGDIObject();
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4004 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4005 PyObject
*resultobj
= 0;
4006 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4009 PyObject
*swig_obj
[1] ;
4011 if (!args
) SWIG_fail
;
4013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4014 if (!SWIG_IsOK(res1
)) {
4015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4017 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_Py_Void();
4032 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 PyObject
*resultobj
= 0;
4034 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4038 PyObject
*swig_obj
[1] ;
4040 if (!args
) SWIG_fail
;
4042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4043 if (!SWIG_IsOK(res1
)) {
4044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4046 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 result
= (bool)(arg1
)->IsNull();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4062 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4065 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4066 return SWIG_Py_Void();
4069 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 return SWIG_Python_InitShadowInstance(args
);
4073 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
= 0;
4075 byte arg1
= (byte
) 0 ;
4076 byte arg2
= (byte
) 0 ;
4077 byte arg3
= (byte
) 0 ;
4078 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4079 wxColour
*result
= 0 ;
4080 unsigned char val1
;
4082 unsigned char val2
;
4084 unsigned char val3
;
4086 unsigned char val4
;
4088 PyObject
* obj0
= 0 ;
4089 PyObject
* obj1
= 0 ;
4090 PyObject
* obj2
= 0 ;
4091 PyObject
* obj3
= 0 ;
4092 char * kwnames
[] = {
4093 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4098 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4099 if (!SWIG_IsOK(ecode1
)) {
4100 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4102 arg1
= static_cast< byte
>(val1
);
4105 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4106 if (!SWIG_IsOK(ecode2
)) {
4107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4109 arg2
= static_cast< byte
>(val2
);
4112 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4113 if (!SWIG_IsOK(ecode3
)) {
4114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4116 arg3
= static_cast< byte
>(val3
);
4119 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4120 if (!SWIG_IsOK(ecode4
)) {
4121 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4123 arg4
= static_cast< byte
>(val4
);
4126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4127 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4138 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
*resultobj
= 0;
4140 wxString
*arg1
= 0 ;
4141 wxColour
*result
= 0 ;
4142 bool temp1
= false ;
4143 PyObject
* obj0
= 0 ;
4144 char * kwnames
[] = {
4145 (char *) "colorName", NULL
4148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4150 arg1
= wxString_in_helper(obj0
);
4151 if (arg1
== NULL
) SWIG_fail
;
4155 if (!wxPyCheckForApp()) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4176 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
= 0;
4178 unsigned long arg1
;
4179 wxColour
*result
= 0 ;
4180 unsigned long val1
;
4182 PyObject
* obj0
= 0 ;
4183 char * kwnames
[] = {
4184 (char *) "colRGB", NULL
4187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4188 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4189 if (!SWIG_IsOK(ecode1
)) {
4190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4192 arg1
= static_cast< unsigned long >(val1
);
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (wxColour
*)new wxColour(arg1
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4206 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4207 PyObject
*resultobj
= 0;
4208 wxColour
*arg1
= (wxColour
*) 0 ;
4211 PyObject
*swig_obj
[1] ;
4213 if (!args
) SWIG_fail
;
4215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4216 if (!SWIG_IsOK(res1
)) {
4217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4219 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_Py_Void();
4234 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4235 PyObject
*resultobj
= 0;
4236 wxColour
*arg1
= (wxColour
*) 0 ;
4240 PyObject
*swig_obj
[1] ;
4242 if (!args
) SWIG_fail
;
4244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4245 if (!SWIG_IsOK(res1
)) {
4246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4248 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (byte
)(arg1
)->Red();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4262 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4263 PyObject
*resultobj
= 0;
4264 wxColour
*arg1
= (wxColour
*) 0 ;
4268 PyObject
*swig_obj
[1] ;
4270 if (!args
) SWIG_fail
;
4272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4273 if (!SWIG_IsOK(res1
)) {
4274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4276 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (byte
)(arg1
)->Green();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4290 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4291 PyObject
*resultobj
= 0;
4292 wxColour
*arg1
= (wxColour
*) 0 ;
4296 PyObject
*swig_obj
[1] ;
4298 if (!args
) SWIG_fail
;
4300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4301 if (!SWIG_IsOK(res1
)) {
4302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4304 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= (byte
)(arg1
)->Blue();
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4318 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4319 PyObject
*resultobj
= 0;
4320 wxColour
*arg1
= (wxColour
*) 0 ;
4324 PyObject
*swig_obj
[1] ;
4326 if (!args
) SWIG_fail
;
4328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4329 if (!SWIG_IsOK(res1
)) {
4330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4332 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (byte
)(arg1
)->Alpha();
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4346 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4347 PyObject
*resultobj
= 0;
4348 wxColour
*arg1
= (wxColour
*) 0 ;
4352 PyObject
*swig_obj
[1] ;
4354 if (!args
) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4360 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (bool)(arg1
)->IsOk();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4376 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
= 0;
4378 wxColour
*arg1
= (wxColour
*) 0 ;
4382 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4385 unsigned char val2
;
4387 unsigned char val3
;
4389 unsigned char val4
;
4391 unsigned char val5
;
4393 PyObject
* obj0
= 0 ;
4394 PyObject
* obj1
= 0 ;
4395 PyObject
* obj2
= 0 ;
4396 PyObject
* obj3
= 0 ;
4397 PyObject
* obj4
= 0 ;
4398 char * kwnames
[] = {
4399 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4404 if (!SWIG_IsOK(res1
)) {
4405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4407 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4408 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4409 if (!SWIG_IsOK(ecode2
)) {
4410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4412 arg2
= static_cast< byte
>(val2
);
4413 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4414 if (!SWIG_IsOK(ecode3
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4417 arg3
= static_cast< byte
>(val3
);
4418 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4419 if (!SWIG_IsOK(ecode4
)) {
4420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4422 arg4
= static_cast< byte
>(val4
);
4424 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4425 if (!SWIG_IsOK(ecode5
)) {
4426 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4428 arg5
= static_cast< byte
>(val5
);
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= SWIG_Py_Void();
4443 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
= 0;
4445 wxColour
*arg1
= (wxColour
*) 0 ;
4446 unsigned long arg2
;
4449 unsigned long val2
;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4453 char * kwnames
[] = {
4454 (char *) "self",(char *) "colRGB", NULL
4457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4459 if (!SWIG_IsOK(res1
)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4462 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4463 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4464 if (!SWIG_IsOK(ecode2
)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4467 arg2
= static_cast< unsigned long >(val2
);
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 resultobj
= SWIG_Py_Void();
4481 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
= 0;
4483 wxColour
*arg1
= (wxColour
*) 0 ;
4484 wxString
*arg2
= 0 ;
4487 bool temp2
= false ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4490 char * kwnames
[] = {
4491 (char *) "self",(char *) "colourName", NULL
4494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4496 if (!SWIG_IsOK(res1
)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4499 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4501 arg2
= wxString_in_helper(obj1
);
4502 if (arg2
== NULL
) SWIG_fail
;
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 (arg1
)->Set((wxString
const &)*arg2
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= SWIG_Py_Void();
4526 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
= 0;
4528 wxColour
*arg1
= (wxColour
*) 0 ;
4529 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4535 PyObject
* obj0
= 0 ;
4536 PyObject
* obj1
= 0 ;
4537 char * kwnames
[] = {
4538 (char *) "self",(char *) "flags", NULL
4541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4543 if (!SWIG_IsOK(res1
)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4546 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4548 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4549 if (!SWIG_IsOK(ecode2
)) {
4550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4552 arg2
= static_cast< long >(val2
);
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4573 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4574 PyObject
*resultobj
= 0;
4575 wxColour
*arg1
= (wxColour
*) 0 ;
4579 PyObject
*swig_obj
[1] ;
4581 if (!args
) SWIG_fail
;
4583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4584 if (!SWIG_IsOK(res1
)) {
4585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4587 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 resultobj
= SWIG_From_long(static_cast< long >(result
));
4601 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
= 0;
4603 wxColour
*arg1
= (wxColour
*) 0 ;
4604 PyObject
*arg2
= (PyObject
*) 0 ;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj1
= 0 ;
4610 char * kwnames
[] = {
4611 (char *) "self",(char *) "other", NULL
4614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4619 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4622 result
= (bool)wxColour___eq__(arg1
,arg2
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4634 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
= 0;
4636 wxColour
*arg1
= (wxColour
*) 0 ;
4637 PyObject
*arg2
= (PyObject
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4643 char * kwnames
[] = {
4644 (char *) "self",(char *) "other", NULL
4647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4649 if (!SWIG_IsOK(res1
)) {
4650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4652 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4655 result
= (bool)wxColour___ne__(arg1
,arg2
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4667 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4669 wxColour
*arg1
= (wxColour
*) 0 ;
4670 bool arg2
= (bool) false ;
4671 PyObject
*result
= 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "includeAlpha", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",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_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4687 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4689 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4690 if (!SWIG_IsOK(ecode2
)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4693 arg2
= static_cast< bool >(val2
);
4696 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4706 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4707 PyObject
*resultobj
= 0;
4708 wxColour
*arg1
= (wxColour
*) 0 ;
4709 unsigned long result
;
4712 PyObject
*swig_obj
[1] ;
4714 if (!args
) SWIG_fail
;
4716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4717 if (!SWIG_IsOK(res1
)) {
4718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4720 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4722 result
= (unsigned long)wxColour_GetRGB(arg1
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4732 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4735 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4736 return SWIG_Py_Void();
4739 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4740 return SWIG_Python_InitShadowInstance(args
);
4743 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
= 0;
4746 unsigned char *arg2
= (unsigned char *) 0 ;
4747 unsigned char *arg3
= (unsigned char *) 0 ;
4748 unsigned char *arg4
= (unsigned char *) 0 ;
4749 wxPalette
*result
= 0 ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4761 PyObject
* obj3
= 0 ;
4762 char * kwnames
[] = {
4763 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4767 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4768 if (!SWIG_IsOK(ecode1
)) {
4769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4771 arg1
= static_cast< int >(val1
);
4772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4773 if (!SWIG_IsOK(res2
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4776 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4777 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4778 if (!SWIG_IsOK(res3
)) {
4779 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4781 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4782 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4783 if (!SWIG_IsOK(res4
)) {
4784 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4786 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4788 if (!wxPyCheckForApp()) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4801 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxPalette
*arg1
= (wxPalette
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4814 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_Py_Void();
4829 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
= 0;
4831 wxPalette
*arg1
= (wxPalette
*) 0 ;
4838 unsigned char val2
;
4840 unsigned char val3
;
4842 unsigned char val4
;
4844 PyObject
* obj0
= 0 ;
4845 PyObject
* obj1
= 0 ;
4846 PyObject
* obj2
= 0 ;
4847 PyObject
* obj3
= 0 ;
4848 char * kwnames
[] = {
4849 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4854 if (!SWIG_IsOK(res1
)) {
4855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4857 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4858 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4859 if (!SWIG_IsOK(ecode2
)) {
4860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4862 arg2
= static_cast< byte
>(val2
);
4863 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4864 if (!SWIG_IsOK(ecode3
)) {
4865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4867 arg3
= static_cast< byte
>(val3
);
4868 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4869 if (!SWIG_IsOK(ecode4
)) {
4870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4872 arg4
= static_cast< byte
>(val4
);
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= SWIG_From_int(static_cast< int >(result
));
4886 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
= 0;
4888 wxPalette
*arg1
= (wxPalette
*) 0 ;
4890 byte
*arg3
= (byte
*) 0 ;
4891 byte
*arg4
= (byte
*) 0 ;
4892 byte
*arg5
= (byte
*) 0 ;
4899 int res3
= SWIG_TMPOBJ
;
4901 int res4
= SWIG_TMPOBJ
;
4903 int res5
= SWIG_TMPOBJ
;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 char * kwnames
[] = {
4907 (char *) "self",(char *) "pixel", NULL
4913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4915 if (!SWIG_IsOK(res1
)) {
4916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4918 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4920 if (!SWIG_IsOK(ecode2
)) {
4921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4923 arg2
= static_cast< int >(val2
);
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4933 if (SWIG_IsTmpObj(res3
)) {
4934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4936 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4939 if (SWIG_IsTmpObj(res4
)) {
4940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4942 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4945 if (SWIG_IsTmpObj(res5
)) {
4946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4948 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4957 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4958 PyObject
*resultobj
= 0;
4959 wxPalette
*arg1
= (wxPalette
*) 0 ;
4963 PyObject
*swig_obj
[1] ;
4965 if (!args
) SWIG_fail
;
4967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4968 if (!SWIG_IsOK(res1
)) {
4969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4971 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 resultobj
= SWIG_From_int(static_cast< int >(result
));
4985 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4986 PyObject
*resultobj
= 0;
4987 wxPalette
*arg1
= (wxPalette
*) 0 ;
4991 PyObject
*swig_obj
[1] ;
4993 if (!args
) SWIG_fail
;
4995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4996 if (!SWIG_IsOK(res1
)) {
4997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4999 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 result
= (bool)(arg1
)->IsOk();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5015 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5018 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5019 return SWIG_Py_Void();
5022 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5023 return SWIG_Python_InitShadowInstance(args
);
5026 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
= 0;
5028 wxColour
*arg1
= 0 ;
5029 int arg2
= (int) 1 ;
5030 int arg3
= (int) wxSOLID
;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5039 PyObject
* obj2
= 0 ;
5040 char * kwnames
[] = {
5041 (char *) "colour",(char *) "width",(char *) "style", NULL
5044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5047 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5051 if (!SWIG_IsOK(ecode2
)) {
5052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5054 arg2
= static_cast< int >(val2
);
5057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5058 if (!SWIG_IsOK(ecode3
)) {
5059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5061 arg3
= static_cast< int >(val3
);
5064 if (!wxPyCheckForApp()) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5077 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5078 PyObject
*resultobj
= 0;
5079 wxPen
*arg1
= (wxPen
*) 0 ;
5082 PyObject
*swig_obj
[1] ;
5084 if (!args
) SWIG_fail
;
5086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5087 if (!SWIG_IsOK(res1
)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5090 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_Py_Void();
5105 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5106 PyObject
*resultobj
= 0;
5107 wxPen
*arg1
= (wxPen
*) 0 ;
5111 PyObject
*swig_obj
[1] ;
5113 if (!args
) SWIG_fail
;
5115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5116 if (!SWIG_IsOK(res1
)) {
5117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5119 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 result
= (int)(arg1
)->GetCap();
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= SWIG_From_int(static_cast< int >(result
));
5133 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5134 PyObject
*resultobj
= 0;
5135 wxPen
*arg1
= (wxPen
*) 0 ;
5139 PyObject
*swig_obj
[1] ;
5141 if (!args
) SWIG_fail
;
5143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5144 if (!SWIG_IsOK(res1
)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5147 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (arg1
)->GetColour();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5161 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5162 PyObject
*resultobj
= 0;
5163 wxPen
*arg1
= (wxPen
*) 0 ;
5167 PyObject
*swig_obj
[1] ;
5169 if (!args
) SWIG_fail
;
5171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5172 if (!SWIG_IsOK(res1
)) {
5173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5175 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (int)(arg1
)->GetJoin();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= SWIG_From_int(static_cast< int >(result
));
5189 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5190 PyObject
*resultobj
= 0;
5191 wxPen
*arg1
= (wxPen
*) 0 ;
5195 PyObject
*swig_obj
[1] ;
5197 if (!args
) SWIG_fail
;
5199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5200 if (!SWIG_IsOK(res1
)) {
5201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5203 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (int)(arg1
)->GetStyle();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_From_int(static_cast< int >(result
));
5217 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5218 PyObject
*resultobj
= 0;
5219 wxPen
*arg1
= (wxPen
*) 0 ;
5223 PyObject
*swig_obj
[1] ;
5225 if (!args
) SWIG_fail
;
5227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5228 if (!SWIG_IsOK(res1
)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5231 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (int)(arg1
)->GetWidth();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_From_int(static_cast< int >(result
));
5245 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5246 PyObject
*resultobj
= 0;
5247 wxPen
*arg1
= (wxPen
*) 0 ;
5251 PyObject
*swig_obj
[1] ;
5253 if (!args
) SWIG_fail
;
5255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5256 if (!SWIG_IsOK(res1
)) {
5257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5259 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (bool)(arg1
)->IsOk();
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5275 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
= 0;
5277 wxPen
*arg1
= (wxPen
*) 0 ;
5283 PyObject
* obj0
= 0 ;
5284 PyObject
* obj1
= 0 ;
5285 char * kwnames
[] = {
5286 (char *) "self",(char *) "cap_style", NULL
5289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5291 if (!SWIG_IsOK(res1
)) {
5292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5294 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5296 if (!SWIG_IsOK(ecode2
)) {
5297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5299 arg2
= static_cast< int >(val2
);
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 (arg1
)->SetCap(arg2
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_Py_Void();
5313 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
= 0;
5315 wxPen
*arg1
= (wxPen
*) 0 ;
5316 wxColour
*arg2
= 0 ;
5320 PyObject
* obj0
= 0 ;
5321 PyObject
* obj1
= 0 ;
5322 char * kwnames
[] = {
5323 (char *) "self",(char *) "colour", NULL
5326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5328 if (!SWIG_IsOK(res1
)) {
5329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5331 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 (arg1
)->SetColour(*arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_Py_Void();
5349 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
= 0;
5351 wxPen
*arg1
= (wxPen
*) 0 ;
5357 PyObject
* obj0
= 0 ;
5358 PyObject
* obj1
= 0 ;
5359 char * kwnames
[] = {
5360 (char *) "self",(char *) "join_style", NULL
5363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5365 if (!SWIG_IsOK(res1
)) {
5366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5368 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5370 if (!SWIG_IsOK(ecode2
)) {
5371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5373 arg2
= static_cast< int >(val2
);
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 (arg1
)->SetJoin(arg2
);
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= SWIG_Py_Void();
5387 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
= 0;
5389 wxPen
*arg1
= (wxPen
*) 0 ;
5395 PyObject
* obj0
= 0 ;
5396 PyObject
* obj1
= 0 ;
5397 char * kwnames
[] = {
5398 (char *) "self",(char *) "style", NULL
5401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5403 if (!SWIG_IsOK(res1
)) {
5404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5406 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5408 if (!SWIG_IsOK(ecode2
)) {
5409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5411 arg2
= static_cast< int >(val2
);
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 (arg1
)->SetStyle(arg2
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_Py_Void();
5425 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
= 0;
5427 wxPen
*arg1
= (wxPen
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5435 char * kwnames
[] = {
5436 (char *) "self",(char *) "width", NULL
5439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5441 if (!SWIG_IsOK(res1
)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5444 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5446 if (!SWIG_IsOK(ecode2
)) {
5447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5449 arg2
= static_cast< int >(val2
);
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 (arg1
)->SetWidth(arg2
);
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5456 resultobj
= SWIG_Py_Void();
5463 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
= 0;
5465 wxPen
*arg1
= (wxPen
*) 0 ;
5467 wxDash
*arg3
= (wxDash
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5471 PyObject
* obj1
= 0 ;
5472 char * kwnames
[] = {
5473 (char *) "self",(char *) "dashes", NULL
5476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5478 if (!SWIG_IsOK(res1
)) {
5479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5481 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5483 arg2
= PyList_Size(obj1
);
5484 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5485 if (arg3
== NULL
) SWIG_fail
;
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 (arg1
)->SetDashes(arg2
,arg3
);
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= SWIG_Py_Void();
5495 if (arg3
) delete [] arg3
;
5500 if (arg3
) delete [] arg3
;
5506 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5507 PyObject
*resultobj
= 0;
5508 wxPen
*arg1
= (wxPen
*) 0 ;
5509 PyObject
*result
= 0 ;
5512 PyObject
*swig_obj
[1] ;
5514 if (!args
) SWIG_fail
;
5516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5517 if (!SWIG_IsOK(res1
)) {
5518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5520 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5534 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
= 0;
5536 wxPen
*arg1
= (wxPen
*) 0 ;
5537 PyObject
*arg2
= (PyObject
*) 0 ;
5538 PyObject
*arg3
= (PyObject
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5542 PyObject
* obj1
= 0 ;
5543 PyObject
* obj2
= 0 ;
5544 char * kwnames
[] = {
5545 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5550 if (!SWIG_IsOK(res1
)) {
5551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5553 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 wxPen__SetDashes(arg1
,arg2
,arg3
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_Py_Void();
5569 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5570 PyObject
*resultobj
= 0;
5571 wxPen
*arg1
= (wxPen
*) 0 ;
5575 PyObject
*swig_obj
[1] ;
5577 if (!args
) SWIG_fail
;
5579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5580 if (!SWIG_IsOK(res1
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5583 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= SWIG_From_int(static_cast< int >(result
));
5597 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
= 0;
5599 wxPen
*arg1
= (wxPen
*) 0 ;
5600 wxPen
*arg2
= (wxPen
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5608 char * kwnames
[] = {
5609 (char *) "self",(char *) "other", NULL
5612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5614 if (!SWIG_IsOK(res1
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5617 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5619 if (!SWIG_IsOK(res2
)) {
5620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5622 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5638 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
= 0;
5640 wxPen
*arg1
= (wxPen
*) 0 ;
5641 wxPen
*arg2
= (wxPen
*) 0 ;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5649 char * kwnames
[] = {
5650 (char *) "self",(char *) "other", NULL
5653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5655 if (!SWIG_IsOK(res1
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5658 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5660 if (!SWIG_IsOK(res2
)) {
5661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5663 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5667 wxPyEndAllowThreads(__tstate
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5679 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5682 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5683 return SWIG_Py_Void();
5686 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5687 return SWIG_Python_InitShadowInstance(args
);
5690 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
= 0;
5692 wxColour
*arg1
= 0 ;
5693 int arg2
= (int) wxSOLID
;
5694 wxBrush
*result
= 0 ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5700 char * kwnames
[] = {
5701 (char *) "colour",(char *) "style", NULL
5704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5707 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5711 if (!SWIG_IsOK(ecode2
)) {
5712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5714 arg2
= static_cast< int >(val2
);
5717 if (!wxPyCheckForApp()) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5730 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
*resultobj
= 0;
5732 wxBitmap
*arg1
= 0 ;
5733 wxBrush
*result
= 0 ;
5736 PyObject
* obj0
= 0 ;
5737 char * kwnames
[] = {
5738 (char *) "stippleBitmap", NULL
5741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5742 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5743 if (!SWIG_IsOK(res1
)) {
5744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5749 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5751 if (!wxPyCheckForApp()) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5764 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5765 PyObject
*resultobj
= 0;
5766 wxBrush
*arg1
= (wxBrush
*) 0 ;
5769 PyObject
*swig_obj
[1] ;
5771 if (!args
) SWIG_fail
;
5773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5774 if (!SWIG_IsOK(res1
)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5777 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= SWIG_Py_Void();
5792 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
= 0;
5794 wxBrush
*arg1
= (wxBrush
*) 0 ;
5795 wxColour
*arg2
= 0 ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5801 char * kwnames
[] = {
5802 (char *) "self",(char *) "col", NULL
5805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5807 if (!SWIG_IsOK(res1
)) {
5808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5810 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5813 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 (arg1
)->SetColour((wxColour
const &)*arg2
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= SWIG_Py_Void();
5828 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
= 0;
5830 wxBrush
*arg1
= (wxBrush
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5837 PyObject
* obj1
= 0 ;
5838 char * kwnames
[] = {
5839 (char *) "self",(char *) "style", NULL
5842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5844 if (!SWIG_IsOK(res1
)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5847 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5849 if (!SWIG_IsOK(ecode2
)) {
5850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5852 arg2
= static_cast< int >(val2
);
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 (arg1
)->SetStyle(arg2
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_Py_Void();
5866 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
= 0;
5868 wxBrush
*arg1
= (wxBrush
*) 0 ;
5869 wxBitmap
*arg2
= 0 ;
5874 PyObject
* obj0
= 0 ;
5875 PyObject
* obj1
= 0 ;
5876 char * kwnames
[] = {
5877 (char *) "self",(char *) "stipple", NULL
5880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5882 if (!SWIG_IsOK(res1
)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5885 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5887 if (!SWIG_IsOK(res2
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5893 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= SWIG_Py_Void();
5907 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5908 PyObject
*resultobj
= 0;
5909 wxBrush
*arg1
= (wxBrush
*) 0 ;
5913 PyObject
*swig_obj
[1] ;
5915 if (!args
) SWIG_fail
;
5917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5918 if (!SWIG_IsOK(res1
)) {
5919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5921 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= ((wxBrush
const *)arg1
)->GetColour();
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5935 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5936 PyObject
*resultobj
= 0;
5937 wxBrush
*arg1
= (wxBrush
*) 0 ;
5941 PyObject
*swig_obj
[1] ;
5943 if (!args
) SWIG_fail
;
5945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5946 if (!SWIG_IsOK(res1
)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5949 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_From_int(static_cast< int >(result
));
5963 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5964 PyObject
*resultobj
= 0;
5965 wxBrush
*arg1
= (wxBrush
*) 0 ;
5966 wxBitmap
*result
= 0 ;
5969 PyObject
*swig_obj
[1] ;
5971 if (!args
) SWIG_fail
;
5973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5974 if (!SWIG_IsOK(res1
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5977 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5991 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5992 PyObject
*resultobj
= 0;
5993 wxBrush
*arg1
= (wxBrush
*) 0 ;
5997 PyObject
*swig_obj
[1] ;
5999 if (!args
) SWIG_fail
;
6001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6002 if (!SWIG_IsOK(res1
)) {
6003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6005 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6021 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6022 PyObject
*resultobj
= 0;
6023 wxBrush
*arg1
= (wxBrush
*) 0 ;
6027 PyObject
*swig_obj
[1] ;
6029 if (!args
) SWIG_fail
;
6031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6032 if (!SWIG_IsOK(res1
)) {
6033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6035 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (bool)(arg1
)->IsOk();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6051 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6054 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6055 return SWIG_Py_Void();
6058 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6059 return SWIG_Python_InitShadowInstance(args
);
6062 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
= 0;
6064 wxString
*arg1
= 0 ;
6065 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6066 wxBitmap
*result
= 0 ;
6067 bool temp1
= false ;
6070 PyObject
* obj0
= 0 ;
6071 PyObject
* obj1
= 0 ;
6072 char * kwnames
[] = {
6073 (char *) "name",(char *) "type", NULL
6076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6078 arg1
= wxString_in_helper(obj0
);
6079 if (arg1
== NULL
) SWIG_fail
;
6083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6084 if (!SWIG_IsOK(ecode2
)) {
6085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6087 arg2
= static_cast< wxBitmapType
>(val2
);
6090 if (!wxPyCheckForApp()) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6111 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6112 PyObject
*resultobj
= 0;
6113 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6116 PyObject
*swig_obj
[1] ;
6118 if (!args
) SWIG_fail
;
6120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6121 if (!SWIG_IsOK(res1
)) {
6122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6124 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 resultobj
= SWIG_Py_Void();
6137 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
= 0;
6141 int arg3
= (int) -1 ;
6142 wxBitmap
*result
= 0 ;
6149 PyObject
* obj0
= 0 ;
6150 PyObject
* obj1
= 0 ;
6151 PyObject
* obj2
= 0 ;
6152 char * kwnames
[] = {
6153 (char *) "width",(char *) "height",(char *) "depth", NULL
6156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6157 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6158 if (!SWIG_IsOK(ecode1
)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6161 arg1
= static_cast< int >(val1
);
6162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6163 if (!SWIG_IsOK(ecode2
)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6166 arg2
= static_cast< int >(val2
);
6168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6169 if (!SWIG_IsOK(ecode3
)) {
6170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6172 arg3
= static_cast< int >(val3
);
6175 if (!wxPyCheckForApp()) SWIG_fail
;
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6188 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
= 0;
6191 wxBitmap
*result
= 0 ;
6194 PyObject
* obj0
= 0 ;
6195 char * kwnames
[] = {
6196 (char *) "icon", NULL
6199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6200 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6201 if (!SWIG_IsOK(res1
)) {
6202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6207 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6209 if (!wxPyCheckForApp()) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6222 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
*resultobj
= 0;
6225 int arg2
= (int) -1 ;
6226 wxBitmap
*result
= 0 ;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6233 char * kwnames
[] = {
6234 (char *) "image",(char *) "depth", NULL
6237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6238 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6239 if (!SWIG_IsOK(res1
)) {
6240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6245 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6248 if (!SWIG_IsOK(ecode2
)) {
6249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6251 arg2
= static_cast< int >(val2
);
6254 if (!wxPyCheckForApp()) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6267 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
= 0;
6269 PyObject
*arg1
= (PyObject
*) 0 ;
6270 wxBitmap
*result
= 0 ;
6271 PyObject
* obj0
= 0 ;
6272 char * kwnames
[] = {
6273 (char *) "listOfStrings", NULL
6276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6279 if (!wxPyCheckForApp()) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6292 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
= 0;
6294 PyObject
*arg1
= (PyObject
*) 0 ;
6297 int arg4
= (int) 1 ;
6298 wxBitmap
*result
= 0 ;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6307 PyObject
* obj2
= 0 ;
6308 PyObject
* obj3
= 0 ;
6309 char * kwnames
[] = {
6310 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6316 if (!SWIG_IsOK(ecode2
)) {
6317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6319 arg2
= static_cast< int >(val2
);
6320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6321 if (!SWIG_IsOK(ecode3
)) {
6322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6324 arg3
= static_cast< int >(val3
);
6326 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6327 if (!SWIG_IsOK(ecode4
)) {
6328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6330 arg4
= static_cast< int >(val4
);
6333 if (!wxPyCheckForApp()) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6346 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6347 PyObject
*resultobj
= 0;
6348 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6352 PyObject
*swig_obj
[1] ;
6354 if (!args
) SWIG_fail
;
6356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6357 if (!SWIG_IsOK(res1
)) {
6358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6360 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6362 result
= (bool)(arg1
)->IsOk();
6363 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6374 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6375 PyObject
*resultobj
= 0;
6376 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6380 PyObject
*swig_obj
[1] ;
6382 if (!args
) SWIG_fail
;
6384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6385 if (!SWIG_IsOK(res1
)) {
6386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6388 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6390 result
= (int)(arg1
)->GetWidth();
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_From_int(static_cast< int >(result
));
6400 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6401 PyObject
*resultobj
= 0;
6402 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6406 PyObject
*swig_obj
[1] ;
6408 if (!args
) SWIG_fail
;
6410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6411 if (!SWIG_IsOK(res1
)) {
6412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6414 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6416 result
= (int)(arg1
)->GetHeight();
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_From_int(static_cast< int >(result
));
6426 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6427 PyObject
*resultobj
= 0;
6428 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6432 PyObject
*swig_obj
[1] ;
6434 if (!args
) SWIG_fail
;
6436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6437 if (!SWIG_IsOK(res1
)) {
6438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6440 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6442 result
= (int)(arg1
)->GetDepth();
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= SWIG_From_int(static_cast< int >(result
));
6452 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6453 PyObject
*resultobj
= 0;
6454 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6458 PyObject
*swig_obj
[1] ;
6460 if (!args
) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6466 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6468 result
= wxBitmap_GetSize(arg1
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6478 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6479 PyObject
*resultobj
= 0;
6480 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6481 SwigValueWrapper
<wxImage
> result
;
6484 PyObject
*swig_obj
[1] ;
6486 if (!args
) SWIG_fail
;
6488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6489 if (!SWIG_IsOK(res1
)) {
6490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6492 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6494 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6504 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6507 wxMask
*result
= 0 ;
6510 PyObject
*swig_obj
[1] ;
6512 if (!args
) SWIG_fail
;
6514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6515 if (!SWIG_IsOK(res1
)) {
6516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6518 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6520 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6530 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
= 0;
6532 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6533 wxMask
*arg2
= (wxMask
*) 0 ;
6537 PyObject
* obj0
= 0 ;
6538 PyObject
* obj1
= 0 ;
6539 char * kwnames
[] = {
6540 (char *) "self",(char *) "mask", NULL
6543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6545 if (!SWIG_IsOK(res1
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6548 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6549 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6550 if (!SWIG_IsOK(res2
)) {
6551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6554 (arg1
)->SetMask(arg2
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= SWIG_Py_Void();
6564 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
= 0;
6566 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6567 wxColour
*arg2
= 0 ;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 char * kwnames
[] = {
6574 (char *) "self",(char *) "colour", NULL
6577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6582 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6585 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6588 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 resultobj
= SWIG_Py_Void();
6598 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6599 PyObject
*resultobj
= 0;
6600 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6602 SwigValueWrapper
<wxBitmap
> result
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 char * kwnames
[] = {
6609 (char *) "self",(char *) "rect", NULL
6612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6614 if (!SWIG_IsOK(res1
)) {
6615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6617 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6623 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6633 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
= 0;
6635 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6636 wxString
*arg2
= 0 ;
6638 wxPalette
*arg4
= (wxPalette
*) NULL
;
6642 bool temp2
= false ;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6649 PyObject
* obj2
= 0 ;
6650 PyObject
* obj3
= 0 ;
6651 char * kwnames
[] = {
6652 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6657 if (!SWIG_IsOK(res1
)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6660 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6662 arg2
= wxString_in_helper(obj1
);
6663 if (arg2
== NULL
) SWIG_fail
;
6666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6667 if (!SWIG_IsOK(ecode3
)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6670 arg3
= static_cast< wxBitmapType
>(val3
);
6672 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6673 if (!SWIG_IsOK(res4
)) {
6674 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6676 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6679 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6699 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
= 0;
6701 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6702 wxString
*arg2
= 0 ;
6707 bool temp2
= false ;
6710 PyObject
* obj0
= 0 ;
6711 PyObject
* obj1
= 0 ;
6712 PyObject
* obj2
= 0 ;
6713 char * kwnames
[] = {
6714 (char *) "self",(char *) "name",(char *) "type", NULL
6717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6719 if (!SWIG_IsOK(res1
)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6722 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6724 arg2
= wxString_in_helper(obj1
);
6725 if (arg2
== NULL
) SWIG_fail
;
6728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6729 if (!SWIG_IsOK(ecode3
)) {
6730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6732 arg3
= static_cast< wxBitmapType
>(val3
);
6734 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6754 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6755 PyObject
*resultobj
= 0;
6756 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6757 wxPalette
*result
= 0 ;
6760 PyObject
*swig_obj
[1] ;
6762 if (!args
) SWIG_fail
;
6764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6765 if (!SWIG_IsOK(res1
)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6768 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6770 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6780 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
= 0;
6782 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 char * kwnames
[] = {
6792 (char *) "self",(char *) "icon", NULL
6795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6800 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6802 if (!SWIG_IsOK(res2
)) {
6803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6808 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6810 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6822 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
= 0;
6824 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 char * kwnames
[] = {
6833 (char *) "self",(char *) "height", NULL
6836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6838 if (!SWIG_IsOK(res1
)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6841 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6843 if (!SWIG_IsOK(ecode2
)) {
6844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6846 arg2
= static_cast< int >(val2
);
6848 (arg1
)->SetHeight(arg2
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_Py_Void();
6858 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
= 0;
6860 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6868 char * kwnames
[] = {
6869 (char *) "self",(char *) "width", NULL
6872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6874 if (!SWIG_IsOK(res1
)) {
6875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6877 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6879 if (!SWIG_IsOK(ecode2
)) {
6880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6882 arg2
= static_cast< int >(val2
);
6884 (arg1
)->SetWidth(arg2
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_Py_Void();
6894 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
= 0;
6896 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6902 PyObject
* obj0
= 0 ;
6903 PyObject
* obj1
= 0 ;
6904 char * kwnames
[] = {
6905 (char *) "self",(char *) "depth", NULL
6908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6910 if (!SWIG_IsOK(res1
)) {
6911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6913 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6915 if (!SWIG_IsOK(ecode2
)) {
6916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6918 arg2
= static_cast< int >(val2
);
6920 (arg1
)->SetDepth(arg2
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_Py_Void();
6930 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
= 0;
6932 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6937 PyObject
* obj0
= 0 ;
6938 PyObject
* obj1
= 0 ;
6939 char * kwnames
[] = {
6940 (char *) "self",(char *) "size", NULL
6943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6945 if (!SWIG_IsOK(res1
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6948 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6951 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6954 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_Py_Void();
6964 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
*resultobj
= 0;
6966 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6974 char * kwnames
[] = {
6975 (char *) "self",(char *) "data", NULL
6978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6980 if (!SWIG_IsOK(res1
)) {
6981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
6983 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6985 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
6989 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= SWIG_Py_Void();
6999 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
= 0;
7001 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7009 char * kwnames
[] = {
7010 (char *) "self",(char *) "data", NULL
7013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7015 if (!SWIG_IsOK(res1
)) {
7016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7018 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7020 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7024 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_Py_Void();
7034 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7035 PyObject
*resultobj
= 0;
7036 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7037 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7045 char * kwnames
[] = {
7046 (char *) "self",(char *) "other", NULL
7049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7051 if (!SWIG_IsOK(res1
)) {
7052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7054 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7055 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7056 if (!SWIG_IsOK(res2
)) {
7057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7059 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7061 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7073 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
= 0;
7075 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7076 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7082 PyObject
* obj0
= 0 ;
7083 PyObject
* obj1
= 0 ;
7084 char * kwnames
[] = {
7085 (char *) "self",(char *) "other", NULL
7088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7090 if (!SWIG_IsOK(res1
)) {
7091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7093 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7094 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7095 if (!SWIG_IsOK(res2
)) {
7096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7098 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7100 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7112 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7115 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7116 return SWIG_Py_Void();
7119 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7120 return SWIG_Python_InitShadowInstance(args
);
7123 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
= 0;
7131 wxBitmap
*result
= 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 PyObject
* obj2
= 0 ;
7141 PyObject
* obj3
= 0 ;
7142 char * kwnames
[] = {
7143 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7147 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7148 if (!SWIG_IsOK(ecode1
)) {
7149 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7151 arg1
= static_cast< int >(val1
);
7152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7153 if (!SWIG_IsOK(ecode2
)) {
7154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7156 arg2
= static_cast< int >(val2
);
7158 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7162 if (obj3
!= Py_None
) {
7163 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7168 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7178 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
= 0;
7184 wxBitmap
*result
= 0 ;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7192 PyObject
* obj2
= 0 ;
7193 char * kwnames
[] = {
7194 (char *) "width",(char *) "height",(char *) "data", NULL
7197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7198 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7199 if (!SWIG_IsOK(ecode1
)) {
7200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7202 arg1
= static_cast< int >(val1
);
7203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7204 if (!SWIG_IsOK(ecode2
)) {
7205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7207 arg2
= static_cast< int >(val2
);
7209 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7213 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7223 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
= 0;
7229 wxBitmap
*result
= 0 ;
7235 PyObject
* obj0
= 0 ;
7236 PyObject
* obj1
= 0 ;
7237 PyObject
* obj2
= 0 ;
7238 char * kwnames
[] = {
7239 (char *) "width",(char *) "height",(char *) "data", NULL
7242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7243 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7244 if (!SWIG_IsOK(ecode1
)) {
7245 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7247 arg1
= static_cast< int >(val1
);
7248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7249 if (!SWIG_IsOK(ecode2
)) {
7250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7252 arg2
= static_cast< int >(val2
);
7254 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7258 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7268 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7269 PyObject
*resultobj
= 0;
7270 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7274 PyObject
*swig_obj
[1] ;
7276 if (!args
) SWIG_fail
;
7278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7279 if (!SWIG_IsOK(res1
)) {
7280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7282 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7284 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7294 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7295 PyObject
*resultobj
= 0;
7296 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7300 PyObject
*swig_obj
[1] ;
7302 if (!args
) SWIG_fail
;
7304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7305 if (!SWIG_IsOK(res1
)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7308 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7310 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 resultobj
= SWIG_From_int(static_cast< int >(result
));
7320 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7321 PyObject
*resultobj
= 0;
7322 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7326 PyObject
*swig_obj
[1] ;
7328 if (!args
) SWIG_fail
;
7330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7331 if (!SWIG_IsOK(res1
)) {
7332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7334 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7336 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= SWIG_From_int(static_cast< int >(result
));
7346 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7347 PyObject
*resultobj
= 0;
7348 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7352 PyObject
*swig_obj
[1] ;
7354 if (!args
) SWIG_fail
;
7356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7357 if (!SWIG_IsOK(res1
)) {
7358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7360 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7362 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7372 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 PyObject
*resultobj
= 0;
7374 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7378 PyObject
*swig_obj
[1] ;
7380 if (!args
) SWIG_fail
;
7382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7383 if (!SWIG_IsOK(res1
)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7386 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7388 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= SWIG_From_int(static_cast< int >(result
));
7398 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7401 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7402 return SWIG_Py_Void();
7405 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7406 PyObject
*resultobj
= 0;
7407 wxBitmap
*arg1
= 0 ;
7408 wxNativePixelData
*result
= 0 ;
7412 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7420 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7422 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7432 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7433 PyObject
*resultobj
= 0;
7434 wxBitmap
*arg1
= 0 ;
7436 wxNativePixelData
*result
= 0 ;
7441 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7443 if (!SWIG_IsOK(res1
)) {
7444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7449 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7452 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7455 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7465 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7466 PyObject
*resultobj
= 0;
7467 wxBitmap
*arg1
= 0 ;
7470 wxNativePixelData
*result
= 0 ;
7476 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7478 if (!SWIG_IsOK(res1
)) {
7479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7484 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7487 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7491 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7494 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7504 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7508 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7511 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7514 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7517 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7521 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7526 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7527 PyObject
*resultobj
= 0;
7528 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7531 PyObject
*swig_obj
[1] ;
7533 if (!args
) SWIG_fail
;
7535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7536 if (!SWIG_IsOK(res1
)) {
7537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7539 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= SWIG_Py_Void();
7552 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7553 PyObject
*resultobj
= 0;
7554 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7555 wxNativePixelData_Accessor result
;
7558 PyObject
*swig_obj
[1] ;
7560 if (!args
) SWIG_fail
;
7562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7563 if (!SWIG_IsOK(res1
)) {
7564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7566 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7568 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7578 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7579 PyObject
*resultobj
= 0;
7580 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7583 PyObject
*swig_obj
[1] ;
7585 if (!args
) SWIG_fail
;
7587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7588 if (!SWIG_IsOK(res1
)) {
7589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7591 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_Py_Void();
7603 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7604 PyObject
*resultobj
= 0;
7605 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7609 PyObject
*swig_obj
[1] ;
7611 if (!args
) SWIG_fail
;
7613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7614 if (!SWIG_IsOK(res1
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7617 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7619 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7631 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7634 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7635 return SWIG_Py_Void();
7638 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7639 return SWIG_Python_InitShadowInstance(args
);
7642 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7643 PyObject
*resultobj
= 0;
7644 wxNativePixelData
*arg1
= 0 ;
7645 wxNativePixelData_Accessor
*result
= 0 ;
7649 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7657 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7659 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7669 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7670 PyObject
*resultobj
= 0;
7671 wxBitmap
*arg1
= 0 ;
7672 wxNativePixelData
*arg2
= 0 ;
7673 wxNativePixelData_Accessor
*result
= 0 ;
7679 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7681 if (!SWIG_IsOK(res1
)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7687 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7688 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7689 if (!SWIG_IsOK(res2
)) {
7690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7695 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7697 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7707 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7708 PyObject
*resultobj
= 0;
7709 wxNativePixelData_Accessor
*result
= 0 ;
7711 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7713 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7723 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7727 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7730 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7733 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7736 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7740 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7745 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7746 PyObject
*resultobj
= 0;
7747 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7750 PyObject
*swig_obj
[1] ;
7752 if (!args
) SWIG_fail
;
7754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7755 if (!SWIG_IsOK(res1
)) {
7756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7758 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= SWIG_Py_Void();
7771 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
= 0;
7773 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7774 wxNativePixelData
*arg2
= 0 ;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7781 char * kwnames
[] = {
7782 (char *) "self",(char *) "data", NULL
7785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7787 if (!SWIG_IsOK(res1
)) {
7788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7790 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7792 if (!SWIG_IsOK(res2
)) {
7793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7798 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7800 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_Py_Void();
7810 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7811 PyObject
*resultobj
= 0;
7812 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7816 PyObject
*swig_obj
[1] ;
7818 if (!args
) SWIG_fail
;
7820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7821 if (!SWIG_IsOK(res1
)) {
7822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7824 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7826 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7838 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7839 PyObject
*resultobj
= 0;
7840 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7843 PyObject
*swig_obj
[1] ;
7845 if (!args
) SWIG_fail
;
7847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7848 if (!SWIG_IsOK(res1
)) {
7849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7851 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7853 wxNativePixelData_Accessor_nextPixel(arg1
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_Py_Void();
7863 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
= 0;
7865 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7866 wxNativePixelData
*arg2
= 0 ;
7877 PyObject
* obj0
= 0 ;
7878 PyObject
* obj1
= 0 ;
7879 PyObject
* obj2
= 0 ;
7880 PyObject
* obj3
= 0 ;
7881 char * kwnames
[] = {
7882 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7887 if (!SWIG_IsOK(res1
)) {
7888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7890 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7892 if (!SWIG_IsOK(res2
)) {
7893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7898 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7900 if (!SWIG_IsOK(ecode3
)) {
7901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7903 arg3
= static_cast< int >(val3
);
7904 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7905 if (!SWIG_IsOK(ecode4
)) {
7906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7908 arg4
= static_cast< int >(val4
);
7910 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_Py_Void();
7920 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7921 PyObject
*resultobj
= 0;
7922 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7923 wxNativePixelData
*arg2
= 0 ;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7933 PyObject
* obj2
= 0 ;
7934 char * kwnames
[] = {
7935 (char *) "self",(char *) "data",(char *) "x", NULL
7938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7940 if (!SWIG_IsOK(res1
)) {
7941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7943 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7945 if (!SWIG_IsOK(res2
)) {
7946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7951 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7952 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7953 if (!SWIG_IsOK(ecode3
)) {
7954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7956 arg3
= static_cast< int >(val3
);
7958 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_Py_Void();
7968 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
= 0;
7970 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7971 wxNativePixelData
*arg2
= 0 ;
7979 PyObject
* obj0
= 0 ;
7980 PyObject
* obj1
= 0 ;
7981 PyObject
* obj2
= 0 ;
7982 char * kwnames
[] = {
7983 (char *) "self",(char *) "data",(char *) "y", NULL
7986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7988 if (!SWIG_IsOK(res1
)) {
7989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7991 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7993 if (!SWIG_IsOK(res2
)) {
7994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7999 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8001 if (!SWIG_IsOK(ecode3
)) {
8002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8004 arg3
= static_cast< int >(val3
);
8006 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_Py_Void();
8016 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
= 0;
8018 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8019 wxNativePixelData
*arg2
= 0 ;
8030 PyObject
* obj0
= 0 ;
8031 PyObject
* obj1
= 0 ;
8032 PyObject
* obj2
= 0 ;
8033 PyObject
* obj3
= 0 ;
8034 char * kwnames
[] = {
8035 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8040 if (!SWIG_IsOK(res1
)) {
8041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8043 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8045 if (!SWIG_IsOK(res2
)) {
8046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8051 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8053 if (!SWIG_IsOK(ecode3
)) {
8054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8056 arg3
= static_cast< int >(val3
);
8057 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8058 if (!SWIG_IsOK(ecode4
)) {
8059 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8061 arg4
= static_cast< int >(val4
);
8063 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= SWIG_Py_Void();
8073 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
= 0;
8075 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8081 unsigned char val2
;
8083 unsigned char val3
;
8085 unsigned char val4
;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8089 PyObject
* obj2
= 0 ;
8090 PyObject
* obj3
= 0 ;
8091 char * kwnames
[] = {
8092 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8097 if (!SWIG_IsOK(res1
)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8100 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8101 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8102 if (!SWIG_IsOK(ecode2
)) {
8103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8105 arg2
= static_cast< byte
>(val2
);
8106 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8107 if (!SWIG_IsOK(ecode3
)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8110 arg3
= static_cast< byte
>(val3
);
8111 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8112 if (!SWIG_IsOK(ecode4
)) {
8113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8115 arg4
= static_cast< byte
>(val4
);
8117 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_Py_Void();
8127 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8128 PyObject
*resultobj
= 0;
8129 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8130 PyObject
*result
= 0 ;
8133 PyObject
*swig_obj
[1] ;
8135 if (!args
) SWIG_fail
;
8137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8138 if (!SWIG_IsOK(res1
)) {
8139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8141 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8143 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8153 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8156 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8157 return SWIG_Py_Void();
8160 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8161 return SWIG_Python_InitShadowInstance(args
);
8164 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8165 PyObject
*resultobj
= 0;
8166 wxBitmap
*arg1
= 0 ;
8167 wxAlphaPixelData
*result
= 0 ;
8171 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8173 if (!SWIG_IsOK(res1
)) {
8174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8179 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8181 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8191 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8192 PyObject
*resultobj
= 0;
8193 wxBitmap
*arg1
= 0 ;
8195 wxAlphaPixelData
*result
= 0 ;
8200 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8202 if (!SWIG_IsOK(res1
)) {
8203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8208 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8211 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8214 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8224 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8225 PyObject
*resultobj
= 0;
8226 wxBitmap
*arg1
= 0 ;
8229 wxAlphaPixelData
*result
= 0 ;
8235 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8237 if (!SWIG_IsOK(res1
)) {
8238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8243 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8246 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8250 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8253 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8263 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8267 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8270 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8273 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8276 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8280 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8285 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8286 PyObject
*resultobj
= 0;
8287 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8290 PyObject
*swig_obj
[1] ;
8292 if (!args
) SWIG_fail
;
8294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8295 if (!SWIG_IsOK(res1
)) {
8296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8298 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= SWIG_Py_Void();
8311 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8312 PyObject
*resultobj
= 0;
8313 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8314 wxAlphaPixelData_Accessor result
;
8317 PyObject
*swig_obj
[1] ;
8319 if (!args
) SWIG_fail
;
8321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8322 if (!SWIG_IsOK(res1
)) {
8323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8325 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8327 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8337 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8338 PyObject
*resultobj
= 0;
8339 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8342 PyObject
*swig_obj
[1] ;
8344 if (!args
) SWIG_fail
;
8346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8347 if (!SWIG_IsOK(res1
)) {
8348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8350 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_Py_Void();
8362 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8363 PyObject
*resultobj
= 0;
8364 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8368 PyObject
*swig_obj
[1] ;
8370 if (!args
) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8376 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8378 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8390 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8393 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8394 return SWIG_Py_Void();
8397 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8398 return SWIG_Python_InitShadowInstance(args
);
8401 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8402 PyObject
*resultobj
= 0;
8403 wxAlphaPixelData
*arg1
= 0 ;
8404 wxAlphaPixelData_Accessor
*result
= 0 ;
8408 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8416 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8418 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8428 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8429 PyObject
*resultobj
= 0;
8430 wxBitmap
*arg1
= 0 ;
8431 wxAlphaPixelData
*arg2
= 0 ;
8432 wxAlphaPixelData_Accessor
*result
= 0 ;
8438 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8440 if (!SWIG_IsOK(res1
)) {
8441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8446 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8447 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8448 if (!SWIG_IsOK(res2
)) {
8449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8454 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8456 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8466 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8467 PyObject
*resultobj
= 0;
8468 wxAlphaPixelData_Accessor
*result
= 0 ;
8470 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8472 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8482 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8486 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8489 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8492 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8495 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8499 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8504 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8505 PyObject
*resultobj
= 0;
8506 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8509 PyObject
*swig_obj
[1] ;
8511 if (!args
) SWIG_fail
;
8513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8514 if (!SWIG_IsOK(res1
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8517 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= SWIG_Py_Void();
8530 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
= 0;
8532 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8533 wxAlphaPixelData
*arg2
= 0 ;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8540 char * kwnames
[] = {
8541 (char *) "self",(char *) "data", NULL
8544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8546 if (!SWIG_IsOK(res1
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8549 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8551 if (!SWIG_IsOK(res2
)) {
8552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8557 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8559 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_Py_Void();
8569 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8570 PyObject
*resultobj
= 0;
8571 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8575 PyObject
*swig_obj
[1] ;
8577 if (!args
) SWIG_fail
;
8579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8580 if (!SWIG_IsOK(res1
)) {
8581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8583 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8585 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8586 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8597 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8598 PyObject
*resultobj
= 0;
8599 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8602 PyObject
*swig_obj
[1] ;
8604 if (!args
) SWIG_fail
;
8606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8607 if (!SWIG_IsOK(res1
)) {
8608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8610 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8612 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8613 if (PyErr_Occurred()) SWIG_fail
;
8615 resultobj
= SWIG_Py_Void();
8622 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
= 0;
8624 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8625 wxAlphaPixelData
*arg2
= 0 ;
8636 PyObject
* obj0
= 0 ;
8637 PyObject
* obj1
= 0 ;
8638 PyObject
* obj2
= 0 ;
8639 PyObject
* obj3
= 0 ;
8640 char * kwnames
[] = {
8641 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8646 if (!SWIG_IsOK(res1
)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8649 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8651 if (!SWIG_IsOK(res2
)) {
8652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8657 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8659 if (!SWIG_IsOK(ecode3
)) {
8660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8662 arg3
= static_cast< int >(val3
);
8663 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8664 if (!SWIG_IsOK(ecode4
)) {
8665 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8667 arg4
= static_cast< int >(val4
);
8669 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_Py_Void();
8679 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
= 0;
8681 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8682 wxAlphaPixelData
*arg2
= 0 ;
8690 PyObject
* obj0
= 0 ;
8691 PyObject
* obj1
= 0 ;
8692 PyObject
* obj2
= 0 ;
8693 char * kwnames
[] = {
8694 (char *) "self",(char *) "data",(char *) "x", NULL
8697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8699 if (!SWIG_IsOK(res1
)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8702 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8704 if (!SWIG_IsOK(res2
)) {
8705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8710 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8712 if (!SWIG_IsOK(ecode3
)) {
8713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8715 arg3
= static_cast< int >(val3
);
8717 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= SWIG_Py_Void();
8727 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
= 0;
8729 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8730 wxAlphaPixelData
*arg2
= 0 ;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8741 char * kwnames
[] = {
8742 (char *) "self",(char *) "data",(char *) "y", NULL
8745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8747 if (!SWIG_IsOK(res1
)) {
8748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8750 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8751 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8752 if (!SWIG_IsOK(res2
)) {
8753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8758 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8760 if (!SWIG_IsOK(ecode3
)) {
8761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8763 arg3
= static_cast< int >(val3
);
8765 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= SWIG_Py_Void();
8775 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
= 0;
8777 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8778 wxAlphaPixelData
*arg2
= 0 ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8791 PyObject
* obj2
= 0 ;
8792 PyObject
* obj3
= 0 ;
8793 char * kwnames
[] = {
8794 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8799 if (!SWIG_IsOK(res1
)) {
8800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8802 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8804 if (!SWIG_IsOK(res2
)) {
8805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8810 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8812 if (!SWIG_IsOK(ecode3
)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8815 arg3
= static_cast< int >(val3
);
8816 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8817 if (!SWIG_IsOK(ecode4
)) {
8818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8820 arg4
= static_cast< int >(val4
);
8822 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_Py_Void();
8832 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
= 0;
8834 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8841 unsigned char val2
;
8843 unsigned char val3
;
8845 unsigned char val4
;
8847 unsigned char val5
;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8851 PyObject
* obj2
= 0 ;
8852 PyObject
* obj3
= 0 ;
8853 PyObject
* obj4
= 0 ;
8854 char * kwnames
[] = {
8855 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8860 if (!SWIG_IsOK(res1
)) {
8861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8863 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8864 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8865 if (!SWIG_IsOK(ecode2
)) {
8866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8868 arg2
= static_cast< byte
>(val2
);
8869 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8870 if (!SWIG_IsOK(ecode3
)) {
8871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8873 arg3
= static_cast< byte
>(val3
);
8874 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8875 if (!SWIG_IsOK(ecode4
)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8878 arg4
= static_cast< byte
>(val4
);
8879 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8880 if (!SWIG_IsOK(ecode5
)) {
8881 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8883 arg5
= static_cast< byte
>(val5
);
8885 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= SWIG_Py_Void();
8895 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8896 PyObject
*resultobj
= 0;
8897 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8898 PyObject
*result
= 0 ;
8901 PyObject
*swig_obj
[1] ;
8903 if (!args
) SWIG_fail
;
8905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8906 if (!SWIG_IsOK(res1
)) {
8907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8909 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8911 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8921 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8924 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8925 return SWIG_Py_Void();
8928 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8929 return SWIG_Python_InitShadowInstance(args
);
8932 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
= 0;
8934 wxBitmap
*arg1
= 0 ;
8935 wxColour
const &arg2_defvalue
= wxNullColour
;
8936 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8937 wxMask
*result
= 0 ;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8943 char * kwnames
[] = {
8944 (char *) "bitmap",(char *) "colour", NULL
8947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8948 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8949 if (!SWIG_IsOK(res1
)) {
8950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8955 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8959 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8963 if (!wxPyCheckForApp()) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8976 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8977 PyObject
*resultobj
= 0;
8978 wxMask
*arg1
= (wxMask
*) 0 ;
8981 PyObject
*swig_obj
[1] ;
8983 if (!args
) SWIG_fail
;
8985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8986 if (!SWIG_IsOK(res1
)) {
8987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8989 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8993 if (PyErr_Occurred()) SWIG_fail
;
8995 resultobj
= SWIG_Py_Void();
9002 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9005 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9006 return SWIG_Py_Void();
9009 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9010 return SWIG_Python_InitShadowInstance(args
);
9013 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
= 0;
9015 wxString
*arg1
= 0 ;
9017 int arg3
= (int) -1 ;
9018 int arg4
= (int) -1 ;
9019 wxIcon
*result
= 0 ;
9020 bool temp1
= false ;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9029 PyObject
* obj2
= 0 ;
9030 PyObject
* obj3
= 0 ;
9031 char * kwnames
[] = {
9032 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9037 arg1
= wxString_in_helper(obj0
);
9038 if (arg1
== NULL
) SWIG_fail
;
9041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9042 if (!SWIG_IsOK(ecode2
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9045 arg2
= static_cast< wxBitmapType
>(val2
);
9047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9048 if (!SWIG_IsOK(ecode3
)) {
9049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9051 arg3
= static_cast< int >(val3
);
9054 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9055 if (!SWIG_IsOK(ecode4
)) {
9056 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9058 arg4
= static_cast< int >(val4
);
9061 if (!wxPyCheckForApp()) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9082 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9083 PyObject
*resultobj
= 0;
9084 wxIcon
*arg1
= (wxIcon
*) 0 ;
9087 PyObject
*swig_obj
[1] ;
9089 if (!args
) SWIG_fail
;
9091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9092 if (!SWIG_IsOK(res1
)) {
9093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9095 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_Py_Void();
9110 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9111 PyObject
*resultobj
= 0;
9112 wxIcon
*result
= 0 ;
9114 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9116 if (!wxPyCheckForApp()) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (wxIcon
*)new wxIcon();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9129 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
= 0;
9131 wxIconLocation
*arg1
= 0 ;
9132 wxIcon
*result
= 0 ;
9135 PyObject
* obj0
= 0 ;
9136 char * kwnames
[] = {
9137 (char *) "loc", NULL
9140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9141 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9142 if (!SWIG_IsOK(res1
)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9148 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9150 if (!wxPyCheckForApp()) SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9163 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
= 0;
9165 wxBitmap
*arg1
= 0 ;
9166 wxIcon
*result
= 0 ;
9169 PyObject
* obj0
= 0 ;
9170 char * kwnames
[] = {
9171 (char *) "bmp", NULL
9174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9175 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9176 if (!SWIG_IsOK(res1
)) {
9177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9182 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9184 if (!wxPyCheckForApp()) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9197 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
= 0;
9199 PyObject
*arg1
= (PyObject
*) 0 ;
9200 wxIcon
*result
= 0 ;
9201 PyObject
* obj0
= 0 ;
9202 char * kwnames
[] = {
9203 (char *) "listOfStrings", NULL
9206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9209 if (!wxPyCheckForApp()) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (wxIcon
*)new_wxIcon(arg1
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9222 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
= 0;
9224 wxIcon
*arg1
= (wxIcon
*) 0 ;
9225 wxString
*arg2
= 0 ;
9230 bool temp2
= false ;
9233 PyObject
* obj0
= 0 ;
9234 PyObject
* obj1
= 0 ;
9235 PyObject
* obj2
= 0 ;
9236 char * kwnames
[] = {
9237 (char *) "self",(char *) "name",(char *) "type", NULL
9240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9242 if (!SWIG_IsOK(res1
)) {
9243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9245 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9247 arg2
= wxString_in_helper(obj1
);
9248 if (arg2
== NULL
) SWIG_fail
;
9251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9252 if (!SWIG_IsOK(ecode3
)) {
9253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9255 arg3
= static_cast< wxBitmapType
>(val3
);
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9279 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9280 PyObject
*resultobj
= 0;
9281 wxIcon
*arg1
= (wxIcon
*) 0 ;
9285 PyObject
*swig_obj
[1] ;
9287 if (!args
) SWIG_fail
;
9289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9290 if (!SWIG_IsOK(res1
)) {
9291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9293 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (bool)(arg1
)->IsOk();
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9309 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9310 PyObject
*resultobj
= 0;
9311 wxIcon
*arg1
= (wxIcon
*) 0 ;
9315 PyObject
*swig_obj
[1] ;
9317 if (!args
) SWIG_fail
;
9319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9320 if (!SWIG_IsOK(res1
)) {
9321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9323 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (int)(arg1
)->GetWidth();
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_From_int(static_cast< int >(result
));
9337 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9338 PyObject
*resultobj
= 0;
9339 wxIcon
*arg1
= (wxIcon
*) 0 ;
9343 PyObject
*swig_obj
[1] ;
9345 if (!args
) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9351 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (int)(arg1
)->GetHeight();
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_From_int(static_cast< int >(result
));
9365 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9366 PyObject
*resultobj
= 0;
9367 wxIcon
*arg1
= (wxIcon
*) 0 ;
9371 PyObject
*swig_obj
[1] ;
9373 if (!args
) SWIG_fail
;
9375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9376 if (!SWIG_IsOK(res1
)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9379 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (int)(arg1
)->GetDepth();
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_From_int(static_cast< int >(result
));
9393 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
= 0;
9395 wxIcon
*arg1
= (wxIcon
*) 0 ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 char * kwnames
[] = {
9404 (char *) "self",(char *) "w", NULL
9407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9409 if (!SWIG_IsOK(res1
)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9412 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9414 if (!SWIG_IsOK(ecode2
)) {
9415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9417 arg2
= static_cast< int >(val2
);
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 (arg1
)->SetWidth(arg2
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_Py_Void();
9431 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
= 0;
9433 wxIcon
*arg1
= (wxIcon
*) 0 ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 char * kwnames
[] = {
9442 (char *) "self",(char *) "h", NULL
9445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9447 if (!SWIG_IsOK(res1
)) {
9448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9450 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9452 if (!SWIG_IsOK(ecode2
)) {
9453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9455 arg2
= static_cast< int >(val2
);
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 (arg1
)->SetHeight(arg2
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= SWIG_Py_Void();
9469 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
*resultobj
= 0;
9471 wxIcon
*arg1
= (wxIcon
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9478 PyObject
* obj1
= 0 ;
9479 char * kwnames
[] = {
9480 (char *) "self",(char *) "d", NULL
9483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9485 if (!SWIG_IsOK(res1
)) {
9486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9488 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9490 if (!SWIG_IsOK(ecode2
)) {
9491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9493 arg2
= static_cast< int >(val2
);
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 (arg1
)->SetDepth(arg2
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= SWIG_Py_Void();
9507 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
= 0;
9509 wxIcon
*arg1
= (wxIcon
*) 0 ;
9510 wxBitmap
*arg2
= 0 ;
9515 PyObject
* obj0
= 0 ;
9516 PyObject
* obj1
= 0 ;
9517 char * kwnames
[] = {
9518 (char *) "self",(char *) "bmp", NULL
9521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9523 if (!SWIG_IsOK(res1
)) {
9524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9526 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9528 if (!SWIG_IsOK(res2
)) {
9529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9534 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= SWIG_Py_Void();
9548 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9551 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9552 return SWIG_Py_Void();
9555 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9556 return SWIG_Python_InitShadowInstance(args
);
9559 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
= 0;
9561 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9562 int arg2
= (int) 0 ;
9563 wxIconLocation
*result
= 0 ;
9564 bool temp1
= false ;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 char * kwnames
[] = {
9570 (char *) "filename",(char *) "num", NULL
9573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9576 arg1
= wxString_in_helper(obj0
);
9577 if (arg1
== NULL
) SWIG_fail
;
9582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9583 if (!SWIG_IsOK(ecode2
)) {
9584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9586 arg2
= static_cast< int >(val2
);
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9609 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9610 PyObject
*resultobj
= 0;
9611 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9614 PyObject
*swig_obj
[1] ;
9616 if (!args
) SWIG_fail
;
9618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9619 if (!SWIG_IsOK(res1
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9622 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_Py_Void();
9637 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9638 PyObject
*resultobj
= 0;
9639 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9643 PyObject
*swig_obj
[1] ;
9645 if (!args
) SWIG_fail
;
9647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9648 if (!SWIG_IsOK(res1
)) {
9649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9651 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9667 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
= 0;
9669 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9670 wxString
*arg2
= 0 ;
9673 bool temp2
= false ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 char * kwnames
[] = {
9677 (char *) "self",(char *) "filename", NULL
9680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9682 if (!SWIG_IsOK(res1
)) {
9683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9685 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9687 arg2
= wxString_in_helper(obj1
);
9688 if (arg2
== NULL
) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 (arg1
)->SetFileName((wxString
const &)*arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_Py_Void();
9712 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9713 PyObject
*resultobj
= 0;
9714 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9715 wxString
*result
= 0 ;
9718 PyObject
*swig_obj
[1] ;
9720 if (!args
) SWIG_fail
;
9722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9723 if (!SWIG_IsOK(res1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9726 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9731 result
= (wxString
*) &_result_ref
;
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9740 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9749 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
= 0;
9751 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 char * kwnames
[] = {
9760 (char *) "self",(char *) "num", NULL
9763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9765 if (!SWIG_IsOK(res1
)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9768 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9770 if (!SWIG_IsOK(ecode2
)) {
9771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9773 arg2
= static_cast< int >(val2
);
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 wxIconLocation_SetIndex(arg1
,arg2
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 resultobj
= SWIG_Py_Void();
9787 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9788 PyObject
*resultobj
= 0;
9789 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9793 PyObject
*swig_obj
[1] ;
9795 if (!args
) SWIG_fail
;
9797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9798 if (!SWIG_IsOK(res1
)) {
9799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9801 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (int)wxIconLocation_GetIndex(arg1
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_From_int(static_cast< int >(result
));
9815 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9818 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9819 return SWIG_Py_Void();
9822 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9823 return SWIG_Python_InitShadowInstance(args
);
9826 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9827 PyObject
*resultobj
= 0;
9828 wxIconBundle
*result
= 0 ;
9830 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (wxIconBundle
*)new wxIconBundle();
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9844 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
= 0;
9846 wxString
*arg1
= 0 ;
9848 wxIconBundle
*result
= 0 ;
9849 bool temp1
= false ;
9852 PyObject
* obj0
= 0 ;
9853 PyObject
* obj1
= 0 ;
9854 char * kwnames
[] = {
9855 (char *) "file",(char *) "type", NULL
9858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9860 arg1
= wxString_in_helper(obj0
);
9861 if (arg1
== NULL
) SWIG_fail
;
9864 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9865 if (!SWIG_IsOK(ecode2
)) {
9866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9868 arg2
= static_cast< long >(val2
);
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9890 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
= 0;
9893 wxIconBundle
*result
= 0 ;
9896 PyObject
* obj0
= 0 ;
9897 char * kwnames
[] = {
9898 (char *) "icon", NULL
9901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9902 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9903 if (!SWIG_IsOK(res1
)) {
9904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9909 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9923 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9924 PyObject
*resultobj
= 0;
9925 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9928 PyObject
*swig_obj
[1] ;
9930 if (!args
) SWIG_fail
;
9932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9933 if (!SWIG_IsOK(res1
)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9936 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= SWIG_Py_Void();
9951 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
= 0;
9953 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9959 PyObject
* obj0
= 0 ;
9960 PyObject
* obj1
= 0 ;
9961 char * kwnames
[] = {
9962 (char *) "self",(char *) "icon", NULL
9965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9967 if (!SWIG_IsOK(res1
)) {
9968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9970 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9971 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9972 if (!SWIG_IsOK(res2
)) {
9973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9978 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= SWIG_Py_Void();
9992 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
= 0;
9994 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9995 wxString
*arg2
= 0 ;
9999 bool temp2
= false ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 PyObject
* obj2
= 0 ;
10005 char * kwnames
[] = {
10006 (char *) "self",(char *) "file",(char *) "type", NULL
10009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10011 if (!SWIG_IsOK(res1
)) {
10012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10014 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10016 arg2
= wxString_in_helper(obj1
);
10017 if (arg2
== NULL
) SWIG_fail
;
10020 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10021 if (!SWIG_IsOK(ecode3
)) {
10022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10024 arg3
= static_cast< long >(val3
);
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_Py_Void();
10046 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
= 0;
10048 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10050 wxIcon
*result
= 0 ;
10054 PyObject
* obj0
= 0 ;
10055 PyObject
* obj1
= 0 ;
10056 char * kwnames
[] = {
10057 (char *) "self",(char *) "size", NULL
10060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10062 if (!SWIG_IsOK(res1
)) {
10063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10065 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10068 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10074 result
= (wxIcon
*) &_result_ref
;
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) SWIG_fail
;
10080 wxIcon
* resultptr
= new wxIcon(*result
);
10081 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10089 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10092 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10093 return SWIG_Py_Void();
10096 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10097 return SWIG_Python_InitShadowInstance(args
);
10100 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
= 0;
10102 wxString
*arg1
= 0 ;
10104 int arg3
= (int) 0 ;
10105 int arg4
= (int) 0 ;
10106 wxCursor
*result
= 0 ;
10107 bool temp1
= false ;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj1
= 0 ;
10116 PyObject
* obj2
= 0 ;
10117 PyObject
* obj3
= 0 ;
10118 char * kwnames
[] = {
10119 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10124 arg1
= wxString_in_helper(obj0
);
10125 if (arg1
== NULL
) SWIG_fail
;
10128 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10129 if (!SWIG_IsOK(ecode2
)) {
10130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10132 arg2
= static_cast< long >(val2
);
10134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10135 if (!SWIG_IsOK(ecode3
)) {
10136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10138 arg3
= static_cast< int >(val3
);
10141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10142 if (!SWIG_IsOK(ecode4
)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10145 arg4
= static_cast< int >(val4
);
10148 if (!wxPyCheckForApp()) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10169 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10170 PyObject
*resultobj
= 0;
10171 wxCursor
*arg1
= (wxCursor
*) 0 ;
10174 PyObject
*swig_obj
[1] ;
10176 if (!args
) SWIG_fail
;
10177 swig_obj
[0] = args
;
10178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10179 if (!SWIG_IsOK(res1
)) {
10180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10182 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10190 resultobj
= SWIG_Py_Void();
10197 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
= 0;
10200 wxCursor
*result
= 0 ;
10203 PyObject
* obj0
= 0 ;
10204 char * kwnames
[] = {
10205 (char *) "id", NULL
10208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10210 if (!SWIG_IsOK(ecode1
)) {
10211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10213 arg1
= static_cast< int >(val1
);
10215 if (!wxPyCheckForApp()) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (wxCursor
*)new wxCursor(arg1
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10228 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
= 0;
10230 wxImage
*arg1
= 0 ;
10231 wxCursor
*result
= 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char * kwnames
[] = {
10236 (char *) "image", NULL
10239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10240 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10241 if (!SWIG_IsOK(res1
)) {
10242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10247 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10249 if (!wxPyCheckForApp()) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10262 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10263 PyObject
*resultobj
= 0;
10264 wxCursor
*arg1
= (wxCursor
*) 0 ;
10268 PyObject
*swig_obj
[1] ;
10270 if (!args
) SWIG_fail
;
10271 swig_obj
[0] = args
;
10272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10273 if (!SWIG_IsOK(res1
)) {
10274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10276 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (bool)(arg1
)->IsOk();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10292 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10295 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10296 return SWIG_Py_Void();
10299 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10300 return SWIG_Python_InitShadowInstance(args
);
10303 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
= 0;
10305 int arg1
= (int) 0 ;
10306 int arg2
= (int) 0 ;
10307 int arg3
= (int) 0 ;
10308 int arg4
= (int) 0 ;
10309 wxRegion
*result
= 0 ;
10318 PyObject
* obj0
= 0 ;
10319 PyObject
* obj1
= 0 ;
10320 PyObject
* obj2
= 0 ;
10321 PyObject
* obj3
= 0 ;
10322 char * kwnames
[] = {
10323 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10328 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10329 if (!SWIG_IsOK(ecode1
)) {
10330 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10332 arg1
= static_cast< int >(val1
);
10335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10336 if (!SWIG_IsOK(ecode2
)) {
10337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10339 arg2
= static_cast< int >(val2
);
10342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10343 if (!SWIG_IsOK(ecode3
)) {
10344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10346 arg3
= static_cast< int >(val3
);
10349 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10350 if (!SWIG_IsOK(ecode4
)) {
10351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10353 arg4
= static_cast< int >(val4
);
10356 if (!wxPyCheckForApp()) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10369 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
= 0;
10371 wxBitmap
*arg1
= 0 ;
10372 wxRegion
*result
= 0 ;
10375 PyObject
* obj0
= 0 ;
10376 char * kwnames
[] = {
10377 (char *) "bmp", NULL
10380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10381 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10382 if (!SWIG_IsOK(res1
)) {
10383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10388 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10390 if (!wxPyCheckForApp()) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10403 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= 0;
10405 wxBitmap
*arg1
= 0 ;
10406 wxColour
*arg2
= 0 ;
10407 int arg3
= (int) 0 ;
10408 wxRegion
*result
= 0 ;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 PyObject
* obj2
= 0 ;
10417 char * kwnames
[] = {
10418 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10422 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10423 if (!SWIG_IsOK(res1
)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10429 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10432 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10436 if (!SWIG_IsOK(ecode3
)) {
10437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10439 arg3
= static_cast< int >(val3
);
10442 if (!wxPyCheckForApp()) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10445 wxPyEndAllowThreads(__tstate
);
10446 if (PyErr_Occurred()) SWIG_fail
;
10448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10455 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
*resultobj
= 0;
10458 wxPoint
*arg2
= (wxPoint
*) 0 ;
10459 int arg3
= (int) wxWINDING_RULE
;
10460 wxRegion
*result
= 0 ;
10463 PyObject
* obj0
= 0 ;
10464 PyObject
* obj1
= 0 ;
10465 char * kwnames
[] = {
10466 (char *) "points",(char *) "fillStyle", NULL
10469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10471 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10472 if (arg2
== NULL
) SWIG_fail
;
10475 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10476 if (!SWIG_IsOK(ecode3
)) {
10477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10479 arg3
= static_cast< int >(val3
);
10482 if (!wxPyCheckForApp()) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10490 if (arg2
) delete [] arg2
;
10495 if (arg2
) delete [] arg2
;
10501 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10502 PyObject
*resultobj
= 0;
10503 wxRegion
*arg1
= (wxRegion
*) 0 ;
10506 PyObject
*swig_obj
[1] ;
10508 if (!args
) SWIG_fail
;
10509 swig_obj
[0] = args
;
10510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10511 if (!SWIG_IsOK(res1
)) {
10512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10514 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= SWIG_Py_Void();
10529 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10530 PyObject
*resultobj
= 0;
10531 wxRegion
*arg1
= (wxRegion
*) 0 ;
10534 PyObject
*swig_obj
[1] ;
10536 if (!args
) SWIG_fail
;
10537 swig_obj
[0] = args
;
10538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10539 if (!SWIG_IsOK(res1
)) {
10540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10542 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= SWIG_Py_Void();
10556 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
= 0;
10558 wxRegion
*arg1
= (wxRegion
*) 0 ;
10568 PyObject
* obj0
= 0 ;
10569 PyObject
* obj1
= 0 ;
10570 PyObject
* obj2
= 0 ;
10571 char * kwnames
[] = {
10572 (char *) "self",(char *) "x",(char *) "y", NULL
10575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10577 if (!SWIG_IsOK(res1
)) {
10578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10580 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10582 if (!SWIG_IsOK(ecode2
)) {
10583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10585 arg2
= static_cast< int >(val2
);
10586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10587 if (!SWIG_IsOK(ecode3
)) {
10588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10590 arg3
= static_cast< int >(val3
);
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10606 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
= 0;
10608 wxRegion
*arg1
= (wxRegion
*) 0 ;
10611 wxRegionContain result
;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10620 PyObject
* obj2
= 0 ;
10621 char * kwnames
[] = {
10622 (char *) "self",(char *) "x",(char *) "y", NULL
10625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10627 if (!SWIG_IsOK(res1
)) {
10628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10630 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10632 if (!SWIG_IsOK(ecode2
)) {
10633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10635 arg2
= static_cast< int >(val2
);
10636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10637 if (!SWIG_IsOK(ecode3
)) {
10638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10640 arg3
= static_cast< int >(val3
);
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_From_int(static_cast< int >(result
));
10654 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
= 0;
10656 wxRegion
*arg1
= (wxRegion
*) 0 ;
10657 wxPoint
*arg2
= 0 ;
10658 wxRegionContain result
;
10662 PyObject
* obj0
= 0 ;
10663 PyObject
* obj1
= 0 ;
10664 char * kwnames
[] = {
10665 (char *) "self",(char *) "pt", NULL
10668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10670 if (!SWIG_IsOK(res1
)) {
10671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10673 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10680 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= SWIG_From_int(static_cast< int >(result
));
10691 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
= 0;
10693 wxRegion
*arg1
= (wxRegion
*) 0 ;
10695 wxRegionContain result
;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 char * kwnames
[] = {
10702 (char *) "self",(char *) "rect", NULL
10705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10707 if (!SWIG_IsOK(res1
)) {
10708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10710 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10713 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= SWIG_From_int(static_cast< int >(result
));
10728 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
= 0;
10730 wxRegion
*arg1
= (wxRegion
*) 0 ;
10735 wxRegionContain result
;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 PyObject
* obj2
= 0 ;
10749 PyObject
* obj3
= 0 ;
10750 PyObject
* obj4
= 0 ;
10751 char * kwnames
[] = {
10752 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10757 if (!SWIG_IsOK(res1
)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10760 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10762 if (!SWIG_IsOK(ecode2
)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10765 arg2
= static_cast< int >(val2
);
10766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10767 if (!SWIG_IsOK(ecode3
)) {
10768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10770 arg3
= static_cast< int >(val3
);
10771 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10772 if (!SWIG_IsOK(ecode4
)) {
10773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10775 arg4
= static_cast< int >(val4
);
10776 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10777 if (!SWIG_IsOK(ecode5
)) {
10778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10780 arg5
= static_cast< int >(val5
);
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 resultobj
= SWIG_From_int(static_cast< int >(result
));
10794 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10795 PyObject
*resultobj
= 0;
10796 wxRegion
*arg1
= (wxRegion
*) 0 ;
10800 PyObject
*swig_obj
[1] ;
10802 if (!args
) SWIG_fail
;
10803 swig_obj
[0] = args
;
10804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10808 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (arg1
)->GetBox();
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10822 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
= 0;
10824 wxRegion
*arg1
= (wxRegion
*) 0 ;
10840 PyObject
* obj0
= 0 ;
10841 PyObject
* obj1
= 0 ;
10842 PyObject
* obj2
= 0 ;
10843 PyObject
* obj3
= 0 ;
10844 PyObject
* obj4
= 0 ;
10845 char * kwnames
[] = {
10846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10851 if (!SWIG_IsOK(res1
)) {
10852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10854 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10856 if (!SWIG_IsOK(ecode2
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10859 arg2
= static_cast< int >(val2
);
10860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10861 if (!SWIG_IsOK(ecode3
)) {
10862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10864 arg3
= static_cast< int >(val3
);
10865 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10866 if (!SWIG_IsOK(ecode4
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10869 arg4
= static_cast< int >(val4
);
10870 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10871 if (!SWIG_IsOK(ecode5
)) {
10872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10874 arg5
= static_cast< int >(val5
);
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10890 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
= 0;
10892 wxRegion
*arg1
= (wxRegion
*) 0 ;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 char * kwnames
[] = {
10901 (char *) "self",(char *) "rect", NULL
10904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10906 if (!SWIG_IsOK(res1
)) {
10907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10909 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10912 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10929 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
= 0;
10931 wxRegion
*arg1
= (wxRegion
*) 0 ;
10932 wxRegion
*arg2
= 0 ;
10938 PyObject
* obj0
= 0 ;
10939 PyObject
* obj1
= 0 ;
10940 char * kwnames
[] = {
10941 (char *) "self",(char *) "region", NULL
10944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10946 if (!SWIG_IsOK(res1
)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10949 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10951 if (!SWIG_IsOK(res2
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10957 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10973 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10974 PyObject
*resultobj
= 0;
10975 wxRegion
*arg1
= (wxRegion
*) 0 ;
10979 PyObject
*swig_obj
[1] ;
10981 if (!args
) SWIG_fail
;
10982 swig_obj
[0] = args
;
10983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10984 if (!SWIG_IsOK(res1
)) {
10985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10987 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)(arg1
)->IsEmpty();
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
= 0;
11005 wxRegion
*arg1
= (wxRegion
*) 0 ;
11006 wxRegion
*arg2
= 0 ;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 char * kwnames
[] = {
11015 (char *) "self",(char *) "region", NULL
11018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11020 if (!SWIG_IsOK(res1
)) {
11021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11023 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11025 if (!SWIG_IsOK(res2
)) {
11026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11031 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11047 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
= 0;
11049 wxRegion
*arg1
= (wxRegion
*) 0 ;
11065 PyObject
* obj0
= 0 ;
11066 PyObject
* obj1
= 0 ;
11067 PyObject
* obj2
= 0 ;
11068 PyObject
* obj3
= 0 ;
11069 PyObject
* obj4
= 0 ;
11070 char * kwnames
[] = {
11071 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11076 if (!SWIG_IsOK(res1
)) {
11077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11079 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11081 if (!SWIG_IsOK(ecode2
)) {
11082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11084 arg2
= static_cast< int >(val2
);
11085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11086 if (!SWIG_IsOK(ecode3
)) {
11087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11089 arg3
= static_cast< int >(val3
);
11090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11091 if (!SWIG_IsOK(ecode4
)) {
11092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11094 arg4
= static_cast< int >(val4
);
11095 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11096 if (!SWIG_IsOK(ecode5
)) {
11097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11099 arg5
= static_cast< int >(val5
);
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11115 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
= 0;
11117 wxRegion
*arg1
= (wxRegion
*) 0 ;
11123 PyObject
* obj0
= 0 ;
11124 PyObject
* obj1
= 0 ;
11125 char * kwnames
[] = {
11126 (char *) "self",(char *) "rect", NULL
11129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11131 if (!SWIG_IsOK(res1
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11134 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11137 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11154 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
= 0;
11156 wxRegion
*arg1
= (wxRegion
*) 0 ;
11157 wxRegion
*arg2
= 0 ;
11163 PyObject
* obj0
= 0 ;
11164 PyObject
* obj1
= 0 ;
11165 char * kwnames
[] = {
11166 (char *) "self",(char *) "region", NULL
11169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11174 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11176 if (!SWIG_IsOK(res2
)) {
11177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11182 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11198 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
= 0;
11200 wxRegion
*arg1
= (wxRegion
*) 0 ;
11216 PyObject
* obj0
= 0 ;
11217 PyObject
* obj1
= 0 ;
11218 PyObject
* obj2
= 0 ;
11219 PyObject
* obj3
= 0 ;
11220 PyObject
* obj4
= 0 ;
11221 char * kwnames
[] = {
11222 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11227 if (!SWIG_IsOK(res1
)) {
11228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11230 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11232 if (!SWIG_IsOK(ecode2
)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11235 arg2
= static_cast< int >(val2
);
11236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11237 if (!SWIG_IsOK(ecode3
)) {
11238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11240 arg3
= static_cast< int >(val3
);
11241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11242 if (!SWIG_IsOK(ecode4
)) {
11243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11245 arg4
= static_cast< int >(val4
);
11246 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11247 if (!SWIG_IsOK(ecode5
)) {
11248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11250 arg5
= static_cast< int >(val5
);
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11254 wxPyEndAllowThreads(__tstate
);
11255 if (PyErr_Occurred()) SWIG_fail
;
11258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11266 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11267 PyObject
*resultobj
= 0;
11268 wxRegion
*arg1
= (wxRegion
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 char * kwnames
[] = {
11277 (char *) "self",(char *) "rect", NULL
11280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11282 if (!SWIG_IsOK(res1
)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11285 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11288 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11305 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
= 0;
11307 wxRegion
*arg1
= (wxRegion
*) 0 ;
11308 wxRegion
*arg2
= 0 ;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj1
= 0 ;
11316 char * kwnames
[] = {
11317 (char *) "self",(char *) "region", NULL
11320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11322 if (!SWIG_IsOK(res1
)) {
11323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11325 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11327 if (!SWIG_IsOK(res2
)) {
11328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11333 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11349 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
= 0;
11351 wxRegion
*arg1
= (wxRegion
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 PyObject
* obj2
= 0 ;
11370 PyObject
* obj3
= 0 ;
11371 PyObject
* obj4
= 0 ;
11372 char * kwnames
[] = {
11373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11378 if (!SWIG_IsOK(res1
)) {
11379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11381 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11383 if (!SWIG_IsOK(ecode2
)) {
11384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11386 arg2
= static_cast< int >(val2
);
11387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11388 if (!SWIG_IsOK(ecode3
)) {
11389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11391 arg3
= static_cast< int >(val3
);
11392 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11393 if (!SWIG_IsOK(ecode4
)) {
11394 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11396 arg4
= static_cast< int >(val4
);
11397 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11398 if (!SWIG_IsOK(ecode5
)) {
11399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11401 arg5
= static_cast< int >(val5
);
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11417 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
= 0;
11419 wxRegion
*arg1
= (wxRegion
*) 0 ;
11425 PyObject
* obj0
= 0 ;
11426 PyObject
* obj1
= 0 ;
11427 char * kwnames
[] = {
11428 (char *) "self",(char *) "rect", NULL
11431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11433 if (!SWIG_IsOK(res1
)) {
11434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11436 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11439 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11456 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
= 0;
11458 wxRegion
*arg1
= (wxRegion
*) 0 ;
11459 wxRegion
*arg2
= 0 ;
11465 PyObject
* obj0
= 0 ;
11466 PyObject
* obj1
= 0 ;
11467 char * kwnames
[] = {
11468 (char *) "self",(char *) "region", NULL
11471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11476 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11478 if (!SWIG_IsOK(res2
)) {
11479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11484 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11500 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11501 PyObject
*resultobj
= 0;
11502 wxRegion
*arg1
= (wxRegion
*) 0 ;
11503 SwigValueWrapper
<wxBitmap
> result
;
11506 PyObject
*swig_obj
[1] ;
11508 if (!args
) SWIG_fail
;
11509 swig_obj
[0] = args
;
11510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11511 if (!SWIG_IsOK(res1
)) {
11512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11514 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (arg1
)->ConvertToBitmap();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11528 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
= 0;
11530 wxRegion
*arg1
= (wxRegion
*) 0 ;
11531 wxBitmap
*arg2
= 0 ;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 char * kwnames
[] = {
11540 (char *) "self",(char *) "bmp", NULL
11543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11545 if (!SWIG_IsOK(res1
)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11548 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11550 if (!SWIG_IsOK(res2
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11556 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11560 wxPyEndAllowThreads(__tstate
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11572 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
= 0;
11574 wxRegion
*arg1
= (wxRegion
*) 0 ;
11575 wxBitmap
*arg2
= 0 ;
11576 wxColour
*arg3
= 0 ;
11577 int arg4
= (int) 0 ;
11586 PyObject
* obj0
= 0 ;
11587 PyObject
* obj1
= 0 ;
11588 PyObject
* obj2
= 0 ;
11589 PyObject
* obj3
= 0 ;
11590 char * kwnames
[] = {
11591 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11596 if (!SWIG_IsOK(res1
)) {
11597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11599 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11601 if (!SWIG_IsOK(res2
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11607 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11610 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11613 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11614 if (!SWIG_IsOK(ecode4
)) {
11615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11617 arg4
= static_cast< int >(val4
);
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) SWIG_fail
;
11626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11634 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11637 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11638 return SWIG_Py_Void();
11641 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11642 return SWIG_Python_InitShadowInstance(args
);
11645 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
= 0;
11647 wxRegion
*arg1
= 0 ;
11648 wxRegionIterator
*result
= 0 ;
11651 PyObject
* obj0
= 0 ;
11652 char * kwnames
[] = {
11653 (char *) "region", NULL
11656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11657 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11658 if (!SWIG_IsOK(res1
)) {
11659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11664 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11666 if (!wxPyCheckForApp()) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11679 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11680 PyObject
*resultobj
= 0;
11681 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11684 PyObject
*swig_obj
[1] ;
11686 if (!args
) SWIG_fail
;
11687 swig_obj
[0] = args
;
11688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11689 if (!SWIG_IsOK(res1
)) {
11690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11692 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_Py_Void();
11707 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11708 PyObject
*resultobj
= 0;
11709 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11713 PyObject
*swig_obj
[1] ;
11715 if (!args
) SWIG_fail
;
11716 swig_obj
[0] = args
;
11717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11718 if (!SWIG_IsOK(res1
)) {
11719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11721 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 result
= (int)(arg1
)->GetX();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_From_int(static_cast< int >(result
));
11735 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11736 PyObject
*resultobj
= 0;
11737 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11741 PyObject
*swig_obj
[1] ;
11743 if (!args
) SWIG_fail
;
11744 swig_obj
[0] = args
;
11745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11746 if (!SWIG_IsOK(res1
)) {
11747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11749 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (int)(arg1
)->GetY();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_From_int(static_cast< int >(result
));
11763 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11764 PyObject
*resultobj
= 0;
11765 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11769 PyObject
*swig_obj
[1] ;
11771 if (!args
) SWIG_fail
;
11772 swig_obj
[0] = args
;
11773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11774 if (!SWIG_IsOK(res1
)) {
11775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11777 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (int)(arg1
)->GetW();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_From_int(static_cast< int >(result
));
11791 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11792 PyObject
*resultobj
= 0;
11793 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11797 PyObject
*swig_obj
[1] ;
11799 if (!args
) SWIG_fail
;
11800 swig_obj
[0] = args
;
11801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11802 if (!SWIG_IsOK(res1
)) {
11803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11805 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (int)(arg1
)->GetWidth();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= SWIG_From_int(static_cast< int >(result
));
11819 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11820 PyObject
*resultobj
= 0;
11821 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11825 PyObject
*swig_obj
[1] ;
11827 if (!args
) SWIG_fail
;
11828 swig_obj
[0] = args
;
11829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11830 if (!SWIG_IsOK(res1
)) {
11831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11833 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (int)(arg1
)->GetH();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_From_int(static_cast< int >(result
));
11847 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11848 PyObject
*resultobj
= 0;
11849 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11853 PyObject
*swig_obj
[1] ;
11855 if (!args
) SWIG_fail
;
11856 swig_obj
[0] = args
;
11857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11858 if (!SWIG_IsOK(res1
)) {
11859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11861 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (int)(arg1
)->GetHeight();
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_From_int(static_cast< int >(result
));
11875 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11876 PyObject
*resultobj
= 0;
11877 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11881 PyObject
*swig_obj
[1] ;
11883 if (!args
) SWIG_fail
;
11884 swig_obj
[0] = args
;
11885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11886 if (!SWIG_IsOK(res1
)) {
11887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11889 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 result
= (arg1
)->GetRect();
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11903 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11904 PyObject
*resultobj
= 0;
11905 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11909 PyObject
*swig_obj
[1] ;
11911 if (!args
) SWIG_fail
;
11912 swig_obj
[0] = args
;
11913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11914 if (!SWIG_IsOK(res1
)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11917 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (bool)(arg1
)->HaveRects();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11933 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11934 PyObject
*resultobj
= 0;
11935 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11938 PyObject
*swig_obj
[1] ;
11940 if (!args
) SWIG_fail
;
11941 swig_obj
[0] = args
;
11942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11943 if (!SWIG_IsOK(res1
)) {
11944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11946 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_Py_Void();
11960 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11961 PyObject
*resultobj
= 0;
11962 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11965 PyObject
*swig_obj
[1] ;
11967 if (!args
) SWIG_fail
;
11968 swig_obj
[0] = args
;
11969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11973 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 wxRegionIterator_Next(arg1
);
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_Py_Void();
11987 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11988 PyObject
*resultobj
= 0;
11989 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11993 PyObject
*swig_obj
[1] ;
11995 if (!args
) SWIG_fail
;
11996 swig_obj
[0] = args
;
11997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11998 if (!SWIG_IsOK(res1
)) {
11999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12001 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12017 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12020 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12021 return SWIG_Py_Void();
12024 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12025 return SWIG_Python_InitShadowInstance(args
);
12028 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12029 PyObject
*resultobj
= 0;
12030 wxNativeFontInfo
*result
= 0 ;
12032 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12046 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12047 PyObject
*resultobj
= 0;
12048 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12051 PyObject
*swig_obj
[1] ;
12053 if (!args
) SWIG_fail
;
12054 swig_obj
[0] = args
;
12055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12056 if (!SWIG_IsOK(res1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12059 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_Py_Void();
12074 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12075 PyObject
*resultobj
= 0;
12076 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12079 PyObject
*swig_obj
[1] ;
12081 if (!args
) SWIG_fail
;
12082 swig_obj
[0] = args
;
12083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12084 if (!SWIG_IsOK(res1
)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12087 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_Py_Void();
12101 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
= 0;
12103 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 char * kwnames
[] = {
12112 (char *) "self",(char *) "font", NULL
12115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12120 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12122 if (!SWIG_IsOK(res2
)) {
12123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12128 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= SWIG_Py_Void();
12142 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12143 PyObject
*resultobj
= 0;
12144 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12148 PyObject
*swig_obj
[1] ;
12150 if (!args
) SWIG_fail
;
12151 swig_obj
[0] = args
;
12152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12153 if (!SWIG_IsOK(res1
)) {
12154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12156 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= SWIG_From_int(static_cast< int >(result
));
12170 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 PyObject
*resultobj
= 0;
12172 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12173 wxFontStyle result
;
12176 PyObject
*swig_obj
[1] ;
12178 if (!args
) SWIG_fail
;
12179 swig_obj
[0] = args
;
12180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12181 if (!SWIG_IsOK(res1
)) {
12182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12184 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= SWIG_From_int(static_cast< int >(result
));
12198 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 PyObject
*resultobj
= 0;
12200 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12201 wxFontWeight result
;
12204 PyObject
*swig_obj
[1] ;
12206 if (!args
) SWIG_fail
;
12207 swig_obj
[0] = args
;
12208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12212 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_From_int(static_cast< int >(result
));
12226 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12227 PyObject
*resultobj
= 0;
12228 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12232 PyObject
*swig_obj
[1] ;
12234 if (!args
) SWIG_fail
;
12235 swig_obj
[0] = args
;
12236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12237 if (!SWIG_IsOK(res1
)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12240 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12256 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12257 PyObject
*resultobj
= 0;
12258 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12262 PyObject
*swig_obj
[1] ;
12264 if (!args
) SWIG_fail
;
12265 swig_obj
[0] = args
;
12266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12267 if (!SWIG_IsOK(res1
)) {
12268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12270 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12290 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12291 PyObject
*resultobj
= 0;
12292 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12293 wxFontFamily result
;
12296 PyObject
*swig_obj
[1] ;
12298 if (!args
) SWIG_fail
;
12299 swig_obj
[0] = args
;
12300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12301 if (!SWIG_IsOK(res1
)) {
12302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12304 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12311 resultobj
= SWIG_From_int(static_cast< int >(result
));
12318 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12319 PyObject
*resultobj
= 0;
12320 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12321 wxFontEncoding result
;
12324 PyObject
*swig_obj
[1] ;
12326 if (!args
) SWIG_fail
;
12327 swig_obj
[0] = args
;
12328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12329 if (!SWIG_IsOK(res1
)) {
12330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12332 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= SWIG_From_int(static_cast< int >(result
));
12346 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
= 0;
12348 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 PyObject
* obj1
= 0 ;
12356 char * kwnames
[] = {
12357 (char *) "self",(char *) "pointsize", NULL
12360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12362 if (!SWIG_IsOK(res1
)) {
12363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12365 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12367 if (!SWIG_IsOK(ecode2
)) {
12368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12370 arg2
= static_cast< int >(val2
);
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 (arg1
)->SetPointSize(arg2
);
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_Py_Void();
12384 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
= 0;
12386 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12392 PyObject
* obj0
= 0 ;
12393 PyObject
* obj1
= 0 ;
12394 char * kwnames
[] = {
12395 (char *) "self",(char *) "style", NULL
12398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12403 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12405 if (!SWIG_IsOK(ecode2
)) {
12406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12408 arg2
= static_cast< wxFontStyle
>(val2
);
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 (arg1
)->SetStyle(arg2
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_Py_Void();
12422 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
= 0;
12424 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12425 wxFontWeight arg2
;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char * kwnames
[] = {
12433 (char *) "self",(char *) "weight", NULL
12436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12438 if (!SWIG_IsOK(res1
)) {
12439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12441 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12443 if (!SWIG_IsOK(ecode2
)) {
12444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12446 arg2
= static_cast< wxFontWeight
>(val2
);
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 (arg1
)->SetWeight(arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 resultobj
= SWIG_Py_Void();
12460 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
= 0;
12462 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12468 PyObject
* obj0
= 0 ;
12469 PyObject
* obj1
= 0 ;
12470 char * kwnames
[] = {
12471 (char *) "self",(char *) "underlined", NULL
12474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12476 if (!SWIG_IsOK(res1
)) {
12477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12479 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12480 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12481 if (!SWIG_IsOK(ecode2
)) {
12482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12484 arg2
= static_cast< bool >(val2
);
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->SetUnderlined(arg2
);
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= SWIG_Py_Void();
12498 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
= 0;
12500 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12505 PyObject
* obj0
= 0 ;
12506 PyObject
* obj1
= 0 ;
12507 char * kwnames
[] = {
12508 (char *) "self",(char *) "facename", NULL
12511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12513 if (!SWIG_IsOK(res1
)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12516 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12518 wxString
* sptr
= wxString_in_helper(obj1
);
12519 if (sptr
== NULL
) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (bool)(arg1
)->SetFaceName(arg2
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12538 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
= 0;
12540 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12541 wxFontFamily arg2
;
12546 PyObject
* obj0
= 0 ;
12547 PyObject
* obj1
= 0 ;
12548 char * kwnames
[] = {
12549 (char *) "self",(char *) "family", NULL
12552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12557 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12559 if (!SWIG_IsOK(ecode2
)) {
12560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12562 arg2
= static_cast< wxFontFamily
>(val2
);
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 (arg1
)->SetFamily(arg2
);
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12569 resultobj
= SWIG_Py_Void();
12576 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
= 0;
12578 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12579 wxFontEncoding arg2
;
12584 PyObject
* obj0
= 0 ;
12585 PyObject
* obj1
= 0 ;
12586 char * kwnames
[] = {
12587 (char *) "self",(char *) "encoding", NULL
12590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12592 if (!SWIG_IsOK(res1
)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12595 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12597 if (!SWIG_IsOK(ecode2
)) {
12598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12600 arg2
= static_cast< wxFontEncoding
>(val2
);
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 (arg1
)->SetEncoding(arg2
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= SWIG_Py_Void();
12614 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
= 0;
12616 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12617 wxString
*arg2
= 0 ;
12621 bool temp2
= false ;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 char * kwnames
[] = {
12625 (char *) "self",(char *) "s", NULL
12628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12630 if (!SWIG_IsOK(res1
)) {
12631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12633 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12635 arg2
= wxString_in_helper(obj1
);
12636 if (arg2
== NULL
) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12662 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12663 PyObject
*resultobj
= 0;
12664 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12668 PyObject
*swig_obj
[1] ;
12670 if (!args
) SWIG_fail
;
12671 swig_obj
[0] = args
;
12672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12673 if (!SWIG_IsOK(res1
)) {
12674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12676 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12696 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12697 PyObject
*resultobj
= 0;
12698 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12702 PyObject
*swig_obj
[1] ;
12704 if (!args
) SWIG_fail
;
12705 swig_obj
[0] = args
;
12706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12707 if (!SWIG_IsOK(res1
)) {
12708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12710 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= wxNativeFontInfo___str__(arg1
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12730 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
= 0;
12732 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12733 wxString
*arg2
= 0 ;
12737 bool temp2
= false ;
12738 PyObject
* obj0
= 0 ;
12739 PyObject
* obj1
= 0 ;
12740 char * kwnames
[] = {
12741 (char *) "self",(char *) "s", NULL
12744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12746 if (!SWIG_IsOK(res1
)) {
12747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12749 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12751 arg2
= wxString_in_helper(obj1
);
12752 if (arg2
== NULL
) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12778 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12779 PyObject
*resultobj
= 0;
12780 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12784 PyObject
*swig_obj
[1] ;
12786 if (!args
) SWIG_fail
;
12787 swig_obj
[0] = args
;
12788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12789 if (!SWIG_IsOK(res1
)) {
12790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12792 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12812 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12815 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12816 return SWIG_Py_Void();
12819 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12820 return SWIG_Python_InitShadowInstance(args
);
12823 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12824 PyObject
*resultobj
= 0;
12825 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12826 wxString
*arg2
= (wxString
*) 0 ;
12829 bool temp2
= false ;
12830 PyObject
*swig_obj
[2] ;
12832 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12834 if (!SWIG_IsOK(res1
)) {
12835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12837 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12839 arg2
= wxString_in_helper(swig_obj
[1]);
12840 if (arg2
== NULL
) SWIG_fail
;
12843 if (arg1
) (arg1
)->facename
= *arg2
;
12845 resultobj
= SWIG_Py_Void();
12860 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12861 PyObject
*resultobj
= 0;
12862 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12863 wxString
*result
= 0 ;
12866 PyObject
*swig_obj
[1] ;
12868 if (!args
) SWIG_fail
;
12869 swig_obj
[0] = args
;
12870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12871 if (!SWIG_IsOK(res1
)) {
12872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12874 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12875 result
= (wxString
*)& ((arg1
)->facename
);
12878 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12880 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12889 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12890 PyObject
*resultobj
= 0;
12891 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12892 wxFontEncoding arg2
;
12897 PyObject
*swig_obj
[2] ;
12899 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12901 if (!SWIG_IsOK(res1
)) {
12902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12904 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12905 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12906 if (!SWIG_IsOK(ecode2
)) {
12907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12909 arg2
= static_cast< wxFontEncoding
>(val2
);
12910 if (arg1
) (arg1
)->encoding
= arg2
;
12912 resultobj
= SWIG_Py_Void();
12919 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12920 PyObject
*resultobj
= 0;
12921 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12922 wxFontEncoding result
;
12925 PyObject
*swig_obj
[1] ;
12927 if (!args
) SWIG_fail
;
12928 swig_obj
[0] = args
;
12929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12930 if (!SWIG_IsOK(res1
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12933 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12934 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12935 resultobj
= SWIG_From_int(static_cast< int >(result
));
12942 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12943 PyObject
*resultobj
= 0;
12944 wxNativeEncodingInfo
*result
= 0 ;
12946 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12960 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12961 PyObject
*resultobj
= 0;
12962 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12965 PyObject
*swig_obj
[1] ;
12967 if (!args
) SWIG_fail
;
12968 swig_obj
[0] = args
;
12969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12970 if (!SWIG_IsOK(res1
)) {
12971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12973 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_Py_Void();
12988 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
= 0;
12990 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12991 wxString
*arg2
= 0 ;
12995 bool temp2
= false ;
12996 PyObject
* obj0
= 0 ;
12997 PyObject
* obj1
= 0 ;
12998 char * kwnames
[] = {
12999 (char *) "self",(char *) "s", NULL
13002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13007 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13009 arg2
= wxString_in_helper(obj1
);
13010 if (arg2
== NULL
) SWIG_fail
;
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13036 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13037 PyObject
*resultobj
= 0;
13038 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13042 PyObject
*swig_obj
[1] ;
13044 if (!args
) SWIG_fail
;
13045 swig_obj
[0] = args
;
13046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13047 if (!SWIG_IsOK(res1
)) {
13048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13050 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13070 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13073 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13074 return SWIG_Py_Void();
13077 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13078 return SWIG_Python_InitShadowInstance(args
);
13081 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
= 0;
13083 wxFontEncoding arg1
;
13084 wxNativeEncodingInfo
*result
= 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char * kwnames
[] = {
13089 (char *) "encoding", NULL
13092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13093 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13094 if (!SWIG_IsOK(ecode1
)) {
13095 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13097 arg1
= static_cast< wxFontEncoding
>(val1
);
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13111 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= 0;
13113 wxNativeEncodingInfo
*arg1
= 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char * kwnames
[] = {
13119 (char *) "info", NULL
13122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13123 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13124 if (!SWIG_IsOK(res1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13130 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13146 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13147 PyObject
*resultobj
= 0;
13148 wxFontMapper
*result
= 0 ;
13150 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (wxFontMapper
*)new wxFontMapper();
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13164 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13165 PyObject
*resultobj
= 0;
13166 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13169 PyObject
*swig_obj
[1] ;
13171 if (!args
) SWIG_fail
;
13172 swig_obj
[0] = args
;
13173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13174 if (!SWIG_IsOK(res1
)) {
13175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13177 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= SWIG_Py_Void();
13192 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13193 PyObject
*resultobj
= 0;
13194 wxFontMapper
*result
= 0 ;
13196 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (wxFontMapper
*)wxFontMapper::Get();
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13210 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
= 0;
13212 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13213 wxFontMapper
*result
= 0 ;
13216 PyObject
* obj0
= 0 ;
13217 char * kwnames
[] = {
13218 (char *) "mapper", NULL
13221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13223 if (!SWIG_IsOK(res1
)) {
13224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13226 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13240 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
= 0;
13242 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13243 wxString
*arg2
= 0 ;
13244 bool arg3
= (bool) true ;
13245 wxFontEncoding result
;
13248 bool temp2
= false ;
13251 PyObject
* obj0
= 0 ;
13252 PyObject
* obj1
= 0 ;
13253 PyObject
* obj2
= 0 ;
13254 char * kwnames
[] = {
13255 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13260 if (!SWIG_IsOK(res1
)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13263 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13265 arg2
= wxString_in_helper(obj1
);
13266 if (arg2
== NULL
) SWIG_fail
;
13270 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13271 if (!SWIG_IsOK(ecode3
)) {
13272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13274 arg3
= static_cast< bool >(val3
);
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= SWIG_From_int(static_cast< int >(result
));
13297 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13298 PyObject
*resultobj
= 0;
13301 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13305 wxPyEndAllowThreads(__tstate
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13308 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13315 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13316 PyObject
*resultobj
= 0;
13318 wxFontEncoding result
;
13321 PyObject
* obj0
= 0 ;
13322 char * kwnames
[] = {
13326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13327 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13328 if (!SWIG_IsOK(ecode1
)) {
13329 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13331 arg1
= static_cast< size_t >(val1
);
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_From_int(static_cast< int >(result
));
13345 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
= 0;
13347 wxFontEncoding arg1
;
13351 PyObject
* obj0
= 0 ;
13352 char * kwnames
[] = {
13353 (char *) "encoding", NULL
13356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13357 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13358 if (!SWIG_IsOK(ecode1
)) {
13359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13361 arg1
= static_cast< wxFontEncoding
>(val1
);
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= wxFontMapper::GetEncodingName(arg1
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13381 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
= 0;
13383 wxFontEncoding arg1
;
13387 PyObject
* obj0
= 0 ;
13388 char * kwnames
[] = {
13389 (char *) "encoding", NULL
13392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13394 if (!SWIG_IsOK(ecode1
)) {
13395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13397 arg1
= static_cast< wxFontEncoding
>(val1
);
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= wxFontMapper::GetEncodingDescription(arg1
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13417 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
= 0;
13419 wxString
*arg1
= 0 ;
13420 wxFontEncoding result
;
13421 bool temp1
= false ;
13422 PyObject
* obj0
= 0 ;
13423 char * kwnames
[] = {
13424 (char *) "name", NULL
13427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13429 arg1
= wxString_in_helper(obj0
);
13430 if (arg1
== NULL
) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= SWIG_From_int(static_cast< int >(result
));
13454 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
= 0;
13456 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13457 wxString
*arg2
= 0 ;
13460 bool temp2
= false ;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 char * kwnames
[] = {
13464 (char *) "self",(char *) "prefix", NULL
13467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13469 if (!SWIG_IsOK(res1
)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13472 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13474 arg2
= wxString_in_helper(obj1
);
13475 if (arg2
== NULL
) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= SWIG_Py_Void();
13499 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13500 PyObject
*resultobj
= 0;
13503 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= wxFontMapper::GetDefaultConfigPath();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13523 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
= 0;
13525 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13526 wxFontEncoding arg2
;
13527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13529 bool arg4
= (bool) true ;
13530 PyObject
*result
= 0 ;
13535 bool temp3
= false ;
13538 PyObject
* obj0
= 0 ;
13539 PyObject
* obj1
= 0 ;
13540 PyObject
* obj2
= 0 ;
13541 PyObject
* obj3
= 0 ;
13542 char * kwnames
[] = {
13543 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13548 if (!SWIG_IsOK(res1
)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13551 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13553 if (!SWIG_IsOK(ecode2
)) {
13554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13556 arg2
= static_cast< wxFontEncoding
>(val2
);
13559 arg3
= wxString_in_helper(obj2
);
13560 if (arg3
== NULL
) SWIG_fail
;
13565 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13566 if (!SWIG_IsOK(ecode4
)) {
13567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13569 arg4
= static_cast< bool >(val4
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= result
;
13592 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
= 0;
13594 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13595 wxFontEncoding arg2
;
13596 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13597 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13603 bool temp3
= false ;
13604 PyObject
* obj0
= 0 ;
13605 PyObject
* obj1
= 0 ;
13606 PyObject
* obj2
= 0 ;
13607 char * kwnames
[] = {
13608 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13613 if (!SWIG_IsOK(res1
)) {
13614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13616 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13618 if (!SWIG_IsOK(ecode2
)) {
13619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13621 arg2
= static_cast< wxFontEncoding
>(val2
);
13624 arg3
= wxString_in_helper(obj2
);
13625 if (arg3
== NULL
) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13652 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13653 PyObject
*resultobj
= 0;
13654 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13655 wxWindow
*arg2
= (wxWindow
*) 0 ;
13660 PyObject
* obj0
= 0 ;
13661 PyObject
* obj1
= 0 ;
13662 char * kwnames
[] = {
13663 (char *) "self",(char *) "parent", NULL
13666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13668 if (!SWIG_IsOK(res1
)) {
13669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13671 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13673 if (!SWIG_IsOK(res2
)) {
13674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13676 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 (arg1
)->SetDialogParent(arg2
);
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13683 resultobj
= SWIG_Py_Void();
13690 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13691 PyObject
*resultobj
= 0;
13692 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13693 wxString
*arg2
= 0 ;
13696 bool temp2
= false ;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 char * kwnames
[] = {
13700 (char *) "self",(char *) "title", NULL
13703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13705 if (!SWIG_IsOK(res1
)) {
13706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13708 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13710 arg2
= wxString_in_helper(obj1
);
13711 if (arg2
== NULL
) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= SWIG_Py_Void();
13735 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13738 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13739 return SWIG_Py_Void();
13742 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13743 return SWIG_Python_InitShadowInstance(args
);
13746 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
= 0;
13752 bool arg5
= (bool) false ;
13753 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13754 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13755 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13756 wxFont
*result
= 0 ;
13767 bool temp6
= false ;
13770 PyObject
* obj0
= 0 ;
13771 PyObject
* obj1
= 0 ;
13772 PyObject
* obj2
= 0 ;
13773 PyObject
* obj3
= 0 ;
13774 PyObject
* obj4
= 0 ;
13775 PyObject
* obj5
= 0 ;
13776 PyObject
* obj6
= 0 ;
13777 char * kwnames
[] = {
13778 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13782 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13783 if (!SWIG_IsOK(ecode1
)) {
13784 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13786 arg1
= static_cast< int >(val1
);
13787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13788 if (!SWIG_IsOK(ecode2
)) {
13789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13791 arg2
= static_cast< int >(val2
);
13792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13793 if (!SWIG_IsOK(ecode3
)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13796 arg3
= static_cast< int >(val3
);
13797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13798 if (!SWIG_IsOK(ecode4
)) {
13799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13801 arg4
= static_cast< int >(val4
);
13803 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13804 if (!SWIG_IsOK(ecode5
)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13807 arg5
= static_cast< bool >(val5
);
13811 arg6
= wxString_in_helper(obj5
);
13812 if (arg6
== NULL
) SWIG_fail
;
13817 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13818 if (!SWIG_IsOK(ecode7
)) {
13819 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13821 arg7
= static_cast< wxFontEncoding
>(val7
);
13824 if (!wxPyCheckForApp()) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13845 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13846 PyObject
*resultobj
= 0;
13847 wxFont
*arg1
= (wxFont
*) 0 ;
13850 PyObject
*swig_obj
[1] ;
13852 if (!args
) SWIG_fail
;
13853 swig_obj
[0] = args
;
13854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13855 if (!SWIG_IsOK(res1
)) {
13856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13858 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_Py_Void();
13873 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
= 0;
13875 wxNativeFontInfo
*arg1
= 0 ;
13876 wxFont
*result
= 0 ;
13879 PyObject
* obj0
= 0 ;
13880 char * kwnames
[] = {
13881 (char *) "info", NULL
13884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13885 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13886 if (!SWIG_IsOK(res1
)) {
13887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13892 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13894 if (!wxPyCheckForApp()) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13907 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
= 0;
13909 wxString
*arg1
= 0 ;
13910 wxFont
*result
= 0 ;
13911 bool temp1
= false ;
13912 PyObject
* obj0
= 0 ;
13913 char * kwnames
[] = {
13914 (char *) "info", NULL
13917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13919 arg1
= wxString_in_helper(obj0
);
13920 if (arg1
== NULL
) SWIG_fail
;
13924 if (!wxPyCheckForApp()) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13945 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
= 0;
13948 wxFontFamily arg2
;
13949 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13950 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13951 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13952 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13953 wxFont
*result
= 0 ;
13960 bool temp4
= false ;
13963 PyObject
* obj0
= 0 ;
13964 PyObject
* obj1
= 0 ;
13965 PyObject
* obj2
= 0 ;
13966 PyObject
* obj3
= 0 ;
13967 PyObject
* obj4
= 0 ;
13968 char * kwnames
[] = {
13969 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13973 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13974 if (!SWIG_IsOK(ecode1
)) {
13975 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13977 arg1
= static_cast< int >(val1
);
13978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13979 if (!SWIG_IsOK(ecode2
)) {
13980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13982 arg2
= static_cast< wxFontFamily
>(val2
);
13984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13985 if (!SWIG_IsOK(ecode3
)) {
13986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13988 arg3
= static_cast< int >(val3
);
13992 arg4
= wxString_in_helper(obj3
);
13993 if (arg4
== NULL
) SWIG_fail
;
13998 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13999 if (!SWIG_IsOK(ecode5
)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14002 arg5
= static_cast< wxFontEncoding
>(val5
);
14005 if (!wxPyCheckForApp()) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14026 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
= 0;
14032 bool arg5
= (bool) false ;
14033 wxString
const &arg6_defvalue
= wxEmptyString
;
14034 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14035 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14036 wxFont
*result
= 0 ;
14046 bool temp6
= false ;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 PyObject
* obj2
= 0 ;
14052 PyObject
* obj3
= 0 ;
14053 PyObject
* obj4
= 0 ;
14054 PyObject
* obj5
= 0 ;
14055 PyObject
* obj6
= 0 ;
14056 char * kwnames
[] = {
14057 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14063 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14066 if (!SWIG_IsOK(ecode2
)) {
14067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14069 arg2
= static_cast< int >(val2
);
14070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14071 if (!SWIG_IsOK(ecode3
)) {
14072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14074 arg3
= static_cast< int >(val3
);
14075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14076 if (!SWIG_IsOK(ecode4
)) {
14077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14079 arg4
= static_cast< int >(val4
);
14081 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14082 if (!SWIG_IsOK(ecode5
)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14085 arg5
= static_cast< bool >(val5
);
14089 arg6
= wxString_in_helper(obj5
);
14090 if (arg6
== NULL
) SWIG_fail
;
14095 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14096 if (!SWIG_IsOK(ecode7
)) {
14097 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14099 arg7
= static_cast< wxFontEncoding
>(val7
);
14102 if (!wxPyCheckForApp()) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14123 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
= 0;
14126 wxFontFamily arg2
;
14127 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14128 wxString
const &arg4_defvalue
= wxEmptyString
;
14129 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14130 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14131 wxFont
*result
= 0 ;
14137 bool temp4
= false ;
14140 PyObject
* obj0
= 0 ;
14141 PyObject
* obj1
= 0 ;
14142 PyObject
* obj2
= 0 ;
14143 PyObject
* obj3
= 0 ;
14144 PyObject
* obj4
= 0 ;
14145 char * kwnames
[] = {
14146 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14152 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14155 if (!SWIG_IsOK(ecode2
)) {
14156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14158 arg2
= static_cast< wxFontFamily
>(val2
);
14160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14161 if (!SWIG_IsOK(ecode3
)) {
14162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14164 arg3
= static_cast< int >(val3
);
14168 arg4
= wxString_in_helper(obj3
);
14169 if (arg4
== NULL
) SWIG_fail
;
14174 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14175 if (!SWIG_IsOK(ecode5
)) {
14176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14178 arg5
= static_cast< wxFontEncoding
>(val5
);
14181 if (!wxPyCheckForApp()) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14202 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14203 PyObject
*resultobj
= 0;
14204 wxFont
*arg1
= (wxFont
*) 0 ;
14208 PyObject
*swig_obj
[1] ;
14210 if (!args
) SWIG_fail
;
14211 swig_obj
[0] = args
;
14212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14213 if (!SWIG_IsOK(res1
)) {
14214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14216 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14232 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
= 0;
14234 wxFont
*arg1
= (wxFont
*) 0 ;
14235 wxFont
*arg2
= (wxFont
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 PyObject
* obj1
= 0 ;
14243 char * kwnames
[] = {
14244 (char *) "self",(char *) "other", NULL
14247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14249 if (!SWIG_IsOK(res1
)) {
14250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14252 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14254 if (!SWIG_IsOK(res2
)) {
14255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14257 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14273 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
= 0;
14275 wxFont
*arg1
= (wxFont
*) 0 ;
14276 wxFont
*arg2
= (wxFont
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 PyObject
* obj1
= 0 ;
14284 char * kwnames
[] = {
14285 (char *) "self",(char *) "other", NULL
14288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14290 if (!SWIG_IsOK(res1
)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14293 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14295 if (!SWIG_IsOK(res2
)) {
14296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14298 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14314 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14315 PyObject
*resultobj
= 0;
14316 wxFont
*arg1
= (wxFont
*) 0 ;
14320 PyObject
*swig_obj
[1] ;
14322 if (!args
) SWIG_fail
;
14323 swig_obj
[0] = args
;
14324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14325 if (!SWIG_IsOK(res1
)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14328 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= SWIG_From_int(static_cast< int >(result
));
14342 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14343 PyObject
*resultobj
= 0;
14344 wxFont
*arg1
= (wxFont
*) 0 ;
14348 PyObject
*swig_obj
[1] ;
14350 if (!args
) SWIG_fail
;
14351 swig_obj
[0] = args
;
14352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14356 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14370 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14371 PyObject
*resultobj
= 0;
14372 wxFont
*arg1
= (wxFont
*) 0 ;
14376 PyObject
*swig_obj
[1] ;
14378 if (!args
) SWIG_fail
;
14379 swig_obj
[0] = args
;
14380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14381 if (!SWIG_IsOK(res1
)) {
14382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14384 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14400 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14401 PyObject
*resultobj
= 0;
14402 wxFont
*arg1
= (wxFont
*) 0 ;
14406 PyObject
*swig_obj
[1] ;
14408 if (!args
) SWIG_fail
;
14409 swig_obj
[0] = args
;
14410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14411 if (!SWIG_IsOK(res1
)) {
14412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14414 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= SWIG_From_int(static_cast< int >(result
));
14428 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14429 PyObject
*resultobj
= 0;
14430 wxFont
*arg1
= (wxFont
*) 0 ;
14434 PyObject
*swig_obj
[1] ;
14436 if (!args
) SWIG_fail
;
14437 swig_obj
[0] = args
;
14438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14439 if (!SWIG_IsOK(res1
)) {
14440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14442 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= SWIG_From_int(static_cast< int >(result
));
14456 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14457 PyObject
*resultobj
= 0;
14458 wxFont
*arg1
= (wxFont
*) 0 ;
14462 PyObject
*swig_obj
[1] ;
14464 if (!args
) SWIG_fail
;
14465 swig_obj
[0] = args
;
14466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14467 if (!SWIG_IsOK(res1
)) {
14468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14470 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= SWIG_From_int(static_cast< int >(result
));
14484 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14485 PyObject
*resultobj
= 0;
14486 wxFont
*arg1
= (wxFont
*) 0 ;
14490 PyObject
*swig_obj
[1] ;
14492 if (!args
) SWIG_fail
;
14493 swig_obj
[0] = args
;
14494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14495 if (!SWIG_IsOK(res1
)) {
14496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14498 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14514 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14515 PyObject
*resultobj
= 0;
14516 wxFont
*arg1
= (wxFont
*) 0 ;
14520 PyObject
*swig_obj
[1] ;
14522 if (!args
) SWIG_fail
;
14523 swig_obj
[0] = args
;
14524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14525 if (!SWIG_IsOK(res1
)) {
14526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14528 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= ((wxFont
const *)arg1
)->GetFaceName();
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14548 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14549 PyObject
*resultobj
= 0;
14550 wxFont
*arg1
= (wxFont
*) 0 ;
14551 wxFontEncoding result
;
14554 PyObject
*swig_obj
[1] ;
14556 if (!args
) SWIG_fail
;
14557 swig_obj
[0] = args
;
14558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14562 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_From_int(static_cast< int >(result
));
14576 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14577 PyObject
*resultobj
= 0;
14578 wxFont
*arg1
= (wxFont
*) 0 ;
14579 wxNativeFontInfo
*result
= 0 ;
14582 PyObject
*swig_obj
[1] ;
14584 if (!args
) SWIG_fail
;
14585 swig_obj
[0] = args
;
14586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14590 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14604 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14605 PyObject
*resultobj
= 0;
14606 wxFont
*arg1
= (wxFont
*) 0 ;
14610 PyObject
*swig_obj
[1] ;
14612 if (!args
) SWIG_fail
;
14613 swig_obj
[0] = args
;
14614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14615 if (!SWIG_IsOK(res1
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14618 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14634 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14635 PyObject
*resultobj
= 0;
14636 wxFont
*arg1
= (wxFont
*) 0 ;
14640 PyObject
*swig_obj
[1] ;
14642 if (!args
) SWIG_fail
;
14643 swig_obj
[0] = args
;
14644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14645 if (!SWIG_IsOK(res1
)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14648 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14668 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14669 PyObject
*resultobj
= 0;
14670 wxFont
*arg1
= (wxFont
*) 0 ;
14674 PyObject
*swig_obj
[1] ;
14676 if (!args
) SWIG_fail
;
14677 swig_obj
[0] = args
;
14678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14679 if (!SWIG_IsOK(res1
)) {
14680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14682 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14702 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
= 0;
14704 wxFont
*arg1
= (wxFont
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 char * kwnames
[] = {
14713 (char *) "self",(char *) "pointSize", NULL
14716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14718 if (!SWIG_IsOK(res1
)) {
14719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14721 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14723 if (!SWIG_IsOK(ecode2
)) {
14724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14726 arg2
= static_cast< int >(val2
);
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 (arg1
)->SetPointSize(arg2
);
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= SWIG_Py_Void();
14740 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
= 0;
14742 wxFont
*arg1
= (wxFont
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 char * kwnames
[] = {
14750 (char *) "self",(char *) "pixelSize", NULL
14753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14755 if (!SWIG_IsOK(res1
)) {
14756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14758 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_Py_Void();
14776 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
= 0;
14778 wxFont
*arg1
= (wxFont
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 PyObject
* obj1
= 0 ;
14786 char * kwnames
[] = {
14787 (char *) "self",(char *) "family", NULL
14790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14792 if (!SWIG_IsOK(res1
)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14795 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14797 if (!SWIG_IsOK(ecode2
)) {
14798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14800 arg2
= static_cast< int >(val2
);
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 (arg1
)->SetFamily(arg2
);
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= SWIG_Py_Void();
14814 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
= 0;
14816 wxFont
*arg1
= (wxFont
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 PyObject
* obj1
= 0 ;
14824 char * kwnames
[] = {
14825 (char *) "self",(char *) "style", NULL
14828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14830 if (!SWIG_IsOK(res1
)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14833 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14835 if (!SWIG_IsOK(ecode2
)) {
14836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14838 arg2
= static_cast< int >(val2
);
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 (arg1
)->SetStyle(arg2
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_Py_Void();
14852 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
= 0;
14854 wxFont
*arg1
= (wxFont
*) 0 ;
14860 PyObject
* obj0
= 0 ;
14861 PyObject
* obj1
= 0 ;
14862 char * kwnames
[] = {
14863 (char *) "self",(char *) "weight", NULL
14866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14868 if (!SWIG_IsOK(res1
)) {
14869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14871 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14873 if (!SWIG_IsOK(ecode2
)) {
14874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14876 arg2
= static_cast< int >(val2
);
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 (arg1
)->SetWeight(arg2
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= SWIG_Py_Void();
14890 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
= 0;
14892 wxFont
*arg1
= (wxFont
*) 0 ;
14893 wxString
*arg2
= 0 ;
14897 bool temp2
= false ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 char * kwnames
[] = {
14901 (char *) "self",(char *) "faceName", NULL
14904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14906 if (!SWIG_IsOK(res1
)) {
14907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14909 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14911 arg2
= wxString_in_helper(obj1
);
14912 if (arg2
== NULL
) SWIG_fail
;
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14938 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
= 0;
14940 wxFont
*arg1
= (wxFont
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 PyObject
* obj1
= 0 ;
14948 char * kwnames
[] = {
14949 (char *) "self",(char *) "underlined", NULL
14952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14954 if (!SWIG_IsOK(res1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14957 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14958 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14959 if (!SWIG_IsOK(ecode2
)) {
14960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14962 arg2
= static_cast< bool >(val2
);
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 (arg1
)->SetUnderlined(arg2
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_Py_Void();
14976 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
= 0;
14978 wxFont
*arg1
= (wxFont
*) 0 ;
14979 wxFontEncoding arg2
;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 char * kwnames
[] = {
14987 (char *) "self",(char *) "encoding", NULL
14990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14992 if (!SWIG_IsOK(res1
)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14995 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14997 if (!SWIG_IsOK(ecode2
)) {
14998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15000 arg2
= static_cast< wxFontEncoding
>(val2
);
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 (arg1
)->SetEncoding(arg2
);
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_Py_Void();
15014 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
= 0;
15016 wxFont
*arg1
= (wxFont
*) 0 ;
15017 wxNativeFontInfo
*arg2
= 0 ;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 char * kwnames
[] = {
15025 (char *) "self",(char *) "info", NULL
15028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15030 if (!SWIG_IsOK(res1
)) {
15031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15033 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15035 if (!SWIG_IsOK(res2
)) {
15036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15041 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= SWIG_Py_Void();
15055 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
= 0;
15057 wxFont
*arg1
= (wxFont
*) 0 ;
15058 wxString
*arg2
= 0 ;
15062 bool temp2
= false ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 char * kwnames
[] = {
15066 (char *) "self",(char *) "info", NULL
15069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15071 if (!SWIG_IsOK(res1
)) {
15072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15074 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15076 arg2
= wxString_in_helper(obj1
);
15077 if (arg2
== NULL
) SWIG_fail
;
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15103 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
= 0;
15105 wxFont
*arg1
= (wxFont
*) 0 ;
15106 wxString
*arg2
= 0 ;
15110 bool temp2
= false ;
15111 PyObject
* obj0
= 0 ;
15112 PyObject
* obj1
= 0 ;
15113 char * kwnames
[] = {
15114 (char *) "self",(char *) "info", NULL
15117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15119 if (!SWIG_IsOK(res1
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15122 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15124 arg2
= wxString_in_helper(obj1
);
15125 if (arg2
== NULL
) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15151 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15152 PyObject
*resultobj
= 0;
15153 wxFont
*arg1
= (wxFont
*) 0 ;
15157 PyObject
*swig_obj
[1] ;
15159 if (!args
) SWIG_fail
;
15160 swig_obj
[0] = args
;
15161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15162 if (!SWIG_IsOK(res1
)) {
15163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15165 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15185 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15186 PyObject
*resultobj
= 0;
15187 wxFont
*arg1
= (wxFont
*) 0 ;
15191 PyObject
*swig_obj
[1] ;
15193 if (!args
) SWIG_fail
;
15194 swig_obj
[0] = args
;
15195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15196 if (!SWIG_IsOK(res1
)) {
15197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15199 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= ((wxFont
const *)arg1
)->GetStyleString();
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15219 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15220 PyObject
*resultobj
= 0;
15221 wxFont
*arg1
= (wxFont
*) 0 ;
15225 PyObject
*swig_obj
[1] ;
15227 if (!args
) SWIG_fail
;
15228 swig_obj
[0] = args
;
15229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15230 if (!SWIG_IsOK(res1
)) {
15231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15233 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= ((wxFont
const *)arg1
)->GetWeightString();
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15253 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
= 0;
15255 wxFont
*arg1
= (wxFont
*) 0 ;
15256 bool arg2
= (bool) true ;
15261 PyObject
* obj0
= 0 ;
15262 PyObject
* obj1
= 0 ;
15263 char * kwnames
[] = {
15264 (char *) "self",(char *) "no", NULL
15267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15269 if (!SWIG_IsOK(res1
)) {
15270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15272 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15274 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15275 if (!SWIG_IsOK(ecode2
)) {
15276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15278 arg2
= static_cast< bool >(val2
);
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 (arg1
)->SetNoAntiAliasing(arg2
);
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= SWIG_Py_Void();
15293 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15294 PyObject
*resultobj
= 0;
15295 wxFont
*arg1
= (wxFont
*) 0 ;
15299 PyObject
*swig_obj
[1] ;
15301 if (!args
) SWIG_fail
;
15302 swig_obj
[0] = args
;
15303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15304 if (!SWIG_IsOK(res1
)) {
15305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15307 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15324 PyObject
*resultobj
= 0;
15325 wxFontEncoding result
;
15327 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15329 if (!wxPyCheckForApp()) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= SWIG_From_int(static_cast< int >(result
));
15342 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
= 0;
15344 wxFontEncoding arg1
;
15347 PyObject
* obj0
= 0 ;
15348 char * kwnames
[] = {
15349 (char *) "encoding", NULL
15352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15354 if (!SWIG_IsOK(ecode1
)) {
15355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15357 arg1
= static_cast< wxFontEncoding
>(val1
);
15359 if (!wxPyCheckForApp()) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 wxFont::SetDefaultEncoding(arg1
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= SWIG_Py_Void();
15372 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15375 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15376 return SWIG_Py_Void();
15379 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15380 return SWIG_Python_InitShadowInstance(args
);
15383 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15384 PyObject
*resultobj
= 0;
15385 wxPyFontEnumerator
*result
= 0 ;
15387 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15389 if (!wxPyCheckForApp()) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15402 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15403 PyObject
*resultobj
= 0;
15404 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15407 PyObject
*swig_obj
[1] ;
15409 if (!args
) SWIG_fail
;
15410 swig_obj
[0] = args
;
15411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15412 if (!SWIG_IsOK(res1
)) {
15413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15415 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_Py_Void();
15430 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
= 0;
15432 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15433 PyObject
*arg2
= (PyObject
*) 0 ;
15434 PyObject
*arg3
= (PyObject
*) 0 ;
15440 PyObject
* obj0
= 0 ;
15441 PyObject
* obj1
= 0 ;
15442 PyObject
* obj2
= 0 ;
15443 PyObject
* obj3
= 0 ;
15444 char * kwnames
[] = {
15445 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15450 if (!SWIG_IsOK(res1
)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15453 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15456 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15457 if (!SWIG_IsOK(ecode4
)) {
15458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15460 arg4
= static_cast< bool >(val4
);
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= SWIG_Py_Void();
15474 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
= 0;
15476 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15477 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15478 bool arg3
= (bool) false ;
15486 PyObject
* obj0
= 0 ;
15487 PyObject
* obj1
= 0 ;
15488 PyObject
* obj2
= 0 ;
15489 char * kwnames
[] = {
15490 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15495 if (!SWIG_IsOK(res1
)) {
15496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15498 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15501 if (!SWIG_IsOK(ecode2
)) {
15502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15504 arg2
= static_cast< wxFontEncoding
>(val2
);
15507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15508 if (!SWIG_IsOK(ecode3
)) {
15509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15511 arg3
= static_cast< bool >(val3
);
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15528 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
= 0;
15530 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15531 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15532 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15536 bool temp2
= false ;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 char * kwnames
[] = {
15540 (char *) "self",(char *) "facename", NULL
15543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15545 if (!SWIG_IsOK(res1
)) {
15546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15548 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15551 arg2
= wxString_in_helper(obj1
);
15552 if (arg2
== NULL
) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15579 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15580 PyObject
*resultobj
= 0;
15581 PyObject
*result
= 0 ;
15583 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15586 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= result
;
15597 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15598 PyObject
*resultobj
= 0;
15599 PyObject
*result
= 0 ;
15601 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= result
;
15615 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
= 0;
15617 wxString
*arg1
= 0 ;
15619 bool temp1
= false ;
15620 PyObject
* obj0
= 0 ;
15621 char * kwnames
[] = {
15622 (char *) "str", NULL
15625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15627 arg1
= wxString_in_helper(obj0
);
15628 if (arg1
== NULL
) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15654 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15657 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15658 return SWIG_Py_Void();
15661 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15662 return SWIG_Python_InitShadowInstance(args
);
15665 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15666 PyObject
*resultobj
= 0;
15667 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15673 PyObject
*swig_obj
[2] ;
15675 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15677 if (!SWIG_IsOK(res1
)) {
15678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15680 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15681 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15682 if (!SWIG_IsOK(ecode2
)) {
15683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15685 arg2
= static_cast< int >(val2
);
15686 if (arg1
) (arg1
)->Language
= arg2
;
15688 resultobj
= SWIG_Py_Void();
15695 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15696 PyObject
*resultobj
= 0;
15697 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15701 PyObject
*swig_obj
[1] ;
15703 if (!args
) SWIG_fail
;
15704 swig_obj
[0] = args
;
15705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15706 if (!SWIG_IsOK(res1
)) {
15707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15709 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15710 result
= (int) ((arg1
)->Language
);
15711 resultobj
= SWIG_From_int(static_cast< int >(result
));
15718 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15719 PyObject
*resultobj
= 0;
15720 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15721 wxString
*arg2
= (wxString
*) 0 ;
15724 bool temp2
= false ;
15725 PyObject
*swig_obj
[2] ;
15727 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15729 if (!SWIG_IsOK(res1
)) {
15730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15732 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15734 arg2
= wxString_in_helper(swig_obj
[1]);
15735 if (arg2
== NULL
) SWIG_fail
;
15738 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15740 resultobj
= SWIG_Py_Void();
15755 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15756 PyObject
*resultobj
= 0;
15757 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15758 wxString
*result
= 0 ;
15761 PyObject
*swig_obj
[1] ;
15763 if (!args
) SWIG_fail
;
15764 swig_obj
[0] = args
;
15765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15766 if (!SWIG_IsOK(res1
)) {
15767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15769 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15770 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15773 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15775 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15784 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15785 PyObject
*resultobj
= 0;
15786 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15787 wxString
*arg2
= (wxString
*) 0 ;
15790 bool temp2
= false ;
15791 PyObject
*swig_obj
[2] ;
15793 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15795 if (!SWIG_IsOK(res1
)) {
15796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15798 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15800 arg2
= wxString_in_helper(swig_obj
[1]);
15801 if (arg2
== NULL
) SWIG_fail
;
15804 if (arg1
) (arg1
)->Description
= *arg2
;
15806 resultobj
= SWIG_Py_Void();
15821 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15822 PyObject
*resultobj
= 0;
15823 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15824 wxString
*result
= 0 ;
15827 PyObject
*swig_obj
[1] ;
15829 if (!args
) SWIG_fail
;
15830 swig_obj
[0] = args
;
15831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15832 if (!SWIG_IsOK(res1
)) {
15833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15835 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15836 result
= (wxString
*)& ((arg1
)->Description
);
15839 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15841 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15850 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15853 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15854 return SWIG_Py_Void();
15857 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
= 0;
15859 int arg1
= (int) -1 ;
15860 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15861 wxLocale
*result
= 0 ;
15866 PyObject
* obj0
= 0 ;
15867 PyObject
* obj1
= 0 ;
15868 char * kwnames
[] = {
15869 (char *) "language",(char *) "flags", NULL
15872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15874 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15875 if (!SWIG_IsOK(ecode1
)) {
15876 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15878 arg1
= static_cast< int >(val1
);
15881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15882 if (!SWIG_IsOK(ecode2
)) {
15883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15885 arg2
= static_cast< int >(val2
);
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15900 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15901 PyObject
*resultobj
= 0;
15902 wxLocale
*arg1
= (wxLocale
*) 0 ;
15905 PyObject
*swig_obj
[1] ;
15907 if (!args
) SWIG_fail
;
15908 swig_obj
[0] = args
;
15909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15910 if (!SWIG_IsOK(res1
)) {
15911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15913 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= SWIG_Py_Void();
15928 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
= 0;
15930 wxLocale
*arg1
= (wxLocale
*) 0 ;
15931 wxString
*arg2
= 0 ;
15932 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15933 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15934 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15935 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15936 bool arg5
= (bool) true ;
15937 bool arg6
= (bool) false ;
15941 bool temp2
= false ;
15942 bool temp3
= false ;
15943 bool temp4
= false ;
15948 PyObject
* obj0
= 0 ;
15949 PyObject
* obj1
= 0 ;
15950 PyObject
* obj2
= 0 ;
15951 PyObject
* obj3
= 0 ;
15952 PyObject
* obj4
= 0 ;
15953 PyObject
* obj5
= 0 ;
15954 char * kwnames
[] = {
15955 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15960 if (!SWIG_IsOK(res1
)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15963 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15965 arg2
= wxString_in_helper(obj1
);
15966 if (arg2
== NULL
) SWIG_fail
;
15971 arg3
= wxString_in_helper(obj2
);
15972 if (arg3
== NULL
) SWIG_fail
;
15978 arg4
= wxString_in_helper(obj3
);
15979 if (arg4
== NULL
) SWIG_fail
;
15984 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15985 if (!SWIG_IsOK(ecode5
)) {
15986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15988 arg5
= static_cast< bool >(val5
);
15991 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15992 if (!SWIG_IsOK(ecode6
)) {
15993 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15995 arg6
= static_cast< bool >(val6
);
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16036 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
= 0;
16038 wxLocale
*arg1
= (wxLocale
*) 0 ;
16039 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16040 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 PyObject
* obj2
= 0 ;
16051 char * kwnames
[] = {
16052 (char *) "self",(char *) "language",(char *) "flags", NULL
16055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16057 if (!SWIG_IsOK(res1
)) {
16058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16060 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16063 if (!SWIG_IsOK(ecode2
)) {
16064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16066 arg2
= static_cast< int >(val2
);
16069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16070 if (!SWIG_IsOK(ecode3
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16073 arg3
= static_cast< int >(val3
);
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16090 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16091 PyObject
*resultobj
= 0;
16094 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (int)wxLocale::GetSystemLanguage();
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= SWIG_From_int(static_cast< int >(result
));
16108 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16109 PyObject
*resultobj
= 0;
16110 wxFontEncoding result
;
16112 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16115 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_From_int(static_cast< int >(result
));
16126 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16127 PyObject
*resultobj
= 0;
16130 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16133 result
= wxLocale::GetSystemEncodingName();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16150 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16151 PyObject
*resultobj
= 0;
16152 wxLocale
*arg1
= (wxLocale
*) 0 ;
16156 PyObject
*swig_obj
[1] ;
16158 if (!args
) SWIG_fail
;
16159 swig_obj
[0] = args
;
16160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16161 if (!SWIG_IsOK(res1
)) {
16162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16164 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16180 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16181 PyObject
*resultobj
= 0;
16182 wxLocale
*arg1
= (wxLocale
*) 0 ;
16186 PyObject
*swig_obj
[1] ;
16188 if (!args
) SWIG_fail
;
16189 swig_obj
[0] = args
;
16190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16191 if (!SWIG_IsOK(res1
)) {
16192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16194 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= ((wxLocale
const *)arg1
)->GetLocale();
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16214 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16215 PyObject
*resultobj
= 0;
16216 wxLocale
*arg1
= (wxLocale
*) 0 ;
16220 PyObject
*swig_obj
[1] ;
16222 if (!args
) SWIG_fail
;
16223 swig_obj
[0] = args
;
16224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16225 if (!SWIG_IsOK(res1
)) {
16226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16228 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= SWIG_From_int(static_cast< int >(result
));
16242 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16243 PyObject
*resultobj
= 0;
16244 wxLocale
*arg1
= (wxLocale
*) 0 ;
16248 PyObject
*swig_obj
[1] ;
16250 if (!args
) SWIG_fail
;
16251 swig_obj
[0] = args
;
16252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16253 if (!SWIG_IsOK(res1
)) {
16254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16256 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= ((wxLocale
const *)arg1
)->GetSysName();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16276 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16277 PyObject
*resultobj
= 0;
16278 wxLocale
*arg1
= (wxLocale
*) 0 ;
16282 PyObject
*swig_obj
[1] ;
16284 if (!args
) SWIG_fail
;
16285 swig_obj
[0] = args
;
16286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16287 if (!SWIG_IsOK(res1
)) {
16288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16290 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16310 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
= 0;
16312 wxString
*arg1
= 0 ;
16313 bool temp1
= false ;
16314 PyObject
* obj0
= 0 ;
16315 char * kwnames
[] = {
16316 (char *) "prefix", NULL
16319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16321 arg1
= wxString_in_helper(obj0
);
16322 if (arg1
== NULL
) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= SWIG_Py_Void();
16346 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
= 0;
16348 wxLocale
*arg1
= (wxLocale
*) 0 ;
16349 wxString
*arg2
= 0 ;
16353 bool temp2
= false ;
16354 PyObject
* obj0
= 0 ;
16355 PyObject
* obj1
= 0 ;
16356 char * kwnames
[] = {
16357 (char *) "self",(char *) "szDomain", NULL
16360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16362 if (!SWIG_IsOK(res1
)) {
16363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16365 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16367 arg2
= wxString_in_helper(obj1
);
16368 if (arg2
== NULL
) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16373 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16394 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
= 0;
16400 PyObject
* obj0
= 0 ;
16401 char * kwnames
[] = {
16402 (char *) "lang", NULL
16405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16406 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16407 if (!SWIG_IsOK(ecode1
)) {
16408 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16410 arg1
= static_cast< int >(val1
);
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 result
= (bool)wxLocale::IsAvailable(arg1
);
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16426 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
= 0;
16428 wxLocale
*arg1
= (wxLocale
*) 0 ;
16429 wxString
*arg2
= 0 ;
16433 bool temp2
= false ;
16434 PyObject
* obj0
= 0 ;
16435 PyObject
* obj1
= 0 ;
16436 char * kwnames
[] = {
16437 (char *) "self",(char *) "szDomain", NULL
16440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16442 if (!SWIG_IsOK(res1
)) {
16443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16445 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16447 arg2
= wxString_in_helper(obj1
);
16448 if (arg2
== NULL
) SWIG_fail
;
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16474 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
= 0;
16477 wxLanguageInfo
*result
= 0 ;
16480 PyObject
* obj0
= 0 ;
16481 char * kwnames
[] = {
16482 (char *) "lang", NULL
16485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16486 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16487 if (!SWIG_IsOK(ecode1
)) {
16488 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16490 arg1
= static_cast< int >(val1
);
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16504 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
= 0;
16510 PyObject
* obj0
= 0 ;
16511 char * kwnames
[] = {
16512 (char *) "lang", NULL
16515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16516 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16517 if (!SWIG_IsOK(ecode1
)) {
16518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16520 arg1
= static_cast< int >(val1
);
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= wxLocale::GetLanguageName(arg1
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16540 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
= 0;
16542 wxString
*arg1
= 0 ;
16543 wxLanguageInfo
*result
= 0 ;
16544 bool temp1
= false ;
16545 PyObject
* obj0
= 0 ;
16546 char * kwnames
[] = {
16547 (char *) "locale", NULL
16550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16552 arg1
= wxString_in_helper(obj0
);
16553 if (arg1
== NULL
) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16577 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
= 0;
16579 wxLanguageInfo
*arg1
= 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char * kwnames
[] = {
16584 (char *) "info", NULL
16587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16588 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16589 if (!SWIG_IsOK(res1
)) {
16590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16595 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= SWIG_Py_Void();
16609 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
= 0;
16611 wxLocale
*arg1
= (wxLocale
*) 0 ;
16612 wxString
*arg2
= 0 ;
16613 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16614 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16618 bool temp2
= false ;
16619 bool temp3
= false ;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 PyObject
* obj2
= 0 ;
16623 char * kwnames
[] = {
16624 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16629 if (!SWIG_IsOK(res1
)) {
16630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16632 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16634 arg2
= wxString_in_helper(obj1
);
16635 if (arg2
== NULL
) SWIG_fail
;
16640 arg3
= wxString_in_helper(obj2
);
16641 if (arg3
== NULL
) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16680 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16681 PyObject
*resultobj
= 0;
16682 wxLocale
*arg1
= (wxLocale
*) 0 ;
16683 wxString
*result
= 0 ;
16686 PyObject
*swig_obj
[1] ;
16688 if (!args
) SWIG_fail
;
16689 swig_obj
[0] = args
;
16690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16691 if (!SWIG_IsOK(res1
)) {
16692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16694 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16699 result
= (wxString
*) &_result_ref
;
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16708 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16717 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16720 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16721 return SWIG_Py_Void();
16724 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16725 return SWIG_Python_InitShadowInstance(args
);
16728 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
= 0;
16730 int arg1
= (int) -1 ;
16731 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16732 wxPyLocale
*result
= 0 ;
16737 PyObject
* obj0
= 0 ;
16738 PyObject
* obj1
= 0 ;
16739 char * kwnames
[] = {
16740 (char *) "language",(char *) "flags", NULL
16743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16745 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16746 if (!SWIG_IsOK(ecode1
)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16749 arg1
= static_cast< int >(val1
);
16752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16753 if (!SWIG_IsOK(ecode2
)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16756 arg2
= static_cast< int >(val2
);
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16771 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16772 PyObject
*resultobj
= 0;
16773 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16776 PyObject
*swig_obj
[1] ;
16778 if (!args
) SWIG_fail
;
16779 swig_obj
[0] = args
;
16780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16781 if (!SWIG_IsOK(res1
)) {
16782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16784 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= SWIG_Py_Void();
16799 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
= 0;
16801 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16802 PyObject
*arg2
= (PyObject
*) 0 ;
16803 PyObject
*arg3
= (PyObject
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 PyObject
* obj1
= 0 ;
16808 PyObject
* obj2
= 0 ;
16809 char * kwnames
[] = {
16810 (char *) "self",(char *) "self",(char *) "_class", NULL
16813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16815 if (!SWIG_IsOK(res1
)) {
16816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16818 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_Py_Void();
16834 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
= 0;
16836 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16837 wxChar
*arg2
= (wxChar
*) 0 ;
16838 wxChar
*arg3
= (wxChar
*) NULL
;
16839 wxChar
*result
= 0 ;
16846 PyObject
* obj0
= 0 ;
16847 PyObject
* obj1
= 0 ;
16848 PyObject
* obj2
= 0 ;
16849 char * kwnames
[] = {
16850 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16855 if (!SWIG_IsOK(res1
)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16858 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16860 if (!SWIG_IsOK(res2
)) {
16861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16863 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16865 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16866 if (!SWIG_IsOK(res3
)) {
16867 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16869 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16884 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
= 0;
16886 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16887 wxChar
*arg2
= (wxChar
*) 0 ;
16888 wxChar
*arg3
= (wxChar
*) 0 ;
16890 wxChar
*arg5
= (wxChar
*) NULL
;
16891 wxChar
*result
= 0 ;
16902 PyObject
* obj0
= 0 ;
16903 PyObject
* obj1
= 0 ;
16904 PyObject
* obj2
= 0 ;
16905 PyObject
* obj3
= 0 ;
16906 PyObject
* obj4
= 0 ;
16907 char * kwnames
[] = {
16908 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16913 if (!SWIG_IsOK(res1
)) {
16914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16916 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16917 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16918 if (!SWIG_IsOK(res2
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16921 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16922 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16923 if (!SWIG_IsOK(res3
)) {
16924 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16926 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16927 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16928 if (!SWIG_IsOK(ecode4
)) {
16929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16931 arg4
= static_cast< size_t >(val4
);
16933 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16934 if (!SWIG_IsOK(res5
)) {
16935 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16937 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16952 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16955 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16956 return SWIG_Py_Void();
16959 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16960 return SWIG_Python_InitShadowInstance(args
);
16963 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16964 PyObject
*resultobj
= 0;
16965 wxLocale
*result
= 0 ;
16967 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= (wxLocale
*)wxGetLocale();
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16981 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16982 PyObject
*resultobj
= 0;
16983 wxString
*arg1
= 0 ;
16985 bool temp1
= false ;
16987 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16989 arg1
= wxString_in_helper(swig_obj
[0]);
16990 if (arg1
== NULL
) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= wxGetTranslation((wxString
const &)*arg1
);
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17020 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17021 PyObject
*resultobj
= 0;
17022 wxString
*arg1
= 0 ;
17023 wxString
*arg2
= 0 ;
17025 bool temp1
= false ;
17026 bool temp2
= false ;
17028 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17030 arg1
= wxString_in_helper(swig_obj
[0]);
17031 if (arg1
== NULL
) SWIG_fail
;
17035 arg2
= wxString_in_helper(swig_obj
[1]);
17036 if (arg2
== NULL
) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17074 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17075 PyObject
*resultobj
= 0;
17076 wxString
*arg1
= 0 ;
17077 wxString
*arg2
= 0 ;
17080 bool temp1
= false ;
17081 bool temp2
= false ;
17085 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17087 arg1
= wxString_in_helper(swig_obj
[0]);
17088 if (arg1
== NULL
) SWIG_fail
;
17092 arg2
= wxString_in_helper(swig_obj
[1]);
17093 if (arg2
== NULL
) SWIG_fail
;
17096 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17097 if (!SWIG_IsOK(ecode3
)) {
17098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17100 arg3
= static_cast< size_t >(val3
);
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17136 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17137 PyObject
*resultobj
= 0;
17138 wxString
*arg1
= 0 ;
17139 wxString
*arg2
= 0 ;
17141 wxString
*arg4
= 0 ;
17143 bool temp1
= false ;
17144 bool temp2
= false ;
17147 bool temp4
= false ;
17149 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17151 arg1
= wxString_in_helper(swig_obj
[0]);
17152 if (arg1
== NULL
) SWIG_fail
;
17156 arg2
= wxString_in_helper(swig_obj
[1]);
17157 if (arg2
== NULL
) SWIG_fail
;
17160 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17161 if (!SWIG_IsOK(ecode3
)) {
17162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17164 arg3
= static_cast< size_t >(val3
);
17166 arg4
= wxString_in_helper(swig_obj
[3]);
17167 if (arg4
== NULL
) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17213 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17217 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17220 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17223 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17226 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17229 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17233 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17238 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17239 PyObject
*resultobj
= 0;
17240 wxEncodingConverter
*result
= 0 ;
17242 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17256 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17257 PyObject
*resultobj
= 0;
17258 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17261 PyObject
*swig_obj
[1] ;
17263 if (!args
) SWIG_fail
;
17264 swig_obj
[0] = args
;
17265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17266 if (!SWIG_IsOK(res1
)) {
17267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17269 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= SWIG_Py_Void();
17284 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
= 0;
17286 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17287 wxFontEncoding arg2
;
17288 wxFontEncoding arg3
;
17289 int arg4
= (int) wxCONVERT_STRICT
;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 PyObject
* obj2
= 0 ;
17302 PyObject
* obj3
= 0 ;
17303 char * kwnames
[] = {
17304 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17309 if (!SWIG_IsOK(res1
)) {
17310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17312 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17314 if (!SWIG_IsOK(ecode2
)) {
17315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17317 arg2
= static_cast< wxFontEncoding
>(val2
);
17318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17319 if (!SWIG_IsOK(ecode3
)) {
17320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17322 arg3
= static_cast< wxFontEncoding
>(val3
);
17324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17325 if (!SWIG_IsOK(ecode4
)) {
17326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17328 arg4
= static_cast< int >(val4
);
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17345 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
= 0;
17347 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17348 wxString
*arg2
= 0 ;
17352 bool temp2
= false ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 char * kwnames
[] = {
17356 (char *) "self",(char *) "input", NULL
17359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17361 if (!SWIG_IsOK(res1
)) {
17362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17364 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17366 arg2
= wxString_in_helper(obj1
);
17367 if (arg2
== NULL
) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17397 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
= 0;
17399 wxFontEncoding arg1
;
17400 int arg2
= (int) wxPLATFORM_CURRENT
;
17401 wxFontEncodingArray result
;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 char * kwnames
[] = {
17409 (char *) "enc",(char *) "platform", NULL
17412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17413 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17414 if (!SWIG_IsOK(ecode1
)) {
17415 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17417 arg1
= static_cast< wxFontEncoding
>(val1
);
17419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17420 if (!SWIG_IsOK(ecode2
)) {
17421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17423 arg2
= static_cast< int >(val2
);
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= PyList_New(0);
17433 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17434 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17435 PyList_Append(resultobj
, number
);
17445 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
= 0;
17447 wxFontEncoding arg1
;
17448 wxFontEncodingArray result
;
17451 PyObject
* obj0
= 0 ;
17452 char * kwnames
[] = {
17453 (char *) "enc", NULL
17456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17457 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17458 if (!SWIG_IsOK(ecode1
)) {
17459 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17461 arg1
= static_cast< wxFontEncoding
>(val1
);
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= PyList_New(0);
17470 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17471 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17472 PyList_Append(resultobj
, number
);
17482 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
= 0;
17484 wxFontEncoding arg1
;
17485 wxFontEncoding arg2
;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 char * kwnames
[] = {
17494 (char *) "encIn",(char *) "encOut", NULL
17497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17498 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17499 if (!SWIG_IsOK(ecode1
)) {
17500 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17502 arg1
= static_cast< wxFontEncoding
>(val1
);
17503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17504 if (!SWIG_IsOK(ecode2
)) {
17505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17507 arg2
= static_cast< wxFontEncoding
>(val2
);
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17523 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17526 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17527 return SWIG_Py_Void();
17530 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17531 return SWIG_Python_InitShadowInstance(args
);
17534 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17535 PyObject
*resultobj
= 0;
17536 wxDC
*arg1
= (wxDC
*) 0 ;
17539 PyObject
*swig_obj
[1] ;
17541 if (!args
) SWIG_fail
;
17542 swig_obj
[0] = args
;
17543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17544 if (!SWIG_IsOK(res1
)) {
17545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= SWIG_Py_Void();
17562 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
= 0;
17564 wxDC
*arg1
= (wxDC
*) 0 ;
17567 wxColour
*arg4
= 0 ;
17568 int arg5
= (int) wxFLOOD_SURFACE
;
17579 PyObject
* obj0
= 0 ;
17580 PyObject
* obj1
= 0 ;
17581 PyObject
* obj2
= 0 ;
17582 PyObject
* obj3
= 0 ;
17583 PyObject
* obj4
= 0 ;
17584 char * kwnames
[] = {
17585 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17590 if (!SWIG_IsOK(res1
)) {
17591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17593 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17595 if (!SWIG_IsOK(ecode2
)) {
17596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17598 arg2
= static_cast< int >(val2
);
17599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17600 if (!SWIG_IsOK(ecode3
)) {
17601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17603 arg3
= static_cast< int >(val3
);
17606 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17609 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17610 if (!SWIG_IsOK(ecode5
)) {
17611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17613 arg5
= static_cast< int >(val5
);
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17630 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
= 0;
17632 wxDC
*arg1
= (wxDC
*) 0 ;
17633 wxPoint
*arg2
= 0 ;
17634 wxColour
*arg3
= 0 ;
17635 int arg4
= (int) wxFLOOD_SURFACE
;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 PyObject
* obj2
= 0 ;
17646 PyObject
* obj3
= 0 ;
17647 char * kwnames
[] = {
17648 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17653 if (!SWIG_IsOK(res1
)) {
17654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17663 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17666 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17667 if (!SWIG_IsOK(ecode4
)) {
17668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17670 arg4
= static_cast< int >(val4
);
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17687 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
= 0;
17689 wxDC
*arg1
= (wxDC
*) 0 ;
17691 wxColour
*arg3
= 0 ;
17692 wxColour
*arg4
= 0 ;
17693 wxPoint
*arg5
= 0 ;
17700 PyObject
* obj0
= 0 ;
17701 PyObject
* obj1
= 0 ;
17702 PyObject
* obj2
= 0 ;
17703 PyObject
* obj3
= 0 ;
17704 PyObject
* obj4
= 0 ;
17705 char * kwnames
[] = {
17706 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17711 if (!SWIG_IsOK(res1
)) {
17712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17717 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17721 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17725 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17729 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= SWIG_Py_Void();
17744 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
= 0;
17746 wxDC
*arg1
= (wxDC
*) 0 ;
17748 wxColour
*arg3
= 0 ;
17749 wxColour
*arg4
= 0 ;
17750 wxDirection arg5
= (wxDirection
) wxEAST
;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 PyObject
* obj2
= 0 ;
17761 PyObject
* obj3
= 0 ;
17762 PyObject
* obj4
= 0 ;
17763 char * kwnames
[] = {
17764 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17769 if (!SWIG_IsOK(res1
)) {
17770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17775 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17779 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17783 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17786 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17787 if (!SWIG_IsOK(ecode5
)) {
17788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17790 arg5
= static_cast< wxDirection
>(val5
);
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= SWIG_Py_Void();
17805 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
= 0;
17807 wxDC
*arg1
= (wxDC
*) 0 ;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 PyObject
* obj2
= 0 ;
17820 char * kwnames
[] = {
17821 (char *) "self",(char *) "x",(char *) "y", NULL
17824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17826 if (!SWIG_IsOK(res1
)) {
17827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17831 if (!SWIG_IsOK(ecode2
)) {
17832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17834 arg2
= static_cast< int >(val2
);
17835 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17836 if (!SWIG_IsOK(ecode3
)) {
17837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17839 arg3
= static_cast< int >(val3
);
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17853 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
= 0;
17855 wxDC
*arg1
= (wxDC
*) 0 ;
17856 wxPoint
*arg2
= 0 ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 char * kwnames
[] = {
17864 (char *) "self",(char *) "pt", NULL
17867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17869 if (!SWIG_IsOK(res1
)) {
17870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17875 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17890 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
= 0;
17892 wxDC
*arg1
= (wxDC
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17909 PyObject
* obj2
= 0 ;
17910 PyObject
* obj3
= 0 ;
17911 PyObject
* obj4
= 0 ;
17912 char * kwnames
[] = {
17913 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17918 if (!SWIG_IsOK(res1
)) {
17919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17923 if (!SWIG_IsOK(ecode2
)) {
17924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17926 arg2
= static_cast< int >(val2
);
17927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17928 if (!SWIG_IsOK(ecode3
)) {
17929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17931 arg3
= static_cast< int >(val3
);
17932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17933 if (!SWIG_IsOK(ecode4
)) {
17934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17936 arg4
= static_cast< int >(val4
);
17937 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17938 if (!SWIG_IsOK(ecode5
)) {
17939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17941 arg5
= static_cast< int >(val5
);
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= SWIG_Py_Void();
17955 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
= 0;
17957 wxDC
*arg1
= (wxDC
*) 0 ;
17958 wxPoint
*arg2
= 0 ;
17959 wxPoint
*arg3
= 0 ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 PyObject
* obj2
= 0 ;
17967 char * kwnames
[] = {
17968 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17973 if (!SWIG_IsOK(res1
)) {
17974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17979 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= SWIG_Py_Void();
17998 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
= 0;
18000 wxDC
*arg1
= (wxDC
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 PyObject
* obj2
= 0 ;
18012 char * kwnames
[] = {
18013 (char *) "self",(char *) "x",(char *) "y", NULL
18016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18018 if (!SWIG_IsOK(res1
)) {
18019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18023 if (!SWIG_IsOK(ecode2
)) {
18024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18026 arg2
= static_cast< int >(val2
);
18027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18028 if (!SWIG_IsOK(ecode3
)) {
18029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18031 arg3
= static_cast< int >(val3
);
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 (arg1
)->CrossHair(arg2
,arg3
);
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 resultobj
= SWIG_Py_Void();
18045 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
= 0;
18047 wxDC
*arg1
= (wxDC
*) 0 ;
18048 wxPoint
*arg2
= 0 ;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 char * kwnames
[] = {
18055 (char *) "self",(char *) "pt", NULL
18058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18060 if (!SWIG_IsOK(res1
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= SWIG_Py_Void();
18081 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
= 0;
18083 wxDC
*arg1
= (wxDC
*) 0 ;
18104 PyObject
* obj0
= 0 ;
18105 PyObject
* obj1
= 0 ;
18106 PyObject
* obj2
= 0 ;
18107 PyObject
* obj3
= 0 ;
18108 PyObject
* obj4
= 0 ;
18109 PyObject
* obj5
= 0 ;
18110 PyObject
* obj6
= 0 ;
18111 char * kwnames
[] = {
18112 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18117 if (!SWIG_IsOK(res1
)) {
18118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18122 if (!SWIG_IsOK(ecode2
)) {
18123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18125 arg2
= static_cast< int >(val2
);
18126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18127 if (!SWIG_IsOK(ecode3
)) {
18128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18130 arg3
= static_cast< int >(val3
);
18131 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18132 if (!SWIG_IsOK(ecode4
)) {
18133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18135 arg4
= static_cast< int >(val4
);
18136 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18137 if (!SWIG_IsOK(ecode5
)) {
18138 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18140 arg5
= static_cast< int >(val5
);
18141 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18142 if (!SWIG_IsOK(ecode6
)) {
18143 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18145 arg6
= static_cast< int >(val6
);
18146 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18147 if (!SWIG_IsOK(ecode7
)) {
18148 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18150 arg7
= static_cast< int >(val7
);
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= SWIG_Py_Void();
18164 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
= 0;
18166 wxDC
*arg1
= (wxDC
*) 0 ;
18167 wxPoint
*arg2
= 0 ;
18168 wxPoint
*arg3
= 0 ;
18169 wxPoint
*arg4
= 0 ;
18175 PyObject
* obj0
= 0 ;
18176 PyObject
* obj1
= 0 ;
18177 PyObject
* obj2
= 0 ;
18178 PyObject
* obj3
= 0 ;
18179 char * kwnames
[] = {
18180 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18185 if (!SWIG_IsOK(res1
)) {
18186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18195 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_Py_Void();
18214 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
= 0;
18216 wxDC
*arg1
= (wxDC
*) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 PyObject
* obj2
= 0 ;
18234 PyObject
* obj3
= 0 ;
18235 PyObject
* obj4
= 0 ;
18236 char * kwnames
[] = {
18237 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18242 if (!SWIG_IsOK(res1
)) {
18243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18247 if (!SWIG_IsOK(ecode2
)) {
18248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18250 arg2
= static_cast< int >(val2
);
18251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18252 if (!SWIG_IsOK(ecode3
)) {
18253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18255 arg3
= static_cast< int >(val3
);
18256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18257 if (!SWIG_IsOK(ecode4
)) {
18258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18260 arg4
= static_cast< int >(val4
);
18261 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18262 if (!SWIG_IsOK(ecode5
)) {
18263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18265 arg5
= static_cast< int >(val5
);
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_Py_Void();
18279 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
= 0;
18281 wxDC
*arg1
= (wxDC
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 char * kwnames
[] = {
18289 (char *) "self",(char *) "rect", NULL
18292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18308 resultobj
= SWIG_Py_Void();
18315 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
= 0;
18317 wxDC
*arg1
= (wxDC
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 PyObject
* obj2
= 0 ;
18341 PyObject
* obj3
= 0 ;
18342 PyObject
* obj4
= 0 ;
18343 PyObject
* obj5
= 0 ;
18344 PyObject
* obj6
= 0 ;
18345 char * kwnames
[] = {
18346 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18351 if (!SWIG_IsOK(res1
)) {
18352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18356 if (!SWIG_IsOK(ecode2
)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18359 arg2
= static_cast< int >(val2
);
18360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18361 if (!SWIG_IsOK(ecode3
)) {
18362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18364 arg3
= static_cast< int >(val3
);
18365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18366 if (!SWIG_IsOK(ecode4
)) {
18367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18369 arg4
= static_cast< int >(val4
);
18370 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18371 if (!SWIG_IsOK(ecode5
)) {
18372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18374 arg5
= static_cast< int >(val5
);
18375 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18376 if (!SWIG_IsOK(ecode6
)) {
18377 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18379 arg6
= static_cast< double >(val6
);
18380 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18381 if (!SWIG_IsOK(ecode7
)) {
18382 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18384 arg7
= static_cast< double >(val7
);
18386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18387 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_Py_Void();
18398 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
= 0;
18400 wxDC
*arg1
= (wxDC
*) 0 ;
18401 wxPoint
*arg2
= 0 ;
18413 PyObject
* obj0
= 0 ;
18414 PyObject
* obj1
= 0 ;
18415 PyObject
* obj2
= 0 ;
18416 PyObject
* obj3
= 0 ;
18417 PyObject
* obj4
= 0 ;
18418 char * kwnames
[] = {
18419 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18424 if (!SWIG_IsOK(res1
)) {
18425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18430 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18434 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18436 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18437 if (!SWIG_IsOK(ecode4
)) {
18438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18440 arg4
= static_cast< double >(val4
);
18441 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18442 if (!SWIG_IsOK(ecode5
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18445 arg5
= static_cast< double >(val5
);
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_Py_Void();
18459 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
= 0;
18461 wxDC
*arg1
= (wxDC
*) 0 ;
18470 PyObject
* obj0
= 0 ;
18471 PyObject
* obj1
= 0 ;
18472 PyObject
* obj2
= 0 ;
18473 char * kwnames
[] = {
18474 (char *) "self",(char *) "x",(char *) "y", NULL
18477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18479 if (!SWIG_IsOK(res1
)) {
18480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18484 if (!SWIG_IsOK(ecode2
)) {
18485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18487 arg2
= static_cast< int >(val2
);
18488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18489 if (!SWIG_IsOK(ecode3
)) {
18490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18492 arg3
= static_cast< int >(val3
);
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 (arg1
)->DrawPoint(arg2
,arg3
);
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18499 resultobj
= SWIG_Py_Void();
18506 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18507 PyObject
*resultobj
= 0;
18508 wxDC
*arg1
= (wxDC
*) 0 ;
18509 wxPoint
*arg2
= 0 ;
18513 PyObject
* obj0
= 0 ;
18514 PyObject
* obj1
= 0 ;
18515 char * kwnames
[] = {
18516 (char *) "self",(char *) "pt", NULL
18519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18521 if (!SWIG_IsOK(res1
)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_Py_Void();
18542 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
= 0;
18544 wxDC
*arg1
= (wxDC
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 PyObject
* obj2
= 0 ;
18562 PyObject
* obj3
= 0 ;
18563 PyObject
* obj4
= 0 ;
18564 char * kwnames
[] = {
18565 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18570 if (!SWIG_IsOK(res1
)) {
18571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18575 if (!SWIG_IsOK(ecode2
)) {
18576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18578 arg2
= static_cast< int >(val2
);
18579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18580 if (!SWIG_IsOK(ecode3
)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18583 arg3
= static_cast< int >(val3
);
18584 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18585 if (!SWIG_IsOK(ecode4
)) {
18586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18588 arg4
= static_cast< int >(val4
);
18589 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18590 if (!SWIG_IsOK(ecode5
)) {
18591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18593 arg5
= static_cast< int >(val5
);
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18597 wxPyEndAllowThreads(__tstate
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 resultobj
= SWIG_Py_Void();
18607 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
= 0;
18609 wxDC
*arg1
= (wxDC
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 char * kwnames
[] = {
18617 (char *) "self",(char *) "rect", NULL
18620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18622 if (!SWIG_IsOK(res1
)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18628 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_Py_Void();
18643 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
= 0;
18645 wxDC
*arg1
= (wxDC
*) 0 ;
18646 wxPoint
*arg2
= 0 ;
18652 PyObject
* obj0
= 0 ;
18653 PyObject
* obj1
= 0 ;
18654 PyObject
* obj2
= 0 ;
18655 char * kwnames
[] = {
18656 (char *) "self",(char *) "pt",(char *) "sz", NULL
18659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18661 if (!SWIG_IsOK(res1
)) {
18662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18667 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18671 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_Py_Void();
18686 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18687 PyObject
*resultobj
= 0;
18688 wxDC
*arg1
= (wxDC
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 PyObject
* obj1
= 0 ;
18708 PyObject
* obj2
= 0 ;
18709 PyObject
* obj3
= 0 ;
18710 PyObject
* obj4
= 0 ;
18711 PyObject
* obj5
= 0 ;
18712 char * kwnames
[] = {
18713 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18718 if (!SWIG_IsOK(res1
)) {
18719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18723 if (!SWIG_IsOK(ecode2
)) {
18724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18726 arg2
= static_cast< int >(val2
);
18727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18728 if (!SWIG_IsOK(ecode3
)) {
18729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18731 arg3
= static_cast< int >(val3
);
18732 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18733 if (!SWIG_IsOK(ecode4
)) {
18734 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18736 arg4
= static_cast< int >(val4
);
18737 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18738 if (!SWIG_IsOK(ecode5
)) {
18739 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18741 arg5
= static_cast< int >(val5
);
18742 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18743 if (!SWIG_IsOK(ecode6
)) {
18744 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18746 arg6
= static_cast< double >(val6
);
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_Py_Void();
18760 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
= 0;
18762 wxDC
*arg1
= (wxDC
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 PyObject
* obj1
= 0 ;
18772 PyObject
* obj2
= 0 ;
18773 char * kwnames
[] = {
18774 (char *) "self",(char *) "r",(char *) "radius", NULL
18777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18779 if (!SWIG_IsOK(res1
)) {
18780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18785 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18787 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18788 if (!SWIG_IsOK(ecode3
)) {
18789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18791 arg3
= static_cast< double >(val3
);
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= SWIG_Py_Void();
18805 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
= 0;
18807 wxDC
*arg1
= (wxDC
*) 0 ;
18808 wxPoint
*arg2
= 0 ;
18817 PyObject
* obj0
= 0 ;
18818 PyObject
* obj1
= 0 ;
18819 PyObject
* obj2
= 0 ;
18820 PyObject
* obj3
= 0 ;
18821 char * kwnames
[] = {
18822 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18827 if (!SWIG_IsOK(res1
)) {
18828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18833 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18837 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18839 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18840 if (!SWIG_IsOK(ecode4
)) {
18841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18843 arg4
= static_cast< double >(val4
);
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= SWIG_Py_Void();
18857 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
= 0;
18859 wxDC
*arg1
= (wxDC
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 PyObject
* obj1
= 0 ;
18873 PyObject
* obj2
= 0 ;
18874 PyObject
* obj3
= 0 ;
18875 char * kwnames
[] = {
18876 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18881 if (!SWIG_IsOK(res1
)) {
18882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18886 if (!SWIG_IsOK(ecode2
)) {
18887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18889 arg2
= static_cast< int >(val2
);
18890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18891 if (!SWIG_IsOK(ecode3
)) {
18892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18894 arg3
= static_cast< int >(val3
);
18895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18896 if (!SWIG_IsOK(ecode4
)) {
18897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18899 arg4
= static_cast< int >(val4
);
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18903 wxPyEndAllowThreads(__tstate
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= SWIG_Py_Void();
18913 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
= 0;
18915 wxDC
*arg1
= (wxDC
*) 0 ;
18916 wxPoint
*arg2
= 0 ;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 PyObject
* obj2
= 0 ;
18926 char * kwnames
[] = {
18927 (char *) "self",(char *) "pt",(char *) "radius", NULL
18930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18941 if (!SWIG_IsOK(ecode3
)) {
18942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18944 arg3
= static_cast< int >(val3
);
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_Py_Void();
18958 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
= 0;
18960 wxDC
*arg1
= (wxDC
*) 0 ;
18975 PyObject
* obj0
= 0 ;
18976 PyObject
* obj1
= 0 ;
18977 PyObject
* obj2
= 0 ;
18978 PyObject
* obj3
= 0 ;
18979 PyObject
* obj4
= 0 ;
18980 char * kwnames
[] = {
18981 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18986 if (!SWIG_IsOK(res1
)) {
18987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18991 if (!SWIG_IsOK(ecode2
)) {
18992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18994 arg2
= static_cast< int >(val2
);
18995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18996 if (!SWIG_IsOK(ecode3
)) {
18997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18999 arg3
= static_cast< int >(val3
);
19000 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19001 if (!SWIG_IsOK(ecode4
)) {
19002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19004 arg4
= static_cast< int >(val4
);
19005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19006 if (!SWIG_IsOK(ecode5
)) {
19007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19009 arg5
= static_cast< int >(val5
);
19011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19012 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19016 resultobj
= SWIG_Py_Void();
19023 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19024 PyObject
*resultobj
= 0;
19025 wxDC
*arg1
= (wxDC
*) 0 ;
19030 PyObject
* obj0
= 0 ;
19031 PyObject
* obj1
= 0 ;
19032 char * kwnames
[] = {
19033 (char *) "self",(char *) "rect", NULL
19036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19038 if (!SWIG_IsOK(res1
)) {
19039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19041 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19044 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 resultobj
= SWIG_Py_Void();
19059 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
= 0;
19061 wxDC
*arg1
= (wxDC
*) 0 ;
19062 wxPoint
*arg2
= 0 ;
19068 PyObject
* obj0
= 0 ;
19069 PyObject
* obj1
= 0 ;
19070 PyObject
* obj2
= 0 ;
19071 char * kwnames
[] = {
19072 (char *) "self",(char *) "pt",(char *) "sz", NULL
19075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19077 if (!SWIG_IsOK(res1
)) {
19078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19087 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= SWIG_Py_Void();
19102 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
= 0;
19104 wxDC
*arg1
= (wxDC
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 PyObject
* obj1
= 0 ;
19118 PyObject
* obj2
= 0 ;
19119 PyObject
* obj3
= 0 ;
19120 char * kwnames
[] = {
19121 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19126 if (!SWIG_IsOK(res1
)) {
19127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19131 if (!SWIG_IsOK(res2
)) {
19132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19137 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19139 if (!SWIG_IsOK(ecode3
)) {
19140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19142 arg3
= static_cast< int >(val3
);
19143 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19144 if (!SWIG_IsOK(ecode4
)) {
19145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19147 arg4
= static_cast< int >(val4
);
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19154 resultobj
= SWIG_Py_Void();
19161 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
= 0;
19163 wxDC
*arg1
= (wxDC
*) 0 ;
19165 wxPoint
*arg3
= 0 ;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 PyObject
* obj2
= 0 ;
19174 char * kwnames
[] = {
19175 (char *) "self",(char *) "icon",(char *) "pt", NULL
19178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19180 if (!SWIG_IsOK(res1
)) {
19181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19183 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19185 if (!SWIG_IsOK(res2
)) {
19186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19191 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19194 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= SWIG_Py_Void();
19209 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
= 0;
19211 wxDC
*arg1
= (wxDC
*) 0 ;
19212 wxBitmap
*arg2
= 0 ;
19215 bool arg5
= (bool) false ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 PyObject
* obj2
= 0 ;
19229 PyObject
* obj3
= 0 ;
19230 PyObject
* obj4
= 0 ;
19231 char * kwnames
[] = {
19232 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19237 if (!SWIG_IsOK(res1
)) {
19238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19242 if (!SWIG_IsOK(res2
)) {
19243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19248 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19250 if (!SWIG_IsOK(ecode3
)) {
19251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19253 arg3
= static_cast< int >(val3
);
19254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19255 if (!SWIG_IsOK(ecode4
)) {
19256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19258 arg4
= static_cast< int >(val4
);
19260 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19261 if (!SWIG_IsOK(ecode5
)) {
19262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19264 arg5
= static_cast< bool >(val5
);
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 resultobj
= SWIG_Py_Void();
19279 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
= 0;
19281 wxDC
*arg1
= (wxDC
*) 0 ;
19282 wxBitmap
*arg2
= 0 ;
19283 wxPoint
*arg3
= 0 ;
19284 bool arg4
= (bool) false ;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 PyObject
* obj2
= 0 ;
19295 PyObject
* obj3
= 0 ;
19296 char * kwnames
[] = {
19297 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19305 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19307 if (!SWIG_IsOK(res2
)) {
19308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19313 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19316 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19319 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19320 if (!SWIG_IsOK(ecode4
)) {
19321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19323 arg4
= static_cast< bool >(val4
);
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19331 resultobj
= SWIG_Py_Void();
19338 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19339 PyObject
*resultobj
= 0;
19340 wxDC
*arg1
= (wxDC
*) 0 ;
19341 wxString
*arg2
= 0 ;
19346 bool temp2
= false ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 PyObject
* obj2
= 0 ;
19354 PyObject
* obj3
= 0 ;
19355 char * kwnames
[] = {
19356 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19361 if (!SWIG_IsOK(res1
)) {
19362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19366 arg2
= wxString_in_helper(obj1
);
19367 if (arg2
== NULL
) SWIG_fail
;
19370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19371 if (!SWIG_IsOK(ecode3
)) {
19372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19374 arg3
= static_cast< int >(val3
);
19375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19376 if (!SWIG_IsOK(ecode4
)) {
19377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19379 arg4
= static_cast< int >(val4
);
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= SWIG_Py_Void();
19401 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
= 0;
19403 wxDC
*arg1
= (wxDC
*) 0 ;
19404 wxString
*arg2
= 0 ;
19405 wxPoint
*arg3
= 0 ;
19408 bool temp2
= false ;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 PyObject
* obj2
= 0 ;
19413 char * kwnames
[] = {
19414 (char *) "self",(char *) "text",(char *) "pt", NULL
19417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19419 if (!SWIG_IsOK(res1
)) {
19420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19424 arg2
= wxString_in_helper(obj1
);
19425 if (arg2
== NULL
) SWIG_fail
;
19430 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= SWIG_Py_Void();
19453 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
= 0;
19455 wxDC
*arg1
= (wxDC
*) 0 ;
19456 wxString
*arg2
= 0 ;
19462 bool temp2
= false ;
19469 PyObject
* obj0
= 0 ;
19470 PyObject
* obj1
= 0 ;
19471 PyObject
* obj2
= 0 ;
19472 PyObject
* obj3
= 0 ;
19473 PyObject
* obj4
= 0 ;
19474 char * kwnames
[] = {
19475 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19480 if (!SWIG_IsOK(res1
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19485 arg2
= wxString_in_helper(obj1
);
19486 if (arg2
== NULL
) SWIG_fail
;
19489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19490 if (!SWIG_IsOK(ecode3
)) {
19491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19493 arg3
= static_cast< int >(val3
);
19494 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19495 if (!SWIG_IsOK(ecode4
)) {
19496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19498 arg4
= static_cast< int >(val4
);
19499 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19500 if (!SWIG_IsOK(ecode5
)) {
19501 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19503 arg5
= static_cast< double >(val5
);
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_Py_Void();
19525 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19526 PyObject
*resultobj
= 0;
19527 wxDC
*arg1
= (wxDC
*) 0 ;
19528 wxString
*arg2
= 0 ;
19529 wxPoint
*arg3
= 0 ;
19533 bool temp2
= false ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 PyObject
* obj2
= 0 ;
19540 PyObject
* obj3
= 0 ;
19541 char * kwnames
[] = {
19542 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19547 if (!SWIG_IsOK(res1
)) {
19548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19552 arg2
= wxString_in_helper(obj1
);
19553 if (arg2
== NULL
) SWIG_fail
;
19558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19560 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19561 if (!SWIG_IsOK(ecode4
)) {
19562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19564 arg4
= static_cast< double >(val4
);
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19571 resultobj
= SWIG_Py_Void();
19586 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
= 0;
19588 wxDC
*arg1
= (wxDC
*) 0 ;
19593 wxDC
*arg6
= (wxDC
*) 0 ;
19596 int arg9
= (int) wxCOPY
;
19597 bool arg10
= (bool) false ;
19598 int arg11
= (int) -1 ;
19599 int arg12
= (int) -1 ;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 PyObject
* obj2
= 0 ;
19628 PyObject
* obj3
= 0 ;
19629 PyObject
* obj4
= 0 ;
19630 PyObject
* obj5
= 0 ;
19631 PyObject
* obj6
= 0 ;
19632 PyObject
* obj7
= 0 ;
19633 PyObject
* obj8
= 0 ;
19634 PyObject
* obj9
= 0 ;
19635 PyObject
* obj10
= 0 ;
19636 PyObject
* obj11
= 0 ;
19637 char * kwnames
[] = {
19638 (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
19641 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
;
19642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19643 if (!SWIG_IsOK(res1
)) {
19644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19646 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19648 if (!SWIG_IsOK(ecode2
)) {
19649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19651 arg2
= static_cast< int >(val2
);
19652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19653 if (!SWIG_IsOK(ecode3
)) {
19654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19656 arg3
= static_cast< int >(val3
);
19657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19658 if (!SWIG_IsOK(ecode4
)) {
19659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19661 arg4
= static_cast< int >(val4
);
19662 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19663 if (!SWIG_IsOK(ecode5
)) {
19664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19666 arg5
= static_cast< int >(val5
);
19667 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19668 if (!SWIG_IsOK(res6
)) {
19669 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19671 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19672 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19673 if (!SWIG_IsOK(ecode7
)) {
19674 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19676 arg7
= static_cast< int >(val7
);
19677 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19678 if (!SWIG_IsOK(ecode8
)) {
19679 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19681 arg8
= static_cast< int >(val8
);
19683 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19684 if (!SWIG_IsOK(ecode9
)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19687 arg9
= static_cast< int >(val9
);
19690 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19691 if (!SWIG_IsOK(ecode10
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19694 arg10
= static_cast< bool >(val10
);
19697 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19698 if (!SWIG_IsOK(ecode11
)) {
19699 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19701 arg11
= static_cast< int >(val11
);
19704 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19705 if (!SWIG_IsOK(ecode12
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19708 arg12
= static_cast< int >(val12
);
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19725 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
= 0;
19727 wxDC
*arg1
= (wxDC
*) 0 ;
19728 wxPoint
*arg2
= 0 ;
19730 wxDC
*arg4
= (wxDC
*) 0 ;
19731 wxPoint
*arg5
= 0 ;
19732 int arg6
= (int) wxCOPY
;
19733 bool arg7
= (bool) false ;
19734 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19735 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19749 PyObject
* obj0
= 0 ;
19750 PyObject
* obj1
= 0 ;
19751 PyObject
* obj2
= 0 ;
19752 PyObject
* obj3
= 0 ;
19753 PyObject
* obj4
= 0 ;
19754 PyObject
* obj5
= 0 ;
19755 PyObject
* obj6
= 0 ;
19756 PyObject
* obj7
= 0 ;
19757 char * kwnames
[] = {
19758 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19763 if (!SWIG_IsOK(res1
)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19773 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19775 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19776 if (!SWIG_IsOK(res4
)) {
19777 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19779 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19782 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19785 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19786 if (!SWIG_IsOK(ecode6
)) {
19787 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19789 arg6
= static_cast< int >(val6
);
19792 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19793 if (!SWIG_IsOK(ecode7
)) {
19794 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19796 arg7
= static_cast< bool >(val7
);
19801 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19806 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19807 wxPyEndAllowThreads(__tstate
);
19808 if (PyErr_Occurred()) SWIG_fail
;
19811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19819 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
= 0;
19821 wxDC
*arg1
= (wxDC
*) 0 ;
19822 wxRect
*arg2
= (wxRect
*) NULL
;
19823 SwigValueWrapper
<wxBitmap
> result
;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 char * kwnames
[] = {
19831 (char *) "self",(char *) "subrect", NULL
19834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19836 if (!SWIG_IsOK(res1
)) {
19837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19842 if (!SWIG_IsOK(res2
)) {
19843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19845 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19860 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
= 0;
19862 wxDC
*arg1
= (wxDC
*) 0 ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 PyObject
* obj2
= 0 ;
19880 PyObject
* obj3
= 0 ;
19881 PyObject
* obj4
= 0 ;
19882 char * kwnames
[] = {
19883 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19888 if (!SWIG_IsOK(res1
)) {
19889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19893 if (!SWIG_IsOK(ecode2
)) {
19894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19896 arg2
= static_cast< int >(val2
);
19897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19898 if (!SWIG_IsOK(ecode3
)) {
19899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19901 arg3
= static_cast< int >(val3
);
19902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19903 if (!SWIG_IsOK(ecode4
)) {
19904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19906 arg4
= static_cast< int >(val4
);
19907 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19908 if (!SWIG_IsOK(ecode5
)) {
19909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19911 arg5
= static_cast< int >(val5
);
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= SWIG_Py_Void();
19925 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
= 0;
19927 wxDC
*arg1
= (wxDC
*) 0 ;
19928 wxPoint
*arg2
= 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 PyObject
* obj2
= 0 ;
19937 char * kwnames
[] = {
19938 (char *) "self",(char *) "pt",(char *) "sz", NULL
19941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19943 if (!SWIG_IsOK(res1
)) {
19944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19946 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19949 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19953 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= SWIG_Py_Void();
19968 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
= 0;
19970 wxDC
*arg1
= (wxDC
*) 0 ;
19971 wxRegion
*arg2
= 0 ;
19976 PyObject
* obj0
= 0 ;
19977 PyObject
* obj1
= 0 ;
19978 char * kwnames
[] = {
19979 (char *) "self",(char *) "region", NULL
19982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19984 if (!SWIG_IsOK(res1
)) {
19985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19989 if (!SWIG_IsOK(res2
)) {
19990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19995 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20002 resultobj
= SWIG_Py_Void();
20009 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
= 0;
20011 wxDC
*arg1
= (wxDC
*) 0 ;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 char * kwnames
[] = {
20019 (char *) "self",(char *) "rect", NULL
20022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20024 if (!SWIG_IsOK(res1
)) {
20025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20027 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20030 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20038 resultobj
= SWIG_Py_Void();
20045 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
= 0;
20047 wxDC
*arg1
= (wxDC
*) 0 ;
20049 wxPoint
*arg3
= (wxPoint
*) 0 ;
20050 int arg4
= (int) 0 ;
20051 int arg5
= (int) 0 ;
20058 PyObject
* obj0
= 0 ;
20059 PyObject
* obj1
= 0 ;
20060 PyObject
* obj2
= 0 ;
20061 PyObject
* obj3
= 0 ;
20062 char * kwnames
[] = {
20063 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20068 if (!SWIG_IsOK(res1
)) {
20069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20073 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20074 if (arg3
== NULL
) SWIG_fail
;
20077 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20078 if (!SWIG_IsOK(ecode4
)) {
20079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20081 arg4
= static_cast< int >(val4
);
20084 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20085 if (!SWIG_IsOK(ecode5
)) {
20086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20088 arg5
= static_cast< int >(val5
);
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= SWIG_Py_Void();
20098 if (arg3
) delete [] arg3
;
20103 if (arg3
) delete [] arg3
;
20109 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
= 0;
20111 wxDC
*arg1
= (wxDC
*) 0 ;
20113 wxPoint
*arg3
= (wxPoint
*) 0 ;
20114 int arg4
= (int) 0 ;
20115 int arg5
= (int) 0 ;
20116 int arg6
= (int) wxODDEVEN_RULE
;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 PyObject
* obj2
= 0 ;
20128 PyObject
* obj3
= 0 ;
20129 PyObject
* obj4
= 0 ;
20130 char * kwnames
[] = {
20131 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20136 if (!SWIG_IsOK(res1
)) {
20137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20141 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20142 if (arg3
== NULL
) SWIG_fail
;
20145 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20146 if (!SWIG_IsOK(ecode4
)) {
20147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20149 arg4
= static_cast< int >(val4
);
20152 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20153 if (!SWIG_IsOK(ecode5
)) {
20154 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20156 arg5
= static_cast< int >(val5
);
20159 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20160 if (!SWIG_IsOK(ecode6
)) {
20161 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20163 arg6
= static_cast< int >(val6
);
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= SWIG_Py_Void();
20173 if (arg3
) delete [] arg3
;
20178 if (arg3
) delete [] arg3
;
20184 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
= 0;
20186 wxDC
*arg1
= (wxDC
*) 0 ;
20187 wxString
*arg2
= 0 ;
20189 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20190 int arg5
= (int) -1 ;
20193 bool temp2
= false ;
20199 PyObject
* obj0
= 0 ;
20200 PyObject
* obj1
= 0 ;
20201 PyObject
* obj2
= 0 ;
20202 PyObject
* obj3
= 0 ;
20203 PyObject
* obj4
= 0 ;
20204 char * kwnames
[] = {
20205 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20210 if (!SWIG_IsOK(res1
)) {
20211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20215 arg2
= wxString_in_helper(obj1
);
20216 if (arg2
== NULL
) SWIG_fail
;
20221 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20224 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20225 if (!SWIG_IsOK(ecode4
)) {
20226 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20228 arg4
= static_cast< int >(val4
);
20231 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20232 if (!SWIG_IsOK(ecode5
)) {
20233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20235 arg5
= static_cast< int >(val5
);
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_Py_Void();
20258 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
= 0;
20260 wxDC
*arg1
= (wxDC
*) 0 ;
20261 wxString
*arg2
= 0 ;
20262 wxBitmap
*arg3
= 0 ;
20264 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20265 int arg6
= (int) -1 ;
20269 bool temp2
= false ;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 PyObject
* obj2
= 0 ;
20280 PyObject
* obj3
= 0 ;
20281 PyObject
* obj4
= 0 ;
20282 PyObject
* obj5
= 0 ;
20283 char * kwnames
[] = {
20284 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20289 if (!SWIG_IsOK(res1
)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20294 arg2
= wxString_in_helper(obj1
);
20295 if (arg2
== NULL
) SWIG_fail
;
20298 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20299 if (!SWIG_IsOK(res3
)) {
20300 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20305 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20308 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20311 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20312 if (!SWIG_IsOK(ecode5
)) {
20313 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20315 arg5
= static_cast< int >(val5
);
20318 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20319 if (!SWIG_IsOK(ecode6
)) {
20320 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20322 arg6
= static_cast< int >(val6
);
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20345 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
= 0;
20347 wxDC
*arg1
= (wxDC
*) 0 ;
20349 wxPoint
*arg3
= (wxPoint
*) 0 ;
20352 PyObject
* obj0
= 0 ;
20353 PyObject
* obj1
= 0 ;
20354 char * kwnames
[] = {
20355 (char *) "self",(char *) "points", NULL
20358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20360 if (!SWIG_IsOK(res1
)) {
20361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20365 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20366 if (arg3
== NULL
) SWIG_fail
;
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 (arg1
)->DrawSpline(arg2
,arg3
);
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= SWIG_Py_Void();
20376 if (arg3
) delete [] arg3
;
20381 if (arg3
) delete [] arg3
;
20387 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20388 PyObject
*resultobj
= 0;
20389 wxDC
*arg1
= (wxDC
*) 0 ;
20392 PyObject
*swig_obj
[1] ;
20394 if (!args
) SWIG_fail
;
20395 swig_obj
[0] = args
;
20396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20397 if (!SWIG_IsOK(res1
)) {
20398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= SWIG_Py_Void();
20414 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
= 0;
20416 wxDC
*arg1
= (wxDC
*) 0 ;
20417 wxString
*arg2
= 0 ;
20421 bool temp2
= false ;
20422 PyObject
* obj0
= 0 ;
20423 PyObject
* obj1
= 0 ;
20424 char * kwnames
[] = {
20425 (char *) "self",(char *) "message", NULL
20428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20430 if (!SWIG_IsOK(res1
)) {
20431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20435 arg2
= wxString_in_helper(obj1
);
20436 if (arg2
== NULL
) SWIG_fail
;
20440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20441 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20462 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20463 PyObject
*resultobj
= 0;
20464 wxDC
*arg1
= (wxDC
*) 0 ;
20467 PyObject
*swig_obj
[1] ;
20469 if (!args
) SWIG_fail
;
20470 swig_obj
[0] = args
;
20471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20472 if (!SWIG_IsOK(res1
)) {
20473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_Py_Void();
20489 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20490 PyObject
*resultobj
= 0;
20491 wxDC
*arg1
= (wxDC
*) 0 ;
20494 PyObject
*swig_obj
[1] ;
20496 if (!args
) SWIG_fail
;
20497 swig_obj
[0] = args
;
20498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20499 if (!SWIG_IsOK(res1
)) {
20500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 (arg1
)->StartPage();
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= SWIG_Py_Void();
20516 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20517 PyObject
*resultobj
= 0;
20518 wxDC
*arg1
= (wxDC
*) 0 ;
20521 PyObject
*swig_obj
[1] ;
20523 if (!args
) SWIG_fail
;
20524 swig_obj
[0] = args
;
20525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20526 if (!SWIG_IsOK(res1
)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20529 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= SWIG_Py_Void();
20543 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
= 0;
20545 wxDC
*arg1
= (wxDC
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 char * kwnames
[] = {
20554 (char *) "self",(char *) "font", NULL
20557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20559 if (!SWIG_IsOK(res1
)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20564 if (!SWIG_IsOK(res2
)) {
20565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20570 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 (arg1
)->SetFont((wxFont
const &)*arg2
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= SWIG_Py_Void();
20584 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
= 0;
20586 wxDC
*arg1
= (wxDC
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 PyObject
* obj1
= 0 ;
20594 char * kwnames
[] = {
20595 (char *) "self",(char *) "pen", NULL
20598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20600 if (!SWIG_IsOK(res1
)) {
20601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20603 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20605 if (!SWIG_IsOK(res2
)) {
20606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20611 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 (arg1
)->SetPen((wxPen
const &)*arg2
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 resultobj
= SWIG_Py_Void();
20625 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
= 0;
20627 wxDC
*arg1
= (wxDC
*) 0 ;
20628 wxBrush
*arg2
= 0 ;
20633 PyObject
* obj0
= 0 ;
20634 PyObject
* obj1
= 0 ;
20635 char * kwnames
[] = {
20636 (char *) "self",(char *) "brush", NULL
20639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20641 if (!SWIG_IsOK(res1
)) {
20642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20646 if (!SWIG_IsOK(res2
)) {
20647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20652 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 resultobj
= SWIG_Py_Void();
20666 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
= 0;
20668 wxDC
*arg1
= (wxDC
*) 0 ;
20669 wxBrush
*arg2
= 0 ;
20674 PyObject
* obj0
= 0 ;
20675 PyObject
* obj1
= 0 ;
20676 char * kwnames
[] = {
20677 (char *) "self",(char *) "brush", NULL
20680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20682 if (!SWIG_IsOK(res1
)) {
20683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20685 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20687 if (!SWIG_IsOK(res2
)) {
20688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20693 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_Py_Void();
20707 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
= 0;
20709 wxDC
*arg1
= (wxDC
*) 0 ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20717 char * kwnames
[] = {
20718 (char *) "self",(char *) "mode", NULL
20721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20723 if (!SWIG_IsOK(res1
)) {
20724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20728 if (!SWIG_IsOK(ecode2
)) {
20729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20731 arg2
= static_cast< int >(val2
);
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 (arg1
)->SetBackgroundMode(arg2
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= SWIG_Py_Void();
20745 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
= 0;
20747 wxDC
*arg1
= (wxDC
*) 0 ;
20748 wxPalette
*arg2
= 0 ;
20753 PyObject
* obj0
= 0 ;
20754 PyObject
* obj1
= 0 ;
20755 char * kwnames
[] = {
20756 (char *) "self",(char *) "palette", NULL
20759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20761 if (!SWIG_IsOK(res1
)) {
20762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20766 if (!SWIG_IsOK(res2
)) {
20767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20772 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= SWIG_Py_Void();
20786 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20787 PyObject
*resultobj
= 0;
20788 wxDC
*arg1
= (wxDC
*) 0 ;
20791 PyObject
*swig_obj
[1] ;
20793 if (!args
) SWIG_fail
;
20794 swig_obj
[0] = args
;
20795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20796 if (!SWIG_IsOK(res1
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20799 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 (arg1
)->DestroyClippingRegion();
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_Py_Void();
20813 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20814 PyObject
*resultobj
= 0;
20815 wxDC
*arg1
= (wxDC
*) 0 ;
20816 int *arg2
= (int *) 0 ;
20817 int *arg3
= (int *) 0 ;
20818 int *arg4
= (int *) 0 ;
20819 int *arg5
= (int *) 0 ;
20823 int res2
= SWIG_TMPOBJ
;
20825 int res3
= SWIG_TMPOBJ
;
20827 int res4
= SWIG_TMPOBJ
;
20829 int res5
= SWIG_TMPOBJ
;
20830 PyObject
*swig_obj
[1] ;
20836 if (!args
) SWIG_fail
;
20837 swig_obj
[0] = args
;
20838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20839 if (!SWIG_IsOK(res1
)) {
20840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_Py_Void();
20850 if (SWIG_IsTmpObj(res2
)) {
20851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20853 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20856 if (SWIG_IsTmpObj(res3
)) {
20857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20859 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20862 if (SWIG_IsTmpObj(res4
)) {
20863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20865 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20868 if (SWIG_IsTmpObj(res5
)) {
20869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20871 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20880 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20881 PyObject
*resultobj
= 0;
20882 wxDC
*arg1
= (wxDC
*) 0 ;
20886 PyObject
*swig_obj
[1] ;
20888 if (!args
) SWIG_fail
;
20889 swig_obj
[0] = args
;
20890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20891 if (!SWIG_IsOK(res1
)) {
20892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= wxDC_GetClippingRect(arg1
);
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20908 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20909 PyObject
*resultobj
= 0;
20910 wxDC
*arg1
= (wxDC
*) 0 ;
20914 PyObject
*swig_obj
[1] ;
20916 if (!args
) SWIG_fail
;
20917 swig_obj
[0] = args
;
20918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20919 if (!SWIG_IsOK(res1
)) {
20920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_From_int(static_cast< int >(result
));
20936 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20937 PyObject
*resultobj
= 0;
20938 wxDC
*arg1
= (wxDC
*) 0 ;
20942 PyObject
*swig_obj
[1] ;
20944 if (!args
) SWIG_fail
;
20945 swig_obj
[0] = args
;
20946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20947 if (!SWIG_IsOK(res1
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= SWIG_From_int(static_cast< int >(result
));
20964 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
= 0;
20966 wxDC
*arg1
= (wxDC
*) 0 ;
20967 wxString
*arg2
= 0 ;
20968 int *arg3
= (int *) 0 ;
20969 int *arg4
= (int *) 0 ;
20972 bool temp2
= false ;
20974 int res3
= SWIG_TMPOBJ
;
20976 int res4
= SWIG_TMPOBJ
;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 char * kwnames
[] = {
20980 (char *) "self",(char *) "string", NULL
20985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20987 if (!SWIG_IsOK(res1
)) {
20988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20992 arg2
= wxString_in_helper(obj1
);
20993 if (arg2
== NULL
) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_Py_Void();
21003 if (SWIG_IsTmpObj(res3
)) {
21004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21006 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21009 if (SWIG_IsTmpObj(res4
)) {
21010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21012 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21029 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
= 0;
21031 wxDC
*arg1
= (wxDC
*) 0 ;
21032 wxString
*arg2
= 0 ;
21033 int *arg3
= (int *) 0 ;
21034 int *arg4
= (int *) 0 ;
21035 int *arg5
= (int *) 0 ;
21036 int *arg6
= (int *) 0 ;
21037 wxFont
*arg7
= (wxFont
*) NULL
;
21040 bool temp2
= false ;
21042 int res3
= SWIG_TMPOBJ
;
21044 int res4
= SWIG_TMPOBJ
;
21046 int res5
= SWIG_TMPOBJ
;
21048 int res6
= SWIG_TMPOBJ
;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 PyObject
* obj2
= 0 ;
21054 char * kwnames
[] = {
21055 (char *) "self",(char *) "string",(char *) "font", NULL
21062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21064 if (!SWIG_IsOK(res1
)) {
21065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21069 arg2
= wxString_in_helper(obj1
);
21070 if (arg2
== NULL
) SWIG_fail
;
21074 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21075 if (!SWIG_IsOK(res7
)) {
21076 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21078 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= SWIG_Py_Void();
21087 if (SWIG_IsTmpObj(res3
)) {
21088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21090 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21093 if (SWIG_IsTmpObj(res4
)) {
21094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21096 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21099 if (SWIG_IsTmpObj(res5
)) {
21100 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21102 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21103 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21105 if (SWIG_IsTmpObj(res6
)) {
21106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21108 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21125 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
= 0;
21127 wxDC
*arg1
= (wxDC
*) 0 ;
21128 wxString
*arg2
= 0 ;
21129 int *arg3
= (int *) 0 ;
21130 int *arg4
= (int *) 0 ;
21131 int *arg5
= (int *) 0 ;
21132 wxFont
*arg6
= (wxFont
*) NULL
;
21135 bool temp2
= false ;
21137 int res3
= SWIG_TMPOBJ
;
21139 int res4
= SWIG_TMPOBJ
;
21141 int res5
= SWIG_TMPOBJ
;
21144 PyObject
* obj0
= 0 ;
21145 PyObject
* obj1
= 0 ;
21146 PyObject
* obj2
= 0 ;
21147 char * kwnames
[] = {
21148 (char *) "self",(char *) "text",(char *) "font", NULL
21154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21156 if (!SWIG_IsOK(res1
)) {
21157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21161 arg2
= wxString_in_helper(obj1
);
21162 if (arg2
== NULL
) SWIG_fail
;
21166 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21167 if (!SWIG_IsOK(res6
)) {
21168 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21170 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= SWIG_Py_Void();
21179 if (SWIG_IsTmpObj(res3
)) {
21180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21182 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21185 if (SWIG_IsTmpObj(res4
)) {
21186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21188 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21191 if (SWIG_IsTmpObj(res5
)) {
21192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21194 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21211 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
= 0;
21213 wxDC
*arg1
= (wxDC
*) 0 ;
21214 wxString
*arg2
= 0 ;
21218 bool temp2
= false ;
21219 PyObject
* obj0
= 0 ;
21220 PyObject
* obj1
= 0 ;
21221 char * kwnames
[] = {
21222 (char *) "self",(char *) "text", NULL
21225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21227 if (!SWIG_IsOK(res1
)) {
21228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21232 arg2
= wxString_in_helper(obj1
);
21233 if (arg2
== NULL
) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= wxArrayInt2PyList_helper(result
);
21259 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21260 PyObject
*resultobj
= 0;
21261 wxDC
*arg1
= (wxDC
*) 0 ;
21265 PyObject
*swig_obj
[1] ;
21267 if (!args
) SWIG_fail
;
21268 swig_obj
[0] = args
;
21269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21270 if (!SWIG_IsOK(res1
)) {
21271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (arg1
)->GetSize();
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21287 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21288 PyObject
*resultobj
= 0;
21289 wxDC
*arg1
= (wxDC
*) 0 ;
21290 int *arg2
= (int *) 0 ;
21291 int *arg3
= (int *) 0 ;
21295 int res2
= SWIG_TMPOBJ
;
21297 int res3
= SWIG_TMPOBJ
;
21298 PyObject
*swig_obj
[1] ;
21302 if (!args
) SWIG_fail
;
21303 swig_obj
[0] = args
;
21304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21305 if (!SWIG_IsOK(res1
)) {
21306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 (arg1
)->GetSize(arg2
,arg3
);
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 resultobj
= SWIG_Py_Void();
21316 if (SWIG_IsTmpObj(res2
)) {
21317 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21319 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21320 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21322 if (SWIG_IsTmpObj(res3
)) {
21323 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21325 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21326 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21334 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21335 PyObject
*resultobj
= 0;
21336 wxDC
*arg1
= (wxDC
*) 0 ;
21340 PyObject
*swig_obj
[1] ;
21342 if (!args
) SWIG_fail
;
21343 swig_obj
[0] = args
;
21344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21345 if (!SWIG_IsOK(res1
)) {
21346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21362 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21363 PyObject
*resultobj
= 0;
21364 wxDC
*arg1
= (wxDC
*) 0 ;
21365 int *arg2
= (int *) 0 ;
21366 int *arg3
= (int *) 0 ;
21370 int res2
= SWIG_TMPOBJ
;
21372 int res3
= SWIG_TMPOBJ
;
21373 PyObject
*swig_obj
[1] ;
21377 if (!args
) SWIG_fail
;
21378 swig_obj
[0] = args
;
21379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21380 if (!SWIG_IsOK(res1
)) {
21381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= SWIG_Py_Void();
21391 if (SWIG_IsTmpObj(res2
)) {
21392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21394 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21397 if (SWIG_IsTmpObj(res3
)) {
21398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21400 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21409 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
= 0;
21411 wxDC
*arg1
= (wxDC
*) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 char * kwnames
[] = {
21421 (char *) "self",(char *) "x", NULL
21424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21426 if (!SWIG_IsOK(res1
)) {
21427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21431 if (!SWIG_IsOK(ecode2
)) {
21432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21434 arg2
= static_cast< int >(val2
);
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 resultobj
= SWIG_From_int(static_cast< int >(result
));
21448 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
= 0;
21450 wxDC
*arg1
= (wxDC
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 char * kwnames
[] = {
21460 (char *) "self",(char *) "y", NULL
21463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21465 if (!SWIG_IsOK(res1
)) {
21466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21470 if (!SWIG_IsOK(ecode2
)) {
21471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21473 arg2
= static_cast< int >(val2
);
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21477 wxPyEndAllowThreads(__tstate
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21480 resultobj
= SWIG_From_int(static_cast< int >(result
));
21487 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21488 PyObject
*resultobj
= 0;
21489 wxDC
*arg1
= (wxDC
*) 0 ;
21496 PyObject
* obj0
= 0 ;
21497 PyObject
* obj1
= 0 ;
21498 char * kwnames
[] = {
21499 (char *) "self",(char *) "x", NULL
21502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21504 if (!SWIG_IsOK(res1
)) {
21505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21509 if (!SWIG_IsOK(ecode2
)) {
21510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21512 arg2
= static_cast< int >(val2
);
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 resultobj
= SWIG_From_int(static_cast< int >(result
));
21526 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
= 0;
21528 wxDC
*arg1
= (wxDC
*) 0 ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char * kwnames
[] = {
21538 (char *) "self",(char *) "y", NULL
21541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21543 if (!SWIG_IsOK(res1
)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21548 if (!SWIG_IsOK(ecode2
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21551 arg2
= static_cast< int >(val2
);
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= SWIG_From_int(static_cast< int >(result
));
21565 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
= 0;
21567 wxDC
*arg1
= (wxDC
*) 0 ;
21574 PyObject
* obj0
= 0 ;
21575 PyObject
* obj1
= 0 ;
21576 char * kwnames
[] = {
21577 (char *) "self",(char *) "x", NULL
21580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21582 if (!SWIG_IsOK(res1
)) {
21583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21587 if (!SWIG_IsOK(ecode2
)) {
21588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21590 arg2
= static_cast< int >(val2
);
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= SWIG_From_int(static_cast< int >(result
));
21604 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
= 0;
21606 wxDC
*arg1
= (wxDC
*) 0 ;
21613 PyObject
* obj0
= 0 ;
21614 PyObject
* obj1
= 0 ;
21615 char * kwnames
[] = {
21616 (char *) "self",(char *) "y", NULL
21619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21621 if (!SWIG_IsOK(res1
)) {
21622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21626 if (!SWIG_IsOK(ecode2
)) {
21627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21629 arg2
= static_cast< int >(val2
);
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= SWIG_From_int(static_cast< int >(result
));
21643 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
= 0;
21645 wxDC
*arg1
= (wxDC
*) 0 ;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 char * kwnames
[] = {
21655 (char *) "self",(char *) "x", NULL
21658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21660 if (!SWIG_IsOK(res1
)) {
21661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21665 if (!SWIG_IsOK(ecode2
)) {
21666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21668 arg2
= static_cast< int >(val2
);
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_From_int(static_cast< int >(result
));
21682 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
= 0;
21684 wxDC
*arg1
= (wxDC
*) 0 ;
21691 PyObject
* obj0
= 0 ;
21692 PyObject
* obj1
= 0 ;
21693 char * kwnames
[] = {
21694 (char *) "self",(char *) "y", NULL
21697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21699 if (!SWIG_IsOK(res1
)) {
21700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21704 if (!SWIG_IsOK(ecode2
)) {
21705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21707 arg2
= static_cast< int >(val2
);
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= SWIG_From_int(static_cast< int >(result
));
21721 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21722 PyObject
*resultobj
= 0;
21723 wxDC
*arg1
= (wxDC
*) 0 ;
21727 PyObject
*swig_obj
[1] ;
21729 if (!args
) SWIG_fail
;
21730 swig_obj
[0] = args
;
21731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21732 if (!SWIG_IsOK(res1
)) {
21733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21751 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21752 PyObject
*resultobj
= 0;
21753 wxDC
*arg1
= (wxDC
*) 0 ;
21757 PyObject
*swig_obj
[1] ;
21759 if (!args
) SWIG_fail
;
21760 swig_obj
[0] = args
;
21761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21762 if (!SWIG_IsOK(res1
)) {
21763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21781 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21782 PyObject
*resultobj
= 0;
21783 wxDC
*arg1
= (wxDC
*) 0 ;
21787 PyObject
*swig_obj
[1] ;
21789 if (!args
) SWIG_fail
;
21790 swig_obj
[0] = args
;
21791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21792 if (!SWIG_IsOK(res1
)) {
21793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= SWIG_From_int(static_cast< int >(result
));
21809 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21810 PyObject
*resultobj
= 0;
21811 wxDC
*arg1
= (wxDC
*) 0 ;
21815 PyObject
*swig_obj
[1] ;
21817 if (!args
) SWIG_fail
;
21818 swig_obj
[0] = args
;
21819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21820 if (!SWIG_IsOK(res1
)) {
21821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21823 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 result
= ((wxDC
const *)arg1
)->GetPPI();
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21837 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21838 PyObject
*resultobj
= 0;
21839 wxDC
*arg1
= (wxDC
*) 0 ;
21843 PyObject
*swig_obj
[1] ;
21845 if (!args
) SWIG_fail
;
21846 swig_obj
[0] = args
;
21847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21848 if (!SWIG_IsOK(res1
)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21851 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21867 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21868 PyObject
*resultobj
= 0;
21869 wxDC
*arg1
= (wxDC
*) 0 ;
21873 PyObject
*swig_obj
[1] ;
21875 if (!args
) SWIG_fail
;
21876 swig_obj
[0] = args
;
21877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 resultobj
= SWIG_From_int(static_cast< int >(result
));
21895 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21896 PyObject
*resultobj
= 0;
21897 wxDC
*arg1
= (wxDC
*) 0 ;
21898 wxBrush
*result
= 0 ;
21901 PyObject
*swig_obj
[1] ;
21903 if (!args
) SWIG_fail
;
21904 swig_obj
[0] = args
;
21905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21906 if (!SWIG_IsOK(res1
)) {
21907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21913 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21914 result
= (wxBrush
*) &_result_ref
;
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21920 wxBrush
* resultptr
= new wxBrush(*result
);
21921 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21929 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21930 PyObject
*resultobj
= 0;
21931 wxDC
*arg1
= (wxDC
*) 0 ;
21932 wxBrush
*result
= 0 ;
21935 PyObject
*swig_obj
[1] ;
21937 if (!args
) SWIG_fail
;
21938 swig_obj
[0] = args
;
21939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21940 if (!SWIG_IsOK(res1
)) {
21941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21943 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21948 result
= (wxBrush
*) &_result_ref
;
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21954 wxBrush
* resultptr
= new wxBrush(*result
);
21955 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21963 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21964 PyObject
*resultobj
= 0;
21965 wxDC
*arg1
= (wxDC
*) 0 ;
21966 wxFont
*result
= 0 ;
21969 PyObject
*swig_obj
[1] ;
21971 if (!args
) SWIG_fail
;
21972 swig_obj
[0] = args
;
21973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21974 if (!SWIG_IsOK(res1
)) {
21975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21982 result
= (wxFont
*) &_result_ref
;
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21988 wxFont
* resultptr
= new wxFont(*result
);
21989 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21997 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21998 PyObject
*resultobj
= 0;
21999 wxDC
*arg1
= (wxDC
*) 0 ;
22000 wxPen
*result
= 0 ;
22003 PyObject
*swig_obj
[1] ;
22005 if (!args
) SWIG_fail
;
22006 swig_obj
[0] = args
;
22007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22008 if (!SWIG_IsOK(res1
)) {
22009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22016 result
= (wxPen
*) &_result_ref
;
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22022 wxPen
* resultptr
= new wxPen(*result
);
22023 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22031 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22032 PyObject
*resultobj
= 0;
22033 wxDC
*arg1
= (wxDC
*) 0 ;
22034 wxColour
*result
= 0 ;
22037 PyObject
*swig_obj
[1] ;
22039 if (!args
) SWIG_fail
;
22040 swig_obj
[0] = args
;
22041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22042 if (!SWIG_IsOK(res1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22050 result
= (wxColour
*) &_result_ref
;
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22062 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22063 PyObject
*resultobj
= 0;
22064 wxDC
*arg1
= (wxDC
*) 0 ;
22065 wxColour
*result
= 0 ;
22068 PyObject
*swig_obj
[1] ;
22070 if (!args
) SWIG_fail
;
22071 swig_obj
[0] = args
;
22072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22073 if (!SWIG_IsOK(res1
)) {
22074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22081 result
= (wxColour
*) &_result_ref
;
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22093 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
= 0;
22095 wxDC
*arg1
= (wxDC
*) 0 ;
22096 wxColour
*arg2
= 0 ;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 char * kwnames
[] = {
22103 (char *) "self",(char *) "colour", NULL
22106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22108 if (!SWIG_IsOK(res1
)) {
22109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22114 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22122 resultobj
= SWIG_Py_Void();
22129 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
= 0;
22131 wxDC
*arg1
= (wxDC
*) 0 ;
22132 wxColour
*arg2
= 0 ;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 char * kwnames
[] = {
22139 (char *) "self",(char *) "colour", NULL
22142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22144 if (!SWIG_IsOK(res1
)) {
22145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22150 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 resultobj
= SWIG_Py_Void();
22165 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22166 PyObject
*resultobj
= 0;
22167 wxDC
*arg1
= (wxDC
*) 0 ;
22171 PyObject
*swig_obj
[1] ;
22173 if (!args
) SWIG_fail
;
22174 swig_obj
[0] = args
;
22175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22176 if (!SWIG_IsOK(res1
)) {
22177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= SWIG_From_int(static_cast< int >(result
));
22193 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
= 0;
22195 wxDC
*arg1
= (wxDC
*) 0 ;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 char * kwnames
[] = {
22204 (char *) "self",(char *) "mode", NULL
22207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22209 if (!SWIG_IsOK(res1
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22214 if (!SWIG_IsOK(ecode2
)) {
22215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22217 arg2
= static_cast< int >(val2
);
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 (arg1
)->SetMapMode(arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= SWIG_Py_Void();
22231 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22232 PyObject
*resultobj
= 0;
22233 wxDC
*arg1
= (wxDC
*) 0 ;
22234 double *arg2
= (double *) 0 ;
22235 double *arg3
= (double *) 0 ;
22239 int res2
= SWIG_TMPOBJ
;
22241 int res3
= SWIG_TMPOBJ
;
22242 PyObject
*swig_obj
[1] ;
22246 if (!args
) SWIG_fail
;
22247 swig_obj
[0] = args
;
22248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22249 if (!SWIG_IsOK(res1
)) {
22250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= SWIG_Py_Void();
22260 if (SWIG_IsTmpObj(res2
)) {
22261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22263 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22266 if (SWIG_IsTmpObj(res3
)) {
22267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22269 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22278 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
= 0;
22280 wxDC
*arg1
= (wxDC
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 PyObject
* obj2
= 0 ;
22292 char * kwnames
[] = {
22293 (char *) "self",(char *) "x",(char *) "y", NULL
22296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22298 if (!SWIG_IsOK(res1
)) {
22299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22302 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22303 if (!SWIG_IsOK(ecode2
)) {
22304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22306 arg2
= static_cast< double >(val2
);
22307 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22308 if (!SWIG_IsOK(ecode3
)) {
22309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22311 arg3
= static_cast< double >(val3
);
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 (arg1
)->SetUserScale(arg2
,arg3
);
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= SWIG_Py_Void();
22325 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22326 PyObject
*resultobj
= 0;
22327 wxDC
*arg1
= (wxDC
*) 0 ;
22328 double *arg2
= (double *) 0 ;
22329 double *arg3
= (double *) 0 ;
22333 int res2
= SWIG_TMPOBJ
;
22335 int res3
= SWIG_TMPOBJ
;
22336 PyObject
*swig_obj
[1] ;
22340 if (!args
) SWIG_fail
;
22341 swig_obj
[0] = args
;
22342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22343 if (!SWIG_IsOK(res1
)) {
22344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22346 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 (arg1
)->GetLogicalScale(arg2
,arg3
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_Py_Void();
22354 if (SWIG_IsTmpObj(res2
)) {
22355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22357 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22360 if (SWIG_IsTmpObj(res3
)) {
22361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22363 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22372 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
= 0;
22374 wxDC
*arg1
= (wxDC
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 PyObject
* obj1
= 0 ;
22385 PyObject
* obj2
= 0 ;
22386 char * kwnames
[] = {
22387 (char *) "self",(char *) "x",(char *) "y", NULL
22390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22392 if (!SWIG_IsOK(res1
)) {
22393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22396 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22397 if (!SWIG_IsOK(ecode2
)) {
22398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22400 arg2
= static_cast< double >(val2
);
22401 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22402 if (!SWIG_IsOK(ecode3
)) {
22403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22405 arg3
= static_cast< double >(val3
);
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 (arg1
)->SetLogicalScale(arg2
,arg3
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= SWIG_Py_Void();
22419 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22420 PyObject
*resultobj
= 0;
22421 wxDC
*arg1
= (wxDC
*) 0 ;
22425 PyObject
*swig_obj
[1] ;
22427 if (!args
) SWIG_fail
;
22428 swig_obj
[0] = args
;
22429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22430 if (!SWIG_IsOK(res1
)) {
22431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22447 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22448 PyObject
*resultobj
= 0;
22449 wxDC
*arg1
= (wxDC
*) 0 ;
22450 int *arg2
= (int *) 0 ;
22451 int *arg3
= (int *) 0 ;
22455 int res2
= SWIG_TMPOBJ
;
22457 int res3
= SWIG_TMPOBJ
;
22458 PyObject
*swig_obj
[1] ;
22462 if (!args
) SWIG_fail
;
22463 swig_obj
[0] = args
;
22464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22465 if (!SWIG_IsOK(res1
)) {
22466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_Py_Void();
22476 if (SWIG_IsTmpObj(res2
)) {
22477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22479 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22482 if (SWIG_IsTmpObj(res3
)) {
22483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22485 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22494 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
= 0;
22496 wxDC
*arg1
= (wxDC
*) 0 ;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 PyObject
* obj2
= 0 ;
22508 char * kwnames
[] = {
22509 (char *) "self",(char *) "x",(char *) "y", NULL
22512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22514 if (!SWIG_IsOK(res1
)) {
22515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22519 if (!SWIG_IsOK(ecode2
)) {
22520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22522 arg2
= static_cast< int >(val2
);
22523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22524 if (!SWIG_IsOK(ecode3
)) {
22525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22527 arg3
= static_cast< int >(val3
);
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= SWIG_Py_Void();
22541 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22542 PyObject
*resultobj
= 0;
22543 wxDC
*arg1
= (wxDC
*) 0 ;
22544 wxPoint
*arg2
= 0 ;
22548 PyObject
* obj0
= 0 ;
22549 PyObject
* obj1
= 0 ;
22550 char * kwnames
[] = {
22551 (char *) "self",(char *) "point", NULL
22554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22556 if (!SWIG_IsOK(res1
)) {
22557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= SWIG_Py_Void();
22577 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22578 PyObject
*resultobj
= 0;
22579 wxDC
*arg1
= (wxDC
*) 0 ;
22583 PyObject
*swig_obj
[1] ;
22585 if (!args
) SWIG_fail
;
22586 swig_obj
[0] = args
;
22587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22605 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22606 PyObject
*resultobj
= 0;
22607 wxDC
*arg1
= (wxDC
*) 0 ;
22608 int *arg2
= (int *) 0 ;
22609 int *arg3
= (int *) 0 ;
22613 int res2
= SWIG_TMPOBJ
;
22615 int res3
= SWIG_TMPOBJ
;
22616 PyObject
*swig_obj
[1] ;
22620 if (!args
) SWIG_fail
;
22621 swig_obj
[0] = args
;
22622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22623 if (!SWIG_IsOK(res1
)) {
22624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= SWIG_Py_Void();
22634 if (SWIG_IsTmpObj(res2
)) {
22635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22637 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22640 if (SWIG_IsTmpObj(res3
)) {
22641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22643 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22652 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
= 0;
22654 wxDC
*arg1
= (wxDC
*) 0 ;
22663 PyObject
* obj0
= 0 ;
22664 PyObject
* obj1
= 0 ;
22665 PyObject
* obj2
= 0 ;
22666 char * kwnames
[] = {
22667 (char *) "self",(char *) "x",(char *) "y", NULL
22670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22672 if (!SWIG_IsOK(res1
)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22677 if (!SWIG_IsOK(ecode2
)) {
22678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22680 arg2
= static_cast< int >(val2
);
22681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22682 if (!SWIG_IsOK(ecode3
)) {
22683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22685 arg3
= static_cast< int >(val3
);
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= SWIG_Py_Void();
22699 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
= 0;
22701 wxDC
*arg1
= (wxDC
*) 0 ;
22702 wxPoint
*arg2
= 0 ;
22706 PyObject
* obj0
= 0 ;
22707 PyObject
* obj1
= 0 ;
22708 char * kwnames
[] = {
22709 (char *) "self",(char *) "point", NULL
22712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22714 if (!SWIG_IsOK(res1
)) {
22715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= SWIG_Py_Void();
22735 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
= 0;
22737 wxDC
*arg1
= (wxDC
*) 0 ;
22746 PyObject
* obj0
= 0 ;
22747 PyObject
* obj1
= 0 ;
22748 PyObject
* obj2
= 0 ;
22749 char * kwnames
[] = {
22750 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22755 if (!SWIG_IsOK(res1
)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22759 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22760 if (!SWIG_IsOK(ecode2
)) {
22761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22763 arg2
= static_cast< bool >(val2
);
22764 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22765 if (!SWIG_IsOK(ecode3
)) {
22766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22768 arg3
= static_cast< bool >(val3
);
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_Py_Void();
22782 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22783 PyObject
*resultobj
= 0;
22784 wxDC
*arg1
= (wxDC
*) 0 ;
22788 PyObject
*swig_obj
[1] ;
22790 if (!args
) SWIG_fail
;
22791 swig_obj
[0] = args
;
22792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22793 if (!SWIG_IsOK(res1
)) {
22794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 resultobj
= SWIG_From_int(static_cast< int >(result
));
22810 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22811 PyObject
*resultobj
= 0;
22812 wxDC
*arg1
= (wxDC
*) 0 ;
22818 PyObject
* obj0
= 0 ;
22819 PyObject
* obj1
= 0 ;
22820 char * kwnames
[] = {
22821 (char *) "self",(char *) "function", NULL
22824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22826 if (!SWIG_IsOK(res1
)) {
22827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22831 if (!SWIG_IsOK(ecode2
)) {
22832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22834 arg2
= static_cast< int >(val2
);
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 (arg1
)->SetLogicalFunction(arg2
);
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_Py_Void();
22848 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22849 PyObject
*resultobj
= 0;
22850 wxDC
*arg1
= (wxDC
*) 0 ;
22853 PyObject
*swig_obj
[1] ;
22855 if (!args
) SWIG_fail
;
22856 swig_obj
[0] = args
;
22857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22858 if (!SWIG_IsOK(res1
)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 (arg1
)->ComputeScaleAndOrigin();
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 resultobj
= SWIG_Py_Void();
22875 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
= 0;
22877 wxDC
*arg1
= (wxDC
*) 0 ;
22886 PyObject
* obj0
= 0 ;
22887 PyObject
* obj1
= 0 ;
22888 PyObject
* obj2
= 0 ;
22889 char * kwnames
[] = {
22890 (char *) "self",(char *) "x",(char *) "y", NULL
22893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22895 if (!SWIG_IsOK(res1
)) {
22896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22900 if (!SWIG_IsOK(ecode2
)) {
22901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22903 arg2
= static_cast< int >(val2
);
22904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22905 if (!SWIG_IsOK(ecode3
)) {
22906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22908 arg3
= static_cast< int >(val3
);
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 resultobj
= SWIG_Py_Void();
22922 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
= 0;
22924 wxDC
*arg1
= (wxDC
*) 0 ;
22925 wxPoint
*arg2
= 0 ;
22929 PyObject
* obj0
= 0 ;
22930 PyObject
* obj1
= 0 ;
22931 char * kwnames
[] = {
22932 (char *) "self",(char *) "point", NULL
22935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22937 if (!SWIG_IsOK(res1
)) {
22938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_Py_Void();
22958 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22959 PyObject
*resultobj
= 0;
22960 wxDC
*arg1
= (wxDC
*) 0 ;
22963 PyObject
*swig_obj
[1] ;
22965 if (!args
) SWIG_fail
;
22966 swig_obj
[0] = args
;
22967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22968 if (!SWIG_IsOK(res1
)) {
22969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 (arg1
)->ResetBoundingBox();
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 resultobj
= SWIG_Py_Void();
22985 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22986 PyObject
*resultobj
= 0;
22987 wxDC
*arg1
= (wxDC
*) 0 ;
22991 PyObject
*swig_obj
[1] ;
22993 if (!args
) SWIG_fail
;
22994 swig_obj
[0] = args
;
22995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22996 if (!SWIG_IsOK(res1
)) {
22997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 result
= (int)((wxDC
const *)arg1
)->MinX();
23003 wxPyEndAllowThreads(__tstate
);
23004 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= SWIG_From_int(static_cast< int >(result
));
23013 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23014 PyObject
*resultobj
= 0;
23015 wxDC
*arg1
= (wxDC
*) 0 ;
23019 PyObject
*swig_obj
[1] ;
23021 if (!args
) SWIG_fail
;
23022 swig_obj
[0] = args
;
23023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23024 if (!SWIG_IsOK(res1
)) {
23025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23027 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 result
= (int)((wxDC
const *)arg1
)->MaxX();
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= SWIG_From_int(static_cast< int >(result
));
23041 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23042 PyObject
*resultobj
= 0;
23043 wxDC
*arg1
= (wxDC
*) 0 ;
23047 PyObject
*swig_obj
[1] ;
23049 if (!args
) SWIG_fail
;
23050 swig_obj
[0] = args
;
23051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23052 if (!SWIG_IsOK(res1
)) {
23053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 result
= (int)((wxDC
const *)arg1
)->MinY();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_From_int(static_cast< int >(result
));
23069 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23070 PyObject
*resultobj
= 0;
23071 wxDC
*arg1
= (wxDC
*) 0 ;
23075 PyObject
*swig_obj
[1] ;
23077 if (!args
) SWIG_fail
;
23078 swig_obj
[0] = args
;
23079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23080 if (!SWIG_IsOK(res1
)) {
23081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= (int)((wxDC
const *)arg1
)->MaxY();
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_From_int(static_cast< int >(result
));
23097 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23098 PyObject
*resultobj
= 0;
23099 wxDC
*arg1
= (wxDC
*) 0 ;
23100 int *arg2
= (int *) 0 ;
23101 int *arg3
= (int *) 0 ;
23102 int *arg4
= (int *) 0 ;
23103 int *arg5
= (int *) 0 ;
23107 int res2
= SWIG_TMPOBJ
;
23109 int res3
= SWIG_TMPOBJ
;
23111 int res4
= SWIG_TMPOBJ
;
23113 int res5
= SWIG_TMPOBJ
;
23114 PyObject
*swig_obj
[1] ;
23120 if (!args
) SWIG_fail
;
23121 swig_obj
[0] = args
;
23122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23123 if (!SWIG_IsOK(res1
)) {
23124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 resultobj
= SWIG_Py_Void();
23134 if (SWIG_IsTmpObj(res2
)) {
23135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23137 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23140 if (SWIG_IsTmpObj(res3
)) {
23141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23143 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23146 if (SWIG_IsTmpObj(res4
)) {
23147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23149 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23152 if (SWIG_IsTmpObj(res5
)) {
23153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23155 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23164 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23165 PyObject
*resultobj
= 0;
23166 wxDC
*arg1
= (wxDC
*) 0 ;
23167 wxLayoutDirection result
;
23170 PyObject
*swig_obj
[1] ;
23172 if (!args
) SWIG_fail
;
23173 swig_obj
[0] = args
;
23174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23175 if (!SWIG_IsOK(res1
)) {
23176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= SWIG_From_int(static_cast< int >(result
));
23192 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23193 PyObject
*resultobj
= 0;
23194 wxDC
*arg1
= (wxDC
*) 0 ;
23195 wxLayoutDirection arg2
;
23200 PyObject
* obj0
= 0 ;
23201 PyObject
* obj1
= 0 ;
23202 char * kwnames
[] = {
23203 (char *) "self",(char *) "dir", NULL
23206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23208 if (!SWIG_IsOK(res1
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23211 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23213 if (!SWIG_IsOK(ecode2
)) {
23214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23216 arg2
= static_cast< wxLayoutDirection
>(val2
);
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 (arg1
)->SetLayoutDirection(arg2
);
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= SWIG_Py_Void();
23230 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
= 0;
23232 wxDC
*arg1
= (wxDC
*) 0 ;
23233 PyObject
*arg2
= (PyObject
*) 0 ;
23234 PyObject
*arg3
= (PyObject
*) 0 ;
23235 PyObject
*arg4
= (PyObject
*) 0 ;
23236 PyObject
*result
= 0 ;
23239 PyObject
* obj0
= 0 ;
23240 PyObject
* obj1
= 0 ;
23241 PyObject
* obj2
= 0 ;
23242 PyObject
* obj3
= 0 ;
23243 char * kwnames
[] = {
23244 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23249 if (!SWIG_IsOK(res1
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= result
;
23269 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
= 0;
23271 wxDC
*arg1
= (wxDC
*) 0 ;
23272 PyObject
*arg2
= (PyObject
*) 0 ;
23273 PyObject
*arg3
= (PyObject
*) 0 ;
23274 PyObject
*arg4
= (PyObject
*) 0 ;
23275 PyObject
*result
= 0 ;
23278 PyObject
* obj0
= 0 ;
23279 PyObject
* obj1
= 0 ;
23280 PyObject
* obj2
= 0 ;
23281 PyObject
* obj3
= 0 ;
23282 char * kwnames
[] = {
23283 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23288 if (!SWIG_IsOK(res1
)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 resultobj
= result
;
23308 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
= 0;
23310 wxDC
*arg1
= (wxDC
*) 0 ;
23311 PyObject
*arg2
= (PyObject
*) 0 ;
23312 PyObject
*arg3
= (PyObject
*) 0 ;
23313 PyObject
*arg4
= (PyObject
*) 0 ;
23314 PyObject
*result
= 0 ;
23317 PyObject
* obj0
= 0 ;
23318 PyObject
* obj1
= 0 ;
23319 PyObject
* obj2
= 0 ;
23320 PyObject
* obj3
= 0 ;
23321 char * kwnames
[] = {
23322 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23327 if (!SWIG_IsOK(res1
)) {
23328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= result
;
23347 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
= 0;
23349 wxDC
*arg1
= (wxDC
*) 0 ;
23350 PyObject
*arg2
= (PyObject
*) 0 ;
23351 PyObject
*arg3
= (PyObject
*) 0 ;
23352 PyObject
*arg4
= (PyObject
*) 0 ;
23353 PyObject
*result
= 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 PyObject
* obj2
= 0 ;
23359 PyObject
* obj3
= 0 ;
23360 char * kwnames
[] = {
23361 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23366 if (!SWIG_IsOK(res1
)) {
23367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23369 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= result
;
23386 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
= 0;
23388 wxDC
*arg1
= (wxDC
*) 0 ;
23389 PyObject
*arg2
= (PyObject
*) 0 ;
23390 PyObject
*arg3
= (PyObject
*) 0 ;
23391 PyObject
*arg4
= (PyObject
*) 0 ;
23392 PyObject
*result
= 0 ;
23395 PyObject
* obj0
= 0 ;
23396 PyObject
* obj1
= 0 ;
23397 PyObject
* obj2
= 0 ;
23398 PyObject
* obj3
= 0 ;
23399 char * kwnames
[] = {
23400 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23405 if (!SWIG_IsOK(res1
)) {
23406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= result
;
23425 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
= 0;
23427 wxDC
*arg1
= (wxDC
*) 0 ;
23428 PyObject
*arg2
= (PyObject
*) 0 ;
23429 PyObject
*arg3
= (PyObject
*) 0 ;
23430 PyObject
*arg4
= (PyObject
*) 0 ;
23431 PyObject
*arg5
= (PyObject
*) 0 ;
23432 PyObject
*result
= 0 ;
23435 PyObject
* obj0
= 0 ;
23436 PyObject
* obj1
= 0 ;
23437 PyObject
* obj2
= 0 ;
23438 PyObject
* obj3
= 0 ;
23439 PyObject
* obj4
= 0 ;
23440 char * kwnames
[] = {
23441 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23446 if (!SWIG_IsOK(res1
)) {
23447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= result
;
23467 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23470 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23471 return SWIG_Py_Void();
23474 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
= 0;
23477 wxColour
*arg2
= 0 ;
23478 wxDCTextColourChanger
*result
= 0 ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 char * kwnames
[] = {
23485 (char *) "dc",(char *) "col", NULL
23488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23489 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23490 if (!SWIG_IsOK(res1
)) {
23491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23514 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23515 PyObject
*resultobj
= 0;
23516 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23519 PyObject
*swig_obj
[1] ;
23521 if (!args
) SWIG_fail
;
23522 swig_obj
[0] = args
;
23523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23524 if (!SWIG_IsOK(res1
)) {
23525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23527 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_Py_Void();
23542 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23545 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23546 return SWIG_Py_Void();
23549 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23550 return SWIG_Python_InitShadowInstance(args
);
23553 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
= 0;
23557 wxDCPenChanger
*result
= 0 ;
23562 PyObject
* obj0
= 0 ;
23563 PyObject
* obj1
= 0 ;
23564 char * kwnames
[] = {
23565 (char *) "dc",(char *) "pen", NULL
23568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23569 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23570 if (!SWIG_IsOK(res1
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23578 if (!SWIG_IsOK(res2
)) {
23579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23584 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23598 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23599 PyObject
*resultobj
= 0;
23600 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23603 PyObject
*swig_obj
[1] ;
23605 if (!args
) SWIG_fail
;
23606 swig_obj
[0] = args
;
23607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23608 if (!SWIG_IsOK(res1
)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23611 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= SWIG_Py_Void();
23626 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23629 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23630 return SWIG_Py_Void();
23633 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23634 return SWIG_Python_InitShadowInstance(args
);
23637 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
= 0;
23640 wxBrush
*arg2
= 0 ;
23641 wxDCBrushChanger
*result
= 0 ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 char * kwnames
[] = {
23649 (char *) "dc",(char *) "brush", NULL
23652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23653 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23654 if (!SWIG_IsOK(res1
)) {
23655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23662 if (!SWIG_IsOK(res2
)) {
23663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23668 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23682 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23683 PyObject
*resultobj
= 0;
23684 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23687 PyObject
*swig_obj
[1] ;
23689 if (!args
) SWIG_fail
;
23690 swig_obj
[0] = args
;
23691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23692 if (!SWIG_IsOK(res1
)) {
23693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23695 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23703 resultobj
= SWIG_Py_Void();
23710 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23713 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23714 return SWIG_Py_Void();
23717 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23718 return SWIG_Python_InitShadowInstance(args
);
23721 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23722 PyObject
*resultobj
= 0;
23724 wxRegion
*arg2
= 0 ;
23725 wxDCClipper
*result
= 0 ;
23731 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23733 if (!SWIG_IsOK(res1
)) {
23734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23740 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23741 if (!SWIG_IsOK(res2
)) {
23742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23747 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23761 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23762 PyObject
*resultobj
= 0;
23765 wxDCClipper
*result
= 0 ;
23770 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23772 if (!SWIG_IsOK(res1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23778 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23781 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23796 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23797 PyObject
*resultobj
= 0;
23803 wxDCClipper
*result
= 0 ;
23815 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23817 if (!SWIG_IsOK(res1
)) {
23818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23823 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23824 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23825 if (!SWIG_IsOK(ecode2
)) {
23826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23828 arg2
= static_cast< int >(val2
);
23829 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23830 if (!SWIG_IsOK(ecode3
)) {
23831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23833 arg3
= static_cast< int >(val3
);
23834 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23835 if (!SWIG_IsOK(ecode4
)) {
23836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23838 arg4
= static_cast< int >(val4
);
23839 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23840 if (!SWIG_IsOK(ecode5
)) {
23841 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23843 arg5
= static_cast< int >(val5
);
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23857 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23861 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23866 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23867 _v
= SWIG_CheckState(res
);
23869 if (!_v
) goto check_1
;
23870 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23875 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23878 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23882 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23887 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23888 PyObject
*resultobj
= 0;
23889 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23892 PyObject
*swig_obj
[1] ;
23894 if (!args
) SWIG_fail
;
23895 swig_obj
[0] = args
;
23896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23897 if (!SWIG_IsOK(res1
)) {
23898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23900 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= SWIG_Py_Void();
23915 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23918 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23919 return SWIG_Py_Void();
23922 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23923 return SWIG_Python_InitShadowInstance(args
);
23926 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23927 PyObject
*resultobj
= 0;
23928 wxScreenDC
*result
= 0 ;
23930 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23932 if (!wxPyCheckForApp()) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (wxScreenDC
*)new wxScreenDC();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23945 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
= 0;
23947 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23948 wxWindow
*arg2
= (wxWindow
*) 0 ;
23954 PyObject
* obj0
= 0 ;
23955 PyObject
* obj1
= 0 ;
23956 char * kwnames
[] = {
23957 (char *) "self",(char *) "window", NULL
23960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23962 if (!SWIG_IsOK(res1
)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23965 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23967 if (!SWIG_IsOK(res2
)) {
23968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23970 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23986 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23987 PyObject
*resultobj
= 0;
23988 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23989 wxRect
*arg2
= (wxRect
*) NULL
;
23995 PyObject
* obj0
= 0 ;
23996 PyObject
* obj1
= 0 ;
23997 char * kwnames
[] = {
23998 (char *) "self",(char *) "rect", NULL
24001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24003 if (!SWIG_IsOK(res1
)) {
24004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24006 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24008 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24009 if (!SWIG_IsOK(res2
)) {
24010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24012 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24029 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24030 PyObject
*resultobj
= 0;
24031 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24035 PyObject
*swig_obj
[1] ;
24037 if (!args
) SWIG_fail
;
24038 swig_obj
[0] = args
;
24039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24040 if (!SWIG_IsOK(res1
)) {
24041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24043 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 result
= (bool)(arg1
)->EndDrawingOnTop();
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24059 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24062 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24063 return SWIG_Py_Void();
24066 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24067 return SWIG_Python_InitShadowInstance(args
);
24070 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
= 0;
24072 wxWindow
*arg1
= (wxWindow
*) 0 ;
24073 wxWindowDC
*result
= 0 ;
24076 PyObject
* obj0
= 0 ;
24077 char * kwnames
[] = {
24078 (char *) "win", NULL
24081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24083 if (!SWIG_IsOK(res1
)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24086 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24088 if (!wxPyCheckForApp()) SWIG_fail
;
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24101 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24104 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24105 return SWIG_Py_Void();
24108 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24109 return SWIG_Python_InitShadowInstance(args
);
24112 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
= 0;
24114 wxWindow
*arg1
= (wxWindow
*) 0 ;
24115 wxClientDC
*result
= 0 ;
24118 PyObject
* obj0
= 0 ;
24119 char * kwnames
[] = {
24120 (char *) "win", NULL
24123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24125 if (!SWIG_IsOK(res1
)) {
24126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24128 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24130 if (!wxPyCheckForApp()) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (wxClientDC
*)new wxClientDC(arg1
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24143 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24146 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24147 return SWIG_Py_Void();
24150 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24151 return SWIG_Python_InitShadowInstance(args
);
24154 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
= 0;
24156 wxWindow
*arg1
= (wxWindow
*) 0 ;
24157 wxPaintDC
*result
= 0 ;
24160 PyObject
* obj0
= 0 ;
24161 char * kwnames
[] = {
24162 (char *) "win", NULL
24165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24167 if (!SWIG_IsOK(res1
)) {
24168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24172 if (!wxPyCheckForApp()) SWIG_fail
;
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24174 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24185 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24188 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24189 return SWIG_Py_Void();
24192 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24193 return SWIG_Python_InitShadowInstance(args
);
24196 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
= 0;
24198 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24199 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24200 wxMemoryDC
*result
= 0 ;
24203 PyObject
* obj0
= 0 ;
24204 char * kwnames
[] = {
24205 (char *) "bitmap", NULL
24208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24210 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24211 if (!SWIG_IsOK(res1
)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24217 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24220 if (!wxPyCheckForApp()) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24233 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
= 0;
24235 wxDC
*arg1
= (wxDC
*) 0 ;
24236 wxMemoryDC
*result
= 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char * kwnames
[] = {
24241 (char *) "oldDC", NULL
24244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24246 if (!SWIG_IsOK(res1
)) {
24247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24249 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24251 if (!wxPyCheckForApp()) SWIG_fail
;
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24264 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
= 0;
24266 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24267 wxBitmap
*arg2
= 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 char * kwnames
[] = {
24275 (char *) "self",(char *) "bitmap", NULL
24278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24280 if (!SWIG_IsOK(res1
)) {
24281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24283 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24284 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24285 if (!SWIG_IsOK(res2
)) {
24286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24291 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 (arg1
)->SelectObject(*arg2
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_Py_Void();
24305 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
= 0;
24307 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24308 wxBitmap
*arg2
= 0 ;
24313 PyObject
* obj0
= 0 ;
24314 PyObject
* obj1
= 0 ;
24315 char * kwnames
[] = {
24316 (char *) "self",(char *) "bmp", NULL
24319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24321 if (!SWIG_IsOK(res1
)) {
24322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24324 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24326 if (!SWIG_IsOK(res2
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24332 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= SWIG_Py_Void();
24346 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24349 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24350 return SWIG_Py_Void();
24353 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24354 return SWIG_Python_InitShadowInstance(args
);
24357 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24358 PyObject
*resultobj
= 0;
24359 wxDC
*arg1
= (wxDC
*) 0 ;
24360 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24361 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24362 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24363 wxBufferedDC
*result
= 0 ;
24371 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24373 if (!SWIG_IsOK(res1
)) {
24374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24378 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24379 if (!SWIG_IsOK(res2
)) {
24380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24385 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24388 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24389 if (!SWIG_IsOK(ecode3
)) {
24390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24392 arg3
= static_cast< int >(val3
);
24395 if (!wxPyCheckForApp()) SWIG_fail
;
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24408 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24409 PyObject
*resultobj
= 0;
24410 wxDC
*arg1
= (wxDC
*) 0 ;
24412 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24413 wxBufferedDC
*result
= 0 ;
24420 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24422 if (!SWIG_IsOK(res1
)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24428 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24431 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24432 if (!SWIG_IsOK(ecode3
)) {
24433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24435 arg3
= static_cast< int >(val3
);
24438 if (!wxPyCheckForApp()) SWIG_fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24451 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24455 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24457 if ((argc
>= 1) && (argc
<= 3)) {
24462 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24463 _v
= SWIG_CheckState(res
);
24465 if (!_v
) goto check_1
;
24467 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24471 if ((argc
>= 2) && (argc
<= 3)) {
24472 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24476 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24481 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24482 PyObject
*resultobj
= 0;
24483 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24486 PyObject
*swig_obj
[1] ;
24488 if (!args
) SWIG_fail
;
24489 swig_obj
[0] = args
;
24490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24491 if (!SWIG_IsOK(res1
)) {
24492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24494 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= SWIG_Py_Void();
24509 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24510 PyObject
*resultobj
= 0;
24511 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24514 PyObject
*swig_obj
[1] ;
24516 if (!args
) SWIG_fail
;
24517 swig_obj
[0] = args
;
24518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24519 if (!SWIG_IsOK(res1
)) {
24520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24522 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 resultobj
= SWIG_Py_Void();
24536 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
= 0;
24538 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char * kwnames
[] = {
24547 (char *) "self",(char *) "style", NULL
24550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24552 if (!SWIG_IsOK(res1
)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24555 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24557 if (!SWIG_IsOK(ecode2
)) {
24558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24560 arg2
= static_cast< int >(val2
);
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 (arg1
)->SetStyle(arg2
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= SWIG_Py_Void();
24574 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24575 PyObject
*resultobj
= 0;
24576 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24580 PyObject
*swig_obj
[1] ;
24582 if (!args
) SWIG_fail
;
24583 swig_obj
[0] = args
;
24584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24585 if (!SWIG_IsOK(res1
)) {
24586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24588 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= SWIG_From_int(static_cast< int >(result
));
24602 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24605 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24606 return SWIG_Py_Void();
24609 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24610 return SWIG_Python_InitShadowInstance(args
);
24613 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
= 0;
24615 wxWindow
*arg1
= (wxWindow
*) 0 ;
24616 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24617 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24618 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24619 wxBufferedPaintDC
*result
= 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 PyObject
* obj2
= 0 ;
24629 char * kwnames
[] = {
24630 (char *) "window",(char *) "buffer",(char *) "style", NULL
24633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24635 if (!SWIG_IsOK(res1
)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24638 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24641 if (!SWIG_IsOK(res2
)) {
24642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24647 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24651 if (!SWIG_IsOK(ecode3
)) {
24652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24654 arg3
= static_cast< int >(val3
);
24657 if (!wxPyCheckForApp()) SWIG_fail
;
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24670 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24673 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24674 return SWIG_Py_Void();
24677 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24678 return SWIG_Python_InitShadowInstance(args
);
24681 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
= 0;
24683 wxWindow
*arg1
= (wxWindow
*) 0 ;
24684 wxAutoBufferedPaintDC
*result
= 0 ;
24687 PyObject
* obj0
= 0 ;
24688 char * kwnames
[] = {
24689 (char *) "win", NULL
24692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24694 if (!SWIG_IsOK(res1
)) {
24695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24697 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24711 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24713 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24714 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24715 return SWIG_Py_Void();
24718 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24719 return SWIG_Python_InitShadowInstance(args
);
24722 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
= 0;
24724 wxWindow
*arg1
= (wxWindow
*) 0 ;
24728 PyObject
* obj0
= 0 ;
24729 char * kwnames
[] = {
24730 (char *) "window", NULL
24733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24735 if (!SWIG_IsOK(res1
)) {
24736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24738 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24746 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24754 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
= 0;
24758 wxMirrorDC
*result
= 0 ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 char * kwnames
[] = {
24766 (char *) "dc",(char *) "mirror", NULL
24769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24770 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24771 if (!SWIG_IsOK(res1
)) {
24772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24779 if (!SWIG_IsOK(ecode2
)) {
24780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24782 arg2
= static_cast< bool >(val2
);
24784 if (!wxPyCheckForApp()) SWIG_fail
;
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24797 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24800 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24801 return SWIG_Py_Void();
24804 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24805 return SWIG_Python_InitShadowInstance(args
);
24808 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24809 PyObject
*resultobj
= 0;
24810 wxPrintData
*arg1
= 0 ;
24811 wxPostScriptDC
*result
= 0 ;
24814 PyObject
* obj0
= 0 ;
24815 char * kwnames
[] = {
24816 (char *) "printData", NULL
24819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24820 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24827 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24829 if (!wxPyCheckForApp()) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24842 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24843 PyObject
*resultobj
= 0;
24844 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24845 wxPrintData
*result
= 0 ;
24848 PyObject
*swig_obj
[1] ;
24850 if (!args
) SWIG_fail
;
24851 swig_obj
[0] = args
;
24852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24853 if (!SWIG_IsOK(res1
)) {
24854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24856 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24861 result
= (wxPrintData
*) &_result_ref
;
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24873 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24874 PyObject
*resultobj
= 0;
24875 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24876 wxPrintData
*arg2
= 0 ;
24881 PyObject
* obj0
= 0 ;
24882 PyObject
* obj1
= 0 ;
24883 char * kwnames
[] = {
24884 (char *) "self",(char *) "data", NULL
24887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24889 if (!SWIG_IsOK(res1
)) {
24890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24892 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24894 if (!SWIG_IsOK(res2
)) {
24895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24900 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 resultobj
= SWIG_Py_Void();
24914 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
= 0;
24919 PyObject
* obj0
= 0 ;
24920 char * kwnames
[] = {
24921 (char *) "ppi", NULL
24924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24925 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24926 if (!SWIG_IsOK(ecode1
)) {
24927 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24929 arg1
= static_cast< int >(val1
);
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 wxPostScriptDC::SetResolution(arg1
);
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= SWIG_Py_Void();
24943 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24944 PyObject
*resultobj
= 0;
24947 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 result
= (int)wxPostScriptDC::GetResolution();
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= SWIG_From_int(static_cast< int >(result
));
24961 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24964 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24965 return SWIG_Py_Void();
24968 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24969 return SWIG_Python_InitShadowInstance(args
);
24972 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
= 0;
24974 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24975 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24976 wxMetaFile
*result
= 0 ;
24977 bool temp1
= false ;
24978 PyObject
* obj0
= 0 ;
24979 char * kwnames
[] = {
24980 (char *) "filename", NULL
24983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24986 arg1
= wxString_in_helper(obj0
);
24987 if (arg1
== NULL
) SWIG_fail
;
24992 if (!wxPyCheckForApp()) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25013 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25016 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25017 return SWIG_Py_Void();
25020 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25021 return SWIG_Python_InitShadowInstance(args
);
25024 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
= 0;
25026 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25027 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25028 int arg2
= (int) 0 ;
25029 int arg3
= (int) 0 ;
25030 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25031 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25032 wxMetaFileDC
*result
= 0 ;
25033 bool temp1
= false ;
25038 bool temp4
= false ;
25039 PyObject
* obj0
= 0 ;
25040 PyObject
* obj1
= 0 ;
25041 PyObject
* obj2
= 0 ;
25042 PyObject
* obj3
= 0 ;
25043 char * kwnames
[] = {
25044 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25050 arg1
= wxString_in_helper(obj0
);
25051 if (arg1
== NULL
) SWIG_fail
;
25056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25057 if (!SWIG_IsOK(ecode2
)) {
25058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25060 arg2
= static_cast< int >(val2
);
25063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25064 if (!SWIG_IsOK(ecode3
)) {
25065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25067 arg3
= static_cast< int >(val3
);
25071 arg4
= wxString_in_helper(obj3
);
25072 if (arg4
== NULL
) SWIG_fail
;
25077 if (!wxPyCheckForApp()) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25106 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25109 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25110 return SWIG_Py_Void();
25113 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25114 return SWIG_Python_InitShadowInstance(args
);
25117 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25118 PyObject
*resultobj
= 0;
25119 wxPrintData
*arg1
= 0 ;
25120 wxPrinterDC
*result
= 0 ;
25123 PyObject
* obj0
= 0 ;
25124 char * kwnames
[] = {
25125 (char *) "printData", NULL
25128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25129 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25130 if (!SWIG_IsOK(res1
)) {
25131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25136 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25138 if (!wxPyCheckForApp()) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25151 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25154 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25155 return SWIG_Py_Void();
25158 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25159 return SWIG_Python_InitShadowInstance(args
);
25162 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
= 0;
25164 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25165 wxGraphicsObject
*result
= 0 ;
25168 PyObject
* obj0
= 0 ;
25169 char * kwnames
[] = {
25170 (char *) "renderer", NULL
25173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25176 if (!SWIG_IsOK(res1
)) {
25177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25179 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25182 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25192 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25193 PyObject
*resultobj
= 0;
25194 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25197 PyObject
*swig_obj
[1] ;
25199 if (!args
) SWIG_fail
;
25200 swig_obj
[0] = args
;
25201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25202 if (!SWIG_IsOK(res1
)) {
25203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25205 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25211 resultobj
= SWIG_Py_Void();
25218 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25219 PyObject
*resultobj
= 0;
25220 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25224 PyObject
*swig_obj
[1] ;
25226 if (!args
) SWIG_fail
;
25227 swig_obj
[0] = args
;
25228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25229 if (!SWIG_IsOK(res1
)) {
25230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25232 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25234 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25235 if (PyErr_Occurred()) SWIG_fail
;
25238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25246 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25247 PyObject
*resultobj
= 0;
25248 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25249 wxGraphicsRenderer
*result
= 0 ;
25252 PyObject
*swig_obj
[1] ;
25254 if (!args
) SWIG_fail
;
25255 swig_obj
[0] = args
;
25256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25257 if (!SWIG_IsOK(res1
)) {
25258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25260 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25262 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25272 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25275 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25276 return SWIG_Py_Void();
25279 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25280 return SWIG_Python_InitShadowInstance(args
);
25283 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25284 PyObject
*resultobj
= 0;
25285 wxGraphicsPen
*result
= 0 ;
25287 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25289 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25299 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25300 PyObject
*resultobj
= 0;
25301 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25304 PyObject
*swig_obj
[1] ;
25306 if (!args
) SWIG_fail
;
25307 swig_obj
[0] = args
;
25308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25309 if (!SWIG_IsOK(res1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25312 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25318 resultobj
= SWIG_Py_Void();
25325 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25328 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25329 return SWIG_Py_Void();
25332 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25333 return SWIG_Python_InitShadowInstance(args
);
25336 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25337 PyObject
*resultobj
= 0;
25338 wxGraphicsBrush
*result
= 0 ;
25340 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25342 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25343 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25352 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25353 PyObject
*resultobj
= 0;
25354 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25357 PyObject
*swig_obj
[1] ;
25359 if (!args
) SWIG_fail
;
25360 swig_obj
[0] = args
;
25361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25365 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 resultobj
= SWIG_Py_Void();
25378 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25381 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25382 return SWIG_Py_Void();
25385 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25386 return SWIG_Python_InitShadowInstance(args
);
25389 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25390 PyObject
*resultobj
= 0;
25391 wxGraphicsFont
*result
= 0 ;
25393 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25395 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25396 if (PyErr_Occurred()) SWIG_fail
;
25398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25405 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25406 PyObject
*resultobj
= 0;
25407 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25410 PyObject
*swig_obj
[1] ;
25412 if (!args
) SWIG_fail
;
25413 swig_obj
[0] = args
;
25414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25415 if (!SWIG_IsOK(res1
)) {
25416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25418 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_Py_Void();
25431 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25434 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25435 return SWIG_Py_Void();
25438 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25439 return SWIG_Python_InitShadowInstance(args
);
25442 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25443 PyObject
*resultobj
= 0;
25444 wxGraphicsMatrix
*result
= 0 ;
25446 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25448 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25458 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25459 PyObject
*resultobj
= 0;
25460 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25463 PyObject
*swig_obj
[1] ;
25465 if (!args
) SWIG_fail
;
25466 swig_obj
[0] = args
;
25467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25468 if (!SWIG_IsOK(res1
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25471 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25475 if (PyErr_Occurred()) SWIG_fail
;
25477 resultobj
= SWIG_Py_Void();
25484 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
= 0;
25486 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25487 wxGraphicsMatrix
*arg2
= 0 ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 char * kwnames
[] = {
25495 (char *) "self",(char *) "t", NULL
25498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25500 if (!SWIG_IsOK(res1
)) {
25501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25503 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25505 if (!SWIG_IsOK(res2
)) {
25506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25511 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25513 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= SWIG_Py_Void();
25523 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
= 0;
25525 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25526 wxDouble arg2
= (wxDouble
) 1.0 ;
25527 wxDouble arg3
= (wxDouble
) 0.0 ;
25528 wxDouble arg4
= (wxDouble
) 0.0 ;
25529 wxDouble arg5
= (wxDouble
) 1.0 ;
25530 wxDouble arg6
= (wxDouble
) 0.0 ;
25531 wxDouble arg7
= (wxDouble
) 0.0 ;
25546 PyObject
* obj0
= 0 ;
25547 PyObject
* obj1
= 0 ;
25548 PyObject
* obj2
= 0 ;
25549 PyObject
* obj3
= 0 ;
25550 PyObject
* obj4
= 0 ;
25551 PyObject
* obj5
= 0 ;
25552 PyObject
* obj6
= 0 ;
25553 char * kwnames
[] = {
25554 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25559 if (!SWIG_IsOK(res1
)) {
25560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25562 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25564 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25565 if (!SWIG_IsOK(ecode2
)) {
25566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25568 arg2
= static_cast< wxDouble
>(val2
);
25571 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25572 if (!SWIG_IsOK(ecode3
)) {
25573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25575 arg3
= static_cast< wxDouble
>(val3
);
25578 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25579 if (!SWIG_IsOK(ecode4
)) {
25580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25582 arg4
= static_cast< wxDouble
>(val4
);
25585 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25586 if (!SWIG_IsOK(ecode5
)) {
25587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25589 arg5
= static_cast< wxDouble
>(val5
);
25592 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25593 if (!SWIG_IsOK(ecode6
)) {
25594 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25596 arg6
= static_cast< wxDouble
>(val6
);
25599 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25600 if (!SWIG_IsOK(ecode7
)) {
25601 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25603 arg7
= static_cast< wxDouble
>(val7
);
25606 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 resultobj
= SWIG_Py_Void();
25616 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25617 PyObject
*resultobj
= 0;
25618 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25621 PyObject
*swig_obj
[1] ;
25623 if (!args
) SWIG_fail
;
25624 swig_obj
[0] = args
;
25625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25626 if (!SWIG_IsOK(res1
)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25629 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25634 resultobj
= SWIG_Py_Void();
25641 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25642 PyObject
*resultobj
= 0;
25643 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25644 wxGraphicsMatrix
*arg2
= 0 ;
25650 PyObject
* obj0
= 0 ;
25651 PyObject
* obj1
= 0 ;
25652 char * kwnames
[] = {
25653 (char *) "self",(char *) "t", NULL
25656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25658 if (!SWIG_IsOK(res1
)) {
25659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25661 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25663 if (!SWIG_IsOK(res2
)) {
25664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25669 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25671 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25683 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25684 PyObject
*resultobj
= 0;
25685 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25689 PyObject
*swig_obj
[1] ;
25691 if (!args
) SWIG_fail
;
25692 swig_obj
[0] = args
;
25693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25694 if (!SWIG_IsOK(res1
)) {
25695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25697 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25699 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25700 if (PyErr_Occurred()) SWIG_fail
;
25703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25711 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
= 0;
25713 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25722 PyObject
* obj0
= 0 ;
25723 PyObject
* obj1
= 0 ;
25724 PyObject
* obj2
= 0 ;
25725 char * kwnames
[] = {
25726 (char *) "self",(char *) "dx",(char *) "dy", NULL
25729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25731 if (!SWIG_IsOK(res1
)) {
25732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25734 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25735 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25736 if (!SWIG_IsOK(ecode2
)) {
25737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25739 arg2
= static_cast< wxDouble
>(val2
);
25740 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25741 if (!SWIG_IsOK(ecode3
)) {
25742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25744 arg3
= static_cast< wxDouble
>(val3
);
25746 (arg1
)->Translate(arg2
,arg3
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= SWIG_Py_Void();
25756 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25757 PyObject
*resultobj
= 0;
25758 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25767 PyObject
* obj0
= 0 ;
25768 PyObject
* obj1
= 0 ;
25769 PyObject
* obj2
= 0 ;
25770 char * kwnames
[] = {
25771 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25776 if (!SWIG_IsOK(res1
)) {
25777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25779 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25780 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25781 if (!SWIG_IsOK(ecode2
)) {
25782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25784 arg2
= static_cast< wxDouble
>(val2
);
25785 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25786 if (!SWIG_IsOK(ecode3
)) {
25787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25789 arg3
= static_cast< wxDouble
>(val3
);
25791 (arg1
)->Scale(arg2
,arg3
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= SWIG_Py_Void();
25801 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
= 0;
25803 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 char * kwnames
[] = {
25812 (char *) "self",(char *) "angle", NULL
25815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25817 if (!SWIG_IsOK(res1
)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25820 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25821 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25822 if (!SWIG_IsOK(ecode2
)) {
25823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25825 arg2
= static_cast< wxDouble
>(val2
);
25827 (arg1
)->Rotate(arg2
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 resultobj
= SWIG_Py_Void();
25837 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
= 0;
25839 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25840 wxDouble
*arg2
= (wxDouble
*) 0 ;
25841 wxDouble
*arg3
= (wxDouble
*) 0 ;
25848 PyObject
* obj0
= 0 ;
25849 PyObject
* obj1
= 0 ;
25850 PyObject
* obj2
= 0 ;
25851 char * kwnames
[] = {
25852 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25857 if (!SWIG_IsOK(res1
)) {
25858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25860 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25861 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25863 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25864 if (!SWIG_IsOK(ecode
)) {
25865 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25867 temp2
= static_cast< wxDouble
>(val
);
25869 res2
= SWIG_AddTmpMask(ecode
);
25871 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25873 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25874 if (!SWIG_IsOK(ecode
)) {
25875 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25877 temp3
= static_cast< wxDouble
>(val
);
25879 res3
= SWIG_AddTmpMask(ecode
);
25882 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 resultobj
= SWIG_Py_Void();
25886 if (SWIG_IsTmpObj(res2
)) {
25887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25889 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25892 if (SWIG_IsTmpObj(res3
)) {
25893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25895 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25904 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25905 PyObject
*resultobj
= 0;
25906 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25907 wxDouble
*arg2
= (wxDouble
*) 0 ;
25908 wxDouble
*arg3
= (wxDouble
*) 0 ;
25915 PyObject
* obj0
= 0 ;
25916 PyObject
* obj1
= 0 ;
25917 PyObject
* obj2
= 0 ;
25918 char * kwnames
[] = {
25919 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25924 if (!SWIG_IsOK(res1
)) {
25925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25927 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25928 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25930 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25931 if (!SWIG_IsOK(ecode
)) {
25932 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
25934 temp2
= static_cast< wxDouble
>(val
);
25936 res2
= SWIG_AddTmpMask(ecode
);
25938 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25940 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25941 if (!SWIG_IsOK(ecode
)) {
25942 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
25944 temp3
= static_cast< wxDouble
>(val
);
25946 res3
= SWIG_AddTmpMask(ecode
);
25949 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= SWIG_Py_Void();
25953 if (SWIG_IsTmpObj(res2
)) {
25954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25956 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25959 if (SWIG_IsTmpObj(res3
)) {
25960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25962 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25971 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25972 PyObject
*resultobj
= 0;
25973 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25977 PyObject
*swig_obj
[1] ;
25979 if (!args
) SWIG_fail
;
25980 swig_obj
[0] = args
;
25981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25982 if (!SWIG_IsOK(res1
)) {
25983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25985 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25987 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
25988 if (PyErr_Occurred()) SWIG_fail
;
25990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25997 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26000 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26001 return SWIG_Py_Void();
26004 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26005 return SWIG_Python_InitShadowInstance(args
);
26008 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26009 PyObject
*resultobj
= 0;
26010 wxGraphicsPath
*result
= 0 ;
26012 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26014 if (!wxPyCheckForApp()) SWIG_fail
;
26015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26016 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26017 wxPyEndAllowThreads(__tstate
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26027 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26028 PyObject
*resultobj
= 0;
26029 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26032 PyObject
*swig_obj
[1] ;
26034 if (!args
) SWIG_fail
;
26035 swig_obj
[0] = args
;
26036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26037 if (!SWIG_IsOK(res1
)) {
26038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26040 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= SWIG_Py_Void();
26053 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26054 PyObject
*resultobj
= 0;
26055 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26065 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26067 if (!SWIG_IsOK(res1
)) {
26068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26070 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26071 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26072 if (!SWIG_IsOK(ecode2
)) {
26073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26075 arg2
= static_cast< wxDouble
>(val2
);
26076 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26077 if (!SWIG_IsOK(ecode3
)) {
26078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26080 arg3
= static_cast< wxDouble
>(val3
);
26082 (arg1
)->MoveToPoint(arg2
,arg3
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_Py_Void();
26092 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26093 PyObject
*resultobj
= 0;
26094 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26095 wxPoint2D
*arg2
= 0 ;
26100 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26102 if (!SWIG_IsOK(res1
)) {
26103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26105 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26108 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26111 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26114 resultobj
= SWIG_Py_Void();
26121 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26125 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26128 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26131 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26135 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26140 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26141 PyObject
*resultobj
= 0;
26142 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26152 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26154 if (!SWIG_IsOK(res1
)) {
26155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26157 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26158 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26159 if (!SWIG_IsOK(ecode2
)) {
26160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26162 arg2
= static_cast< wxDouble
>(val2
);
26163 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26164 if (!SWIG_IsOK(ecode3
)) {
26165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26167 arg3
= static_cast< wxDouble
>(val3
);
26169 (arg1
)->AddLineToPoint(arg2
,arg3
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26172 resultobj
= SWIG_Py_Void();
26179 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26180 PyObject
*resultobj
= 0;
26181 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26182 wxPoint2D
*arg2
= 0 ;
26187 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26189 if (!SWIG_IsOK(res1
)) {
26190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26192 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26195 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26198 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= SWIG_Py_Void();
26208 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26212 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26215 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26218 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26222 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26227 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26228 PyObject
*resultobj
= 0;
26229 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26251 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26256 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26257 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26258 if (!SWIG_IsOK(ecode2
)) {
26259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26261 arg2
= static_cast< wxDouble
>(val2
);
26262 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26263 if (!SWIG_IsOK(ecode3
)) {
26264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26266 arg3
= static_cast< wxDouble
>(val3
);
26267 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26268 if (!SWIG_IsOK(ecode4
)) {
26269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26271 arg4
= static_cast< wxDouble
>(val4
);
26272 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26273 if (!SWIG_IsOK(ecode5
)) {
26274 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26276 arg5
= static_cast< wxDouble
>(val5
);
26277 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26278 if (!SWIG_IsOK(ecode6
)) {
26279 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26281 arg6
= static_cast< wxDouble
>(val6
);
26282 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26283 if (!SWIG_IsOK(ecode7
)) {
26284 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26286 arg7
= static_cast< wxDouble
>(val7
);
26288 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_Py_Void();
26298 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26299 PyObject
*resultobj
= 0;
26300 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26301 wxPoint2D
*arg2
= 0 ;
26302 wxPoint2D
*arg3
= 0 ;
26303 wxPoint2D
*arg4
= 0 ;
26310 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26312 if (!SWIG_IsOK(res1
)) {
26313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26315 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26318 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26322 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26326 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26329 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= SWIG_Py_Void();
26339 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26343 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26346 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26349 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26353 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26358 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26359 PyObject
*resultobj
= 0;
26360 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26361 wxGraphicsPath
*arg2
= 0 ;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj1
= 0 ;
26368 char * kwnames
[] = {
26369 (char *) "self",(char *) "path", NULL
26372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26374 if (!SWIG_IsOK(res1
)) {
26375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26377 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26379 if (!SWIG_IsOK(res2
)) {
26380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26385 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26387 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 resultobj
= SWIG_Py_Void();
26397 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26398 PyObject
*resultobj
= 0;
26399 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26402 PyObject
*swig_obj
[1] ;
26404 if (!args
) SWIG_fail
;
26405 swig_obj
[0] = args
;
26406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26407 if (!SWIG_IsOK(res1
)) {
26408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26410 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26412 (arg1
)->CloseSubpath();
26413 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= SWIG_Py_Void();
26422 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26423 PyObject
*resultobj
= 0;
26424 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26428 PyObject
*swig_obj
[1] ;
26430 if (!args
) SWIG_fail
;
26431 swig_obj
[0] = args
;
26432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26433 if (!SWIG_IsOK(res1
)) {
26434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26436 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26438 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26448 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26449 PyObject
*resultobj
= 0;
26450 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26472 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26474 if (!SWIG_IsOK(res1
)) {
26475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26477 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26478 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26479 if (!SWIG_IsOK(ecode2
)) {
26480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26482 arg2
= static_cast< wxDouble
>(val2
);
26483 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26484 if (!SWIG_IsOK(ecode3
)) {
26485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26487 arg3
= static_cast< wxDouble
>(val3
);
26488 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26489 if (!SWIG_IsOK(ecode4
)) {
26490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26492 arg4
= static_cast< wxDouble
>(val4
);
26493 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26494 if (!SWIG_IsOK(ecode5
)) {
26495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26497 arg5
= static_cast< wxDouble
>(val5
);
26498 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26499 if (!SWIG_IsOK(ecode6
)) {
26500 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26502 arg6
= static_cast< wxDouble
>(val6
);
26503 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26504 if (!SWIG_IsOK(ecode7
)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26507 arg7
= static_cast< bool >(val7
);
26509 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_Py_Void();
26519 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26520 PyObject
*resultobj
= 0;
26521 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26522 wxPoint2D
*arg2
= 0 ;
26539 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26544 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26547 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26549 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26550 if (!SWIG_IsOK(ecode3
)) {
26551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26553 arg3
= static_cast< wxDouble
>(val3
);
26554 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26555 if (!SWIG_IsOK(ecode4
)) {
26556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26558 arg4
= static_cast< wxDouble
>(val4
);
26559 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26560 if (!SWIG_IsOK(ecode5
)) {
26561 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26563 arg5
= static_cast< wxDouble
>(val5
);
26564 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26565 if (!SWIG_IsOK(ecode6
)) {
26566 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26568 arg6
= static_cast< bool >(val6
);
26570 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26573 resultobj
= SWIG_Py_Void();
26580 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26584 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26587 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26590 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26594 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26599 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
= 0;
26601 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26616 PyObject
* obj0
= 0 ;
26617 PyObject
* obj1
= 0 ;
26618 PyObject
* obj2
= 0 ;
26619 PyObject
* obj3
= 0 ;
26620 PyObject
* obj4
= 0 ;
26621 char * kwnames
[] = {
26622 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26627 if (!SWIG_IsOK(res1
)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26630 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26631 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26632 if (!SWIG_IsOK(ecode2
)) {
26633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26635 arg2
= static_cast< wxDouble
>(val2
);
26636 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26637 if (!SWIG_IsOK(ecode3
)) {
26638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26640 arg3
= static_cast< wxDouble
>(val3
);
26641 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26642 if (!SWIG_IsOK(ecode4
)) {
26643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26645 arg4
= static_cast< wxDouble
>(val4
);
26646 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26647 if (!SWIG_IsOK(ecode5
)) {
26648 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26650 arg5
= static_cast< wxDouble
>(val5
);
26652 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= SWIG_Py_Void();
26662 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26663 PyObject
*resultobj
= 0;
26664 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 PyObject
* obj2
= 0 ;
26682 PyObject
* obj3
= 0 ;
26683 PyObject
* obj4
= 0 ;
26684 char * kwnames
[] = {
26685 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26690 if (!SWIG_IsOK(res1
)) {
26691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26693 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26694 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26695 if (!SWIG_IsOK(ecode2
)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26698 arg2
= static_cast< wxDouble
>(val2
);
26699 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26700 if (!SWIG_IsOK(ecode3
)) {
26701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26703 arg3
= static_cast< wxDouble
>(val3
);
26704 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26705 if (!SWIG_IsOK(ecode4
)) {
26706 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26708 arg4
= static_cast< wxDouble
>(val4
);
26709 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26710 if (!SWIG_IsOK(ecode5
)) {
26711 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26713 arg5
= static_cast< wxDouble
>(val5
);
26715 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 resultobj
= SWIG_Py_Void();
26725 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
= 0;
26727 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 PyObject
* obj1
= 0 ;
26741 PyObject
* obj2
= 0 ;
26742 PyObject
* obj3
= 0 ;
26743 char * kwnames
[] = {
26744 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26749 if (!SWIG_IsOK(res1
)) {
26750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26752 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26753 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26754 if (!SWIG_IsOK(ecode2
)) {
26755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26757 arg2
= static_cast< wxDouble
>(val2
);
26758 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26759 if (!SWIG_IsOK(ecode3
)) {
26760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26762 arg3
= static_cast< wxDouble
>(val3
);
26763 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26764 if (!SWIG_IsOK(ecode4
)) {
26765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26767 arg4
= static_cast< wxDouble
>(val4
);
26769 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= SWIG_Py_Void();
26779 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
= 0;
26781 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 PyObject
* obj2
= 0 ;
26802 PyObject
* obj3
= 0 ;
26803 PyObject
* obj4
= 0 ;
26804 PyObject
* obj5
= 0 ;
26805 char * kwnames
[] = {
26806 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26811 if (!SWIG_IsOK(res1
)) {
26812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26814 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26815 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26816 if (!SWIG_IsOK(ecode2
)) {
26817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26819 arg2
= static_cast< wxDouble
>(val2
);
26820 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26821 if (!SWIG_IsOK(ecode3
)) {
26822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26824 arg3
= static_cast< wxDouble
>(val3
);
26825 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26826 if (!SWIG_IsOK(ecode4
)) {
26827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26829 arg4
= static_cast< wxDouble
>(val4
);
26830 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26831 if (!SWIG_IsOK(ecode5
)) {
26832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26834 arg5
= static_cast< wxDouble
>(val5
);
26835 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26836 if (!SWIG_IsOK(ecode6
)) {
26837 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26839 arg6
= static_cast< wxDouble
>(val6
);
26841 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26844 resultobj
= SWIG_Py_Void();
26851 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
= 0;
26853 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 PyObject
* obj2
= 0 ;
26871 PyObject
* obj3
= 0 ;
26872 PyObject
* obj4
= 0 ;
26873 char * kwnames
[] = {
26874 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26879 if (!SWIG_IsOK(res1
)) {
26880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26882 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26883 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26884 if (!SWIG_IsOK(ecode2
)) {
26885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26887 arg2
= static_cast< wxDouble
>(val2
);
26888 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26889 if (!SWIG_IsOK(ecode3
)) {
26890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26892 arg3
= static_cast< wxDouble
>(val3
);
26893 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26894 if (!SWIG_IsOK(ecode4
)) {
26895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26897 arg4
= static_cast< wxDouble
>(val4
);
26898 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26899 if (!SWIG_IsOK(ecode5
)) {
26900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26902 arg5
= static_cast< wxDouble
>(val5
);
26904 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26907 resultobj
= SWIG_Py_Void();
26914 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
= 0;
26916 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26934 PyObject
* obj0
= 0 ;
26935 PyObject
* obj1
= 0 ;
26936 PyObject
* obj2
= 0 ;
26937 PyObject
* obj3
= 0 ;
26938 PyObject
* obj4
= 0 ;
26939 PyObject
* obj5
= 0 ;
26940 char * kwnames
[] = {
26941 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26946 if (!SWIG_IsOK(res1
)) {
26947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26949 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26950 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26951 if (!SWIG_IsOK(ecode2
)) {
26952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26954 arg2
= static_cast< wxDouble
>(val2
);
26955 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26956 if (!SWIG_IsOK(ecode3
)) {
26957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26959 arg3
= static_cast< wxDouble
>(val3
);
26960 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26961 if (!SWIG_IsOK(ecode4
)) {
26962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26964 arg4
= static_cast< wxDouble
>(val4
);
26965 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26966 if (!SWIG_IsOK(ecode5
)) {
26967 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26969 arg5
= static_cast< wxDouble
>(val5
);
26970 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26971 if (!SWIG_IsOK(ecode6
)) {
26972 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26974 arg6
= static_cast< wxDouble
>(val6
);
26976 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26979 resultobj
= SWIG_Py_Void();
26986 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26987 PyObject
*resultobj
= 0;
26988 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26992 PyObject
*swig_obj
[1] ;
26994 if (!args
) SWIG_fail
;
26995 swig_obj
[0] = args
;
26996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26997 if (!SWIG_IsOK(res1
)) {
26998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27000 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27002 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27003 if (PyErr_Occurred()) SWIG_fail
;
27005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27012 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
= 0;
27014 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27015 void *arg2
= (void *) 0 ;
27019 PyObject
* obj0
= 0 ;
27020 PyObject
* obj1
= 0 ;
27021 char * kwnames
[] = {
27022 (char *) "self",(char *) "p", NULL
27025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27027 if (!SWIG_IsOK(res1
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27030 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27031 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27032 if (!SWIG_IsOK(res2
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27036 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27037 if (PyErr_Occurred()) SWIG_fail
;
27039 resultobj
= SWIG_Py_Void();
27046 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27047 PyObject
*resultobj
= 0;
27048 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27049 wxGraphicsMatrix
*arg2
= 0 ;
27054 PyObject
* obj0
= 0 ;
27055 PyObject
* obj1
= 0 ;
27056 char * kwnames
[] = {
27057 (char *) "self",(char *) "matrix", NULL
27060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27062 if (!SWIG_IsOK(res1
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27065 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27067 if (!SWIG_IsOK(res2
)) {
27068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27073 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27075 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= SWIG_Py_Void();
27085 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27086 PyObject
*resultobj
= 0;
27087 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27088 wxRect2DDouble result
;
27091 PyObject
*swig_obj
[1] ;
27093 if (!args
) SWIG_fail
;
27094 swig_obj
[0] = args
;
27095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27096 if (!SWIG_IsOK(res1
)) {
27097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27099 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27101 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27111 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27112 PyObject
*resultobj
= 0;
27113 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27116 int arg4
= (int) wxODDEVEN_RULE
;
27127 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27129 if (!SWIG_IsOK(res1
)) {
27130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27132 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27133 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27134 if (!SWIG_IsOK(ecode2
)) {
27135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27137 arg2
= static_cast< wxDouble
>(val2
);
27138 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27139 if (!SWIG_IsOK(ecode3
)) {
27140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27142 arg3
= static_cast< wxDouble
>(val3
);
27144 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27145 if (!SWIG_IsOK(ecode4
)) {
27146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27148 arg4
= static_cast< int >(val4
);
27151 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27163 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27164 PyObject
*resultobj
= 0;
27165 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27166 wxPoint2DDouble
*arg2
= 0 ;
27167 int arg3
= (int) wxODDEVEN_RULE
;
27176 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27178 if (!SWIG_IsOK(res1
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27181 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27182 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27183 if (!SWIG_IsOK(res2
)) {
27184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27189 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27191 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27192 if (!SWIG_IsOK(ecode3
)) {
27193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27195 arg3
= static_cast< int >(val3
);
27198 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27210 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27214 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27216 if ((argc
>= 2) && (argc
<= 3)) {
27219 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27220 _v
= SWIG_CheckState(res
);
27222 if (!_v
) goto check_1
;
27226 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27227 _v
= SWIG_CheckState(res
);
27230 if (!_v
) goto check_1
;
27232 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27236 if ((argc
>= 3) && (argc
<= 4)) {
27237 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27241 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27246 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27249 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27250 return SWIG_Py_Void();
27253 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27254 return SWIG_Python_InitShadowInstance(args
);
27257 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27258 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27263 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27264 PyObject
*pyobj
= 0;
27266 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27271 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27272 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27277 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27278 PyObject
*pyobj
= 0;
27280 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27285 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27286 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27291 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27292 PyObject
*pyobj
= 0;
27294 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27299 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27300 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27305 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27306 PyObject
*pyobj
= 0;
27308 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27313 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27314 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27319 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27320 PyObject
*pyobj
= 0;
27322 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27327 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27328 PyObject
*resultobj
= 0;
27329 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27332 PyObject
*swig_obj
[1] ;
27334 if (!args
) SWIG_fail
;
27335 swig_obj
[0] = args
;
27336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27337 if (!SWIG_IsOK(res1
)) {
27338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27340 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_Py_Void();
27353 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27354 PyObject
*resultobj
= 0;
27355 wxWindowDC
*arg1
= 0 ;
27356 wxGraphicsContext
*result
= 0 ;
27360 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27362 if (!SWIG_IsOK(res1
)) {
27363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27368 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27370 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27380 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27381 PyObject
*resultobj
= 0;
27382 wxWindow
*arg1
= (wxWindow
*) 0 ;
27383 wxGraphicsContext
*result
= 0 ;
27387 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27394 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27404 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27408 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27413 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27414 _v
= SWIG_CheckState(res
);
27416 if (!_v
) goto check_1
;
27417 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27422 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27426 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27431 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27432 PyObject
*resultobj
= 0;
27433 wxGraphicsContext
*result
= 0 ;
27435 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27437 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27438 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27447 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
= 0;
27449 void *arg1
= (void *) 0 ;
27450 wxGraphicsContext
*result
= 0 ;
27452 PyObject
* obj0
= 0 ;
27453 char * kwnames
[] = {
27454 (char *) "context", NULL
27457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27458 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27459 if (!SWIG_IsOK(res1
)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27463 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27473 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27474 PyObject
*resultobj
= 0;
27475 void *arg1
= (void *) 0 ;
27476 wxGraphicsContext
*result
= 0 ;
27478 PyObject
* obj0
= 0 ;
27479 char * kwnames
[] = {
27480 (char *) "window", NULL
27483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27484 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27485 if (!SWIG_IsOK(res1
)) {
27486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27489 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27499 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27500 PyObject
*resultobj
= 0;
27501 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27502 wxGraphicsPath result
;
27505 PyObject
*swig_obj
[1] ;
27507 if (!args
) SWIG_fail
;
27508 swig_obj
[0] = args
;
27509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27510 if (!SWIG_IsOK(res1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27513 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27515 result
= (arg1
)->CreatePath();
27516 if (PyErr_Occurred()) SWIG_fail
;
27518 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27525 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27526 PyObject
*resultobj
= 0;
27527 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27529 wxGraphicsPen result
;
27534 PyObject
* obj0
= 0 ;
27535 PyObject
* obj1
= 0 ;
27536 char * kwnames
[] = {
27537 (char *) "self",(char *) "pen", NULL
27540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27542 if (!SWIG_IsOK(res1
)) {
27543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27545 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27547 if (!SWIG_IsOK(res2
)) {
27548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27553 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27555 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27565 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
= 0;
27567 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27568 wxBrush
*arg2
= 0 ;
27569 wxGraphicsBrush result
;
27574 PyObject
* obj0
= 0 ;
27575 PyObject
* obj1
= 0 ;
27576 char * kwnames
[] = {
27577 (char *) "self",(char *) "brush", NULL
27580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27582 if (!SWIG_IsOK(res1
)) {
27583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27585 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27586 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27587 if (!SWIG_IsOK(res2
)) {
27588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27593 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27595 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27598 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27605 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27606 PyObject
*resultobj
= 0;
27607 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27612 wxColour
*arg6
= 0 ;
27613 wxColour
*arg7
= 0 ;
27614 wxGraphicsBrush result
;
27627 PyObject
* obj0
= 0 ;
27628 PyObject
* obj1
= 0 ;
27629 PyObject
* obj2
= 0 ;
27630 PyObject
* obj3
= 0 ;
27631 PyObject
* obj4
= 0 ;
27632 PyObject
* obj5
= 0 ;
27633 PyObject
* obj6
= 0 ;
27634 char * kwnames
[] = {
27635 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27640 if (!SWIG_IsOK(res1
)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27643 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27644 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27645 if (!SWIG_IsOK(ecode2
)) {
27646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27648 arg2
= static_cast< wxDouble
>(val2
);
27649 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27650 if (!SWIG_IsOK(ecode3
)) {
27651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27653 arg3
= static_cast< wxDouble
>(val3
);
27654 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27655 if (!SWIG_IsOK(ecode4
)) {
27656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27658 arg4
= static_cast< wxDouble
>(val4
);
27659 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27660 if (!SWIG_IsOK(ecode5
)) {
27661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27663 arg5
= static_cast< wxDouble
>(val5
);
27666 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27670 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27673 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27683 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
= 0;
27685 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27691 wxColour
*arg7
= 0 ;
27692 wxColour
*arg8
= 0 ;
27693 wxGraphicsBrush result
;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 PyObject
* obj2
= 0 ;
27711 PyObject
* obj3
= 0 ;
27712 PyObject
* obj4
= 0 ;
27713 PyObject
* obj5
= 0 ;
27714 PyObject
* obj6
= 0 ;
27715 PyObject
* obj7
= 0 ;
27716 char * kwnames
[] = {
27717 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27722 if (!SWIG_IsOK(res1
)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27725 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27726 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27727 if (!SWIG_IsOK(ecode2
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27730 arg2
= static_cast< wxDouble
>(val2
);
27731 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27732 if (!SWIG_IsOK(ecode3
)) {
27733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27735 arg3
= static_cast< wxDouble
>(val3
);
27736 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27737 if (!SWIG_IsOK(ecode4
)) {
27738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27740 arg4
= static_cast< wxDouble
>(val4
);
27741 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27742 if (!SWIG_IsOK(ecode5
)) {
27743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27745 arg5
= static_cast< wxDouble
>(val5
);
27746 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27747 if (!SWIG_IsOK(ecode6
)) {
27748 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27750 arg6
= static_cast< wxDouble
>(val6
);
27753 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27757 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27760 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27763 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27770 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27771 PyObject
*resultobj
= 0;
27772 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27774 wxColour
const &arg3_defvalue
= *wxBLACK
;
27775 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27776 wxGraphicsFont result
;
27782 PyObject
* obj0
= 0 ;
27783 PyObject
* obj1
= 0 ;
27784 PyObject
* obj2
= 0 ;
27785 char * kwnames
[] = {
27786 (char *) "self",(char *) "font",(char *) "col", NULL
27789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27791 if (!SWIG_IsOK(res1
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27794 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27796 if (!SWIG_IsOK(res2
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27802 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27806 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27810 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27813 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27820 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27821 PyObject
*resultobj
= 0;
27822 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27823 wxDouble arg2
= (wxDouble
) 1.0 ;
27824 wxDouble arg3
= (wxDouble
) 0.0 ;
27825 wxDouble arg4
= (wxDouble
) 0.0 ;
27826 wxDouble arg5
= (wxDouble
) 1.0 ;
27827 wxDouble arg6
= (wxDouble
) 0.0 ;
27828 wxDouble arg7
= (wxDouble
) 0.0 ;
27829 wxGraphicsMatrix result
;
27844 PyObject
* obj0
= 0 ;
27845 PyObject
* obj1
= 0 ;
27846 PyObject
* obj2
= 0 ;
27847 PyObject
* obj3
= 0 ;
27848 PyObject
* obj4
= 0 ;
27849 PyObject
* obj5
= 0 ;
27850 PyObject
* obj6
= 0 ;
27851 char * kwnames
[] = {
27852 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27857 if (!SWIG_IsOK(res1
)) {
27858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27860 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27862 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27863 if (!SWIG_IsOK(ecode2
)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27866 arg2
= static_cast< wxDouble
>(val2
);
27869 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27870 if (!SWIG_IsOK(ecode3
)) {
27871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27873 arg3
= static_cast< wxDouble
>(val3
);
27876 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27877 if (!SWIG_IsOK(ecode4
)) {
27878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27880 arg4
= static_cast< wxDouble
>(val4
);
27883 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27884 if (!SWIG_IsOK(ecode5
)) {
27885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27887 arg5
= static_cast< wxDouble
>(val5
);
27890 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27891 if (!SWIG_IsOK(ecode6
)) {
27892 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27894 arg6
= static_cast< wxDouble
>(val6
);
27897 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27898 if (!SWIG_IsOK(ecode7
)) {
27899 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27901 arg7
= static_cast< wxDouble
>(val7
);
27904 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27907 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27914 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27915 PyObject
*resultobj
= 0;
27916 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27919 PyObject
*swig_obj
[1] ;
27921 if (!args
) SWIG_fail
;
27922 swig_obj
[0] = args
;
27923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27924 if (!SWIG_IsOK(res1
)) {
27925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27927 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27929 (arg1
)->PushState();
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 resultobj
= SWIG_Py_Void();
27939 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27940 PyObject
*resultobj
= 0;
27941 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27944 PyObject
*swig_obj
[1] ;
27946 if (!args
) SWIG_fail
;
27947 swig_obj
[0] = args
;
27948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27949 if (!SWIG_IsOK(res1
)) {
27950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27952 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27954 (arg1
)->PopState();
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= SWIG_Py_Void();
27964 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
= 0;
27966 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27967 wxRegion
*arg2
= 0 ;
27972 PyObject
* obj0
= 0 ;
27973 PyObject
* obj1
= 0 ;
27974 char * kwnames
[] = {
27975 (char *) "self",(char *) "region", NULL
27978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27980 if (!SWIG_IsOK(res1
)) {
27981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27983 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27984 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
27985 if (!SWIG_IsOK(res2
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
27991 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
27993 (arg1
)->Clip((wxRegion
const &)*arg2
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_Py_Void();
28003 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
= 0;
28005 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28020 PyObject
* obj0
= 0 ;
28021 PyObject
* obj1
= 0 ;
28022 PyObject
* obj2
= 0 ;
28023 PyObject
* obj3
= 0 ;
28024 PyObject
* obj4
= 0 ;
28025 char * kwnames
[] = {
28026 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28031 if (!SWIG_IsOK(res1
)) {
28032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28034 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28035 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28036 if (!SWIG_IsOK(ecode2
)) {
28037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28039 arg2
= static_cast< wxDouble
>(val2
);
28040 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28041 if (!SWIG_IsOK(ecode3
)) {
28042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28044 arg3
= static_cast< wxDouble
>(val3
);
28045 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28046 if (!SWIG_IsOK(ecode4
)) {
28047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28049 arg4
= static_cast< wxDouble
>(val4
);
28050 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28051 if (!SWIG_IsOK(ecode5
)) {
28052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28054 arg5
= static_cast< wxDouble
>(val5
);
28056 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28059 resultobj
= SWIG_Py_Void();
28066 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28067 PyObject
*resultobj
= 0;
28068 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28071 PyObject
*swig_obj
[1] ;
28073 if (!args
) SWIG_fail
;
28074 swig_obj
[0] = args
;
28075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28076 if (!SWIG_IsOK(res1
)) {
28077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28079 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28081 (arg1
)->ResetClip();
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 resultobj
= SWIG_Py_Void();
28091 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28092 PyObject
*resultobj
= 0;
28093 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28097 PyObject
*swig_obj
[1] ;
28099 if (!args
) SWIG_fail
;
28100 swig_obj
[0] = args
;
28101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28102 if (!SWIG_IsOK(res1
)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28105 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28107 result
= (void *)(arg1
)->GetNativeContext();
28108 if (PyErr_Occurred()) SWIG_fail
;
28110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28117 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
= 0;
28119 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 PyObject
* obj1
= 0 ;
28130 PyObject
* obj2
= 0 ;
28131 char * kwnames
[] = {
28132 (char *) "self",(char *) "dx",(char *) "dy", NULL
28135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28137 if (!SWIG_IsOK(res1
)) {
28138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28140 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28141 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28142 if (!SWIG_IsOK(ecode2
)) {
28143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28145 arg2
= static_cast< wxDouble
>(val2
);
28146 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28147 if (!SWIG_IsOK(ecode3
)) {
28148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28150 arg3
= static_cast< wxDouble
>(val3
);
28152 (arg1
)->Translate(arg2
,arg3
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28155 resultobj
= SWIG_Py_Void();
28162 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
= 0;
28164 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28173 PyObject
* obj0
= 0 ;
28174 PyObject
* obj1
= 0 ;
28175 PyObject
* obj2
= 0 ;
28176 char * kwnames
[] = {
28177 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28182 if (!SWIG_IsOK(res1
)) {
28183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28185 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28186 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28187 if (!SWIG_IsOK(ecode2
)) {
28188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28190 arg2
= static_cast< wxDouble
>(val2
);
28191 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28192 if (!SWIG_IsOK(ecode3
)) {
28193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28195 arg3
= static_cast< wxDouble
>(val3
);
28197 (arg1
)->Scale(arg2
,arg3
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= SWIG_Py_Void();
28207 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
= 0;
28209 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28215 PyObject
* obj0
= 0 ;
28216 PyObject
* obj1
= 0 ;
28217 char * kwnames
[] = {
28218 (char *) "self",(char *) "angle", NULL
28221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28223 if (!SWIG_IsOK(res1
)) {
28224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28226 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28227 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28228 if (!SWIG_IsOK(ecode2
)) {
28229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28231 arg2
= static_cast< wxDouble
>(val2
);
28233 (arg1
)->Rotate(arg2
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28236 resultobj
= SWIG_Py_Void();
28243 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28244 PyObject
*resultobj
= 0;
28245 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28246 wxGraphicsMatrix
*arg2
= 0 ;
28251 PyObject
* obj0
= 0 ;
28252 PyObject
* obj1
= 0 ;
28253 char * kwnames
[] = {
28254 (char *) "self",(char *) "matrix", NULL
28257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28259 if (!SWIG_IsOK(res1
)) {
28260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28262 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28264 if (!SWIG_IsOK(res2
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28270 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28272 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= SWIG_Py_Void();
28282 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
= 0;
28284 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28285 wxGraphicsMatrix
*arg2
= 0 ;
28290 PyObject
* obj0
= 0 ;
28291 PyObject
* obj1
= 0 ;
28292 char * kwnames
[] = {
28293 (char *) "self",(char *) "matrix", NULL
28296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28298 if (!SWIG_IsOK(res1
)) {
28299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28301 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28303 if (!SWIG_IsOK(res2
)) {
28304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28309 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28311 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28314 resultobj
= SWIG_Py_Void();
28321 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28322 PyObject
*resultobj
= 0;
28323 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28324 wxGraphicsMatrix result
;
28327 PyObject
*swig_obj
[1] ;
28329 if (!args
) SWIG_fail
;
28330 swig_obj
[0] = args
;
28331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28332 if (!SWIG_IsOK(res1
)) {
28333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28335 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28337 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28347 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28348 PyObject
*resultobj
= 0;
28349 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28350 wxGraphicsPen
*arg2
= 0 ;
28356 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28358 if (!SWIG_IsOK(res1
)) {
28359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28361 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28362 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28363 if (!SWIG_IsOK(res2
)) {
28364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28369 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28371 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_Py_Void();
28381 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28382 PyObject
*resultobj
= 0;
28383 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28390 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28392 if (!SWIG_IsOK(res1
)) {
28393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28395 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28396 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28397 if (!SWIG_IsOK(res2
)) {
28398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28403 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28405 (arg1
)->SetPen((wxPen
const &)*arg2
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 resultobj
= SWIG_Py_Void();
28415 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28419 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28424 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28425 _v
= SWIG_CheckState(res
);
28427 if (!_v
) goto check_1
;
28428 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28433 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28437 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28442 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28443 PyObject
*resultobj
= 0;
28444 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28445 wxGraphicsBrush
*arg2
= 0 ;
28451 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28453 if (!SWIG_IsOK(res1
)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28456 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28457 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28458 if (!SWIG_IsOK(res2
)) {
28459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28464 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28466 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= SWIG_Py_Void();
28476 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28477 PyObject
*resultobj
= 0;
28478 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28479 wxBrush
*arg2
= 0 ;
28485 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28487 if (!SWIG_IsOK(res1
)) {
28488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28490 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28491 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28492 if (!SWIG_IsOK(res2
)) {
28493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28498 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28500 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28503 resultobj
= SWIG_Py_Void();
28510 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28514 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28519 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28520 _v
= SWIG_CheckState(res
);
28522 if (!_v
) goto check_1
;
28523 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28528 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28532 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28537 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28538 PyObject
*resultobj
= 0;
28539 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28540 wxGraphicsFont
*arg2
= 0 ;
28546 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28548 if (!SWIG_IsOK(res1
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28551 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28552 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28553 if (!SWIG_IsOK(res2
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28559 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28561 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28564 resultobj
= SWIG_Py_Void();
28571 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28572 PyObject
*resultobj
= 0;
28573 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28575 wxColour
const &arg3_defvalue
= *wxBLACK
;
28576 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28583 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28585 if (!SWIG_IsOK(res1
)) {
28586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28588 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28589 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28590 if (!SWIG_IsOK(res2
)) {
28591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28596 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28600 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28604 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= SWIG_Py_Void();
28614 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28618 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28623 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28624 _v
= SWIG_CheckState(res
);
28626 if (!_v
) goto check_1
;
28627 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28631 if ((argc
>= 2) && (argc
<= 3)) {
28632 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28636 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28641 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28642 PyObject
*resultobj
= 0;
28643 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28644 wxGraphicsPath
*arg2
= 0 ;
28649 PyObject
* obj0
= 0 ;
28650 PyObject
* obj1
= 0 ;
28651 char * kwnames
[] = {
28652 (char *) "self",(char *) "path", NULL
28655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28657 if (!SWIG_IsOK(res1
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28660 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28662 if (!SWIG_IsOK(res2
)) {
28663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28668 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28670 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28673 resultobj
= SWIG_Py_Void();
28680 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
= 0;
28682 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28683 wxGraphicsPath
*arg2
= 0 ;
28684 int arg3
= (int) wxODDEVEN_RULE
;
28691 PyObject
* obj0
= 0 ;
28692 PyObject
* obj1
= 0 ;
28693 PyObject
* obj2
= 0 ;
28694 char * kwnames
[] = {
28695 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28700 if (!SWIG_IsOK(res1
)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28703 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28705 if (!SWIG_IsOK(res2
)) {
28706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28711 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28714 if (!SWIG_IsOK(ecode3
)) {
28715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28717 arg3
= static_cast< int >(val3
);
28720 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= SWIG_Py_Void();
28730 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28731 PyObject
*resultobj
= 0;
28732 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28733 wxGraphicsPath
*arg2
= 0 ;
28734 int arg3
= (int) wxODDEVEN_RULE
;
28741 PyObject
* obj0
= 0 ;
28742 PyObject
* obj1
= 0 ;
28743 PyObject
* obj2
= 0 ;
28744 char * kwnames
[] = {
28745 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28750 if (!SWIG_IsOK(res1
)) {
28751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28753 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28755 if (!SWIG_IsOK(res2
)) {
28756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28761 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28764 if (!SWIG_IsOK(ecode3
)) {
28765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28767 arg3
= static_cast< int >(val3
);
28770 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 resultobj
= SWIG_Py_Void();
28780 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28781 PyObject
*resultobj
= 0;
28782 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28783 wxString
*arg2
= 0 ;
28786 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
28787 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
28790 bool temp2
= false ;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 PyObject
* obj2
= 0 ;
28800 PyObject
* obj3
= 0 ;
28801 PyObject
* obj4
= 0 ;
28802 char * kwnames
[] = {
28803 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
28806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28808 if (!SWIG_IsOK(res1
)) {
28809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28811 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28813 arg2
= wxString_in_helper(obj1
);
28814 if (arg2
== NULL
) SWIG_fail
;
28817 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28818 if (!SWIG_IsOK(ecode3
)) {
28819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28821 arg3
= static_cast< wxDouble
>(val3
);
28822 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28823 if (!SWIG_IsOK(ecode4
)) {
28824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28826 arg4
= static_cast< wxDouble
>(val4
);
28828 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28829 if (!SWIG_IsOK(res5
)) {
28830 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
28833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
28835 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
28838 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= SWIG_Py_Void();
28856 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28857 PyObject
*resultobj
= 0;
28858 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28859 wxString
*arg2
= 0 ;
28863 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
28864 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
28867 bool temp2
= false ;
28876 PyObject
* obj0
= 0 ;
28877 PyObject
* obj1
= 0 ;
28878 PyObject
* obj2
= 0 ;
28879 PyObject
* obj3
= 0 ;
28880 PyObject
* obj4
= 0 ;
28881 PyObject
* obj5
= 0 ;
28882 char * kwnames
[] = {
28883 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
28886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28888 if (!SWIG_IsOK(res1
)) {
28889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28891 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28893 arg2
= wxString_in_helper(obj1
);
28894 if (arg2
== NULL
) SWIG_fail
;
28897 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28898 if (!SWIG_IsOK(ecode3
)) {
28899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28901 arg3
= static_cast< wxDouble
>(val3
);
28902 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28903 if (!SWIG_IsOK(ecode4
)) {
28904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28906 arg4
= static_cast< wxDouble
>(val4
);
28907 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28908 if (!SWIG_IsOK(ecode5
)) {
28909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28911 arg5
= static_cast< wxDouble
>(val5
);
28913 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28914 if (!SWIG_IsOK(res6
)) {
28915 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
28918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
28920 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
28923 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28926 resultobj
= SWIG_Py_Void();
28941 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
= 0;
28943 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28944 wxString
*arg2
= 0 ;
28945 wxDouble
*arg3
= (wxDouble
*) 0 ;
28946 wxDouble
*arg4
= (wxDouble
*) 0 ;
28947 wxDouble
*arg5
= (wxDouble
*) 0 ;
28948 wxDouble
*arg6
= (wxDouble
*) 0 ;
28951 bool temp2
= false ;
28953 int res3
= SWIG_TMPOBJ
;
28955 int res4
= SWIG_TMPOBJ
;
28957 int res5
= SWIG_TMPOBJ
;
28959 int res6
= SWIG_TMPOBJ
;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 char * kwnames
[] = {
28963 (char *) "self",(char *) "text", NULL
28970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28972 if (!SWIG_IsOK(res1
)) {
28973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28975 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28977 arg2
= wxString_in_helper(obj1
);
28978 if (arg2
== NULL
) SWIG_fail
;
28982 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_Py_Void();
28986 if (SWIG_IsTmpObj(res3
)) {
28987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
28989 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
28992 if (SWIG_IsTmpObj(res4
)) {
28993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
28995 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
28998 if (SWIG_IsTmpObj(res5
)) {
28999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29001 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29004 if (SWIG_IsTmpObj(res6
)) {
29005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29007 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29024 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
= 0;
29026 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29027 wxString
*arg2
= 0 ;
29028 PyObject
*result
= 0 ;
29031 bool temp2
= false ;
29032 PyObject
* obj0
= 0 ;
29033 PyObject
* obj1
= 0 ;
29034 char * kwnames
[] = {
29035 (char *) "self",(char *) "text", NULL
29038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29040 if (!SWIG_IsOK(res1
)) {
29041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29043 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29045 arg2
= wxString_in_helper(obj1
);
29046 if (arg2
== NULL
) SWIG_fail
;
29050 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29053 resultobj
= result
;
29068 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29069 PyObject
*resultobj
= 0;
29070 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29071 wxString
*arg2
= 0 ;
29072 wxArrayDouble result
;
29075 bool temp2
= false ;
29076 PyObject
* obj0
= 0 ;
29077 PyObject
* obj1
= 0 ;
29078 char * kwnames
[] = {
29079 (char *) "self",(char *) "text", NULL
29082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29084 if (!SWIG_IsOK(res1
)) {
29085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29087 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29089 arg2
= wxString_in_helper(obj1
);
29090 if (arg2
== NULL
) SWIG_fail
;
29094 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29098 resultobj
= wxArrayDouble2PyList_helper(result
);
29114 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
= 0;
29116 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29117 wxBitmap
*arg2
= 0 ;
29134 PyObject
* obj0
= 0 ;
29135 PyObject
* obj1
= 0 ;
29136 PyObject
* obj2
= 0 ;
29137 PyObject
* obj3
= 0 ;
29138 PyObject
* obj4
= 0 ;
29139 PyObject
* obj5
= 0 ;
29140 char * kwnames
[] = {
29141 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29146 if (!SWIG_IsOK(res1
)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29149 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29151 if (!SWIG_IsOK(res2
)) {
29152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29157 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29158 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29159 if (!SWIG_IsOK(ecode3
)) {
29160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29162 arg3
= static_cast< wxDouble
>(val3
);
29163 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29164 if (!SWIG_IsOK(ecode4
)) {
29165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29167 arg4
= static_cast< wxDouble
>(val4
);
29168 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29169 if (!SWIG_IsOK(ecode5
)) {
29170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29172 arg5
= static_cast< wxDouble
>(val5
);
29173 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29174 if (!SWIG_IsOK(ecode6
)) {
29175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29177 arg6
= static_cast< wxDouble
>(val6
);
29179 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= SWIG_Py_Void();
29189 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29190 PyObject
*resultobj
= 0;
29191 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29209 PyObject
* obj0
= 0 ;
29210 PyObject
* obj1
= 0 ;
29211 PyObject
* obj2
= 0 ;
29212 PyObject
* obj3
= 0 ;
29213 PyObject
* obj4
= 0 ;
29214 PyObject
* obj5
= 0 ;
29215 char * kwnames
[] = {
29216 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29221 if (!SWIG_IsOK(res1
)) {
29222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29224 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29226 if (!SWIG_IsOK(res2
)) {
29227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29232 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29233 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29234 if (!SWIG_IsOK(ecode3
)) {
29235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29237 arg3
= static_cast< wxDouble
>(val3
);
29238 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29239 if (!SWIG_IsOK(ecode4
)) {
29240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29242 arg4
= static_cast< wxDouble
>(val4
);
29243 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29244 if (!SWIG_IsOK(ecode5
)) {
29245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29247 arg5
= static_cast< wxDouble
>(val5
);
29248 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29249 if (!SWIG_IsOK(ecode6
)) {
29250 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29252 arg6
= static_cast< wxDouble
>(val6
);
29254 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29257 resultobj
= SWIG_Py_Void();
29264 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29265 PyObject
*resultobj
= 0;
29266 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 PyObject
* obj2
= 0 ;
29284 PyObject
* obj3
= 0 ;
29285 PyObject
* obj4
= 0 ;
29286 char * kwnames
[] = {
29287 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29292 if (!SWIG_IsOK(res1
)) {
29293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29295 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29296 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29297 if (!SWIG_IsOK(ecode2
)) {
29298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29300 arg2
= static_cast< wxDouble
>(val2
);
29301 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29302 if (!SWIG_IsOK(ecode3
)) {
29303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29305 arg3
= static_cast< wxDouble
>(val3
);
29306 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29307 if (!SWIG_IsOK(ecode4
)) {
29308 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29310 arg4
= static_cast< wxDouble
>(val4
);
29311 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29312 if (!SWIG_IsOK(ecode5
)) {
29313 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29315 arg5
= static_cast< wxDouble
>(val5
);
29317 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= SWIG_Py_Void();
29327 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
= 0;
29329 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29331 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 char * kwnames
[] = {
29337 (char *) "self",(char *) "points", NULL
29340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29342 if (!SWIG_IsOK(res1
)) {
29343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29345 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29347 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29348 if (arg3
== NULL
) SWIG_fail
;
29351 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29354 resultobj
= SWIG_Py_Void();
29356 if (arg3
) delete [] arg3
;
29361 if (arg3
) delete [] arg3
;
29367 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
= 0;
29369 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29370 PyObject
*arg2
= (PyObject
*) 0 ;
29371 PyObject
*arg3
= (PyObject
*) 0 ;
29374 PyObject
* obj0
= 0 ;
29375 PyObject
* obj1
= 0 ;
29376 PyObject
* obj2
= 0 ;
29377 char * kwnames
[] = {
29378 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29383 if (!SWIG_IsOK(res1
)) {
29384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29386 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29390 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29393 resultobj
= SWIG_Py_Void();
29400 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29401 PyObject
*resultobj
= 0;
29402 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29404 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29405 int arg4
= (int) wxODDEVEN_RULE
;
29410 PyObject
* obj0
= 0 ;
29411 PyObject
* obj1
= 0 ;
29412 PyObject
* obj2
= 0 ;
29413 char * kwnames
[] = {
29414 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29419 if (!SWIG_IsOK(res1
)) {
29420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29422 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29424 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29425 if (arg3
== NULL
) SWIG_fail
;
29428 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29429 if (!SWIG_IsOK(ecode4
)) {
29430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29432 arg4
= static_cast< int >(val4
);
29435 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 resultobj
= SWIG_Py_Void();
29440 if (arg3
) delete [] arg3
;
29445 if (arg3
) delete [] arg3
;
29451 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29452 PyObject
*resultobj
= 0;
29453 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 PyObject
* obj2
= 0 ;
29471 PyObject
* obj3
= 0 ;
29472 PyObject
* obj4
= 0 ;
29473 char * kwnames
[] = {
29474 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29479 if (!SWIG_IsOK(res1
)) {
29480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29482 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29483 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29484 if (!SWIG_IsOK(ecode2
)) {
29485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29487 arg2
= static_cast< wxDouble
>(val2
);
29488 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29489 if (!SWIG_IsOK(ecode3
)) {
29490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29492 arg3
= static_cast< wxDouble
>(val3
);
29493 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29494 if (!SWIG_IsOK(ecode4
)) {
29495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29497 arg4
= static_cast< wxDouble
>(val4
);
29498 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29499 if (!SWIG_IsOK(ecode5
)) {
29500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29502 arg5
= static_cast< wxDouble
>(val5
);
29504 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= SWIG_Py_Void();
29514 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29515 PyObject
*resultobj
= 0;
29516 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29531 PyObject
* obj0
= 0 ;
29532 PyObject
* obj1
= 0 ;
29533 PyObject
* obj2
= 0 ;
29534 PyObject
* obj3
= 0 ;
29535 PyObject
* obj4
= 0 ;
29536 char * kwnames
[] = {
29537 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29542 if (!SWIG_IsOK(res1
)) {
29543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29545 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29546 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29547 if (!SWIG_IsOK(ecode2
)) {
29548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29550 arg2
= static_cast< wxDouble
>(val2
);
29551 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29552 if (!SWIG_IsOK(ecode3
)) {
29553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29555 arg3
= static_cast< wxDouble
>(val3
);
29556 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29557 if (!SWIG_IsOK(ecode4
)) {
29558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29560 arg4
= static_cast< wxDouble
>(val4
);
29561 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29562 if (!SWIG_IsOK(ecode5
)) {
29563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29565 arg5
= static_cast< wxDouble
>(val5
);
29567 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29568 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= SWIG_Py_Void();
29577 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(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 *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",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_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29612 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29613 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29614 if (!SWIG_IsOK(ecode2
)) {
29615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29617 arg2
= static_cast< wxDouble
>(val2
);
29618 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29619 if (!SWIG_IsOK(ecode3
)) {
29620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29622 arg3
= static_cast< wxDouble
>(val3
);
29623 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29624 if (!SWIG_IsOK(ecode4
)) {
29625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29627 arg4
= static_cast< wxDouble
>(val4
);
29628 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29629 if (!SWIG_IsOK(ecode5
)) {
29630 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29632 arg5
= static_cast< wxDouble
>(val5
);
29633 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29634 if (!SWIG_IsOK(ecode6
)) {
29635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29637 arg6
= static_cast< wxDouble
>(val6
);
29639 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29642 resultobj
= SWIG_Py_Void();
29649 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29650 PyObject
*resultobj
= 0;
29651 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29655 PyObject
*swig_obj
[1] ;
29657 if (!args
) SWIG_fail
;
29658 swig_obj
[0] = args
;
29659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29660 if (!SWIG_IsOK(res1
)) {
29661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29663 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29665 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29666 if (PyErr_Occurred()) SWIG_fail
;
29669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29677 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29680 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29681 return SWIG_Py_Void();
29684 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29685 PyObject
*resultobj
= 0;
29686 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29689 PyObject
*swig_obj
[1] ;
29691 if (!args
) SWIG_fail
;
29692 swig_obj
[0] = args
;
29693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29694 if (!SWIG_IsOK(res1
)) {
29695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29697 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29703 resultobj
= SWIG_Py_Void();
29710 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29711 PyObject
*resultobj
= 0;
29712 wxGraphicsRenderer
*result
= 0 ;
29714 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29716 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29717 if (PyErr_Occurred()) SWIG_fail
;
29719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29726 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29727 PyObject
*resultobj
= 0;
29728 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29729 wxWindowDC
*arg2
= 0 ;
29730 wxGraphicsContext
*result
= 0 ;
29736 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29738 if (!SWIG_IsOK(res1
)) {
29739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29741 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29742 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29743 if (!SWIG_IsOK(res2
)) {
29744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29749 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29751 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29761 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29762 PyObject
*resultobj
= 0;
29763 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29764 wxWindow
*arg2
= (wxWindow
*) 0 ;
29765 wxGraphicsContext
*result
= 0 ;
29771 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29773 if (!SWIG_IsOK(res1
)) {
29774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29776 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29777 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29778 if (!SWIG_IsOK(res2
)) {
29779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29781 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29783 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29793 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29797 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29802 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29803 _v
= SWIG_CheckState(res
);
29805 if (!_v
) goto check_1
;
29806 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29811 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29815 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29820 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29821 PyObject
*resultobj
= 0;
29822 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29823 wxGraphicsContext
*result
= 0 ;
29826 PyObject
*swig_obj
[1] ;
29828 if (!args
) SWIG_fail
;
29829 swig_obj
[0] = args
;
29830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29831 if (!SWIG_IsOK(res1
)) {
29832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29834 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29836 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
29837 if (PyErr_Occurred()) SWIG_fail
;
29839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29846 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29847 PyObject
*resultobj
= 0;
29848 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29849 void *arg2
= (void *) 0 ;
29850 wxGraphicsContext
*result
= 0 ;
29854 PyObject
* obj0
= 0 ;
29855 PyObject
* obj1
= 0 ;
29856 char * kwnames
[] = {
29857 (char *) "self",(char *) "context", NULL
29860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29862 if (!SWIG_IsOK(res1
)) {
29863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29865 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29866 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29867 if (!SWIG_IsOK(res2
)) {
29868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29871 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29881 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29882 PyObject
*resultobj
= 0;
29883 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29884 void *arg2
= (void *) 0 ;
29885 wxGraphicsContext
*result
= 0 ;
29889 PyObject
* obj0
= 0 ;
29890 PyObject
* obj1
= 0 ;
29891 char * kwnames
[] = {
29892 (char *) "self",(char *) "window", NULL
29895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29897 if (!SWIG_IsOK(res1
)) {
29898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29900 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29901 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29902 if (!SWIG_IsOK(res2
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29906 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29916 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29917 PyObject
*resultobj
= 0;
29918 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29919 wxGraphicsPath result
;
29922 PyObject
*swig_obj
[1] ;
29924 if (!args
) SWIG_fail
;
29925 swig_obj
[0] = args
;
29926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29927 if (!SWIG_IsOK(res1
)) {
29928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29930 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29932 result
= (arg1
)->CreatePath();
29933 if (PyErr_Occurred()) SWIG_fail
;
29935 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29942 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29943 PyObject
*resultobj
= 0;
29944 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29945 wxDouble arg2
= (wxDouble
) 1.0 ;
29946 wxDouble arg3
= (wxDouble
) 0.0 ;
29947 wxDouble arg4
= (wxDouble
) 0.0 ;
29948 wxDouble arg5
= (wxDouble
) 1.0 ;
29949 wxDouble arg6
= (wxDouble
) 0.0 ;
29950 wxDouble arg7
= (wxDouble
) 0.0 ;
29951 wxGraphicsMatrix result
;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 PyObject
* obj2
= 0 ;
29969 PyObject
* obj3
= 0 ;
29970 PyObject
* obj4
= 0 ;
29971 PyObject
* obj5
= 0 ;
29972 PyObject
* obj6
= 0 ;
29973 char * kwnames
[] = {
29974 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
29977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29979 if (!SWIG_IsOK(res1
)) {
29980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29982 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29984 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29985 if (!SWIG_IsOK(ecode2
)) {
29986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
29988 arg2
= static_cast< wxDouble
>(val2
);
29991 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29992 if (!SWIG_IsOK(ecode3
)) {
29993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
29995 arg3
= static_cast< wxDouble
>(val3
);
29998 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29999 if (!SWIG_IsOK(ecode4
)) {
30000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30002 arg4
= static_cast< wxDouble
>(val4
);
30005 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30006 if (!SWIG_IsOK(ecode5
)) {
30007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30009 arg5
= static_cast< wxDouble
>(val5
);
30012 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30013 if (!SWIG_IsOK(ecode6
)) {
30014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30016 arg6
= static_cast< wxDouble
>(val6
);
30019 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30020 if (!SWIG_IsOK(ecode7
)) {
30021 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30023 arg7
= static_cast< wxDouble
>(val7
);
30026 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30027 if (PyErr_Occurred()) SWIG_fail
;
30029 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30036 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30037 PyObject
*resultobj
= 0;
30038 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30040 wxGraphicsPen result
;
30045 PyObject
* obj0
= 0 ;
30046 PyObject
* obj1
= 0 ;
30047 char * kwnames
[] = {
30048 (char *) "self",(char *) "pen", NULL
30051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30053 if (!SWIG_IsOK(res1
)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30056 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30057 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30058 if (!SWIG_IsOK(res2
)) {
30059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30064 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30066 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30076 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30077 PyObject
*resultobj
= 0;
30078 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30079 wxBrush
*arg2
= 0 ;
30080 wxGraphicsBrush result
;
30085 PyObject
* obj0
= 0 ;
30086 PyObject
* obj1
= 0 ;
30087 char * kwnames
[] = {
30088 (char *) "self",(char *) "brush", NULL
30091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30093 if (!SWIG_IsOK(res1
)) {
30094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30096 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30098 if (!SWIG_IsOK(res2
)) {
30099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30104 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30106 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30116 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30117 PyObject
*resultobj
= 0;
30118 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30123 wxColour
*arg6
= 0 ;
30124 wxColour
*arg7
= 0 ;
30125 wxGraphicsBrush result
;
30138 PyObject
* obj0
= 0 ;
30139 PyObject
* obj1
= 0 ;
30140 PyObject
* obj2
= 0 ;
30141 PyObject
* obj3
= 0 ;
30142 PyObject
* obj4
= 0 ;
30143 PyObject
* obj5
= 0 ;
30144 PyObject
* obj6
= 0 ;
30145 char * kwnames
[] = {
30146 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30151 if (!SWIG_IsOK(res1
)) {
30152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30154 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30155 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30156 if (!SWIG_IsOK(ecode2
)) {
30157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30159 arg2
= static_cast< wxDouble
>(val2
);
30160 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30161 if (!SWIG_IsOK(ecode3
)) {
30162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30164 arg3
= static_cast< wxDouble
>(val3
);
30165 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30166 if (!SWIG_IsOK(ecode4
)) {
30167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30169 arg4
= static_cast< wxDouble
>(val4
);
30170 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30171 if (!SWIG_IsOK(ecode5
)) {
30172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30174 arg5
= static_cast< wxDouble
>(val5
);
30177 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30181 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30184 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30187 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30194 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
= 0;
30196 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30202 wxColour
*arg7
= 0 ;
30203 wxColour
*arg8
= 0 ;
30204 wxGraphicsBrush result
;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 PyObject
* obj3
= 0 ;
30223 PyObject
* obj4
= 0 ;
30224 PyObject
* obj5
= 0 ;
30225 PyObject
* obj6
= 0 ;
30226 PyObject
* obj7
= 0 ;
30227 char * kwnames
[] = {
30228 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30233 if (!SWIG_IsOK(res1
)) {
30234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30236 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30237 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30238 if (!SWIG_IsOK(ecode2
)) {
30239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30241 arg2
= static_cast< wxDouble
>(val2
);
30242 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30243 if (!SWIG_IsOK(ecode3
)) {
30244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30246 arg3
= static_cast< wxDouble
>(val3
);
30247 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30248 if (!SWIG_IsOK(ecode4
)) {
30249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30251 arg4
= static_cast< wxDouble
>(val4
);
30252 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30253 if (!SWIG_IsOK(ecode5
)) {
30254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30256 arg5
= static_cast< wxDouble
>(val5
);
30257 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30258 if (!SWIG_IsOK(ecode6
)) {
30259 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30261 arg6
= static_cast< wxDouble
>(val6
);
30264 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30268 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30271 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30281 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
= 0;
30283 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30285 wxColour
const &arg3_defvalue
= *wxBLACK
;
30286 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30287 wxGraphicsFont result
;
30293 PyObject
* obj0
= 0 ;
30294 PyObject
* obj1
= 0 ;
30295 PyObject
* obj2
= 0 ;
30296 char * kwnames
[] = {
30297 (char *) "self",(char *) "font",(char *) "col", NULL
30300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30302 if (!SWIG_IsOK(res1
)) {
30303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30305 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30307 if (!SWIG_IsOK(res2
)) {
30308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30313 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30317 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30321 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30331 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30334 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30335 return SWIG_Py_Void();
30338 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
= 0;
30340 wxWindowDC
*arg1
= 0 ;
30341 wxGCDC
*result
= 0 ;
30344 PyObject
* obj0
= 0 ;
30345 char * kwnames
[] = {
30346 (char *) "dc", NULL
30349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30350 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30351 if (!SWIG_IsOK(res1
)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30357 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30359 if (!wxPyCheckForApp()) SWIG_fail
;
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30372 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30373 PyObject
*resultobj
= 0;
30374 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30377 PyObject
*swig_obj
[1] ;
30379 if (!args
) SWIG_fail
;
30380 swig_obj
[0] = args
;
30381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30382 if (!SWIG_IsOK(res1
)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30385 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30391 resultobj
= SWIG_Py_Void();
30398 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30399 PyObject
*resultobj
= 0;
30400 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30401 wxGraphicsContext
*result
= 0 ;
30404 PyObject
*swig_obj
[1] ;
30406 if (!args
) SWIG_fail
;
30407 swig_obj
[0] = args
;
30408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30409 if (!SWIG_IsOK(res1
)) {
30410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30412 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30414 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30424 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
= 0;
30426 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30427 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30432 PyObject
* obj0
= 0 ;
30433 PyObject
* obj1
= 0 ;
30434 char * kwnames
[] = {
30435 (char *) "self",(char *) "ctx", NULL
30438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30440 if (!SWIG_IsOK(res1
)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30443 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30445 if (!SWIG_IsOK(res2
)) {
30446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30448 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30450 (arg1
)->SetGraphicsContext(arg2
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30453 resultobj
= SWIG_Py_Void();
30460 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30463 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30464 return SWIG_Py_Void();
30467 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30468 return SWIG_Python_InitShadowInstance(args
);
30471 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30472 PyObject
*resultobj
= 0;
30473 wxOverlay
*result
= 0 ;
30475 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 result
= (wxOverlay
*)new wxOverlay();
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30489 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30490 PyObject
*resultobj
= 0;
30491 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30494 PyObject
*swig_obj
[1] ;
30496 if (!args
) SWIG_fail
;
30497 swig_obj
[0] = args
;
30498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30499 if (!SWIG_IsOK(res1
)) {
30500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30502 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 wxPyEndAllowThreads(__tstate
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30510 resultobj
= SWIG_Py_Void();
30517 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30518 PyObject
*resultobj
= 0;
30519 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30522 PyObject
*swig_obj
[1] ;
30524 if (!args
) SWIG_fail
;
30525 swig_obj
[0] = args
;
30526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30527 if (!SWIG_IsOK(res1
)) {
30528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30530 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30537 resultobj
= SWIG_Py_Void();
30544 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30547 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30548 return SWIG_Py_Void();
30551 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30552 return SWIG_Python_InitShadowInstance(args
);
30555 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30556 PyObject
*resultobj
= 0;
30557 wxOverlay
*arg1
= 0 ;
30558 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30563 wxDCOverlay
*result
= 0 ;
30577 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30579 if (!SWIG_IsOK(res1
)) {
30580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30585 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30586 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30587 if (!SWIG_IsOK(res2
)) {
30588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30590 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30591 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30592 if (!SWIG_IsOK(ecode3
)) {
30593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30595 arg3
= static_cast< int >(val3
);
30596 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30597 if (!SWIG_IsOK(ecode4
)) {
30598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30600 arg4
= static_cast< int >(val4
);
30601 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30602 if (!SWIG_IsOK(ecode5
)) {
30603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30605 arg5
= static_cast< int >(val5
);
30606 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30607 if (!SWIG_IsOK(ecode6
)) {
30608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30610 arg6
= static_cast< int >(val6
);
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30624 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30625 PyObject
*resultobj
= 0;
30626 wxOverlay
*arg1
= 0 ;
30627 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30628 wxDCOverlay
*result
= 0 ;
30634 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30636 if (!SWIG_IsOK(res1
)) {
30637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30642 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30643 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30644 if (!SWIG_IsOK(res2
)) {
30645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30647 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30650 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30661 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30665 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30668 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30671 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30675 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30680 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30681 PyObject
*resultobj
= 0;
30682 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30685 PyObject
*swig_obj
[1] ;
30687 if (!args
) SWIG_fail
;
30688 swig_obj
[0] = args
;
30689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30690 if (!SWIG_IsOK(res1
)) {
30691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30693 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30701 resultobj
= SWIG_Py_Void();
30708 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30709 PyObject
*resultobj
= 0;
30710 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30713 PyObject
*swig_obj
[1] ;
30715 if (!args
) SWIG_fail
;
30716 swig_obj
[0] = args
;
30717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30718 if (!SWIG_IsOK(res1
)) {
30719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30721 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 wxPyEndAllowThreads(__tstate
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30728 resultobj
= SWIG_Py_Void();
30735 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30737 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30738 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30739 return SWIG_Py_Void();
30742 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30743 return SWIG_Python_InitShadowInstance(args
);
30746 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
= 0;
30750 int arg3
= (int) true ;
30751 int arg4
= (int) 1 ;
30752 wxImageList
*result
= 0 ;
30761 PyObject
* obj0
= 0 ;
30762 PyObject
* obj1
= 0 ;
30763 PyObject
* obj2
= 0 ;
30764 PyObject
* obj3
= 0 ;
30765 char * kwnames
[] = {
30766 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30770 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30771 if (!SWIG_IsOK(ecode1
)) {
30772 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30774 arg1
= static_cast< int >(val1
);
30775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30776 if (!SWIG_IsOK(ecode2
)) {
30777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30779 arg2
= static_cast< int >(val2
);
30781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30782 if (!SWIG_IsOK(ecode3
)) {
30783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30785 arg3
= static_cast< int >(val3
);
30788 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30789 if (!SWIG_IsOK(ecode4
)) {
30790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30792 arg4
= static_cast< int >(val4
);
30795 if (!wxPyCheckForApp()) SWIG_fail
;
30796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30798 wxPyEndAllowThreads(__tstate
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30808 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30809 PyObject
*resultobj
= 0;
30810 wxImageList
*arg1
= (wxImageList
*) 0 ;
30813 PyObject
*swig_obj
[1] ;
30815 if (!args
) SWIG_fail
;
30816 swig_obj
[0] = args
;
30817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30818 if (!SWIG_IsOK(res1
)) {
30819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30821 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 wxPyEndAllowThreads(__tstate
);
30827 if (PyErr_Occurred()) SWIG_fail
;
30829 resultobj
= SWIG_Py_Void();
30836 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30837 PyObject
*resultobj
= 0;
30838 wxImageList
*arg1
= (wxImageList
*) 0 ;
30839 wxBitmap
*arg2
= 0 ;
30840 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30841 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 PyObject
* obj2
= 0 ;
30852 char * kwnames
[] = {
30853 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30858 if (!SWIG_IsOK(res1
)) {
30859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30861 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30863 if (!SWIG_IsOK(res2
)) {
30864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30869 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30871 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30872 if (!SWIG_IsOK(res3
)) {
30873 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30878 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30886 resultobj
= SWIG_From_int(static_cast< int >(result
));
30893 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
= 0;
30895 wxImageList
*arg1
= (wxImageList
*) 0 ;
30896 wxBitmap
*arg2
= 0 ;
30897 wxColour
*arg3
= 0 ;
30904 PyObject
* obj0
= 0 ;
30905 PyObject
* obj1
= 0 ;
30906 PyObject
* obj2
= 0 ;
30907 char * kwnames
[] = {
30908 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30913 if (!SWIG_IsOK(res1
)) {
30914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30916 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30918 if (!SWIG_IsOK(res2
)) {
30919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30924 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30927 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30931 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
30932 wxPyEndAllowThreads(__tstate
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= SWIG_From_int(static_cast< int >(result
));
30942 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
= 0;
30944 wxImageList
*arg1
= (wxImageList
*) 0 ;
30951 PyObject
* obj0
= 0 ;
30952 PyObject
* obj1
= 0 ;
30953 char * kwnames
[] = {
30954 (char *) "self",(char *) "icon", NULL
30957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30959 if (!SWIG_IsOK(res1
)) {
30960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
30962 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30964 if (!SWIG_IsOK(res2
)) {
30965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30970 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30977 resultobj
= SWIG_From_int(static_cast< int >(result
));
30984 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
= 0;
30986 wxImageList
*arg1
= (wxImageList
*) 0 ;
30988 SwigValueWrapper
<wxBitmap
> result
;
30993 PyObject
* obj0
= 0 ;
30994 PyObject
* obj1
= 0 ;
30995 char * kwnames
[] = {
30996 (char *) "self",(char *) "index", NULL
30999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31001 if (!SWIG_IsOK(res1
)) {
31002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31004 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31006 if (!SWIG_IsOK(ecode2
)) {
31007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31009 arg2
= static_cast< int >(val2
);
31011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31013 wxPyEndAllowThreads(__tstate
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31016 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31023 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
= 0;
31025 wxImageList
*arg1
= (wxImageList
*) 0 ;
31032 PyObject
* obj0
= 0 ;
31033 PyObject
* obj1
= 0 ;
31034 char * kwnames
[] = {
31035 (char *) "self",(char *) "index", NULL
31038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31040 if (!SWIG_IsOK(res1
)) {
31041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31043 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31045 if (!SWIG_IsOK(ecode2
)) {
31046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31048 arg2
= static_cast< int >(val2
);
31050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31051 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31052 wxPyEndAllowThreads(__tstate
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31062 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31063 PyObject
*resultobj
= 0;
31064 wxImageList
*arg1
= (wxImageList
*) 0 ;
31066 wxBitmap
*arg3
= 0 ;
31067 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31068 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31078 PyObject
* obj0
= 0 ;
31079 PyObject
* obj1
= 0 ;
31080 PyObject
* obj2
= 0 ;
31081 PyObject
* obj3
= 0 ;
31082 char * kwnames
[] = {
31083 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31088 if (!SWIG_IsOK(res1
)) {
31089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31091 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31093 if (!SWIG_IsOK(ecode2
)) {
31094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31096 arg2
= static_cast< int >(val2
);
31097 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31098 if (!SWIG_IsOK(res3
)) {
31099 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31104 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31106 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31107 if (!SWIG_IsOK(res4
)) {
31108 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31113 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31118 wxPyEndAllowThreads(__tstate
);
31119 if (PyErr_Occurred()) SWIG_fail
;
31122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31130 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
= 0;
31132 wxImageList
*arg1
= (wxImageList
*) 0 ;
31137 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31138 bool arg7
= (bool) (bool)false ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 PyObject
* obj2
= 0 ;
31157 PyObject
* obj3
= 0 ;
31158 PyObject
* obj4
= 0 ;
31159 PyObject
* obj5
= 0 ;
31160 PyObject
* obj6
= 0 ;
31161 char * kwnames
[] = {
31162 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31167 if (!SWIG_IsOK(res1
)) {
31168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31170 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31172 if (!SWIG_IsOK(ecode2
)) {
31173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31175 arg2
= static_cast< int >(val2
);
31176 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31177 if (!SWIG_IsOK(res3
)) {
31178 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31183 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31184 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31185 if (!SWIG_IsOK(ecode4
)) {
31186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31188 arg4
= static_cast< int >(val4
);
31189 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31190 if (!SWIG_IsOK(ecode5
)) {
31191 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31193 arg5
= static_cast< int >(val5
);
31195 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31196 if (!SWIG_IsOK(ecode6
)) {
31197 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31199 arg6
= static_cast< int >(val6
);
31202 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31203 if (!SWIG_IsOK(ecode7
)) {
31204 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31206 arg7
= static_cast< bool >(val7
);
31209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31210 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31211 wxPyEndAllowThreads(__tstate
);
31212 if (PyErr_Occurred()) SWIG_fail
;
31215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31223 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31224 PyObject
*resultobj
= 0;
31225 wxImageList
*arg1
= (wxImageList
*) 0 ;
31229 PyObject
*swig_obj
[1] ;
31231 if (!args
) SWIG_fail
;
31232 swig_obj
[0] = args
;
31233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31234 if (!SWIG_IsOK(res1
)) {
31235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31237 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31240 result
= (int)(arg1
)->GetImageCount();
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31244 resultobj
= SWIG_From_int(static_cast< int >(result
));
31251 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
= 0;
31253 wxImageList
*arg1
= (wxImageList
*) 0 ;
31260 PyObject
* obj0
= 0 ;
31261 PyObject
* obj1
= 0 ;
31262 char * kwnames
[] = {
31263 (char *) "self",(char *) "index", NULL
31266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31268 if (!SWIG_IsOK(res1
)) {
31269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31271 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31273 if (!SWIG_IsOK(ecode2
)) {
31274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31276 arg2
= static_cast< int >(val2
);
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 result
= (bool)(arg1
)->Remove(arg2
);
31280 wxPyEndAllowThreads(__tstate
);
31281 if (PyErr_Occurred()) SWIG_fail
;
31284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31292 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31293 PyObject
*resultobj
= 0;
31294 wxImageList
*arg1
= (wxImageList
*) 0 ;
31298 PyObject
*swig_obj
[1] ;
31300 if (!args
) SWIG_fail
;
31301 swig_obj
[0] = args
;
31302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31303 if (!SWIG_IsOK(res1
)) {
31304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31306 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31309 result
= (bool)(arg1
)->RemoveAll();
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31322 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
= 0;
31324 wxImageList
*arg1
= (wxImageList
*) 0 ;
31333 int res3
= SWIG_TMPOBJ
;
31335 int res4
= SWIG_TMPOBJ
;
31336 PyObject
* obj0
= 0 ;
31337 PyObject
* obj1
= 0 ;
31338 char * kwnames
[] = {
31339 (char *) "self",(char *) "index", NULL
31344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31346 if (!SWIG_IsOK(res1
)) {
31347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31349 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31351 if (!SWIG_IsOK(ecode2
)) {
31352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31354 arg2
= static_cast< int >(val2
);
31356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31357 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31358 wxPyEndAllowThreads(__tstate
);
31359 if (PyErr_Occurred()) SWIG_fail
;
31361 resultobj
= SWIG_Py_Void();
31362 if (SWIG_IsTmpObj(res3
)) {
31363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31365 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31368 if (SWIG_IsTmpObj(res4
)) {
31369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31371 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31380 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31383 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31384 return SWIG_Py_Void();
31387 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31388 return SWIG_Python_InitShadowInstance(args
);
31391 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31392 PyObject
*resultobj
= 0;
31393 wxStockGDI
*result
= 0 ;
31395 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 result
= (wxStockGDI
*)new wxStockGDI();
31399 wxPyEndAllowThreads(__tstate
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31409 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31410 PyObject
*resultobj
= 0;
31411 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31414 PyObject
*swig_obj
[1] ;
31416 if (!args
) SWIG_fail
;
31417 swig_obj
[0] = args
;
31418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31419 if (!SWIG_IsOK(res1
)) {
31420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31422 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31427 wxPyEndAllowThreads(__tstate
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31430 resultobj
= SWIG_Py_Void();
31437 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31438 PyObject
*resultobj
= 0;
31440 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31443 wxStockGDI::DeleteAll();
31444 wxPyEndAllowThreads(__tstate
);
31445 if (PyErr_Occurred()) SWIG_fail
;
31447 resultobj
= SWIG_Py_Void();
31454 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31455 PyObject
*resultobj
= 0;
31456 wxStockGDI
*result
= 0 ;
31458 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31463 result
= (wxStockGDI
*) &_result_ref
;
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31475 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31476 PyObject
*resultobj
= 0;
31477 wxStockGDI::Item arg1
;
31478 wxBrush
*result
= 0 ;
31481 PyObject
* obj0
= 0 ;
31482 char * kwnames
[] = {
31483 (char *) "item", NULL
31486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31487 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31488 if (!SWIG_IsOK(ecode1
)) {
31489 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31491 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31495 wxPyEndAllowThreads(__tstate
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31505 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31506 PyObject
*resultobj
= 0;
31507 wxStockGDI::Item arg1
;
31508 wxColour
*result
= 0 ;
31511 PyObject
* obj0
= 0 ;
31512 char * kwnames
[] = {
31513 (char *) "item", NULL
31516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31517 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31518 if (!SWIG_IsOK(ecode1
)) {
31519 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31521 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31525 wxPyEndAllowThreads(__tstate
);
31526 if (PyErr_Occurred()) SWIG_fail
;
31528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31535 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31536 PyObject
*resultobj
= 0;
31537 wxStockGDI::Item arg1
;
31538 wxCursor
*result
= 0 ;
31541 PyObject
* obj0
= 0 ;
31542 char * kwnames
[] = {
31543 (char *) "item", NULL
31546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31547 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31548 if (!SWIG_IsOK(ecode1
)) {
31549 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31551 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31565 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31566 PyObject
*resultobj
= 0;
31567 wxStockGDI::Item arg1
;
31568 wxPen
*result
= 0 ;
31571 PyObject
* obj0
= 0 ;
31572 char * kwnames
[] = {
31573 (char *) "item", NULL
31576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31577 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31578 if (!SWIG_IsOK(ecode1
)) {
31579 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31581 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31595 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31596 PyObject
*resultobj
= 0;
31597 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31598 wxStockGDI::Item arg2
;
31599 wxFont
*result
= 0 ;
31604 PyObject
* obj0
= 0 ;
31605 PyObject
* obj1
= 0 ;
31606 char * kwnames
[] = {
31607 (char *) "self",(char *) "item", NULL
31610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31612 if (!SWIG_IsOK(res1
)) {
31613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31615 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31617 if (!SWIG_IsOK(ecode2
)) {
31618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31620 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31623 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31624 wxPyEndAllowThreads(__tstate
);
31625 if (PyErr_Occurred()) SWIG_fail
;
31627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31634 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31637 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31638 return SWIG_Py_Void();
31641 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31642 return SWIG_Python_InitShadowInstance(args
);
31645 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31646 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31651 SWIGINTERN PyObject
*NullBitmap_get(void) {
31652 PyObject
*pyobj
= 0;
31654 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31659 SWIGINTERN
int NullIcon_set(PyObject
*) {
31660 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31665 SWIGINTERN PyObject
*NullIcon_get(void) {
31666 PyObject
*pyobj
= 0;
31668 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31673 SWIGINTERN
int NullCursor_set(PyObject
*) {
31674 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31679 SWIGINTERN PyObject
*NullCursor_get(void) {
31680 PyObject
*pyobj
= 0;
31682 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31687 SWIGINTERN
int NullPen_set(PyObject
*) {
31688 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31693 SWIGINTERN PyObject
*NullPen_get(void) {
31694 PyObject
*pyobj
= 0;
31696 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31701 SWIGINTERN
int NullBrush_set(PyObject
*) {
31702 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31707 SWIGINTERN PyObject
*NullBrush_get(void) {
31708 PyObject
*pyobj
= 0;
31710 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31715 SWIGINTERN
int NullPalette_set(PyObject
*) {
31716 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31721 SWIGINTERN PyObject
*NullPalette_get(void) {
31722 PyObject
*pyobj
= 0;
31724 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31729 SWIGINTERN
int NullFont_set(PyObject
*) {
31730 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31735 SWIGINTERN PyObject
*NullFont_get(void) {
31736 PyObject
*pyobj
= 0;
31738 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31743 SWIGINTERN
int NullColour_set(PyObject
*) {
31744 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31749 SWIGINTERN PyObject
*NullColour_get(void) {
31750 PyObject
*pyobj
= 0;
31752 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31757 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31758 PyObject
*resultobj
= 0;
31759 wxGDIObjListBase
*result
= 0 ;
31761 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31764 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31765 wxPyEndAllowThreads(__tstate
);
31766 if (PyErr_Occurred()) SWIG_fail
;
31768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31775 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31776 PyObject
*resultobj
= 0;
31777 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31780 PyObject
*swig_obj
[1] ;
31782 if (!args
) SWIG_fail
;
31783 swig_obj
[0] = args
;
31784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31785 if (!SWIG_IsOK(res1
)) {
31786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31788 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31793 wxPyEndAllowThreads(__tstate
);
31794 if (PyErr_Occurred()) SWIG_fail
;
31796 resultobj
= SWIG_Py_Void();
31803 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31805 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31806 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31807 return SWIG_Py_Void();
31810 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31811 return SWIG_Python_InitShadowInstance(args
);
31814 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
= 0;
31816 wxPenList
*arg1
= (wxPenList
*) 0 ;
31817 wxColour
*arg2
= 0 ;
31820 wxPen
*result
= 0 ;
31828 PyObject
* obj0
= 0 ;
31829 PyObject
* obj1
= 0 ;
31830 PyObject
* obj2
= 0 ;
31831 PyObject
* obj3
= 0 ;
31832 char * kwnames
[] = {
31833 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31838 if (!SWIG_IsOK(res1
)) {
31839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31841 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31847 if (!SWIG_IsOK(ecode3
)) {
31848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31850 arg3
= static_cast< int >(val3
);
31851 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31852 if (!SWIG_IsOK(ecode4
)) {
31853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31855 arg4
= static_cast< int >(val4
);
31857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31858 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31869 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31870 PyObject
*resultobj
= 0;
31871 wxPenList
*arg1
= (wxPenList
*) 0 ;
31872 wxPen
*arg2
= (wxPen
*) 0 ;
31877 PyObject
* obj0
= 0 ;
31878 PyObject
* obj1
= 0 ;
31879 char * kwnames
[] = {
31880 (char *) "self",(char *) "pen", NULL
31883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31885 if (!SWIG_IsOK(res1
)) {
31886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31888 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31890 if (!SWIG_IsOK(res2
)) {
31891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31893 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31896 (arg1
)->AddPen(arg2
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 resultobj
= SWIG_Py_Void();
31907 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31908 PyObject
*resultobj
= 0;
31909 wxPenList
*arg1
= (wxPenList
*) 0 ;
31910 wxPen
*arg2
= (wxPen
*) 0 ;
31915 PyObject
* obj0
= 0 ;
31916 PyObject
* obj1
= 0 ;
31917 char * kwnames
[] = {
31918 (char *) "self",(char *) "pen", NULL
31921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31923 if (!SWIG_IsOK(res1
)) {
31924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31926 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31928 if (!SWIG_IsOK(res2
)) {
31929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
31931 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31934 (arg1
)->RemovePen(arg2
);
31935 wxPyEndAllowThreads(__tstate
);
31936 if (PyErr_Occurred()) SWIG_fail
;
31938 resultobj
= SWIG_Py_Void();
31945 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31948 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
31949 return SWIG_Py_Void();
31952 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31953 PyObject
*resultobj
= 0;
31954 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
31955 wxColour
*arg2
= 0 ;
31956 int arg3
= (int) wxSOLID
;
31957 wxBrush
*result
= 0 ;
31963 PyObject
* obj0
= 0 ;
31964 PyObject
* obj1
= 0 ;
31965 PyObject
* obj2
= 0 ;
31966 char * kwnames
[] = {
31967 (char *) "self",(char *) "colour",(char *) "style", NULL
31970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
31972 if (!SWIG_IsOK(res1
)) {
31973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
31975 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
31978 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31982 if (!SWIG_IsOK(ecode3
)) {
31983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
31985 arg3
= static_cast< int >(val3
);
31988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31989 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
31990 wxPyEndAllowThreads(__tstate
);
31991 if (PyErr_Occurred()) SWIG_fail
;
31993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32000 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32001 PyObject
*resultobj
= 0;
32002 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32003 wxBrush
*arg2
= (wxBrush
*) 0 ;
32008 PyObject
* obj0
= 0 ;
32009 PyObject
* obj1
= 0 ;
32010 char * kwnames
[] = {
32011 (char *) "self",(char *) "brush", NULL
32014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32016 if (!SWIG_IsOK(res1
)) {
32017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32019 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32021 if (!SWIG_IsOK(res2
)) {
32022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32024 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32027 (arg1
)->AddBrush(arg2
);
32028 wxPyEndAllowThreads(__tstate
);
32029 if (PyErr_Occurred()) SWIG_fail
;
32031 resultobj
= SWIG_Py_Void();
32038 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32039 PyObject
*resultobj
= 0;
32040 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32041 wxBrush
*arg2
= (wxBrush
*) 0 ;
32046 PyObject
* obj0
= 0 ;
32047 PyObject
* obj1
= 0 ;
32048 char * kwnames
[] = {
32049 (char *) "self",(char *) "brush", NULL
32052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32054 if (!SWIG_IsOK(res1
)) {
32055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32057 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32059 if (!SWIG_IsOK(res2
)) {
32060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32062 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32065 (arg1
)->RemoveBrush(arg2
);
32066 wxPyEndAllowThreads(__tstate
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32069 resultobj
= SWIG_Py_Void();
32076 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32079 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32080 return SWIG_Py_Void();
32083 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
= 0;
32085 wxFontList
*arg1
= (wxFontList
*) 0 ;
32090 bool arg6
= (bool) false ;
32091 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32093 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32094 wxFont
*result
= 0 ;
32107 bool temp7
= false ;
32110 PyObject
* obj0
= 0 ;
32111 PyObject
* obj1
= 0 ;
32112 PyObject
* obj2
= 0 ;
32113 PyObject
* obj3
= 0 ;
32114 PyObject
* obj4
= 0 ;
32115 PyObject
* obj5
= 0 ;
32116 PyObject
* obj6
= 0 ;
32117 PyObject
* obj7
= 0 ;
32118 char * kwnames
[] = {
32119 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32124 if (!SWIG_IsOK(res1
)) {
32125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32127 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32129 if (!SWIG_IsOK(ecode2
)) {
32130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32132 arg2
= static_cast< int >(val2
);
32133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32134 if (!SWIG_IsOK(ecode3
)) {
32135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32137 arg3
= static_cast< int >(val3
);
32138 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32139 if (!SWIG_IsOK(ecode4
)) {
32140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32142 arg4
= static_cast< int >(val4
);
32143 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32144 if (!SWIG_IsOK(ecode5
)) {
32145 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32147 arg5
= static_cast< int >(val5
);
32149 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32150 if (!SWIG_IsOK(ecode6
)) {
32151 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32153 arg6
= static_cast< bool >(val6
);
32157 arg7
= wxString_in_helper(obj6
);
32158 if (arg7
== NULL
) SWIG_fail
;
32163 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32164 if (!SWIG_IsOK(ecode8
)) {
32165 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32167 arg8
= static_cast< wxFontEncoding
>(val8
);
32170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32171 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32190 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32191 PyObject
*resultobj
= 0;
32192 wxFontList
*arg1
= (wxFontList
*) 0 ;
32193 wxFont
*arg2
= (wxFont
*) 0 ;
32198 PyObject
* obj0
= 0 ;
32199 PyObject
* obj1
= 0 ;
32200 char * kwnames
[] = {
32201 (char *) "self",(char *) "font", NULL
32204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32206 if (!SWIG_IsOK(res1
)) {
32207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32209 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32211 if (!SWIG_IsOK(res2
)) {
32212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32214 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32217 (arg1
)->AddFont(arg2
);
32218 wxPyEndAllowThreads(__tstate
);
32219 if (PyErr_Occurred()) SWIG_fail
;
32221 resultobj
= SWIG_Py_Void();
32228 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32229 PyObject
*resultobj
= 0;
32230 wxFontList
*arg1
= (wxFontList
*) 0 ;
32231 wxFont
*arg2
= (wxFont
*) 0 ;
32236 PyObject
* obj0
= 0 ;
32237 PyObject
* obj1
= 0 ;
32238 char * kwnames
[] = {
32239 (char *) "self",(char *) "font", NULL
32242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32244 if (!SWIG_IsOK(res1
)) {
32245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32247 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32249 if (!SWIG_IsOK(res2
)) {
32250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32252 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 (arg1
)->RemoveFont(arg2
);
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= SWIG_Py_Void();
32266 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32269 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32270 return SWIG_Py_Void();
32273 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32274 PyObject
*resultobj
= 0;
32275 wxColourDatabase
*result
= 0 ;
32277 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32279 if (!wxPyCheckForApp()) SWIG_fail
;
32280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32281 result
= (wxColourDatabase
*)new wxColourDatabase();
32282 wxPyEndAllowThreads(__tstate
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32292 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32293 PyObject
*resultobj
= 0;
32294 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32297 PyObject
*swig_obj
[1] ;
32299 if (!args
) SWIG_fail
;
32300 swig_obj
[0] = args
;
32301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32302 if (!SWIG_IsOK(res1
)) {
32303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32305 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32310 wxPyEndAllowThreads(__tstate
);
32311 if (PyErr_Occurred()) SWIG_fail
;
32313 resultobj
= SWIG_Py_Void();
32320 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32321 PyObject
*resultobj
= 0;
32322 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32323 wxString
*arg2
= 0 ;
32327 bool temp2
= false ;
32328 PyObject
* obj0
= 0 ;
32329 PyObject
* obj1
= 0 ;
32330 char * kwnames
[] = {
32331 (char *) "self",(char *) "name", NULL
32334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32336 if (!SWIG_IsOK(res1
)) {
32337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32339 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32341 arg2
= wxString_in_helper(obj1
);
32342 if (arg2
== NULL
) SWIG_fail
;
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32351 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32366 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32367 PyObject
*resultobj
= 0;
32368 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32369 wxColour
*arg2
= 0 ;
32374 PyObject
* obj0
= 0 ;
32375 PyObject
* obj1
= 0 ;
32376 char * kwnames
[] = {
32377 (char *) "self",(char *) "colour", NULL
32380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32382 if (!SWIG_IsOK(res1
)) {
32383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32385 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32388 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32393 wxPyEndAllowThreads(__tstate
);
32394 if (PyErr_Occurred()) SWIG_fail
;
32398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32409 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32410 PyObject
*resultobj
= 0;
32411 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32412 wxString
*arg2
= 0 ;
32413 wxColour
*arg3
= 0 ;
32416 bool temp2
= false ;
32418 PyObject
* obj0
= 0 ;
32419 PyObject
* obj1
= 0 ;
32420 PyObject
* obj2
= 0 ;
32421 char * kwnames
[] = {
32422 (char *) "self",(char *) "name",(char *) "colour", NULL
32425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32427 if (!SWIG_IsOK(res1
)) {
32428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32430 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32432 arg2
= wxString_in_helper(obj1
);
32433 if (arg2
== NULL
) SWIG_fail
;
32438 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32442 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32443 wxPyEndAllowThreads(__tstate
);
32444 if (PyErr_Occurred()) SWIG_fail
;
32446 resultobj
= SWIG_Py_Void();
32461 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32462 PyObject
*resultobj
= 0;
32463 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32464 wxString
*arg2
= 0 ;
32470 bool temp2
= false ;
32477 PyObject
* obj0
= 0 ;
32478 PyObject
* obj1
= 0 ;
32479 PyObject
* obj2
= 0 ;
32480 PyObject
* obj3
= 0 ;
32481 PyObject
* obj4
= 0 ;
32482 char * kwnames
[] = {
32483 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32488 if (!SWIG_IsOK(res1
)) {
32489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32491 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32493 arg2
= wxString_in_helper(obj1
);
32494 if (arg2
== NULL
) SWIG_fail
;
32497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32498 if (!SWIG_IsOK(ecode3
)) {
32499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32501 arg3
= static_cast< int >(val3
);
32502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32503 if (!SWIG_IsOK(ecode4
)) {
32504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32506 arg4
= static_cast< int >(val4
);
32507 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32508 if (!SWIG_IsOK(ecode5
)) {
32509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32511 arg5
= static_cast< int >(val5
);
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32515 wxPyEndAllowThreads(__tstate
);
32516 if (PyErr_Occurred()) SWIG_fail
;
32518 resultobj
= SWIG_Py_Void();
32533 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32536 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32537 return SWIG_Py_Void();
32540 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32541 return SWIG_Python_InitShadowInstance(args
);
32544 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32545 PyObject
*resultobj
= 0;
32546 wxFontList
*result
= 0 ;
32548 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32551 result
= (wxFontList
*)_wxPyInitTheFontList();
32552 wxPyEndAllowThreads(__tstate
);
32553 if (PyErr_Occurred()) SWIG_fail
;
32555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32562 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32563 PyObject
*resultobj
= 0;
32564 wxPenList
*result
= 0 ;
32566 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32569 result
= (wxPenList
*)_wxPyInitThePenList();
32570 wxPyEndAllowThreads(__tstate
);
32571 if (PyErr_Occurred()) SWIG_fail
;
32573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32580 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32581 PyObject
*resultobj
= 0;
32582 wxBrushList
*result
= 0 ;
32584 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32588 wxPyEndAllowThreads(__tstate
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32598 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32599 PyObject
*resultobj
= 0;
32600 wxColourDatabase
*result
= 0 ;
32602 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32605 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32606 wxPyEndAllowThreads(__tstate
);
32607 if (PyErr_Occurred()) SWIG_fail
;
32609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32616 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32617 PyObject
*resultobj
= 0;
32618 wxEffects
*result
= 0 ;
32620 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32623 result
= (wxEffects
*)new wxEffects();
32624 wxPyEndAllowThreads(__tstate
);
32625 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32634 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32635 PyObject
*resultobj
= 0;
32636 wxEffects
*arg1
= (wxEffects
*) 0 ;
32640 PyObject
*swig_obj
[1] ;
32642 if (!args
) SWIG_fail
;
32643 swig_obj
[0] = args
;
32644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32645 if (!SWIG_IsOK(res1
)) {
32646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32648 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32651 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32662 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32663 PyObject
*resultobj
= 0;
32664 wxEffects
*arg1
= (wxEffects
*) 0 ;
32668 PyObject
*swig_obj
[1] ;
32670 if (!args
) SWIG_fail
;
32671 swig_obj
[0] = args
;
32672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32673 if (!SWIG_IsOK(res1
)) {
32674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32676 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32680 wxPyEndAllowThreads(__tstate
);
32681 if (PyErr_Occurred()) SWIG_fail
;
32683 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32690 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32691 PyObject
*resultobj
= 0;
32692 wxEffects
*arg1
= (wxEffects
*) 0 ;
32696 PyObject
*swig_obj
[1] ;
32698 if (!args
) SWIG_fail
;
32699 swig_obj
[0] = args
;
32700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32701 if (!SWIG_IsOK(res1
)) {
32702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32704 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32707 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32708 wxPyEndAllowThreads(__tstate
);
32709 if (PyErr_Occurred()) SWIG_fail
;
32711 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32718 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32719 PyObject
*resultobj
= 0;
32720 wxEffects
*arg1
= (wxEffects
*) 0 ;
32724 PyObject
*swig_obj
[1] ;
32726 if (!args
) SWIG_fail
;
32727 swig_obj
[0] = args
;
32728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32729 if (!SWIG_IsOK(res1
)) {
32730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32732 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32735 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32736 wxPyEndAllowThreads(__tstate
);
32737 if (PyErr_Occurred()) SWIG_fail
;
32739 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32746 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32747 PyObject
*resultobj
= 0;
32748 wxEffects
*arg1
= (wxEffects
*) 0 ;
32752 PyObject
*swig_obj
[1] ;
32754 if (!args
) SWIG_fail
;
32755 swig_obj
[0] = args
;
32756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32757 if (!SWIG_IsOK(res1
)) {
32758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32760 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32767 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32774 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32775 PyObject
*resultobj
= 0;
32776 wxEffects
*arg1
= (wxEffects
*) 0 ;
32777 wxColour
*arg2
= 0 ;
32781 PyObject
* obj0
= 0 ;
32782 PyObject
* obj1
= 0 ;
32783 char * kwnames
[] = {
32784 (char *) "self",(char *) "c", NULL
32787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32789 if (!SWIG_IsOK(res1
)) {
32790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32792 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32795 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32799 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32803 resultobj
= SWIG_Py_Void();
32810 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32811 PyObject
*resultobj
= 0;
32812 wxEffects
*arg1
= (wxEffects
*) 0 ;
32813 wxColour
*arg2
= 0 ;
32817 PyObject
* obj0
= 0 ;
32818 PyObject
* obj1
= 0 ;
32819 char * kwnames
[] = {
32820 (char *) "self",(char *) "c", NULL
32823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32825 if (!SWIG_IsOK(res1
)) {
32826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32828 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32839 resultobj
= SWIG_Py_Void();
32846 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32847 PyObject
*resultobj
= 0;
32848 wxEffects
*arg1
= (wxEffects
*) 0 ;
32849 wxColour
*arg2
= 0 ;
32853 PyObject
* obj0
= 0 ;
32854 PyObject
* obj1
= 0 ;
32855 char * kwnames
[] = {
32856 (char *) "self",(char *) "c", NULL
32859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32861 if (!SWIG_IsOK(res1
)) {
32862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32864 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32867 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32871 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32872 wxPyEndAllowThreads(__tstate
);
32873 if (PyErr_Occurred()) SWIG_fail
;
32875 resultobj
= SWIG_Py_Void();
32882 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32883 PyObject
*resultobj
= 0;
32884 wxEffects
*arg1
= (wxEffects
*) 0 ;
32885 wxColour
*arg2
= 0 ;
32889 PyObject
* obj0
= 0 ;
32890 PyObject
* obj1
= 0 ;
32891 char * kwnames
[] = {
32892 (char *) "self",(char *) "c", NULL
32895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32897 if (!SWIG_IsOK(res1
)) {
32898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32900 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32907 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32908 wxPyEndAllowThreads(__tstate
);
32909 if (PyErr_Occurred()) SWIG_fail
;
32911 resultobj
= SWIG_Py_Void();
32918 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32919 PyObject
*resultobj
= 0;
32920 wxEffects
*arg1
= (wxEffects
*) 0 ;
32921 wxColour
*arg2
= 0 ;
32925 PyObject
* obj0
= 0 ;
32926 PyObject
* obj1
= 0 ;
32927 char * kwnames
[] = {
32928 (char *) "self",(char *) "c", NULL
32931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32933 if (!SWIG_IsOK(res1
)) {
32934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32936 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32939 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32943 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32947 resultobj
= SWIG_Py_Void();
32954 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32955 PyObject
*resultobj
= 0;
32956 wxEffects
*arg1
= (wxEffects
*) 0 ;
32957 wxColour
*arg2
= 0 ;
32958 wxColour
*arg3
= 0 ;
32959 wxColour
*arg4
= 0 ;
32960 wxColour
*arg5
= 0 ;
32961 wxColour
*arg6
= 0 ;
32969 PyObject
* obj0
= 0 ;
32970 PyObject
* obj1
= 0 ;
32971 PyObject
* obj2
= 0 ;
32972 PyObject
* obj3
= 0 ;
32973 PyObject
* obj4
= 0 ;
32974 PyObject
* obj5
= 0 ;
32975 char * kwnames
[] = {
32976 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
32979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32981 if (!SWIG_IsOK(res1
)) {
32982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
32984 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32991 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32995 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32999 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33003 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33007 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33008 wxPyEndAllowThreads(__tstate
);
33009 if (PyErr_Occurred()) SWIG_fail
;
33011 resultobj
= SWIG_Py_Void();
33018 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33019 PyObject
*resultobj
= 0;
33020 wxEffects
*arg1
= (wxEffects
*) 0 ;
33023 int arg4
= (int) 1 ;
33031 PyObject
* obj0
= 0 ;
33032 PyObject
* obj1
= 0 ;
33033 PyObject
* obj2
= 0 ;
33034 PyObject
* obj3
= 0 ;
33035 char * kwnames
[] = {
33036 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33041 if (!SWIG_IsOK(res1
)) {
33042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33044 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33046 if (!SWIG_IsOK(res2
)) {
33047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33052 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33055 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33058 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33059 if (!SWIG_IsOK(ecode4
)) {
33060 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33062 arg4
= static_cast< int >(val4
);
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33070 resultobj
= SWIG_Py_Void();
33077 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33078 PyObject
*resultobj
= 0;
33079 wxEffects
*arg1
= (wxEffects
*) 0 ;
33082 wxBitmap
*arg4
= 0 ;
33091 PyObject
* obj0
= 0 ;
33092 PyObject
* obj1
= 0 ;
33093 PyObject
* obj2
= 0 ;
33094 PyObject
* obj3
= 0 ;
33095 char * kwnames
[] = {
33096 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33101 if (!SWIG_IsOK(res1
)) {
33102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33104 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33107 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33109 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33110 if (!SWIG_IsOK(res3
)) {
33111 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33116 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33117 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33118 if (!SWIG_IsOK(res4
)) {
33119 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33124 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33140 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33143 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33144 return SWIG_Py_Void();
33147 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33148 return SWIG_Python_InitShadowInstance(args
);
33151 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33152 PyObject
*resultobj
= 0;
33156 wxSplitterRenderParams
*result
= 0 ;
33163 PyObject
* obj0
= 0 ;
33164 PyObject
* obj1
= 0 ;
33165 PyObject
* obj2
= 0 ;
33166 char * kwnames
[] = {
33167 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33171 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33172 if (!SWIG_IsOK(ecode1
)) {
33173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33175 arg1
= static_cast< int >(val1
);
33176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33177 if (!SWIG_IsOK(ecode2
)) {
33178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33180 arg2
= static_cast< int >(val2
);
33181 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33182 if (!SWIG_IsOK(ecode3
)) {
33183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33185 arg3
= static_cast< bool >(val3
);
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33199 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33200 PyObject
*resultobj
= 0;
33201 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33204 PyObject
*swig_obj
[1] ;
33206 if (!args
) SWIG_fail
;
33207 swig_obj
[0] = args
;
33208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33209 if (!SWIG_IsOK(res1
)) {
33210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33212 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 resultobj
= SWIG_Py_Void();
33227 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33228 PyObject
*resultobj
= 0;
33229 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33233 PyObject
*swig_obj
[1] ;
33235 if (!args
) SWIG_fail
;
33236 swig_obj
[0] = args
;
33237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33238 if (!SWIG_IsOK(res1
)) {
33239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33241 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33242 result
= (int)(int) ((arg1
)->widthSash
);
33243 resultobj
= SWIG_From_int(static_cast< int >(result
));
33250 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33251 PyObject
*resultobj
= 0;
33252 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33256 PyObject
*swig_obj
[1] ;
33258 if (!args
) SWIG_fail
;
33259 swig_obj
[0] = args
;
33260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33261 if (!SWIG_IsOK(res1
)) {
33262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33264 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33265 result
= (int)(int) ((arg1
)->border
);
33266 resultobj
= SWIG_From_int(static_cast< int >(result
));
33273 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33274 PyObject
*resultobj
= 0;
33275 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33279 PyObject
*swig_obj
[1] ;
33281 if (!args
) SWIG_fail
;
33282 swig_obj
[0] = args
;
33283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33284 if (!SWIG_IsOK(res1
)) {
33285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33287 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33288 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33289 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33296 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33299 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33300 return SWIG_Py_Void();
33303 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33304 return SWIG_Python_InitShadowInstance(args
);
33307 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33308 PyObject
*resultobj
= 0;
33309 wxHeaderButtonParams
*result
= 0 ;
33311 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33314 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33315 wxPyEndAllowThreads(__tstate
);
33316 if (PyErr_Occurred()) SWIG_fail
;
33318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33325 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33326 PyObject
*resultobj
= 0;
33327 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33330 PyObject
*swig_obj
[1] ;
33332 if (!args
) SWIG_fail
;
33333 swig_obj
[0] = args
;
33334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33335 if (!SWIG_IsOK(res1
)) {
33336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33338 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33343 wxPyEndAllowThreads(__tstate
);
33344 if (PyErr_Occurred()) SWIG_fail
;
33346 resultobj
= SWIG_Py_Void();
33353 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33354 PyObject
*resultobj
= 0;
33355 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33356 wxColour
*arg2
= (wxColour
*) 0 ;
33360 PyObject
*swig_obj
[2] ;
33362 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33364 if (!SWIG_IsOK(res1
)) {
33365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33367 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33370 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33372 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33374 resultobj
= SWIG_Py_Void();
33381 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33382 PyObject
*resultobj
= 0;
33383 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33384 wxColour
*result
= 0 ;
33387 PyObject
*swig_obj
[1] ;
33389 if (!args
) SWIG_fail
;
33390 swig_obj
[0] = args
;
33391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33392 if (!SWIG_IsOK(res1
)) {
33393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33395 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33396 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33404 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33405 PyObject
*resultobj
= 0;
33406 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33407 wxColour
*arg2
= (wxColour
*) 0 ;
33411 PyObject
*swig_obj
[2] ;
33413 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33415 if (!SWIG_IsOK(res1
)) {
33416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33418 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33421 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33423 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33425 resultobj
= SWIG_Py_Void();
33432 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33433 PyObject
*resultobj
= 0;
33434 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33435 wxColour
*result
= 0 ;
33438 PyObject
*swig_obj
[1] ;
33440 if (!args
) SWIG_fail
;
33441 swig_obj
[0] = args
;
33442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33443 if (!SWIG_IsOK(res1
)) {
33444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33446 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33447 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33455 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33456 PyObject
*resultobj
= 0;
33457 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33458 wxString
*arg2
= (wxString
*) 0 ;
33461 bool temp2
= false ;
33462 PyObject
*swig_obj
[2] ;
33464 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33466 if (!SWIG_IsOK(res1
)) {
33467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33469 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33471 arg2
= wxString_in_helper(swig_obj
[1]);
33472 if (arg2
== NULL
) SWIG_fail
;
33475 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33477 resultobj
= SWIG_Py_Void();
33492 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33493 PyObject
*resultobj
= 0;
33494 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33495 wxString
*result
= 0 ;
33498 PyObject
*swig_obj
[1] ;
33500 if (!args
) SWIG_fail
;
33501 swig_obj
[0] = args
;
33502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33503 if (!SWIG_IsOK(res1
)) {
33504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33506 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33507 result
= (wxString
*)& ((arg1
)->m_labelText
);
33510 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33512 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33521 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33522 PyObject
*resultobj
= 0;
33523 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33524 wxFont
*arg2
= (wxFont
*) 0 ;
33529 PyObject
*swig_obj
[2] ;
33531 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33533 if (!SWIG_IsOK(res1
)) {
33534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33536 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33537 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33538 if (!SWIG_IsOK(res2
)) {
33539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33541 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33542 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33544 resultobj
= SWIG_Py_Void();
33551 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33552 PyObject
*resultobj
= 0;
33553 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33554 wxFont
*result
= 0 ;
33557 PyObject
*swig_obj
[1] ;
33559 if (!args
) SWIG_fail
;
33560 swig_obj
[0] = args
;
33561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33562 if (!SWIG_IsOK(res1
)) {
33563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33565 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33566 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33574 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33575 PyObject
*resultobj
= 0;
33576 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33577 wxColour
*arg2
= (wxColour
*) 0 ;
33581 PyObject
*swig_obj
[2] ;
33583 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33585 if (!SWIG_IsOK(res1
)) {
33586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33588 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33591 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33593 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33595 resultobj
= SWIG_Py_Void();
33602 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33603 PyObject
*resultobj
= 0;
33604 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33605 wxColour
*result
= 0 ;
33608 PyObject
*swig_obj
[1] ;
33610 if (!args
) SWIG_fail
;
33611 swig_obj
[0] = args
;
33612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33613 if (!SWIG_IsOK(res1
)) {
33614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33616 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33617 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33625 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33626 PyObject
*resultobj
= 0;
33627 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33628 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33633 PyObject
*swig_obj
[2] ;
33635 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33637 if (!SWIG_IsOK(res1
)) {
33638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33640 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33641 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33642 if (!SWIG_IsOK(res2
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33645 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33646 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33648 resultobj
= SWIG_Py_Void();
33655 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33656 PyObject
*resultobj
= 0;
33657 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33658 wxBitmap
*result
= 0 ;
33661 PyObject
*swig_obj
[1] ;
33663 if (!args
) SWIG_fail
;
33664 swig_obj
[0] = args
;
33665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33666 if (!SWIG_IsOK(res1
)) {
33667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33669 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33670 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33678 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33679 PyObject
*resultobj
= 0;
33680 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33686 PyObject
*swig_obj
[2] ;
33688 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33690 if (!SWIG_IsOK(res1
)) {
33691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33693 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33694 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33695 if (!SWIG_IsOK(ecode2
)) {
33696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33698 arg2
= static_cast< int >(val2
);
33699 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33701 resultobj
= SWIG_Py_Void();
33708 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33709 PyObject
*resultobj
= 0;
33710 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33714 PyObject
*swig_obj
[1] ;
33716 if (!args
) SWIG_fail
;
33717 swig_obj
[0] = args
;
33718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33719 if (!SWIG_IsOK(res1
)) {
33720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33722 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33723 result
= (int) ((arg1
)->m_labelAlignment
);
33724 resultobj
= SWIG_From_int(static_cast< int >(result
));
33731 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33734 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33735 return SWIG_Py_Void();
33738 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33739 return SWIG_Python_InitShadowInstance(args
);
33742 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33743 PyObject
*resultobj
= 0;
33746 wxRendererVersion
*result
= 0 ;
33751 PyObject
* obj0
= 0 ;
33752 PyObject
* obj1
= 0 ;
33753 char * kwnames
[] = {
33754 (char *) "version_",(char *) "age_", NULL
33757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33758 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33759 if (!SWIG_IsOK(ecode1
)) {
33760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33762 arg1
= static_cast< int >(val1
);
33763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33764 if (!SWIG_IsOK(ecode2
)) {
33765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33767 arg2
= static_cast< int >(val2
);
33769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33770 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33771 wxPyEndAllowThreads(__tstate
);
33772 if (PyErr_Occurred()) SWIG_fail
;
33774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33781 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33782 PyObject
*resultobj
= 0;
33783 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33786 PyObject
*swig_obj
[1] ;
33788 if (!args
) SWIG_fail
;
33789 swig_obj
[0] = args
;
33790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33791 if (!SWIG_IsOK(res1
)) {
33792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33794 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33799 wxPyEndAllowThreads(__tstate
);
33800 if (PyErr_Occurred()) SWIG_fail
;
33802 resultobj
= SWIG_Py_Void();
33809 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33810 PyObject
*resultobj
= 0;
33811 wxRendererVersion
*arg1
= 0 ;
33815 PyObject
* obj0
= 0 ;
33816 char * kwnames
[] = {
33817 (char *) "ver", NULL
33820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33821 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33822 if (!SWIG_IsOK(res1
)) {
33823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33828 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33831 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33832 wxPyEndAllowThreads(__tstate
);
33833 if (PyErr_Occurred()) SWIG_fail
;
33836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33844 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33845 PyObject
*resultobj
= 0;
33846 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33850 PyObject
*swig_obj
[1] ;
33852 if (!args
) SWIG_fail
;
33853 swig_obj
[0] = args
;
33854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33855 if (!SWIG_IsOK(res1
)) {
33856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33858 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33859 result
= (int)(int) ((arg1
)->version
);
33860 resultobj
= SWIG_From_int(static_cast< int >(result
));
33867 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33868 PyObject
*resultobj
= 0;
33869 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33873 PyObject
*swig_obj
[1] ;
33875 if (!args
) SWIG_fail
;
33876 swig_obj
[0] = args
;
33877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33878 if (!SWIG_IsOK(res1
)) {
33879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33881 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33882 result
= (int)(int) ((arg1
)->age
);
33883 resultobj
= SWIG_From_int(static_cast< int >(result
));
33890 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33893 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33894 return SWIG_Py_Void();
33897 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33898 return SWIG_Python_InitShadowInstance(args
);
33901 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33902 PyObject
*resultobj
= 0;
33903 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33904 wxWindow
*arg2
= (wxWindow
*) 0 ;
33907 int arg5
= (int) 0 ;
33908 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33909 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
33923 PyObject
* obj0
= 0 ;
33924 PyObject
* obj1
= 0 ;
33925 PyObject
* obj2
= 0 ;
33926 PyObject
* obj3
= 0 ;
33927 PyObject
* obj4
= 0 ;
33928 PyObject
* obj5
= 0 ;
33929 PyObject
* obj6
= 0 ;
33930 char * kwnames
[] = {
33931 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
33934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
33936 if (!SWIG_IsOK(res1
)) {
33937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
33939 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
33940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33941 if (!SWIG_IsOK(res2
)) {
33942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
33944 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33945 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33946 if (!SWIG_IsOK(res3
)) {
33947 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
33952 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33955 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33958 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33959 if (!SWIG_IsOK(ecode5
)) {
33960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
33962 arg5
= static_cast< int >(val5
);
33965 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33966 if (!SWIG_IsOK(ecode6
)) {
33967 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
33969 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
33972 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33973 if (!SWIG_IsOK(res7
)) {
33974 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
33976 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
33979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33980 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
33981 wxPyEndAllowThreads(__tstate
);
33982 if (PyErr_Occurred()) SWIG_fail
;
33984 resultobj
= SWIG_Py_Void();
33991 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33992 PyObject
*resultobj
= 0;
33993 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33994 wxWindow
*arg2
= (wxWindow
*) 0 ;
33997 int arg5
= (int) 0 ;
33998 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33999 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34013 PyObject
* obj0
= 0 ;
34014 PyObject
* obj1
= 0 ;
34015 PyObject
* obj2
= 0 ;
34016 PyObject
* obj3
= 0 ;
34017 PyObject
* obj4
= 0 ;
34018 PyObject
* obj5
= 0 ;
34019 PyObject
* obj6
= 0 ;
34020 char * kwnames
[] = {
34021 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34026 if (!SWIG_IsOK(res1
)) {
34027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34029 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34030 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34031 if (!SWIG_IsOK(res2
)) {
34032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34034 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34035 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34036 if (!SWIG_IsOK(res3
)) {
34037 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34042 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34045 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34048 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34049 if (!SWIG_IsOK(ecode5
)) {
34050 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34052 arg5
= static_cast< int >(val5
);
34055 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34056 if (!SWIG_IsOK(ecode6
)) {
34057 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34059 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34062 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34063 if (!SWIG_IsOK(res7
)) {
34064 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34066 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34071 wxPyEndAllowThreads(__tstate
);
34072 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= SWIG_Py_Void();
34081 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
= 0;
34083 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34084 wxWindow
*arg2
= (wxWindow
*) 0 ;
34090 PyObject
* obj0
= 0 ;
34091 PyObject
* obj1
= 0 ;
34092 char * kwnames
[] = {
34093 (char *) "self",(char *) "win", NULL
34096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34098 if (!SWIG_IsOK(res1
)) {
34099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34101 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34102 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34103 if (!SWIG_IsOK(res2
)) {
34104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34106 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34109 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34110 wxPyEndAllowThreads(__tstate
);
34111 if (PyErr_Occurred()) SWIG_fail
;
34113 resultobj
= SWIG_From_int(static_cast< int >(result
));
34120 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34121 PyObject
*resultobj
= 0;
34122 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34123 wxWindow
*arg2
= (wxWindow
*) 0 ;
34126 int arg5
= (int) 0 ;
34136 PyObject
* obj0
= 0 ;
34137 PyObject
* obj1
= 0 ;
34138 PyObject
* obj2
= 0 ;
34139 PyObject
* obj3
= 0 ;
34140 PyObject
* obj4
= 0 ;
34141 char * kwnames
[] = {
34142 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34147 if (!SWIG_IsOK(res1
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34150 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34152 if (!SWIG_IsOK(res2
)) {
34153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34155 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34156 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34157 if (!SWIG_IsOK(res3
)) {
34158 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34163 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34166 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34169 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34170 if (!SWIG_IsOK(ecode5
)) {
34171 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34173 arg5
= static_cast< int >(val5
);
34176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34177 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34178 wxPyEndAllowThreads(__tstate
);
34179 if (PyErr_Occurred()) SWIG_fail
;
34181 resultobj
= SWIG_Py_Void();
34188 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
= 0;
34190 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34191 wxWindow
*arg2
= (wxWindow
*) 0 ;
34194 int arg5
= (int) 0 ;
34204 PyObject
* obj0
= 0 ;
34205 PyObject
* obj1
= 0 ;
34206 PyObject
* obj2
= 0 ;
34207 PyObject
* obj3
= 0 ;
34208 PyObject
* obj4
= 0 ;
34209 char * kwnames
[] = {
34210 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34215 if (!SWIG_IsOK(res1
)) {
34216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34218 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34219 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34220 if (!SWIG_IsOK(res2
)) {
34221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34223 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34224 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34225 if (!SWIG_IsOK(res3
)) {
34226 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34231 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34234 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34237 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34238 if (!SWIG_IsOK(ecode5
)) {
34239 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34241 arg5
= static_cast< int >(val5
);
34244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34245 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34246 wxPyEndAllowThreads(__tstate
);
34247 if (PyErr_Occurred()) SWIG_fail
;
34249 resultobj
= SWIG_Py_Void();
34256 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34257 PyObject
*resultobj
= 0;
34258 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34259 wxWindow
*arg2
= (wxWindow
*) 0 ;
34263 wxOrientation arg6
;
34264 int arg7
= (int) 0 ;
34278 PyObject
* obj0
= 0 ;
34279 PyObject
* obj1
= 0 ;
34280 PyObject
* obj2
= 0 ;
34281 PyObject
* obj3
= 0 ;
34282 PyObject
* obj4
= 0 ;
34283 PyObject
* obj5
= 0 ;
34284 PyObject
* obj6
= 0 ;
34285 char * kwnames
[] = {
34286 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34291 if (!SWIG_IsOK(res1
)) {
34292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34294 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34296 if (!SWIG_IsOK(res2
)) {
34297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34299 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34300 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34301 if (!SWIG_IsOK(res3
)) {
34302 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34307 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34310 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34312 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34313 if (!SWIG_IsOK(ecode5
)) {
34314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34316 arg5
= static_cast< int >(val5
);
34317 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34318 if (!SWIG_IsOK(ecode6
)) {
34319 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34321 arg6
= static_cast< wxOrientation
>(val6
);
34323 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34324 if (!SWIG_IsOK(ecode7
)) {
34325 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34327 arg7
= static_cast< int >(val7
);
34330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34331 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34332 wxPyEndAllowThreads(__tstate
);
34333 if (PyErr_Occurred()) SWIG_fail
;
34335 resultobj
= SWIG_Py_Void();
34342 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34343 PyObject
*resultobj
= 0;
34344 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34345 wxWindow
*arg2
= (wxWindow
*) 0 ;
34348 int arg5
= (int) 0 ;
34358 PyObject
* obj0
= 0 ;
34359 PyObject
* obj1
= 0 ;
34360 PyObject
* obj2
= 0 ;
34361 PyObject
* obj3
= 0 ;
34362 PyObject
* obj4
= 0 ;
34363 char * kwnames
[] = {
34364 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34369 if (!SWIG_IsOK(res1
)) {
34370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34372 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34374 if (!SWIG_IsOK(res2
)) {
34375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34377 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34378 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34379 if (!SWIG_IsOK(res3
)) {
34380 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34385 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34388 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34391 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34392 if (!SWIG_IsOK(ecode5
)) {
34393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34395 arg5
= static_cast< int >(val5
);
34398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34399 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34400 wxPyEndAllowThreads(__tstate
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34403 resultobj
= SWIG_Py_Void();
34410 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34411 PyObject
*resultobj
= 0;
34412 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34413 wxWindow
*arg2
= (wxWindow
*) 0 ;
34416 int arg5
= (int) 0 ;
34426 PyObject
* obj0
= 0 ;
34427 PyObject
* obj1
= 0 ;
34428 PyObject
* obj2
= 0 ;
34429 PyObject
* obj3
= 0 ;
34430 PyObject
* obj4
= 0 ;
34431 char * kwnames
[] = {
34432 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34437 if (!SWIG_IsOK(res1
)) {
34438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34440 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34442 if (!SWIG_IsOK(res2
)) {
34443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34445 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34446 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34447 if (!SWIG_IsOK(res3
)) {
34448 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34453 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34456 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34459 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34460 if (!SWIG_IsOK(ecode5
)) {
34461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34463 arg5
= static_cast< int >(val5
);
34466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34467 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34471 resultobj
= SWIG_Py_Void();
34478 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
= 0;
34480 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34481 wxWindow
*arg2
= (wxWindow
*) 0 ;
34484 int arg5
= (int) 0 ;
34494 PyObject
* obj0
= 0 ;
34495 PyObject
* obj1
= 0 ;
34496 PyObject
* obj2
= 0 ;
34497 PyObject
* obj3
= 0 ;
34498 PyObject
* obj4
= 0 ;
34499 char * kwnames
[] = {
34500 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34505 if (!SWIG_IsOK(res1
)) {
34506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34508 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34510 if (!SWIG_IsOK(res2
)) {
34511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34513 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34514 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34515 if (!SWIG_IsOK(res3
)) {
34516 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34521 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34524 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34527 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34528 if (!SWIG_IsOK(ecode5
)) {
34529 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34531 arg5
= static_cast< int >(val5
);
34534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34535 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34536 wxPyEndAllowThreads(__tstate
);
34537 if (PyErr_Occurred()) SWIG_fail
;
34539 resultobj
= SWIG_Py_Void();
34546 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34547 PyObject
*resultobj
= 0;
34548 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34549 wxWindow
*arg2
= (wxWindow
*) 0 ;
34552 int arg5
= (int) 0 ;
34562 PyObject
* obj0
= 0 ;
34563 PyObject
* obj1
= 0 ;
34564 PyObject
* obj2
= 0 ;
34565 PyObject
* obj3
= 0 ;
34566 PyObject
* obj4
= 0 ;
34567 char * kwnames
[] = {
34568 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34573 if (!SWIG_IsOK(res1
)) {
34574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34576 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34578 if (!SWIG_IsOK(res2
)) {
34579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34581 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34582 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34583 if (!SWIG_IsOK(res3
)) {
34584 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34589 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34592 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34595 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34596 if (!SWIG_IsOK(ecode5
)) {
34597 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34599 arg5
= static_cast< int >(val5
);
34602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34603 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34604 wxPyEndAllowThreads(__tstate
);
34605 if (PyErr_Occurred()) SWIG_fail
;
34607 resultobj
= SWIG_Py_Void();
34614 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34615 PyObject
*resultobj
= 0;
34616 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34617 wxWindow
*arg2
= (wxWindow
*) 0 ;
34620 int arg5
= (int) 0 ;
34630 PyObject
* obj0
= 0 ;
34631 PyObject
* obj1
= 0 ;
34632 PyObject
* obj2
= 0 ;
34633 PyObject
* obj3
= 0 ;
34634 PyObject
* obj4
= 0 ;
34635 char * kwnames
[] = {
34636 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34641 if (!SWIG_IsOK(res1
)) {
34642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34644 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34646 if (!SWIG_IsOK(res2
)) {
34647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34649 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34650 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34651 if (!SWIG_IsOK(res3
)) {
34652 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34657 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34660 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34663 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34664 if (!SWIG_IsOK(ecode5
)) {
34665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34667 arg5
= static_cast< int >(val5
);
34670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34671 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34672 wxPyEndAllowThreads(__tstate
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34675 resultobj
= SWIG_Py_Void();
34682 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34683 PyObject
*resultobj
= 0;
34684 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34685 wxWindow
*arg2
= (wxWindow
*) 0 ;
34686 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34691 PyObject
* obj0
= 0 ;
34692 PyObject
* obj1
= 0 ;
34693 char * kwnames
[] = {
34694 (char *) "self",(char *) "win", NULL
34697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34699 if (!SWIG_IsOK(res1
)) {
34700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34702 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34704 if (!SWIG_IsOK(res2
)) {
34705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34710 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34711 wxPyEndAllowThreads(__tstate
);
34712 if (PyErr_Occurred()) SWIG_fail
;
34714 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34721 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34722 PyObject
*resultobj
= 0;
34723 wxRendererNative
*result
= 0 ;
34725 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34727 if (!wxPyCheckForApp()) SWIG_fail
;
34728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34730 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34731 result
= (wxRendererNative
*) &_result_ref
;
34733 wxPyEndAllowThreads(__tstate
);
34734 if (PyErr_Occurred()) SWIG_fail
;
34736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34743 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34744 PyObject
*resultobj
= 0;
34745 wxRendererNative
*result
= 0 ;
34747 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34749 if (!wxPyCheckForApp()) SWIG_fail
;
34750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34752 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34753 result
= (wxRendererNative
*) &_result_ref
;
34755 wxPyEndAllowThreads(__tstate
);
34756 if (PyErr_Occurred()) SWIG_fail
;
34758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34765 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34766 PyObject
*resultobj
= 0;
34767 wxRendererNative
*result
= 0 ;
34769 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34771 if (!wxPyCheckForApp()) SWIG_fail
;
34772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34774 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34775 result
= (wxRendererNative
*) &_result_ref
;
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34787 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34788 PyObject
*resultobj
= 0;
34789 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34790 wxRendererNative
*result
= 0 ;
34793 PyObject
* obj0
= 0 ;
34794 char * kwnames
[] = {
34795 (char *) "renderer", NULL
34798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34800 if (!SWIG_IsOK(res1
)) {
34801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34803 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34805 if (!wxPyCheckForApp()) SWIG_fail
;
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34808 wxPyEndAllowThreads(__tstate
);
34809 if (PyErr_Occurred()) SWIG_fail
;
34811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34818 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34819 PyObject
*resultobj
= 0;
34820 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34821 SwigValueWrapper
<wxRendererVersion
> result
;
34824 PyObject
*swig_obj
[1] ;
34826 if (!args
) SWIG_fail
;
34827 swig_obj
[0] = args
;
34828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34829 if (!SWIG_IsOK(res1
)) {
34830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34832 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34835 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34836 wxPyEndAllowThreads(__tstate
);
34837 if (PyErr_Occurred()) SWIG_fail
;
34839 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34846 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34849 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34850 return SWIG_Py_Void();
34853 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34854 PyObject
*resultobj
= 0;
34855 wxPseudoDC
*result
= 0 ;
34857 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34860 result
= (wxPseudoDC
*)new wxPseudoDC();
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34871 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34872 PyObject
*resultobj
= 0;
34873 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34876 PyObject
*swig_obj
[1] ;
34878 if (!args
) SWIG_fail
;
34879 swig_obj
[0] = args
;
34880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34881 if (!SWIG_IsOK(res1
)) {
34882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34884 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 (arg1
)->BeginDrawing();
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= SWIG_Py_Void();
34898 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34899 PyObject
*resultobj
= 0;
34900 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34903 PyObject
*swig_obj
[1] ;
34905 if (!args
) SWIG_fail
;
34906 swig_obj
[0] = args
;
34907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34908 if (!SWIG_IsOK(res1
)) {
34909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34911 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34914 (arg1
)->EndDrawing();
34915 wxPyEndAllowThreads(__tstate
);
34916 if (PyErr_Occurred()) SWIG_fail
;
34918 resultobj
= SWIG_Py_Void();
34925 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34926 PyObject
*resultobj
= 0;
34927 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34930 PyObject
*swig_obj
[1] ;
34932 if (!args
) SWIG_fail
;
34933 swig_obj
[0] = args
;
34934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
34935 if (!SWIG_IsOK(res1
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34938 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34943 wxPyEndAllowThreads(__tstate
);
34944 if (PyErr_Occurred()) SWIG_fail
;
34946 resultobj
= SWIG_Py_Void();
34953 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34954 PyObject
*resultobj
= 0;
34955 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34958 PyObject
*swig_obj
[1] ;
34960 if (!args
) SWIG_fail
;
34961 swig_obj
[0] = args
;
34962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34963 if (!SWIG_IsOK(res1
)) {
34964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34966 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 (arg1
)->RemoveAll();
34970 wxPyEndAllowThreads(__tstate
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34973 resultobj
= SWIG_Py_Void();
34980 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34981 PyObject
*resultobj
= 0;
34982 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34986 PyObject
*swig_obj
[1] ;
34988 if (!args
) SWIG_fail
;
34989 swig_obj
[0] = args
;
34990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34991 if (!SWIG_IsOK(res1
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34997 result
= (int)(arg1
)->GetLen();
34998 wxPyEndAllowThreads(__tstate
);
34999 if (PyErr_Occurred()) SWIG_fail
;
35001 resultobj
= SWIG_From_int(static_cast< int >(result
));
35008 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35009 PyObject
*resultobj
= 0;
35010 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35016 PyObject
* obj0
= 0 ;
35017 PyObject
* obj1
= 0 ;
35018 char * kwnames
[] = {
35019 (char *) "self",(char *) "id", NULL
35022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35024 if (!SWIG_IsOK(res1
)) {
35025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35027 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35029 if (!SWIG_IsOK(ecode2
)) {
35030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35032 arg2
= static_cast< int >(val2
);
35034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35035 (arg1
)->SetId(arg2
);
35036 wxPyEndAllowThreads(__tstate
);
35037 if (PyErr_Occurred()) SWIG_fail
;
35039 resultobj
= SWIG_Py_Void();
35046 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35047 PyObject
*resultobj
= 0;
35048 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35054 PyObject
* obj0
= 0 ;
35055 PyObject
* obj1
= 0 ;
35056 char * kwnames
[] = {
35057 (char *) "self",(char *) "id", NULL
35060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35062 if (!SWIG_IsOK(res1
)) {
35063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35067 if (!SWIG_IsOK(ecode2
)) {
35068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35070 arg2
= static_cast< int >(val2
);
35072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35073 (arg1
)->ClearId(arg2
);
35074 wxPyEndAllowThreads(__tstate
);
35075 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= SWIG_Py_Void();
35084 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35085 PyObject
*resultobj
= 0;
35086 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35092 PyObject
* obj0
= 0 ;
35093 PyObject
* obj1
= 0 ;
35094 char * kwnames
[] = {
35095 (char *) "self",(char *) "id", NULL
35098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35100 if (!SWIG_IsOK(res1
)) {
35101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35103 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35105 if (!SWIG_IsOK(ecode2
)) {
35106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35108 arg2
= static_cast< int >(val2
);
35110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35111 (arg1
)->RemoveId(arg2
);
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35115 resultobj
= SWIG_Py_Void();
35122 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35123 PyObject
*resultobj
= 0;
35124 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35136 PyObject
* obj0
= 0 ;
35137 PyObject
* obj1
= 0 ;
35138 PyObject
* obj2
= 0 ;
35139 PyObject
* obj3
= 0 ;
35140 char * kwnames
[] = {
35141 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35146 if (!SWIG_IsOK(res1
)) {
35147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35149 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35151 if (!SWIG_IsOK(ecode2
)) {
35152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35154 arg2
= static_cast< int >(val2
);
35155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35156 if (!SWIG_IsOK(ecode3
)) {
35157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35159 arg3
= static_cast< int >(val3
);
35160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35161 if (!SWIG_IsOK(ecode4
)) {
35162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35164 arg4
= static_cast< int >(val4
);
35166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35167 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35168 wxPyEndAllowThreads(__tstate
);
35169 if (PyErr_Occurred()) SWIG_fail
;
35171 resultobj
= SWIG_Py_Void();
35178 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35179 PyObject
*resultobj
= 0;
35180 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35182 bool arg3
= (bool) true ;
35189 PyObject
* obj0
= 0 ;
35190 PyObject
* obj1
= 0 ;
35191 PyObject
* obj2
= 0 ;
35192 char * kwnames
[] = {
35193 (char *) "self",(char *) "id",(char *) "greyout", NULL
35196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35198 if (!SWIG_IsOK(res1
)) {
35199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35201 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35203 if (!SWIG_IsOK(ecode2
)) {
35204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35206 arg2
= static_cast< int >(val2
);
35208 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35209 if (!SWIG_IsOK(ecode3
)) {
35210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35212 arg3
= static_cast< bool >(val3
);
35215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35216 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35217 wxPyEndAllowThreads(__tstate
);
35218 if (PyErr_Occurred()) SWIG_fail
;
35220 resultobj
= SWIG_Py_Void();
35227 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35228 PyObject
*resultobj
= 0;
35229 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35236 PyObject
* obj0
= 0 ;
35237 PyObject
* obj1
= 0 ;
35238 char * kwnames
[] = {
35239 (char *) "self",(char *) "id", NULL
35242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35244 if (!SWIG_IsOK(res1
)) {
35245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35247 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35249 if (!SWIG_IsOK(ecode2
)) {
35250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35252 arg2
= static_cast< int >(val2
);
35254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35255 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35256 wxPyEndAllowThreads(__tstate
);
35257 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35268 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35269 PyObject
*resultobj
= 0;
35270 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35273 int arg4
= (int) 1 ;
35274 wxColor
const &arg5_defvalue
= *wxWHITE
;
35275 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35276 PyObject
*result
= 0 ;
35287 PyObject
* obj0
= 0 ;
35288 PyObject
* obj1
= 0 ;
35289 PyObject
* obj2
= 0 ;
35290 PyObject
* obj3
= 0 ;
35291 PyObject
* obj4
= 0 ;
35292 char * kwnames
[] = {
35293 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35298 if (!SWIG_IsOK(res1
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35303 if (!SWIG_IsOK(ecode2
)) {
35304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35306 arg2
= static_cast< int >(val2
);
35307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35308 if (!SWIG_IsOK(ecode3
)) {
35309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35311 arg3
= static_cast< int >(val3
);
35313 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35314 if (!SWIG_IsOK(ecode4
)) {
35315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35317 arg4
= static_cast< int >(val4
);
35320 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35321 if (!SWIG_IsOK(res5
)) {
35322 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35327 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35330 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35331 if (PyErr_Occurred()) SWIG_fail
;
35333 resultobj
= result
;
35340 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35341 PyObject
*resultobj
= 0;
35342 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35345 PyObject
*result
= 0 ;
35352 PyObject
* obj0
= 0 ;
35353 PyObject
* obj1
= 0 ;
35354 PyObject
* obj2
= 0 ;
35355 char * kwnames
[] = {
35356 (char *) "self",(char *) "x",(char *) "y", NULL
35359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35361 if (!SWIG_IsOK(res1
)) {
35362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35364 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35366 if (!SWIG_IsOK(ecode2
)) {
35367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35369 arg2
= static_cast< int >(val2
);
35370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35371 if (!SWIG_IsOK(ecode3
)) {
35372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35374 arg3
= static_cast< int >(val3
);
35376 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35377 if (PyErr_Occurred()) SWIG_fail
;
35379 resultobj
= result
;
35386 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35387 PyObject
*resultobj
= 0;
35388 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35390 wxDC
*arg3
= (wxDC
*) 0 ;
35397 PyObject
* obj0
= 0 ;
35398 PyObject
* obj1
= 0 ;
35399 PyObject
* obj2
= 0 ;
35400 char * kwnames
[] = {
35401 (char *) "self",(char *) "id",(char *) "dc", NULL
35404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35406 if (!SWIG_IsOK(res1
)) {
35407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35409 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35411 if (!SWIG_IsOK(ecode2
)) {
35412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35414 arg2
= static_cast< int >(val2
);
35415 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35416 if (!SWIG_IsOK(res3
)) {
35417 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35419 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35422 (arg1
)->DrawIdToDC(arg2
,arg3
);
35423 wxPyEndAllowThreads(__tstate
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35426 resultobj
= SWIG_Py_Void();
35433 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35434 PyObject
*resultobj
= 0;
35435 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35443 PyObject
* obj0
= 0 ;
35444 PyObject
* obj1
= 0 ;
35445 PyObject
* obj2
= 0 ;
35446 char * kwnames
[] = {
35447 (char *) "self",(char *) "id",(char *) "rect", NULL
35450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35452 if (!SWIG_IsOK(res1
)) {
35453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35455 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35457 if (!SWIG_IsOK(ecode2
)) {
35458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35460 arg2
= static_cast< int >(val2
);
35463 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35467 (arg1
)->SetIdBounds(arg2
,*arg3
);
35468 wxPyEndAllowThreads(__tstate
);
35469 if (PyErr_Occurred()) SWIG_fail
;
35471 resultobj
= SWIG_Py_Void();
35478 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35479 PyObject
*resultobj
= 0;
35480 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35487 PyObject
* obj0
= 0 ;
35488 PyObject
* obj1
= 0 ;
35489 char * kwnames
[] = {
35490 (char *) "self",(char *) "id", NULL
35493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35495 if (!SWIG_IsOK(res1
)) {
35496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35498 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35500 if (!SWIG_IsOK(ecode2
)) {
35501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35503 arg2
= static_cast< int >(val2
);
35505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35506 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35507 wxPyEndAllowThreads(__tstate
);
35508 if (PyErr_Occurred()) SWIG_fail
;
35510 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35517 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35518 PyObject
*resultobj
= 0;
35519 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35520 wxDC
*arg2
= (wxDC
*) 0 ;
35527 PyObject
* obj0
= 0 ;
35528 PyObject
* obj1
= 0 ;
35529 PyObject
* obj2
= 0 ;
35530 char * kwnames
[] = {
35531 (char *) "self",(char *) "dc",(char *) "rect", NULL
35534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35536 if (!SWIG_IsOK(res1
)) {
35537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35539 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35541 if (!SWIG_IsOK(res2
)) {
35542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35544 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35547 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35551 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35552 wxPyEndAllowThreads(__tstate
);
35553 if (PyErr_Occurred()) SWIG_fail
;
35555 resultobj
= SWIG_Py_Void();
35562 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35563 PyObject
*resultobj
= 0;
35564 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35565 wxDC
*arg2
= (wxDC
*) 0 ;
35566 wxRegion
*arg3
= 0 ;
35573 PyObject
* obj0
= 0 ;
35574 PyObject
* obj1
= 0 ;
35575 PyObject
* obj2
= 0 ;
35576 char * kwnames
[] = {
35577 (char *) "self",(char *) "dc",(char *) "region", NULL
35580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35582 if (!SWIG_IsOK(res1
)) {
35583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35585 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35587 if (!SWIG_IsOK(res2
)) {
35588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35590 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35591 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35592 if (!SWIG_IsOK(res3
)) {
35593 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35598 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35602 wxPyEndAllowThreads(__tstate
);
35603 if (PyErr_Occurred()) SWIG_fail
;
35605 resultobj
= SWIG_Py_Void();
35612 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35613 PyObject
*resultobj
= 0;
35614 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35615 wxDC
*arg2
= (wxDC
*) 0 ;
35620 PyObject
* obj0
= 0 ;
35621 PyObject
* obj1
= 0 ;
35622 char * kwnames
[] = {
35623 (char *) "self",(char *) "dc", NULL
35626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35628 if (!SWIG_IsOK(res1
)) {
35629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35631 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35632 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35633 if (!SWIG_IsOK(res2
)) {
35634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35636 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35639 (arg1
)->DrawToDC(arg2
);
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35643 resultobj
= SWIG_Py_Void();
35650 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35651 PyObject
*resultobj
= 0;
35652 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35655 wxColour
*arg4
= 0 ;
35656 int arg5
= (int) wxFLOOD_SURFACE
;
35666 PyObject
* obj0
= 0 ;
35667 PyObject
* obj1
= 0 ;
35668 PyObject
* obj2
= 0 ;
35669 PyObject
* obj3
= 0 ;
35670 PyObject
* obj4
= 0 ;
35671 char * kwnames
[] = {
35672 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35677 if (!SWIG_IsOK(res1
)) {
35678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35680 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35682 if (!SWIG_IsOK(ecode2
)) {
35683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35685 arg2
= static_cast< int >(val2
);
35686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35687 if (!SWIG_IsOK(ecode3
)) {
35688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35690 arg3
= static_cast< int >(val3
);
35693 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35696 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35697 if (!SWIG_IsOK(ecode5
)) {
35698 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35700 arg5
= static_cast< int >(val5
);
35703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35704 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35705 wxPyEndAllowThreads(__tstate
);
35706 if (PyErr_Occurred()) SWIG_fail
;
35708 resultobj
= SWIG_Py_Void();
35715 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35716 PyObject
*resultobj
= 0;
35717 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35718 wxPoint
*arg2
= 0 ;
35719 wxColour
*arg3
= 0 ;
35720 int arg4
= (int) wxFLOOD_SURFACE
;
35727 PyObject
* obj0
= 0 ;
35728 PyObject
* obj1
= 0 ;
35729 PyObject
* obj2
= 0 ;
35730 PyObject
* obj3
= 0 ;
35731 char * kwnames
[] = {
35732 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35737 if (!SWIG_IsOK(res1
)) {
35738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35740 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35743 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35747 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35750 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35751 if (!SWIG_IsOK(ecode4
)) {
35752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35754 arg4
= static_cast< int >(val4
);
35757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35758 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35762 resultobj
= SWIG_Py_Void();
35769 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35770 PyObject
*resultobj
= 0;
35771 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35786 PyObject
* obj0
= 0 ;
35787 PyObject
* obj1
= 0 ;
35788 PyObject
* obj2
= 0 ;
35789 PyObject
* obj3
= 0 ;
35790 PyObject
* obj4
= 0 ;
35791 char * kwnames
[] = {
35792 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35797 if (!SWIG_IsOK(res1
)) {
35798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35800 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35802 if (!SWIG_IsOK(ecode2
)) {
35803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35805 arg2
= static_cast< int >(val2
);
35806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35807 if (!SWIG_IsOK(ecode3
)) {
35808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35810 arg3
= static_cast< int >(val3
);
35811 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35812 if (!SWIG_IsOK(ecode4
)) {
35813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35815 arg4
= static_cast< int >(val4
);
35816 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35817 if (!SWIG_IsOK(ecode5
)) {
35818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35820 arg5
= static_cast< int >(val5
);
35822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35823 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35824 wxPyEndAllowThreads(__tstate
);
35825 if (PyErr_Occurred()) SWIG_fail
;
35827 resultobj
= SWIG_Py_Void();
35834 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35835 PyObject
*resultobj
= 0;
35836 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35837 wxPoint
*arg2
= 0 ;
35838 wxPoint
*arg3
= 0 ;
35843 PyObject
* obj0
= 0 ;
35844 PyObject
* obj1
= 0 ;
35845 PyObject
* obj2
= 0 ;
35846 char * kwnames
[] = {
35847 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35852 if (!SWIG_IsOK(res1
)) {
35853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35855 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35862 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35866 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35867 wxPyEndAllowThreads(__tstate
);
35868 if (PyErr_Occurred()) SWIG_fail
;
35870 resultobj
= SWIG_Py_Void();
35877 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35878 PyObject
*resultobj
= 0;
35879 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35888 PyObject
* obj0
= 0 ;
35889 PyObject
* obj1
= 0 ;
35890 PyObject
* obj2
= 0 ;
35891 char * kwnames
[] = {
35892 (char *) "self",(char *) "x",(char *) "y", NULL
35895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35897 if (!SWIG_IsOK(res1
)) {
35898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35900 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35902 if (!SWIG_IsOK(ecode2
)) {
35903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35905 arg2
= static_cast< int >(val2
);
35906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35907 if (!SWIG_IsOK(ecode3
)) {
35908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35910 arg3
= static_cast< int >(val3
);
35912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35913 (arg1
)->CrossHair(arg2
,arg3
);
35914 wxPyEndAllowThreads(__tstate
);
35915 if (PyErr_Occurred()) SWIG_fail
;
35917 resultobj
= SWIG_Py_Void();
35924 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35925 PyObject
*resultobj
= 0;
35926 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35927 wxPoint
*arg2
= 0 ;
35931 PyObject
* obj0
= 0 ;
35932 PyObject
* obj1
= 0 ;
35933 char * kwnames
[] = {
35934 (char *) "self",(char *) "pt", NULL
35937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35939 if (!SWIG_IsOK(res1
)) {
35940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35942 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35945 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
35950 wxPyEndAllowThreads(__tstate
);
35951 if (PyErr_Occurred()) SWIG_fail
;
35953 resultobj
= SWIG_Py_Void();
35960 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35961 PyObject
*resultobj
= 0;
35962 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35983 PyObject
* obj0
= 0 ;
35984 PyObject
* obj1
= 0 ;
35985 PyObject
* obj2
= 0 ;
35986 PyObject
* obj3
= 0 ;
35987 PyObject
* obj4
= 0 ;
35988 PyObject
* obj5
= 0 ;
35989 PyObject
* obj6
= 0 ;
35990 char * kwnames
[] = {
35991 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
35994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35996 if (!SWIG_IsOK(res1
)) {
35997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35999 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36001 if (!SWIG_IsOK(ecode2
)) {
36002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36004 arg2
= static_cast< int >(val2
);
36005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36006 if (!SWIG_IsOK(ecode3
)) {
36007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36009 arg3
= static_cast< int >(val3
);
36010 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36011 if (!SWIG_IsOK(ecode4
)) {
36012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36014 arg4
= static_cast< int >(val4
);
36015 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36016 if (!SWIG_IsOK(ecode5
)) {
36017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36019 arg5
= static_cast< int >(val5
);
36020 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36021 if (!SWIG_IsOK(ecode6
)) {
36022 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36024 arg6
= static_cast< int >(val6
);
36025 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36026 if (!SWIG_IsOK(ecode7
)) {
36027 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36029 arg7
= static_cast< int >(val7
);
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= SWIG_Py_Void();
36043 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
= 0;
36045 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36046 wxPoint
*arg2
= 0 ;
36047 wxPoint
*arg3
= 0 ;
36048 wxPoint
*arg4
= 0 ;
36054 PyObject
* obj0
= 0 ;
36055 PyObject
* obj1
= 0 ;
36056 PyObject
* obj2
= 0 ;
36057 PyObject
* obj3
= 0 ;
36058 char * kwnames
[] = {
36059 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36064 if (!SWIG_IsOK(res1
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36067 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36074 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36082 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36083 wxPyEndAllowThreads(__tstate
);
36084 if (PyErr_Occurred()) SWIG_fail
;
36086 resultobj
= SWIG_Py_Void();
36093 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36094 PyObject
*resultobj
= 0;
36095 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36110 PyObject
* obj0
= 0 ;
36111 PyObject
* obj1
= 0 ;
36112 PyObject
* obj2
= 0 ;
36113 PyObject
* obj3
= 0 ;
36114 PyObject
* obj4
= 0 ;
36115 char * kwnames
[] = {
36116 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36121 if (!SWIG_IsOK(res1
)) {
36122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36126 if (!SWIG_IsOK(ecode2
)) {
36127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36129 arg2
= static_cast< int >(val2
);
36130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36131 if (!SWIG_IsOK(ecode3
)) {
36132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36134 arg3
= static_cast< int >(val3
);
36135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36136 if (!SWIG_IsOK(ecode4
)) {
36137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36139 arg4
= static_cast< int >(val4
);
36140 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36141 if (!SWIG_IsOK(ecode5
)) {
36142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36144 arg5
= static_cast< int >(val5
);
36146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36147 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36148 wxPyEndAllowThreads(__tstate
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36151 resultobj
= SWIG_Py_Void();
36158 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36159 PyObject
*resultobj
= 0;
36160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36165 PyObject
* obj0
= 0 ;
36166 PyObject
* obj1
= 0 ;
36167 char * kwnames
[] = {
36168 (char *) "self",(char *) "rect", NULL
36171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36173 if (!SWIG_IsOK(res1
)) {
36174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36176 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36179 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36183 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36184 wxPyEndAllowThreads(__tstate
);
36185 if (PyErr_Occurred()) SWIG_fail
;
36187 resultobj
= SWIG_Py_Void();
36194 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36195 PyObject
*resultobj
= 0;
36196 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36217 PyObject
* obj0
= 0 ;
36218 PyObject
* obj1
= 0 ;
36219 PyObject
* obj2
= 0 ;
36220 PyObject
* obj3
= 0 ;
36221 PyObject
* obj4
= 0 ;
36222 PyObject
* obj5
= 0 ;
36223 PyObject
* obj6
= 0 ;
36224 char * kwnames
[] = {
36225 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36230 if (!SWIG_IsOK(res1
)) {
36231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36233 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36235 if (!SWIG_IsOK(ecode2
)) {
36236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36238 arg2
= static_cast< int >(val2
);
36239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36240 if (!SWIG_IsOK(ecode3
)) {
36241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36243 arg3
= static_cast< int >(val3
);
36244 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36245 if (!SWIG_IsOK(ecode4
)) {
36246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36248 arg4
= static_cast< int >(val4
);
36249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36250 if (!SWIG_IsOK(ecode5
)) {
36251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36253 arg5
= static_cast< int >(val5
);
36254 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36255 if (!SWIG_IsOK(ecode6
)) {
36256 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36258 arg6
= static_cast< double >(val6
);
36259 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36260 if (!SWIG_IsOK(ecode7
)) {
36261 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36263 arg7
= static_cast< double >(val7
);
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36267 wxPyEndAllowThreads(__tstate
);
36268 if (PyErr_Occurred()) SWIG_fail
;
36270 resultobj
= SWIG_Py_Void();
36277 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36278 PyObject
*resultobj
= 0;
36279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36280 wxPoint
*arg2
= 0 ;
36292 PyObject
* obj0
= 0 ;
36293 PyObject
* obj1
= 0 ;
36294 PyObject
* obj2
= 0 ;
36295 PyObject
* obj3
= 0 ;
36296 PyObject
* obj4
= 0 ;
36297 char * kwnames
[] = {
36298 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36303 if (!SWIG_IsOK(res1
)) {
36304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36306 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36313 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36315 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36316 if (!SWIG_IsOK(ecode4
)) {
36317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36319 arg4
= static_cast< double >(val4
);
36320 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36321 if (!SWIG_IsOK(ecode5
)) {
36322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36324 arg5
= static_cast< double >(val5
);
36326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36327 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36328 wxPyEndAllowThreads(__tstate
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36331 resultobj
= SWIG_Py_Void();
36338 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36339 PyObject
*resultobj
= 0;
36340 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36349 PyObject
* obj0
= 0 ;
36350 PyObject
* obj1
= 0 ;
36351 PyObject
* obj2
= 0 ;
36352 char * kwnames
[] = {
36353 (char *) "self",(char *) "x",(char *) "y", NULL
36356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36358 if (!SWIG_IsOK(res1
)) {
36359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36361 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36363 if (!SWIG_IsOK(ecode2
)) {
36364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36366 arg2
= static_cast< int >(val2
);
36367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36368 if (!SWIG_IsOK(ecode3
)) {
36369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36371 arg3
= static_cast< int >(val3
);
36373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36374 (arg1
)->DrawPoint(arg2
,arg3
);
36375 wxPyEndAllowThreads(__tstate
);
36376 if (PyErr_Occurred()) SWIG_fail
;
36378 resultobj
= SWIG_Py_Void();
36385 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36386 PyObject
*resultobj
= 0;
36387 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36388 wxPoint
*arg2
= 0 ;
36392 PyObject
* obj0
= 0 ;
36393 PyObject
* obj1
= 0 ;
36394 char * kwnames
[] = {
36395 (char *) "self",(char *) "pt", NULL
36398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36400 if (!SWIG_IsOK(res1
)) {
36401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36403 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36410 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36411 wxPyEndAllowThreads(__tstate
);
36412 if (PyErr_Occurred()) SWIG_fail
;
36414 resultobj
= SWIG_Py_Void();
36421 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36422 PyObject
*resultobj
= 0;
36423 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36438 PyObject
* obj0
= 0 ;
36439 PyObject
* obj1
= 0 ;
36440 PyObject
* obj2
= 0 ;
36441 PyObject
* obj3
= 0 ;
36442 PyObject
* obj4
= 0 ;
36443 char * kwnames
[] = {
36444 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36449 if (!SWIG_IsOK(res1
)) {
36450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36452 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36454 if (!SWIG_IsOK(ecode2
)) {
36455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36457 arg2
= static_cast< int >(val2
);
36458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36459 if (!SWIG_IsOK(ecode3
)) {
36460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36462 arg3
= static_cast< int >(val3
);
36463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36464 if (!SWIG_IsOK(ecode4
)) {
36465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36467 arg4
= static_cast< int >(val4
);
36468 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36469 if (!SWIG_IsOK(ecode5
)) {
36470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36472 arg5
= static_cast< int >(val5
);
36474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36475 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36476 wxPyEndAllowThreads(__tstate
);
36477 if (PyErr_Occurred()) SWIG_fail
;
36479 resultobj
= SWIG_Py_Void();
36486 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36487 PyObject
*resultobj
= 0;
36488 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36493 PyObject
* obj0
= 0 ;
36494 PyObject
* obj1
= 0 ;
36495 char * kwnames
[] = {
36496 (char *) "self",(char *) "rect", NULL
36499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36501 if (!SWIG_IsOK(res1
)) {
36502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36504 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36507 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36511 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36512 wxPyEndAllowThreads(__tstate
);
36513 if (PyErr_Occurred()) SWIG_fail
;
36515 resultobj
= SWIG_Py_Void();
36522 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36523 PyObject
*resultobj
= 0;
36524 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36525 wxPoint
*arg2
= 0 ;
36531 PyObject
* obj0
= 0 ;
36532 PyObject
* obj1
= 0 ;
36533 PyObject
* obj2
= 0 ;
36534 char * kwnames
[] = {
36535 (char *) "self",(char *) "pt",(char *) "sz", NULL
36538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36540 if (!SWIG_IsOK(res1
)) {
36541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36543 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36550 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36554 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36555 wxPyEndAllowThreads(__tstate
);
36556 if (PyErr_Occurred()) SWIG_fail
;
36558 resultobj
= SWIG_Py_Void();
36565 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36566 PyObject
*resultobj
= 0;
36567 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36585 PyObject
* obj0
= 0 ;
36586 PyObject
* obj1
= 0 ;
36587 PyObject
* obj2
= 0 ;
36588 PyObject
* obj3
= 0 ;
36589 PyObject
* obj4
= 0 ;
36590 PyObject
* obj5
= 0 ;
36591 char * kwnames
[] = {
36592 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36597 if (!SWIG_IsOK(res1
)) {
36598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36600 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36602 if (!SWIG_IsOK(ecode2
)) {
36603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36605 arg2
= static_cast< int >(val2
);
36606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36607 if (!SWIG_IsOK(ecode3
)) {
36608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36610 arg3
= static_cast< int >(val3
);
36611 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36612 if (!SWIG_IsOK(ecode4
)) {
36613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36615 arg4
= static_cast< int >(val4
);
36616 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36617 if (!SWIG_IsOK(ecode5
)) {
36618 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36620 arg5
= static_cast< int >(val5
);
36621 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36622 if (!SWIG_IsOK(ecode6
)) {
36623 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36625 arg6
= static_cast< double >(val6
);
36627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36628 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36632 resultobj
= SWIG_Py_Void();
36639 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36640 PyObject
*resultobj
= 0;
36641 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36649 PyObject
* obj0
= 0 ;
36650 PyObject
* obj1
= 0 ;
36651 PyObject
* obj2
= 0 ;
36652 char * kwnames
[] = {
36653 (char *) "self",(char *) "r",(char *) "radius", NULL
36656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36658 if (!SWIG_IsOK(res1
)) {
36659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36661 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36664 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36666 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36667 if (!SWIG_IsOK(ecode3
)) {
36668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36670 arg3
= static_cast< double >(val3
);
36672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36673 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36674 wxPyEndAllowThreads(__tstate
);
36675 if (PyErr_Occurred()) SWIG_fail
;
36677 resultobj
= SWIG_Py_Void();
36684 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36685 PyObject
*resultobj
= 0;
36686 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36687 wxPoint
*arg2
= 0 ;
36696 PyObject
* obj0
= 0 ;
36697 PyObject
* obj1
= 0 ;
36698 PyObject
* obj2
= 0 ;
36699 PyObject
* obj3
= 0 ;
36700 char * kwnames
[] = {
36701 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36706 if (!SWIG_IsOK(res1
)) {
36707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36709 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36712 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36716 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36718 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36719 if (!SWIG_IsOK(ecode4
)) {
36720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36722 arg4
= static_cast< double >(val4
);
36724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36725 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36726 wxPyEndAllowThreads(__tstate
);
36727 if (PyErr_Occurred()) SWIG_fail
;
36729 resultobj
= SWIG_Py_Void();
36736 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36737 PyObject
*resultobj
= 0;
36738 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36750 PyObject
* obj0
= 0 ;
36751 PyObject
* obj1
= 0 ;
36752 PyObject
* obj2
= 0 ;
36753 PyObject
* obj3
= 0 ;
36754 char * kwnames
[] = {
36755 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36760 if (!SWIG_IsOK(res1
)) {
36761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36763 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36765 if (!SWIG_IsOK(ecode2
)) {
36766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36768 arg2
= static_cast< int >(val2
);
36769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36770 if (!SWIG_IsOK(ecode3
)) {
36771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36773 arg3
= static_cast< int >(val3
);
36774 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36775 if (!SWIG_IsOK(ecode4
)) {
36776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36778 arg4
= static_cast< int >(val4
);
36780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36781 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36785 resultobj
= SWIG_Py_Void();
36792 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36793 PyObject
*resultobj
= 0;
36794 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36795 wxPoint
*arg2
= 0 ;
36802 PyObject
* obj0
= 0 ;
36803 PyObject
* obj1
= 0 ;
36804 PyObject
* obj2
= 0 ;
36805 char * kwnames
[] = {
36806 (char *) "self",(char *) "pt",(char *) "radius", NULL
36809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36811 if (!SWIG_IsOK(res1
)) {
36812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36814 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36817 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36820 if (!SWIG_IsOK(ecode3
)) {
36821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36823 arg3
= static_cast< int >(val3
);
36825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36826 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36827 wxPyEndAllowThreads(__tstate
);
36828 if (PyErr_Occurred()) SWIG_fail
;
36830 resultobj
= SWIG_Py_Void();
36837 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36838 PyObject
*resultobj
= 0;
36839 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36854 PyObject
* obj0
= 0 ;
36855 PyObject
* obj1
= 0 ;
36856 PyObject
* obj2
= 0 ;
36857 PyObject
* obj3
= 0 ;
36858 PyObject
* obj4
= 0 ;
36859 char * kwnames
[] = {
36860 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36865 if (!SWIG_IsOK(res1
)) {
36866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36868 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36870 if (!SWIG_IsOK(ecode2
)) {
36871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36873 arg2
= static_cast< int >(val2
);
36874 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36875 if (!SWIG_IsOK(ecode3
)) {
36876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36878 arg3
= static_cast< int >(val3
);
36879 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36880 if (!SWIG_IsOK(ecode4
)) {
36881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36883 arg4
= static_cast< int >(val4
);
36884 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36885 if (!SWIG_IsOK(ecode5
)) {
36886 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36888 arg5
= static_cast< int >(val5
);
36890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36891 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36892 wxPyEndAllowThreads(__tstate
);
36893 if (PyErr_Occurred()) SWIG_fail
;
36895 resultobj
= SWIG_Py_Void();
36902 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36903 PyObject
*resultobj
= 0;
36904 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36909 PyObject
* obj0
= 0 ;
36910 PyObject
* obj1
= 0 ;
36911 char * kwnames
[] = {
36912 (char *) "self",(char *) "rect", NULL
36915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36917 if (!SWIG_IsOK(res1
)) {
36918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36920 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36923 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36927 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
36928 wxPyEndAllowThreads(__tstate
);
36929 if (PyErr_Occurred()) SWIG_fail
;
36931 resultobj
= SWIG_Py_Void();
36938 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36939 PyObject
*resultobj
= 0;
36940 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36941 wxPoint
*arg2
= 0 ;
36947 PyObject
* obj0
= 0 ;
36948 PyObject
* obj1
= 0 ;
36949 PyObject
* obj2
= 0 ;
36950 char * kwnames
[] = {
36951 (char *) "self",(char *) "pt",(char *) "sz", NULL
36954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36956 if (!SWIG_IsOK(res1
)) {
36957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36959 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36962 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36966 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36971 wxPyEndAllowThreads(__tstate
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36974 resultobj
= SWIG_Py_Void();
36981 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36982 PyObject
*resultobj
= 0;
36983 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36995 PyObject
* obj0
= 0 ;
36996 PyObject
* obj1
= 0 ;
36997 PyObject
* obj2
= 0 ;
36998 PyObject
* obj3
= 0 ;
36999 char * kwnames
[] = {
37000 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37005 if (!SWIG_IsOK(res1
)) {
37006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37008 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37010 if (!SWIG_IsOK(res2
)) {
37011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37016 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37018 if (!SWIG_IsOK(ecode3
)) {
37019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37021 arg3
= static_cast< int >(val3
);
37022 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37023 if (!SWIG_IsOK(ecode4
)) {
37024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37026 arg4
= static_cast< int >(val4
);
37028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37029 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37030 wxPyEndAllowThreads(__tstate
);
37031 if (PyErr_Occurred()) SWIG_fail
;
37033 resultobj
= SWIG_Py_Void();
37040 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37041 PyObject
*resultobj
= 0;
37042 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37044 wxPoint
*arg3
= 0 ;
37050 PyObject
* obj0
= 0 ;
37051 PyObject
* obj1
= 0 ;
37052 PyObject
* obj2
= 0 ;
37053 char * kwnames
[] = {
37054 (char *) "self",(char *) "icon",(char *) "pt", NULL
37057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37059 if (!SWIG_IsOK(res1
)) {
37060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37062 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37064 if (!SWIG_IsOK(res2
)) {
37065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37070 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37073 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37077 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37078 wxPyEndAllowThreads(__tstate
);
37079 if (PyErr_Occurred()) SWIG_fail
;
37081 resultobj
= SWIG_Py_Void();
37088 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37089 PyObject
*resultobj
= 0;
37090 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37091 wxBitmap
*arg2
= 0 ;
37094 bool arg5
= (bool) false ;
37105 PyObject
* obj0
= 0 ;
37106 PyObject
* obj1
= 0 ;
37107 PyObject
* obj2
= 0 ;
37108 PyObject
* obj3
= 0 ;
37109 PyObject
* obj4
= 0 ;
37110 char * kwnames
[] = {
37111 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37116 if (!SWIG_IsOK(res1
)) {
37117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37119 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37121 if (!SWIG_IsOK(res2
)) {
37122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37127 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37129 if (!SWIG_IsOK(ecode3
)) {
37130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37132 arg3
= static_cast< int >(val3
);
37133 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37134 if (!SWIG_IsOK(ecode4
)) {
37135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37137 arg4
= static_cast< int >(val4
);
37139 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37140 if (!SWIG_IsOK(ecode5
)) {
37141 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37143 arg5
= static_cast< bool >(val5
);
37146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37147 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37148 wxPyEndAllowThreads(__tstate
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37151 resultobj
= SWIG_Py_Void();
37158 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37159 PyObject
*resultobj
= 0;
37160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37161 wxBitmap
*arg2
= 0 ;
37162 wxPoint
*arg3
= 0 ;
37163 bool arg4
= (bool) false ;
37171 PyObject
* obj0
= 0 ;
37172 PyObject
* obj1
= 0 ;
37173 PyObject
* obj2
= 0 ;
37174 PyObject
* obj3
= 0 ;
37175 char * kwnames
[] = {
37176 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37181 if (!SWIG_IsOK(res1
)) {
37182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37184 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37186 if (!SWIG_IsOK(res2
)) {
37187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37192 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37195 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37198 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37199 if (!SWIG_IsOK(ecode4
)) {
37200 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37202 arg4
= static_cast< bool >(val4
);
37205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37206 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37207 wxPyEndAllowThreads(__tstate
);
37208 if (PyErr_Occurred()) SWIG_fail
;
37210 resultobj
= SWIG_Py_Void();
37217 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37218 PyObject
*resultobj
= 0;
37219 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37220 wxString
*arg2
= 0 ;
37225 bool temp2
= false ;
37230 PyObject
* obj0
= 0 ;
37231 PyObject
* obj1
= 0 ;
37232 PyObject
* obj2
= 0 ;
37233 PyObject
* obj3
= 0 ;
37234 char * kwnames
[] = {
37235 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37240 if (!SWIG_IsOK(res1
)) {
37241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37243 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37245 arg2
= wxString_in_helper(obj1
);
37246 if (arg2
== NULL
) SWIG_fail
;
37249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37250 if (!SWIG_IsOK(ecode3
)) {
37251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37253 arg3
= static_cast< int >(val3
);
37254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37255 if (!SWIG_IsOK(ecode4
)) {
37256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37258 arg4
= static_cast< int >(val4
);
37260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37261 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37265 resultobj
= SWIG_Py_Void();
37280 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37281 PyObject
*resultobj
= 0;
37282 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37283 wxString
*arg2
= 0 ;
37284 wxPoint
*arg3
= 0 ;
37287 bool temp2
= false ;
37289 PyObject
* obj0
= 0 ;
37290 PyObject
* obj1
= 0 ;
37291 PyObject
* obj2
= 0 ;
37292 char * kwnames
[] = {
37293 (char *) "self",(char *) "text",(char *) "pt", NULL
37296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37298 if (!SWIG_IsOK(res1
)) {
37299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37303 arg2
= wxString_in_helper(obj1
);
37304 if (arg2
== NULL
) SWIG_fail
;
37309 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37313 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37314 wxPyEndAllowThreads(__tstate
);
37315 if (PyErr_Occurred()) SWIG_fail
;
37317 resultobj
= SWIG_Py_Void();
37332 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37333 PyObject
*resultobj
= 0;
37334 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37335 wxString
*arg2
= 0 ;
37341 bool temp2
= false ;
37348 PyObject
* obj0
= 0 ;
37349 PyObject
* obj1
= 0 ;
37350 PyObject
* obj2
= 0 ;
37351 PyObject
* obj3
= 0 ;
37352 PyObject
* obj4
= 0 ;
37353 char * kwnames
[] = {
37354 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37359 if (!SWIG_IsOK(res1
)) {
37360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37362 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37364 arg2
= wxString_in_helper(obj1
);
37365 if (arg2
== NULL
) SWIG_fail
;
37368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37369 if (!SWIG_IsOK(ecode3
)) {
37370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37372 arg3
= static_cast< int >(val3
);
37373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37374 if (!SWIG_IsOK(ecode4
)) {
37375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37377 arg4
= static_cast< int >(val4
);
37378 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37379 if (!SWIG_IsOK(ecode5
)) {
37380 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37382 arg5
= static_cast< double >(val5
);
37384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37385 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37386 wxPyEndAllowThreads(__tstate
);
37387 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= SWIG_Py_Void();
37404 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37405 PyObject
*resultobj
= 0;
37406 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37407 wxString
*arg2
= 0 ;
37408 wxPoint
*arg3
= 0 ;
37412 bool temp2
= false ;
37416 PyObject
* obj0
= 0 ;
37417 PyObject
* obj1
= 0 ;
37418 PyObject
* obj2
= 0 ;
37419 PyObject
* obj3
= 0 ;
37420 char * kwnames
[] = {
37421 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37426 if (!SWIG_IsOK(res1
)) {
37427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37429 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37431 arg2
= wxString_in_helper(obj1
);
37432 if (arg2
== NULL
) SWIG_fail
;
37437 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37439 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37440 if (!SWIG_IsOK(ecode4
)) {
37441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37443 arg4
= static_cast< double >(val4
);
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37447 wxPyEndAllowThreads(__tstate
);
37448 if (PyErr_Occurred()) SWIG_fail
;
37450 resultobj
= SWIG_Py_Void();
37465 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37466 PyObject
*resultobj
= 0;
37467 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37469 wxPoint
*arg3
= (wxPoint
*) 0 ;
37470 int arg4
= (int) 0 ;
37471 int arg5
= (int) 0 ;
37478 PyObject
* obj0
= 0 ;
37479 PyObject
* obj1
= 0 ;
37480 PyObject
* obj2
= 0 ;
37481 PyObject
* obj3
= 0 ;
37482 char * kwnames
[] = {
37483 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37488 if (!SWIG_IsOK(res1
)) {
37489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37491 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37493 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37494 if (arg3
== NULL
) SWIG_fail
;
37497 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37498 if (!SWIG_IsOK(ecode4
)) {
37499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37501 arg4
= static_cast< int >(val4
);
37504 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37505 if (!SWIG_IsOK(ecode5
)) {
37506 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37508 arg5
= static_cast< int >(val5
);
37511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37512 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37513 wxPyEndAllowThreads(__tstate
);
37514 if (PyErr_Occurred()) SWIG_fail
;
37516 resultobj
= SWIG_Py_Void();
37518 if (arg3
) delete [] arg3
;
37523 if (arg3
) delete [] arg3
;
37529 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37530 PyObject
*resultobj
= 0;
37531 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37533 wxPoint
*arg3
= (wxPoint
*) 0 ;
37534 int arg4
= (int) 0 ;
37535 int arg5
= (int) 0 ;
37536 int arg6
= (int) wxODDEVEN_RULE
;
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 *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",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_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37559 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37561 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37562 if (arg3
== NULL
) SWIG_fail
;
37565 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37566 if (!SWIG_IsOK(ecode4
)) {
37567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37569 arg4
= static_cast< int >(val4
);
37572 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37573 if (!SWIG_IsOK(ecode5
)) {
37574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37576 arg5
= static_cast< int >(val5
);
37579 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37580 if (!SWIG_IsOK(ecode6
)) {
37581 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37583 arg6
= static_cast< int >(val6
);
37586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37587 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37588 wxPyEndAllowThreads(__tstate
);
37589 if (PyErr_Occurred()) SWIG_fail
;
37591 resultobj
= SWIG_Py_Void();
37593 if (arg3
) delete [] arg3
;
37598 if (arg3
) delete [] arg3
;
37604 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37605 PyObject
*resultobj
= 0;
37606 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37607 wxString
*arg2
= 0 ;
37609 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37610 int arg5
= (int) -1 ;
37613 bool temp2
= false ;
37619 PyObject
* obj0
= 0 ;
37620 PyObject
* obj1
= 0 ;
37621 PyObject
* obj2
= 0 ;
37622 PyObject
* obj3
= 0 ;
37623 PyObject
* obj4
= 0 ;
37624 char * kwnames
[] = {
37625 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37630 if (!SWIG_IsOK(res1
)) {
37631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37633 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37635 arg2
= wxString_in_helper(obj1
);
37636 if (arg2
== NULL
) SWIG_fail
;
37641 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37645 if (!SWIG_IsOK(ecode4
)) {
37646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37648 arg4
= static_cast< int >(val4
);
37651 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37652 if (!SWIG_IsOK(ecode5
)) {
37653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37655 arg5
= static_cast< int >(val5
);
37658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37659 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37660 wxPyEndAllowThreads(__tstate
);
37661 if (PyErr_Occurred()) SWIG_fail
;
37663 resultobj
= SWIG_Py_Void();
37678 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37679 PyObject
*resultobj
= 0;
37680 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37681 wxString
*arg2
= 0 ;
37682 wxBitmap
*arg3
= 0 ;
37684 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37685 int arg6
= (int) -1 ;
37688 bool temp2
= false ;
37696 PyObject
* obj0
= 0 ;
37697 PyObject
* obj1
= 0 ;
37698 PyObject
* obj2
= 0 ;
37699 PyObject
* obj3
= 0 ;
37700 PyObject
* obj4
= 0 ;
37701 PyObject
* obj5
= 0 ;
37702 char * kwnames
[] = {
37703 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37708 if (!SWIG_IsOK(res1
)) {
37709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37711 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37713 arg2
= wxString_in_helper(obj1
);
37714 if (arg2
== NULL
) SWIG_fail
;
37717 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37718 if (!SWIG_IsOK(res3
)) {
37719 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37724 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37727 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37730 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37731 if (!SWIG_IsOK(ecode5
)) {
37732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37734 arg5
= static_cast< int >(val5
);
37737 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37738 if (!SWIG_IsOK(ecode6
)) {
37739 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37741 arg6
= static_cast< int >(val6
);
37744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37745 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37746 wxPyEndAllowThreads(__tstate
);
37747 if (PyErr_Occurred()) SWIG_fail
;
37749 resultobj
= SWIG_Py_Void();
37764 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37765 PyObject
*resultobj
= 0;
37766 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37768 wxPoint
*arg3
= (wxPoint
*) 0 ;
37771 PyObject
* obj0
= 0 ;
37772 PyObject
* obj1
= 0 ;
37773 char * kwnames
[] = {
37774 (char *) "self",(char *) "points", NULL
37777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37779 if (!SWIG_IsOK(res1
)) {
37780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37782 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37784 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37785 if (arg3
== NULL
) SWIG_fail
;
37788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37789 (arg1
)->DrawSpline(arg2
,arg3
);
37790 wxPyEndAllowThreads(__tstate
);
37791 if (PyErr_Occurred()) SWIG_fail
;
37793 resultobj
= SWIG_Py_Void();
37795 if (arg3
) delete [] arg3
;
37800 if (arg3
) delete [] arg3
;
37806 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37807 PyObject
*resultobj
= 0;
37808 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37811 PyObject
*swig_obj
[1] ;
37813 if (!args
) SWIG_fail
;
37814 swig_obj
[0] = args
;
37815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37816 if (!SWIG_IsOK(res1
)) {
37817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37819 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37823 wxPyEndAllowThreads(__tstate
);
37824 if (PyErr_Occurred()) SWIG_fail
;
37826 resultobj
= SWIG_Py_Void();
37833 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37834 PyObject
*resultobj
= 0;
37835 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37841 PyObject
* obj0
= 0 ;
37842 PyObject
* obj1
= 0 ;
37843 char * kwnames
[] = {
37844 (char *) "self",(char *) "font", NULL
37847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37849 if (!SWIG_IsOK(res1
)) {
37850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37852 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37854 if (!SWIG_IsOK(res2
)) {
37855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37860 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37863 (arg1
)->SetFont((wxFont
const &)*arg2
);
37864 wxPyEndAllowThreads(__tstate
);
37865 if (PyErr_Occurred()) SWIG_fail
;
37867 resultobj
= SWIG_Py_Void();
37874 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37875 PyObject
*resultobj
= 0;
37876 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37882 PyObject
* obj0
= 0 ;
37883 PyObject
* obj1
= 0 ;
37884 char * kwnames
[] = {
37885 (char *) "self",(char *) "pen", NULL
37888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37890 if (!SWIG_IsOK(res1
)) {
37891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37893 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37895 if (!SWIG_IsOK(res2
)) {
37896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37901 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37904 (arg1
)->SetPen((wxPen
const &)*arg2
);
37905 wxPyEndAllowThreads(__tstate
);
37906 if (PyErr_Occurred()) SWIG_fail
;
37908 resultobj
= SWIG_Py_Void();
37915 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37916 PyObject
*resultobj
= 0;
37917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37918 wxBrush
*arg2
= 0 ;
37923 PyObject
* obj0
= 0 ;
37924 PyObject
* obj1
= 0 ;
37925 char * kwnames
[] = {
37926 (char *) "self",(char *) "brush", NULL
37929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37931 if (!SWIG_IsOK(res1
)) {
37932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37934 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37936 if (!SWIG_IsOK(res2
)) {
37937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
37942 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37945 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
37946 wxPyEndAllowThreads(__tstate
);
37947 if (PyErr_Occurred()) SWIG_fail
;
37949 resultobj
= SWIG_Py_Void();
37956 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37957 PyObject
*resultobj
= 0;
37958 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37959 wxBrush
*arg2
= 0 ;
37964 PyObject
* obj0
= 0 ;
37965 PyObject
* obj1
= 0 ;
37966 char * kwnames
[] = {
37967 (char *) "self",(char *) "brush", NULL
37970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37972 if (!SWIG_IsOK(res1
)) {
37973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37975 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
37977 if (!SWIG_IsOK(res2
)) {
37978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
37983 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
37985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37986 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
37987 wxPyEndAllowThreads(__tstate
);
37988 if (PyErr_Occurred()) SWIG_fail
;
37990 resultobj
= SWIG_Py_Void();
37997 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37998 PyObject
*resultobj
= 0;
37999 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38005 PyObject
* obj0
= 0 ;
38006 PyObject
* obj1
= 0 ;
38007 char * kwnames
[] = {
38008 (char *) "self",(char *) "mode", NULL
38011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38013 if (!SWIG_IsOK(res1
)) {
38014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38018 if (!SWIG_IsOK(ecode2
)) {
38019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38021 arg2
= static_cast< int >(val2
);
38023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38024 (arg1
)->SetBackgroundMode(arg2
);
38025 wxPyEndAllowThreads(__tstate
);
38026 if (PyErr_Occurred()) SWIG_fail
;
38028 resultobj
= SWIG_Py_Void();
38035 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38036 PyObject
*resultobj
= 0;
38037 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38038 wxPalette
*arg2
= 0 ;
38043 PyObject
* obj0
= 0 ;
38044 PyObject
* obj1
= 0 ;
38045 char * kwnames
[] = {
38046 (char *) "self",(char *) "palette", NULL
38049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38051 if (!SWIG_IsOK(res1
)) {
38052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38054 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38056 if (!SWIG_IsOK(res2
)) {
38057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38062 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38065 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38066 wxPyEndAllowThreads(__tstate
);
38067 if (PyErr_Occurred()) SWIG_fail
;
38069 resultobj
= SWIG_Py_Void();
38076 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38077 PyObject
*resultobj
= 0;
38078 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38079 wxColour
*arg2
= 0 ;
38083 PyObject
* obj0
= 0 ;
38084 PyObject
* obj1
= 0 ;
38085 char * kwnames
[] = {
38086 (char *) "self",(char *) "colour", NULL
38089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38091 if (!SWIG_IsOK(res1
)) {
38092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38094 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38097 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38101 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38102 wxPyEndAllowThreads(__tstate
);
38103 if (PyErr_Occurred()) SWIG_fail
;
38105 resultobj
= SWIG_Py_Void();
38112 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38113 PyObject
*resultobj
= 0;
38114 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38115 wxColour
*arg2
= 0 ;
38119 PyObject
* obj0
= 0 ;
38120 PyObject
* obj1
= 0 ;
38121 char * kwnames
[] = {
38122 (char *) "self",(char *) "colour", NULL
38125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38127 if (!SWIG_IsOK(res1
)) {
38128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38130 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38133 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38137 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38138 wxPyEndAllowThreads(__tstate
);
38139 if (PyErr_Occurred()) SWIG_fail
;
38141 resultobj
= SWIG_Py_Void();
38148 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38149 PyObject
*resultobj
= 0;
38150 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38156 PyObject
* obj0
= 0 ;
38157 PyObject
* obj1
= 0 ;
38158 char * kwnames
[] = {
38159 (char *) "self",(char *) "function", NULL
38162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38164 if (!SWIG_IsOK(res1
)) {
38165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38167 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38169 if (!SWIG_IsOK(ecode2
)) {
38170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38172 arg2
= static_cast< int >(val2
);
38174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38175 (arg1
)->SetLogicalFunction(arg2
);
38176 wxPyEndAllowThreads(__tstate
);
38177 if (PyErr_Occurred()) SWIG_fail
;
38179 resultobj
= SWIG_Py_Void();
38186 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38189 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38190 return SWIG_Py_Void();
38193 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38194 return SWIG_Python_InitShadowInstance(args
);
38197 static PyMethodDef SwigMethods
[] = {
38198 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38199 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38200 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38201 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38202 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38203 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38204 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38205 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38206 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38207 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38208 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38209 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38210 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38211 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38212 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38213 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38214 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38215 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38216 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38217 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38218 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38219 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38220 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38221 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38222 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38223 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38224 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38225 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38226 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38227 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38228 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38229 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38230 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38231 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38232 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38233 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38234 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38235 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38236 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38237 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38238 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38239 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38240 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38241 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38242 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38243 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38244 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38245 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38246 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38247 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38248 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38249 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38250 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38251 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38252 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38253 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38254 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38255 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38256 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38257 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38258 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38259 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38260 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38261 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38262 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38263 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38264 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38265 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38266 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38267 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38268 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38269 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38270 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38271 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38272 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38273 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38274 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38275 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38276 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38277 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38278 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38279 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38280 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38281 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38282 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38283 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38284 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38285 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38286 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38287 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38288 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38289 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38290 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38291 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38292 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38293 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38294 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38295 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38296 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38297 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38298 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38299 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38300 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38301 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38302 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38303 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38304 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38305 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38306 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38307 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38308 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38309 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38310 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38311 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38312 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38313 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38314 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38315 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38316 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38317 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38318 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38319 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38320 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38321 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38322 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38323 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38324 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38325 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38326 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38327 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38328 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38329 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38330 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38331 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38332 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38333 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38334 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38335 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38336 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38337 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38338 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38339 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38340 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38341 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38342 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38343 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38344 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38345 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38346 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38347 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38348 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38349 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38350 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38351 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38352 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38353 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38354 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38355 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38356 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38357 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38358 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38359 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38360 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38361 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38362 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38363 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38364 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38365 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38366 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38367 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38368 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38369 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38370 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38371 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38373 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38374 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38375 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38376 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38377 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38378 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38379 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38380 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38381 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38382 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38383 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38384 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38385 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38386 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38387 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38388 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38389 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38390 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38391 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38392 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38393 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38394 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38395 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38396 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38397 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38398 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38400 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38401 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38402 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38403 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38404 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38405 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38406 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38407 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38408 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38409 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38410 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38411 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38412 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38413 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38414 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38415 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38416 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38417 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38418 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38419 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38421 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38422 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38423 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38424 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38425 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38426 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38427 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38428 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38429 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38430 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38431 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38432 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38433 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38434 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38435 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38436 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38437 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38438 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38439 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38440 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38442 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38443 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38444 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38445 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38446 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38447 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38448 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38451 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38453 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38455 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38456 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38457 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38458 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38459 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38460 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38461 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38462 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38463 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38464 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38465 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38466 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38467 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38468 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38469 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38470 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38471 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38472 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38473 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38474 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38475 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38476 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38477 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38480 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38483 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38486 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38491 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38492 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38494 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38498 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38499 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38500 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38501 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38503 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38504 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38505 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38506 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38507 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38508 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38509 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38510 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38511 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38512 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38513 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38514 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38515 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38519 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38520 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38524 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38527 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38528 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38529 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38531 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38532 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38534 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38535 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38536 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38537 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38538 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38540 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38541 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38542 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38543 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38544 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38545 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38546 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38547 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38548 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38549 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38550 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38551 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38552 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38554 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38557 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38558 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38559 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38560 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38561 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38562 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38563 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38564 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38566 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38567 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38569 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38570 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38571 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38574 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38575 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38576 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38578 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38582 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38583 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38584 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38585 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38586 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38587 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38591 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38592 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38593 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38594 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38595 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38602 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38603 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38604 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38605 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38607 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38608 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38609 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38614 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38617 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38624 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38625 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38627 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38630 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38631 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38635 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38637 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38639 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38641 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38642 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38643 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38645 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38647 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38648 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38649 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38652 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38655 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38656 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38657 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38658 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38659 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38660 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38662 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38665 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38666 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38667 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38668 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38673 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38674 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38677 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38678 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38679 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38680 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38681 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38682 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38683 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38684 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38685 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38686 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38687 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38688 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38691 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38693 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38695 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38697 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38698 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38701 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38702 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38706 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38708 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38711 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38712 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38713 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38714 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38715 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38716 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38717 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38725 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38727 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38728 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38729 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38731 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38732 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38733 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38735 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38736 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38737 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38738 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38739 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38740 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38741 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38742 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38745 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38746 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38747 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38749 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38750 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38752 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38753 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38755 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38756 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38761 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38762 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38763 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38764 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38765 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
38767 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38768 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38769 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38771 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38772 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38774 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38775 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38778 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38779 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38781 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38784 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38785 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38786 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38788 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38789 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38791 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38792 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38794 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38795 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38797 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38798 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38799 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38800 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38801 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38802 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38803 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38804 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38805 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38806 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38807 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38808 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38809 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38810 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38811 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38812 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38813 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38814 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38815 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38818 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38820 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38826 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38827 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38828 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38829 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38830 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38831 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38832 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38833 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38835 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38836 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38837 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38844 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38847 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38848 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38849 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38850 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38851 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38852 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
38853 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38856 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38863 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38864 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38867 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38868 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38874 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38875 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38876 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38877 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38895 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38896 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38897 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38898 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38899 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
38900 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38903 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38910 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38912 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38913 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38915 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38916 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38917 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38918 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38919 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
38920 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
38921 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
38922 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
38923 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
38924 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
38925 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
38926 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
38928 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
38936 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
38938 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
38940 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
38941 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
38942 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
38943 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
38944 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
38945 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
38951 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
38952 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
38953 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
38954 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
38955 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
38956 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
38960 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
38964 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
38968 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
38969 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
38970 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
38975 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
38976 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
38977 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
38978 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
38979 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
38980 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
38981 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
38982 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
38983 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
38984 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
38985 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
38986 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
38995 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
38996 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
38998 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
38999 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39000 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39001 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39002 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39003 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39004 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39005 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39006 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39007 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39008 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39009 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39010 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39011 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39012 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39013 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39014 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39015 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39016 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39017 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39018 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39019 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39020 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39021 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39023 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39025 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39026 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39027 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39028 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39041 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39042 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39043 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39045 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39046 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39047 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39048 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39049 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39050 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39051 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39052 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39105 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39115 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39116 { NULL
, NULL
, 0, NULL
}
39120 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39122 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39123 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39125 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39126 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39128 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39129 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39131 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39132 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39134 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39135 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39137 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39138 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39140 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39141 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39143 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39144 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39146 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39147 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39149 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39150 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39152 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39153 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39155 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39156 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39158 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39159 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39161 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39162 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39164 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39165 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39167 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39168 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39170 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39171 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39173 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39174 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39176 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39177 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39179 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39180 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39182 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39183 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39185 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39186 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39188 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39189 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39191 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39192 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39194 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39195 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39197 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39198 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39200 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39201 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39203 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39204 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39206 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39207 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39209 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39210 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39212 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39213 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39215 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39216 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39218 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39219 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39221 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39222 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39224 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39225 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39227 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39228 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39230 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39231 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39233 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39234 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39236 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39237 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39239 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39240 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39242 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39243 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39245 static void *_p_wxPenTo_p_wxObject(void *x
) {
39246 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39248 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39249 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39251 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39252 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39254 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39255 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39257 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39258 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39260 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39261 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39263 static void *_p_wxIconTo_p_wxObject(void *x
) {
39264 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39266 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39267 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39269 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39270 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39272 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39273 return (void *)((wxObject
*) ((wxSizer
*) x
));
39275 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39276 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39278 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39279 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39281 static void *_p_wxEventTo_p_wxObject(void *x
) {
39282 return (void *)((wxObject
*) ((wxEvent
*) x
));
39284 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39285 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39287 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39288 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39290 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39291 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39293 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39294 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39296 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39299 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39300 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39302 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39303 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39305 static void *_p_wxDCTo_p_wxObject(void *x
) {
39306 return (void *)((wxObject
*) ((wxDC
*) x
));
39308 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39309 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39311 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39312 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39314 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39315 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39317 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39318 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39320 static void *_p_wxControlTo_p_wxObject(void *x
) {
39321 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39323 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39324 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39326 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39327 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39329 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39330 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39332 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39333 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39335 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39336 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39338 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39339 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39341 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39342 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39344 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39345 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39347 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39348 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39350 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39351 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39353 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39354 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39356 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39357 return (void *)((wxObject
*) ((wxEffects
*) x
));
39359 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39360 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39362 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39365 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39366 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39368 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39369 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39371 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39372 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39374 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39375 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39377 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39378 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39380 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39381 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39383 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39384 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39386 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39387 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39389 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39390 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39392 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39393 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39395 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39396 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39398 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39399 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39401 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39402 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39404 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39405 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39407 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39408 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39410 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39411 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39413 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39414 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39416 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39417 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39419 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39420 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39422 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39423 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39425 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39426 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39428 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39429 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39431 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39432 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39434 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39435 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39437 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39440 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39443 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39446 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39447 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39449 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39450 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39452 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39453 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39455 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39456 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39458 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39459 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39461 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39462 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39464 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39465 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39467 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39468 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39470 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39471 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39473 static void *_p_wxImageTo_p_wxObject(void *x
) {
39474 return (void *)((wxObject
*) ((wxImage
*) x
));
39476 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39477 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39479 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39480 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39482 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39483 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39485 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39486 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39488 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39489 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39491 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39492 return (void *)((wxObject
*) ((wxImageList
*) x
));
39494 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39495 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39497 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39498 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39500 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39501 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39503 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39504 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39506 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39507 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39509 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39510 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39512 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39513 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39515 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39516 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39518 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39519 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39521 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39522 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39524 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39527 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39528 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39530 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39531 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39533 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39534 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39536 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39537 return (void *)((wxObject
*) ((wxMask
*) x
));
39539 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39540 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39542 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39543 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39545 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39546 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39548 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39549 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39551 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39552 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39554 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39555 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39557 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39558 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39560 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39563 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39564 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39566 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39567 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39569 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39570 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39572 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39573 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39575 static void *_p_wxFontTo_p_wxObject(void *x
) {
39576 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39578 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39579 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39581 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39582 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39584 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39587 static void *_p_wxColourTo_p_wxObject(void *x
) {
39588 return (void *)((wxObject
*) ((wxColour
*) x
));
39590 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39593 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39594 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39596 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39597 return (void *)((wxWindow
*) ((wxControl
*) x
));
39599 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39600 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39602 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39603 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39605 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39606 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39608 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39609 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39611 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39612 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39613 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39614 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};
39615 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39616 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39617 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39618 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39619 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39620 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39621 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39622 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39623 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39624 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39625 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39626 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39627 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39628 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39629 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39630 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39631 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39632 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39633 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39634 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39635 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39636 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39637 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39638 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39639 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39640 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39641 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39642 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39643 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39644 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39645 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39646 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39647 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39648 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39649 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39650 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39651 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39652 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39653 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39654 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39655 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39656 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39657 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39658 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39659 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39660 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39661 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39662 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39663 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39664 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39665 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39666 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39667 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39668 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39669 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39670 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39671 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39672 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39673 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39674 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39675 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39676 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39677 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39678 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39679 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39680 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39681 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39682 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39683 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39684 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39685 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39686 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39687 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39688 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39689 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39690 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39691 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39692 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39693 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39694 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39695 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39696 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39697 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39698 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39699 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39700 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39701 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39702 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39703 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39704 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39705 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39706 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39707 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39708 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39709 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39710 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39711 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39712 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39713 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39714 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39715 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39716 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39717 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39718 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39719 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39720 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39721 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39722 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39723 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39724 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39725 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39726 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39727 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39728 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39729 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39730 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39731 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39732 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39733 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39734 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39735 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39736 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39737 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39738 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39739 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39740 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39741 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39742 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39743 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39744 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39745 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39746 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39747 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39748 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39749 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39750 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39751 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39752 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39753 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39754 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39755 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39756 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39757 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39758 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39759 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39760 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39761 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39762 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39763 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39764 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39765 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39766 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39767 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39768 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39769 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39770 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39771 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39772 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39773 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39774 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39775 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39776 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39777 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39778 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39779 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39780 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39781 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39783 static swig_type_info
*swig_type_initial
[] = {
39787 &_swigt__p_form_ops_t
,
39789 &_swigt__p_unsigned_char
,
39790 &_swigt__p_unsigned_int
,
39791 &_swigt__p_unsigned_long
,
39793 &_swigt__p_wxANIHandler
,
39794 &_swigt__p_wxAcceleratorTable
,
39795 &_swigt__p_wxActivateEvent
,
39796 &_swigt__p_wxAlphaPixelData
,
39797 &_swigt__p_wxAlphaPixelData_Accessor
,
39798 &_swigt__p_wxAutoBufferedPaintDC
,
39799 &_swigt__p_wxBMPHandler
,
39800 &_swigt__p_wxBitmap
,
39801 &_swigt__p_wxBoxSizer
,
39802 &_swigt__p_wxBrush
,
39803 &_swigt__p_wxBrushList
,
39804 &_swigt__p_wxBufferedDC
,
39805 &_swigt__p_wxBufferedPaintDC
,
39806 &_swigt__p_wxCURHandler
,
39808 &_swigt__p_wxChildFocusEvent
,
39809 &_swigt__p_wxClientDC
,
39810 &_swigt__p_wxClipboardTextEvent
,
39811 &_swigt__p_wxCloseEvent
,
39812 &_swigt__p_wxColor
,
39813 &_swigt__p_wxColour
,
39814 &_swigt__p_wxColourDatabase
,
39815 &_swigt__p_wxCommandEvent
,
39816 &_swigt__p_wxContextMenuEvent
,
39817 &_swigt__p_wxControl
,
39818 &_swigt__p_wxControlWithItems
,
39819 &_swigt__p_wxCursor
,
39821 &_swigt__p_wxDCBrushChanger
,
39822 &_swigt__p_wxDCClipper
,
39823 &_swigt__p_wxDCOverlay
,
39824 &_swigt__p_wxDCPenChanger
,
39825 &_swigt__p_wxDCTextColourChanger
,
39827 &_swigt__p_wxDateEvent
,
39828 &_swigt__p_wxDisplayChangedEvent
,
39829 &_swigt__p_wxDropFilesEvent
,
39830 &_swigt__p_wxDuplexMode
,
39831 &_swigt__p_wxEffects
,
39832 &_swigt__p_wxEncodingConverter
,
39833 &_swigt__p_wxEraseEvent
,
39834 &_swigt__p_wxEvent
,
39835 &_swigt__p_wxEvtHandler
,
39836 &_swigt__p_wxFSFile
,
39837 &_swigt__p_wxFileSystem
,
39838 &_swigt__p_wxFlexGridSizer
,
39839 &_swigt__p_wxFocusEvent
,
39841 &_swigt__p_wxFontList
,
39842 &_swigt__p_wxFontMapper
,
39843 &_swigt__p_wxGBSizerItem
,
39845 &_swigt__p_wxGDIObjListBase
,
39846 &_swigt__p_wxGDIObject
,
39847 &_swigt__p_wxGIFHandler
,
39848 &_swigt__p_wxGraphicsBrush
,
39849 &_swigt__p_wxGraphicsContext
,
39850 &_swigt__p_wxGraphicsFont
,
39851 &_swigt__p_wxGraphicsMatrix
,
39852 &_swigt__p_wxGraphicsObject
,
39853 &_swigt__p_wxGraphicsPath
,
39854 &_swigt__p_wxGraphicsPen
,
39855 &_swigt__p_wxGraphicsRenderer
,
39856 &_swigt__p_wxGridBagSizer
,
39857 &_swigt__p_wxGridSizer
,
39858 &_swigt__p_wxHeaderButtonParams
,
39859 &_swigt__p_wxICOHandler
,
39861 &_swigt__p_wxIconBundle
,
39862 &_swigt__p_wxIconLocation
,
39863 &_swigt__p_wxIconizeEvent
,
39864 &_swigt__p_wxIdleEvent
,
39865 &_swigt__p_wxImage
,
39866 &_swigt__p_wxImageHandler
,
39867 &_swigt__p_wxImageList
,
39868 &_swigt__p_wxIndividualLayoutConstraint
,
39869 &_swigt__p_wxInitDialogEvent
,
39870 &_swigt__p_wxJPEGHandler
,
39871 &_swigt__p_wxKeyEvent
,
39872 &_swigt__p_wxLanguageInfo
,
39873 &_swigt__p_wxLayoutConstraints
,
39874 &_swigt__p_wxLocale
,
39876 &_swigt__p_wxMaximizeEvent
,
39877 &_swigt__p_wxMemoryDC
,
39879 &_swigt__p_wxMenuBar
,
39880 &_swigt__p_wxMenuEvent
,
39881 &_swigt__p_wxMenuItem
,
39882 &_swigt__p_wxMetaFile
,
39883 &_swigt__p_wxMetaFileDC
,
39884 &_swigt__p_wxMirrorDC
,
39885 &_swigt__p_wxMouseCaptureChangedEvent
,
39886 &_swigt__p_wxMouseCaptureLostEvent
,
39887 &_swigt__p_wxMouseEvent
,
39888 &_swigt__p_wxMoveEvent
,
39889 &_swigt__p_wxNativeEncodingInfo
,
39890 &_swigt__p_wxNativeFontInfo
,
39891 &_swigt__p_wxNativePixelData
,
39892 &_swigt__p_wxNativePixelData_Accessor
,
39893 &_swigt__p_wxNavigationKeyEvent
,
39894 &_swigt__p_wxNcPaintEvent
,
39895 &_swigt__p_wxNotifyEvent
,
39896 &_swigt__p_wxObject
,
39897 &_swigt__p_wxOverlay
,
39898 &_swigt__p_wxPCXHandler
,
39899 &_swigt__p_wxPNGHandler
,
39900 &_swigt__p_wxPNMHandler
,
39901 &_swigt__p_wxPaintDC
,
39902 &_swigt__p_wxPaintEvent
,
39903 &_swigt__p_wxPalette
,
39904 &_swigt__p_wxPaletteChangedEvent
,
39905 &_swigt__p_wxPaperSize
,
39907 &_swigt__p_wxPenList
,
39908 &_swigt__p_wxPixelDataBase
,
39909 &_swigt__p_wxPoint
,
39910 &_swigt__p_wxPoint2D
,
39911 &_swigt__p_wxPoint2DDouble
,
39912 &_swigt__p_wxPostScriptDC
,
39913 &_swigt__p_wxPrintData
,
39914 &_swigt__p_wxPrinterDC
,
39915 &_swigt__p_wxPseudoDC
,
39916 &_swigt__p_wxPyApp
,
39917 &_swigt__p_wxPyCommandEvent
,
39918 &_swigt__p_wxPyEvent
,
39919 &_swigt__p_wxPyFontEnumerator
,
39920 &_swigt__p_wxPyImageHandler
,
39921 &_swigt__p_wxPyLocale
,
39922 &_swigt__p_wxPySizer
,
39923 &_swigt__p_wxPyValidator
,
39924 &_swigt__p_wxQueryNewPaletteEvent
,
39926 &_swigt__p_wxRect2DDouble
,
39927 &_swigt__p_wxRegion
,
39928 &_swigt__p_wxRegionIterator
,
39929 &_swigt__p_wxRendererNative
,
39930 &_swigt__p_wxRendererVersion
,
39931 &_swigt__p_wxScreenDC
,
39932 &_swigt__p_wxScrollEvent
,
39933 &_swigt__p_wxScrollWinEvent
,
39934 &_swigt__p_wxSetCursorEvent
,
39935 &_swigt__p_wxShowEvent
,
39937 &_swigt__p_wxSizeEvent
,
39938 &_swigt__p_wxSizer
,
39939 &_swigt__p_wxSizerItem
,
39940 &_swigt__p_wxSplitterRenderParams
,
39941 &_swigt__p_wxStaticBoxSizer
,
39942 &_swigt__p_wxStdDialogButtonSizer
,
39943 &_swigt__p_wxStockGDI
,
39944 &_swigt__p_wxString
,
39945 &_swigt__p_wxSysColourChangedEvent
,
39946 &_swigt__p_wxTGAHandler
,
39947 &_swigt__p_wxTIFFHandler
,
39948 &_swigt__p_wxUpdateUIEvent
,
39949 &_swigt__p_wxValidator
,
39950 &_swigt__p_wxWindow
,
39951 &_swigt__p_wxWindowCreateEvent
,
39952 &_swigt__p_wxWindowDC
,
39953 &_swigt__p_wxWindowDestroyEvent
,
39954 &_swigt__p_wxXPMHandler
,
39957 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
39958 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39959 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
39960 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39961 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39962 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39963 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39964 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39965 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39966 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
39967 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
39968 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39969 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39970 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
39971 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
39972 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}};
39973 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
39974 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39975 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}};
39976 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
39977 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39978 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
39979 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39980 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}};
39981 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
39982 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
39983 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
39984 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
39985 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
39986 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
39987 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39988 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
39989 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
39990 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39991 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
39992 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
39993 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
39994 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}};
39995 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}};
39996 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
39997 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
39998 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
39999 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40000 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}};
40001 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40002 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40003 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40004 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40005 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40006 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40007 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40008 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40009 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40010 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40011 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}};
40012 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40013 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}};
40014 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40015 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40016 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40017 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40018 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40019 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40020 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40021 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40022 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40023 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40024 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40025 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40026 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40027 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40028 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40029 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40030 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40031 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40032 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40033 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40034 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40035 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40036 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40037 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40038 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40039 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40040 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40041 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40042 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40043 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40044 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40045 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40046 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40047 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40048 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40049 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40050 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40051 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40052 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40053 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40054 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40055 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40056 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40057 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40058 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40059 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40060 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40061 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40062 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40063 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40064 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40065 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40066 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40067 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40068 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40069 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40070 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40071 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40072 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40073 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40074 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40075 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40076 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40077 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40078 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40079 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40080 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40081 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40082 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40083 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40084 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40085 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40086 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40087 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40088 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40089 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40090 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40091 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40092 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40093 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40094 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40095 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40096 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40097 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40098 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}};
40099 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40100 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40101 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40102 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40103 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40104 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40105 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}};
40106 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40107 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40108 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40109 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40110 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40111 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40112 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40113 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40114 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40115 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40116 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40117 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40118 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40119 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40120 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40121 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40122 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40123 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40124 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40125 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40126 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}};
40127 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}};
40129 static swig_cast_info
*swig_cast_initial
[] = {
40133 _swigc__p_form_ops_t
,
40135 _swigc__p_unsigned_char
,
40136 _swigc__p_unsigned_int
,
40137 _swigc__p_unsigned_long
,
40139 _swigc__p_wxANIHandler
,
40140 _swigc__p_wxAcceleratorTable
,
40141 _swigc__p_wxActivateEvent
,
40142 _swigc__p_wxAlphaPixelData
,
40143 _swigc__p_wxAlphaPixelData_Accessor
,
40144 _swigc__p_wxAutoBufferedPaintDC
,
40145 _swigc__p_wxBMPHandler
,
40146 _swigc__p_wxBitmap
,
40147 _swigc__p_wxBoxSizer
,
40149 _swigc__p_wxBrushList
,
40150 _swigc__p_wxBufferedDC
,
40151 _swigc__p_wxBufferedPaintDC
,
40152 _swigc__p_wxCURHandler
,
40154 _swigc__p_wxChildFocusEvent
,
40155 _swigc__p_wxClientDC
,
40156 _swigc__p_wxClipboardTextEvent
,
40157 _swigc__p_wxCloseEvent
,
40159 _swigc__p_wxColour
,
40160 _swigc__p_wxColourDatabase
,
40161 _swigc__p_wxCommandEvent
,
40162 _swigc__p_wxContextMenuEvent
,
40163 _swigc__p_wxControl
,
40164 _swigc__p_wxControlWithItems
,
40165 _swigc__p_wxCursor
,
40167 _swigc__p_wxDCBrushChanger
,
40168 _swigc__p_wxDCClipper
,
40169 _swigc__p_wxDCOverlay
,
40170 _swigc__p_wxDCPenChanger
,
40171 _swigc__p_wxDCTextColourChanger
,
40173 _swigc__p_wxDateEvent
,
40174 _swigc__p_wxDisplayChangedEvent
,
40175 _swigc__p_wxDropFilesEvent
,
40176 _swigc__p_wxDuplexMode
,
40177 _swigc__p_wxEffects
,
40178 _swigc__p_wxEncodingConverter
,
40179 _swigc__p_wxEraseEvent
,
40181 _swigc__p_wxEvtHandler
,
40182 _swigc__p_wxFSFile
,
40183 _swigc__p_wxFileSystem
,
40184 _swigc__p_wxFlexGridSizer
,
40185 _swigc__p_wxFocusEvent
,
40187 _swigc__p_wxFontList
,
40188 _swigc__p_wxFontMapper
,
40189 _swigc__p_wxGBSizerItem
,
40191 _swigc__p_wxGDIObjListBase
,
40192 _swigc__p_wxGDIObject
,
40193 _swigc__p_wxGIFHandler
,
40194 _swigc__p_wxGraphicsBrush
,
40195 _swigc__p_wxGraphicsContext
,
40196 _swigc__p_wxGraphicsFont
,
40197 _swigc__p_wxGraphicsMatrix
,
40198 _swigc__p_wxGraphicsObject
,
40199 _swigc__p_wxGraphicsPath
,
40200 _swigc__p_wxGraphicsPen
,
40201 _swigc__p_wxGraphicsRenderer
,
40202 _swigc__p_wxGridBagSizer
,
40203 _swigc__p_wxGridSizer
,
40204 _swigc__p_wxHeaderButtonParams
,
40205 _swigc__p_wxICOHandler
,
40207 _swigc__p_wxIconBundle
,
40208 _swigc__p_wxIconLocation
,
40209 _swigc__p_wxIconizeEvent
,
40210 _swigc__p_wxIdleEvent
,
40212 _swigc__p_wxImageHandler
,
40213 _swigc__p_wxImageList
,
40214 _swigc__p_wxIndividualLayoutConstraint
,
40215 _swigc__p_wxInitDialogEvent
,
40216 _swigc__p_wxJPEGHandler
,
40217 _swigc__p_wxKeyEvent
,
40218 _swigc__p_wxLanguageInfo
,
40219 _swigc__p_wxLayoutConstraints
,
40220 _swigc__p_wxLocale
,
40222 _swigc__p_wxMaximizeEvent
,
40223 _swigc__p_wxMemoryDC
,
40225 _swigc__p_wxMenuBar
,
40226 _swigc__p_wxMenuEvent
,
40227 _swigc__p_wxMenuItem
,
40228 _swigc__p_wxMetaFile
,
40229 _swigc__p_wxMetaFileDC
,
40230 _swigc__p_wxMirrorDC
,
40231 _swigc__p_wxMouseCaptureChangedEvent
,
40232 _swigc__p_wxMouseCaptureLostEvent
,
40233 _swigc__p_wxMouseEvent
,
40234 _swigc__p_wxMoveEvent
,
40235 _swigc__p_wxNativeEncodingInfo
,
40236 _swigc__p_wxNativeFontInfo
,
40237 _swigc__p_wxNativePixelData
,
40238 _swigc__p_wxNativePixelData_Accessor
,
40239 _swigc__p_wxNavigationKeyEvent
,
40240 _swigc__p_wxNcPaintEvent
,
40241 _swigc__p_wxNotifyEvent
,
40242 _swigc__p_wxObject
,
40243 _swigc__p_wxOverlay
,
40244 _swigc__p_wxPCXHandler
,
40245 _swigc__p_wxPNGHandler
,
40246 _swigc__p_wxPNMHandler
,
40247 _swigc__p_wxPaintDC
,
40248 _swigc__p_wxPaintEvent
,
40249 _swigc__p_wxPalette
,
40250 _swigc__p_wxPaletteChangedEvent
,
40251 _swigc__p_wxPaperSize
,
40253 _swigc__p_wxPenList
,
40254 _swigc__p_wxPixelDataBase
,
40256 _swigc__p_wxPoint2D
,
40257 _swigc__p_wxPoint2DDouble
,
40258 _swigc__p_wxPostScriptDC
,
40259 _swigc__p_wxPrintData
,
40260 _swigc__p_wxPrinterDC
,
40261 _swigc__p_wxPseudoDC
,
40263 _swigc__p_wxPyCommandEvent
,
40264 _swigc__p_wxPyEvent
,
40265 _swigc__p_wxPyFontEnumerator
,
40266 _swigc__p_wxPyImageHandler
,
40267 _swigc__p_wxPyLocale
,
40268 _swigc__p_wxPySizer
,
40269 _swigc__p_wxPyValidator
,
40270 _swigc__p_wxQueryNewPaletteEvent
,
40272 _swigc__p_wxRect2DDouble
,
40273 _swigc__p_wxRegion
,
40274 _swigc__p_wxRegionIterator
,
40275 _swigc__p_wxRendererNative
,
40276 _swigc__p_wxRendererVersion
,
40277 _swigc__p_wxScreenDC
,
40278 _swigc__p_wxScrollEvent
,
40279 _swigc__p_wxScrollWinEvent
,
40280 _swigc__p_wxSetCursorEvent
,
40281 _swigc__p_wxShowEvent
,
40283 _swigc__p_wxSizeEvent
,
40285 _swigc__p_wxSizerItem
,
40286 _swigc__p_wxSplitterRenderParams
,
40287 _swigc__p_wxStaticBoxSizer
,
40288 _swigc__p_wxStdDialogButtonSizer
,
40289 _swigc__p_wxStockGDI
,
40290 _swigc__p_wxString
,
40291 _swigc__p_wxSysColourChangedEvent
,
40292 _swigc__p_wxTGAHandler
,
40293 _swigc__p_wxTIFFHandler
,
40294 _swigc__p_wxUpdateUIEvent
,
40295 _swigc__p_wxValidator
,
40296 _swigc__p_wxWindow
,
40297 _swigc__p_wxWindowCreateEvent
,
40298 _swigc__p_wxWindowDC
,
40299 _swigc__p_wxWindowDestroyEvent
,
40300 _swigc__p_wxXPMHandler
,
40304 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40306 static swig_const_info swig_const_table
[] = {
40307 {0, 0, 0, 0.0, 0, 0}};
40312 /* -----------------------------------------------------------------------------
40313 * Type initialization:
40314 * This problem is tough by the requirement that no dynamic
40315 * memory is used. Also, since swig_type_info structures store pointers to
40316 * swig_cast_info structures and swig_cast_info structures store pointers back
40317 * to swig_type_info structures, we need some lookup code at initialization.
40318 * The idea is that swig generates all the structures that are needed.
40319 * The runtime then collects these partially filled structures.
40320 * The SWIG_InitializeModule function takes these initial arrays out of
40321 * swig_module, and does all the lookup, filling in the swig_module.types
40322 * array with the correct data and linking the correct swig_cast_info
40323 * structures together.
40325 * The generated swig_type_info structures are assigned staticly to an initial
40326 * array. We just loop though that array, and handle each type individually.
40327 * First we lookup if this type has been already loaded, and if so, use the
40328 * loaded structure instead of the generated one. Then we have to fill in the
40329 * cast linked list. The cast data is initially stored in something like a
40330 * two-dimensional array. Each row corresponds to a type (there are the same
40331 * number of rows as there are in the swig_type_initial array). Each entry in
40332 * a column is one of the swig_cast_info structures for that type.
40333 * The cast_initial array is actually an array of arrays, because each row has
40334 * a variable number of columns. So to actually build the cast linked list,
40335 * we find the array of casts associated with the type, and loop through it
40336 * adding the casts to the list. The one last trick we need to do is making
40337 * sure the type pointer in the swig_cast_info struct is correct.
40339 * First off, we lookup the cast->type name to see if it is already loaded.
40340 * There are three cases to handle:
40341 * 1) If the cast->type has already been loaded AND the type we are adding
40342 * casting info to has not been loaded (it is in this module), THEN we
40343 * replace the cast->type pointer with the type pointer that has already
40345 * 2) If BOTH types (the one we are adding casting info to, and the
40346 * cast->type) are loaded, THEN the cast info has already been loaded by
40347 * the previous module so we just ignore it.
40348 * 3) Finally, if cast->type has not already been loaded, then we add that
40349 * swig_cast_info to the linked list (because the cast->type) pointer will
40351 * ----------------------------------------------------------------------------- */
40361 #define SWIGRUNTIME_DEBUG
40365 SWIG_InitializeModule(void *clientdata
) {
40367 swig_module_info
*module_head
;
40368 static int init_run
= 0;
40370 clientdata
= clientdata
;
40372 if (init_run
) return;
40375 /* Initialize the swig_module */
40376 swig_module
.type_initial
= swig_type_initial
;
40377 swig_module
.cast_initial
= swig_cast_initial
;
40379 /* Try and load any already created modules */
40380 module_head
= SWIG_GetModule(clientdata
);
40382 swig_module
.next
= module_head
->next
;
40383 module_head
->next
= &swig_module
;
40385 /* This is the first module loaded */
40386 swig_module
.next
= &swig_module
;
40387 SWIG_SetModule(clientdata
, &swig_module
);
40390 /* Now work on filling in swig_module.types */
40391 #ifdef SWIGRUNTIME_DEBUG
40392 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40394 for (i
= 0; i
< swig_module
.size
; ++i
) {
40395 swig_type_info
*type
= 0;
40396 swig_type_info
*ret
;
40397 swig_cast_info
*cast
;
40399 #ifdef SWIGRUNTIME_DEBUG
40400 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40403 /* if there is another module already loaded */
40404 if (swig_module
.next
!= &swig_module
) {
40405 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40408 /* Overwrite clientdata field */
40409 #ifdef SWIGRUNTIME_DEBUG
40410 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40412 if (swig_module
.type_initial
[i
]->clientdata
) {
40413 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40414 #ifdef SWIGRUNTIME_DEBUG
40415 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40419 type
= swig_module
.type_initial
[i
];
40422 /* Insert casting types */
40423 cast
= swig_module
.cast_initial
[i
];
40424 while (cast
->type
) {
40425 /* Don't need to add information already in the list */
40427 #ifdef SWIGRUNTIME_DEBUG
40428 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40430 if (swig_module
.next
!= &swig_module
) {
40431 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40432 #ifdef SWIGRUNTIME_DEBUG
40433 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40437 if (type
== swig_module
.type_initial
[i
]) {
40438 #ifdef SWIGRUNTIME_DEBUG
40439 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40444 /* Check for casting already in the list */
40445 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40446 #ifdef SWIGRUNTIME_DEBUG
40447 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40449 if (!ocast
) ret
= 0;
40454 #ifdef SWIGRUNTIME_DEBUG
40455 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40458 type
->cast
->prev
= cast
;
40459 cast
->next
= type
->cast
;
40465 /* Set entry in modules->types array equal to the type */
40466 swig_module
.types
[i
] = type
;
40468 swig_module
.types
[i
] = 0;
40470 #ifdef SWIGRUNTIME_DEBUG
40471 printf("**** SWIG_InitializeModule: Cast List ******\n");
40472 for (i
= 0; i
< swig_module
.size
; ++i
) {
40474 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40475 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40476 while (cast
->type
) {
40477 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40481 printf("---- Total casts: %d\n",j
);
40483 printf("**** SWIG_InitializeModule: Cast List ******\n");
40487 /* This function will propagate the clientdata field of type to
40488 * any new swig_type_info structures that have been added into the list
40489 * of equivalent types. It is like calling
40490 * SWIG_TypeClientData(type, clientdata) a second time.
40493 SWIG_PropagateClientData(void) {
40495 swig_cast_info
*equiv
;
40496 static int init_run
= 0;
40498 if (init_run
) return;
40501 for (i
= 0; i
< swig_module
.size
; i
++) {
40502 if (swig_module
.types
[i
]->clientdata
) {
40503 equiv
= swig_module
.types
[i
]->cast
;
40505 if (!equiv
->converter
) {
40506 if (equiv
->type
&& !equiv
->type
->clientdata
)
40507 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40509 equiv
= equiv
->next
;
40529 /* Python-specific SWIG API */
40530 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40531 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40532 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40534 /* -----------------------------------------------------------------------------
40535 * global variable support code.
40536 * ----------------------------------------------------------------------------- */
40538 typedef struct swig_globalvar
{
40539 char *name
; /* Name of global variable */
40540 PyObject
*(*get_attr
)(void); /* Return the current value */
40541 int (*set_attr
)(PyObject
*); /* Set the value */
40542 struct swig_globalvar
*next
;
40545 typedef struct swig_varlinkobject
{
40547 swig_globalvar
*vars
;
40548 } swig_varlinkobject
;
40550 SWIGINTERN PyObject
*
40551 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40552 return PyString_FromString("<Swig global variables>");
40555 SWIGINTERN PyObject
*
40556 swig_varlink_str(swig_varlinkobject
*v
) {
40557 PyObject
*str
= PyString_FromString("(");
40558 swig_globalvar
*var
;
40559 for (var
= v
->vars
; var
; var
=var
->next
) {
40560 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40561 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40563 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40568 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40569 PyObject
*str
= swig_varlink_str(v
);
40570 fprintf(fp
,"Swig global variables ");
40571 fprintf(fp
,"%s\n", PyString_AsString(str
));
40577 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40578 swig_globalvar
*var
= v
->vars
;
40580 swig_globalvar
*n
= var
->next
;
40587 SWIGINTERN PyObject
*
40588 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40589 PyObject
*res
= NULL
;
40590 swig_globalvar
*var
= v
->vars
;
40592 if (strcmp(var
->name
,n
) == 0) {
40593 res
= (*var
->get_attr
)();
40598 if (res
== NULL
&& !PyErr_Occurred()) {
40599 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40605 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40607 swig_globalvar
*var
= v
->vars
;
40609 if (strcmp(var
->name
,n
) == 0) {
40610 res
= (*var
->set_attr
)(p
);
40615 if (res
== 1 && !PyErr_Occurred()) {
40616 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40621 SWIGINTERN PyTypeObject
*
40622 swig_varlink_type(void) {
40623 static char varlink__doc__
[] = "Swig var link object";
40624 static PyTypeObject varlink_type
;
40625 static int type_init
= 0;
40627 const PyTypeObject tmp
40629 PyObject_HEAD_INIT(NULL
)
40630 0, /* Number of items in variable part (ob_size) */
40631 (char *)"swigvarlink", /* Type name (tp_name) */
40632 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40633 0, /* Itemsize (tp_itemsize) */
40634 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40635 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40636 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40637 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40638 0, /* tp_compare */
40639 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40640 0, /* tp_as_number */
40641 0, /* tp_as_sequence */
40642 0, /* tp_as_mapping */
40645 (reprfunc
)swig_varlink_str
, /* tp_str */
40646 0, /* tp_getattro */
40647 0, /* tp_setattro */
40648 0, /* tp_as_buffer */
40650 varlink__doc__
, /* tp_doc */
40651 0, /* tp_traverse */
40653 0, /* tp_richcompare */
40654 0, /* tp_weaklistoffset */
40655 #if PY_VERSION_HEX >= 0x02020000
40656 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40658 #if PY_VERSION_HEX >= 0x02030000
40661 #ifdef COUNT_ALLOCS
40662 0,0,0,0 /* tp_alloc -> tp_next */
40665 varlink_type
= tmp
;
40666 varlink_type
.ob_type
= &PyType_Type
;
40669 return &varlink_type
;
40672 /* Create a variable linking object for use later */
40673 SWIGINTERN PyObject
*
40674 SWIG_Python_newvarlink(void) {
40675 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40679 return ((PyObject
*) result
);
40683 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40684 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40685 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40687 size_t size
= strlen(name
)+1;
40688 gv
->name
= (char *)malloc(size
);
40690 strncpy(gv
->name
,name
,size
);
40691 gv
->get_attr
= get_attr
;
40692 gv
->set_attr
= set_attr
;
40693 gv
->next
= v
->vars
;
40699 SWIGINTERN PyObject
*
40701 static PyObject
*_SWIG_globals
= 0;
40702 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40703 return _SWIG_globals
;
40706 /* -----------------------------------------------------------------------------
40707 * constants/methods manipulation
40708 * ----------------------------------------------------------------------------- */
40710 /* Install Constants */
40712 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40715 for (i
= 0; constants
[i
].type
; ++i
) {
40716 switch(constants
[i
].type
) {
40717 case SWIG_PY_POINTER
:
40718 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40720 case SWIG_PY_BINARY
:
40721 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40728 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40734 /* -----------------------------------------------------------------------------*/
40735 /* Fix SwigMethods to carry the callback ptrs when needed */
40736 /* -----------------------------------------------------------------------------*/
40739 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40740 swig_const_info
*const_table
,
40741 swig_type_info
**types
,
40742 swig_type_info
**types_initial
) {
40744 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40745 const char *c
= methods
[i
].ml_doc
;
40746 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40748 swig_const_info
*ci
= 0;
40749 const char *name
= c
+ 10;
40750 for (j
= 0; const_table
[j
].type
; ++j
) {
40751 if (strncmp(const_table
[j
].name
, name
,
40752 strlen(const_table
[j
].name
)) == 0) {
40753 ci
= &(const_table
[j
]);
40758 size_t shift
= (ci
->ptype
) - types
;
40759 swig_type_info
*ty
= types_initial
[shift
];
40760 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40761 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40762 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40765 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40767 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40769 strncpy(buff
, "swig_ptr: ", 10);
40771 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40772 methods
[i
].ml_doc
= ndoc
;
40784 /* -----------------------------------------------------------------------------*
40785 * Partial Init method
40786 * -----------------------------------------------------------------------------*/
40791 SWIGEXPORT
void SWIG_init(void) {
40794 /* Fix SwigMethods to carry the callback ptrs when needed */
40795 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40797 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40798 d
= PyModule_GetDict(m
);
40800 SWIG_InitializeModule(0);
40801 SWIG_InstallConstants(d
,swig_const_table
);
40804 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40805 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40806 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40807 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40808 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40809 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40810 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40811 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40812 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40813 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40814 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40815 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40816 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40817 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40818 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40819 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40820 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40821 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40822 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40823 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40824 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40825 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40826 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40827 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40828 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40829 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40830 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40831 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40832 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40833 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40834 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40835 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40836 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40837 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40838 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40839 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40840 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40841 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40842 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40843 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40844 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40845 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40846 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40847 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40848 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40849 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40850 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40851 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40852 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40853 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40854 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40855 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40856 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40857 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40858 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40859 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40860 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40861 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40862 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40863 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40864 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40865 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40866 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40867 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40868 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40869 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40870 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40871 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40872 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40873 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40874 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40875 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40876 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40877 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40878 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40879 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40880 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40881 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40882 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40883 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40884 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40885 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40886 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40887 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40888 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40889 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40890 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40891 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40892 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40893 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40894 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40895 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40896 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40897 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40898 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40899 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40900 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40901 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40902 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40903 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40904 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40905 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40906 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40907 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40908 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40909 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40910 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40911 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40912 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40913 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40914 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40915 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40916 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40917 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40918 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40919 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
40920 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
40921 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
40922 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
40923 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
40924 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
40925 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
40926 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
40927 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
40928 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
40929 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
40930 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
40931 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
40932 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
40933 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
40934 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
40935 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
40937 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
40939 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
40940 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
40941 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
40942 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
40943 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
40944 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
40945 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
40946 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
40947 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
40948 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
40949 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
40950 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
40951 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
40952 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
40953 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
40954 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
40955 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
40956 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
40957 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
40958 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
40959 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
40960 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
40961 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
40962 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
40963 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
40964 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
40965 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
40966 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
40967 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
40968 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
40969 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
40970 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
40971 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
40972 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
40973 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
40974 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
40975 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
40976 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
40977 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
40978 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
40979 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
40980 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
40981 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
40982 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
40983 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
40984 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
40985 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
40986 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
40987 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
40988 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
40989 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
40990 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
40991 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
40992 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
40993 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
40994 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
40995 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
40996 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
40997 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
40998 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
40999 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41000 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41001 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41002 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41003 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41004 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41005 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41006 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41007 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41008 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41009 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41010 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41011 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41012 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41013 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41014 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41015 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41016 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41017 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41018 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41019 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41020 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41021 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41022 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41023 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41024 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41025 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41026 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41027 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41028 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41029 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41030 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41031 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41032 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41033 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41034 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41035 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41036 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41037 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41038 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41039 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41040 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41041 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41042 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41043 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41044 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41045 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41046 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41047 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41048 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41049 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41050 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41051 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41052 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41053 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41054 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41055 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41056 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41057 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41058 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41059 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41060 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41061 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41062 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41063 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41064 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41065 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41066 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41067 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41068 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41069 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41070 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41071 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41072 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41073 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41074 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41075 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41076 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41077 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41078 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41079 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41080 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41081 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41082 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41083 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41084 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41085 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41086 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41087 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41088 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41089 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41090 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41091 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41092 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41093 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41094 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41095 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41096 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41097 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41098 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41099 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41100 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41101 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41102 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41103 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41104 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41105 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41106 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41107 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41108 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41109 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41110 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41111 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41112 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41113 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41114 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41115 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41116 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41117 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41118 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41119 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41120 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41121 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41122 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41123 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41124 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41125 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41126 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41127 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41128 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41129 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41130 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41131 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41132 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41133 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41134 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41135 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41136 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41137 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41138 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41139 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41140 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41141 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41142 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41143 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41144 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41145 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41146 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41147 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41148 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41149 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41150 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41151 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41152 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41153 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41154 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41155 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41156 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41157 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41158 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41159 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41160 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41161 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41162 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41163 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41164 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41165 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41166 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41167 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41168 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41170 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41171 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41172 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41173 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41174 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41175 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41176 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41177 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41178 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41179 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41180 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41181 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41182 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41183 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41184 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41185 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41186 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41187 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41188 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41189 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41190 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41191 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41192 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41193 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41194 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41195 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41196 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41197 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41198 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41199 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41200 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41201 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41202 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41203 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41204 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41205 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41206 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41207 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41208 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41209 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41210 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41211 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41212 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41213 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41214 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41215 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41216 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41217 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41218 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41219 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41220 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41221 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41222 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41223 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41224 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41225 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41226 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41227 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41228 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41229 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41230 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41231 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41232 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41233 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41234 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41235 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41236 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41237 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41238 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41239 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41240 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41241 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41242 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41243 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41244 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41245 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41246 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41247 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41248 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41249 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41250 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41251 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41252 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41253 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41254 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41255 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41256 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41257 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41258 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41259 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41260 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41261 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41262 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41264 // Work around a chicken/egg problem in drawlist.cpp
41265 wxPyDrawList_SetAPIPtr();