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_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColour swig_types[27]
2494 #define SWIGTYPE_p_wxColourDatabase swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxDC swig_types[34]
2501 #define SWIGTYPE_p_wxDCBrushChanger swig_types[35]
2502 #define SWIGTYPE_p_wxDCClipper swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDCPenChanger swig_types[38]
2505 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDash swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
2511 #define SWIGTYPE_p_wxEffects swig_types[45]
2512 #define SWIGTYPE_p_wxEncodingConverter swig_types[46]
2513 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2514 #define SWIGTYPE_p_wxEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEventBlocker swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxSVGFileDC swig_types[145]
2612 #define SWIGTYPE_p_wxScreenDC swig_types[146]
2613 #define SWIGTYPE_p_wxScrollEvent swig_types[147]
2614 #define SWIGTYPE_p_wxScrollWinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSetCursorEvent swig_types[149]
2616 #define SWIGTYPE_p_wxShowEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSize swig_types[151]
2618 #define SWIGTYPE_p_wxSizeEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxSizerItem swig_types[154]
2621 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[155]
2622 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStockGDI swig_types[158]
2625 #define SWIGTYPE_p_wxString swig_types[159]
2626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTGAHandler swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2930 // appears to me that the other platforms are already doing it, so I'll just
2931 // automatically do it for wxMSW here.
2933 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2934 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2936 #define wxPy_premultiply(p, a) (p)
2937 #define wxPy_unpremultiply(p, a) (p)
2941 #include <wx/image.h>
2943 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2944 char** cArray
= NULL
;
2947 if (!PyList_Check(listOfStrings
)) {
2948 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2951 count
= PyList_Size(listOfStrings
);
2952 cArray
= new char*[count
];
2954 for(int x
=0; x
<count
; x
++) {
2955 // TODO: Need some validation and error checking here
2956 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2963 char** cArray
= NULL
;
2966 cArray
= ConvertListOfStrings(listOfStrings
);
2969 bmp
= new wxBitmap(cArray
);
2973 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2976 PyString_AsStringAndSize(bits
, &buf
, &length
);
2977 return new wxBitmap(buf
, width
, height
, depth
);
2979 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2980 wxSize
size(self
->GetWidth(), self
->GetHeight());
2983 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2984 wxMask
*mask
= new wxMask(*self
, colour
);
2985 self
->SetMask(mask
);
2987 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2988 self
->SetWidth(size
.x
);
2989 self
->SetHeight(size
.y
);
2991 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2992 int height
=self
->GetHeight();
2993 int width
=self
->GetWidth();
2995 if (DATASIZE
!= width
* height
* 3) {
2996 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2998 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3006 wxNativePixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxNativePixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 p
.Red() = *(data
++);
3011 p
.Green() = *(data
++);
3012 p
.Blue() = *(data
++);
3016 p
.OffsetY(pixData
, 1);
3019 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3020 int height
=self
->GetHeight();
3021 int width
=self
->GetWidth();
3023 if (DATASIZE
!= width
* height
* 4) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3026 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3028 // raise an exception...
3029 wxPyErr_SetString(PyExc_RuntimeError
,
3030 "Failed to gain raw access to bitmap data.");
3035 wxAlphaPixelData::Iterator
p(pixData
);
3036 for (int y
=0; y
<height
; y
++) {
3037 wxAlphaPixelData::Iterator rowStart
= p
;
3038 for (int x
=0; x
<width
; x
++) {
3040 p
.Red() = wxPy_premultiply(*(data
++), a
);
3041 p
.Green() = wxPy_premultiply(*(data
++), a
);
3042 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3043 p
.Alpha() = a
; data
++;
3047 p
.OffsetY(pixData
, 1);
3050 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3051 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3053 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3054 buffer data
, int DATASIZE
,
3055 buffer alpha
, int ALPHASIZE
)
3057 if (DATASIZE
!= width
*height
*3) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 if (ALPHASIZE
!= width
*height
) {
3063 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3067 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3068 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3070 // raise an exception...
3071 wxPyErr_SetString(PyExc_RuntimeError
,
3072 "Failed to gain raw access to bitmap data.");
3077 wxAlphaPixelData::Iterator
p(pixData
);
3078 for (int y
=0; y
<height
; y
++) {
3079 wxAlphaPixelData::Iterator rowStart
= p
;
3080 for (int x
=0; x
<width
; x
++) {
3081 byte a
= *(alpha
++);
3082 p
.Red() = wxPy_premultiply(*(data
++), a
);
3083 p
.Green() = wxPy_premultiply(*(data
++), a
);
3084 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3089 p
.OffsetY(pixData
, 1);
3094 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3096 if (DATASIZE
!= width
*height
*3) {
3097 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3101 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3102 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3104 // raise an exception...
3105 wxPyErr_SetString(PyExc_RuntimeError
,
3106 "Failed to gain raw access to bitmap data.");
3110 wxNativePixelData::Iterator
p(pixData
);
3111 for (int y
=0; y
<height
; y
++) {
3112 wxNativePixelData::Iterator rowStart
= p
;
3113 for (int x
=0; x
<width
; x
++) {
3114 p
.Red() = *(data
++);
3115 p
.Green() = *(data
++);
3116 p
.Blue() = *(data
++);
3120 p
.OffsetY(pixData
, 1);
3126 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3128 if (DATASIZE
!= width
*height
*4) {
3129 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3133 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3134 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3136 // raise an exception...
3137 wxPyErr_SetString(PyExc_RuntimeError
,
3138 "Failed to gain raw access to bitmap data.");
3143 wxAlphaPixelData::Iterator
p(pixData
);
3144 for (int y
=0; y
<height
; y
++) {
3145 wxAlphaPixelData::Iterator rowStart
= p
;
3146 for (int x
=0; x
<width
; x
++) {
3148 p
.Red() = wxPy_premultiply(*(data
++), a
);
3149 p
.Green() = wxPy_premultiply(*(data
++), a
);
3150 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3151 p
.Alpha() = a
; data
++;
3155 p
.OffsetY(pixData
, 1);
3161 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3163 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3167 self
->Green() = green
;
3168 self
->Blue() = blue
;
3170 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3171 PyObject
* rv
= PyTuple_New(3);
3172 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3173 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3174 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3178 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3180 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3183 self
->Red() = wxPy_premultiply(red
, alpha
);
3184 self
->Green() = wxPy_premultiply(green
, alpha
);
3185 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3186 self
->Alpha() = alpha
;
3188 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3189 PyObject
* rv
= PyTuple_New(4);
3190 int red
= self
->Red();
3191 int green
= self
->Green();
3192 int blue
= self
->Blue();
3193 int alpha
= self
->Alpha();
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3198 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3201 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3202 if ( !colour
.IsOk() )
3203 return new wxMask(bitmap
, *wxBLACK
);
3205 return new wxMask(bitmap
, colour
);
3208 #include <wx/iconbndl.h>
3210 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3211 wxIcon
* icon
= new wxIcon();
3212 icon
->CopyFromBitmap(bmp
);
3215 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3216 char** cArray
= NULL
;
3219 cArray
= ConvertListOfStrings(listOfStrings
);
3222 icon
= new wxIcon(cArray
);
3226 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3230 return new wxIconLocation(*filename
);
3233 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3240 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3248 SWIGINTERNINLINE PyObject
*
3249 SWIG_From_size_t (size_t value
)
3251 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3255 SWIGINTERNINLINE
int
3256 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3259 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3260 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3264 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3266 wxImage
img(cursorName
, type
);
3267 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3268 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3269 return new wxCursor(img
);
3271 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3276 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3279 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3280 return self
->operator bool();
3283 #include <wx/fontutil.h>
3284 #include <wx/fontmap.h>
3285 #include <wx/fontenum.h>
3287 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3288 return self
->ToString();
3291 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3292 static wxNativeEncodingInfo info
;
3293 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3299 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3300 wxFontEncoding alt_enc
;
3301 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3302 return PyInt_FromLong(alt_enc
);
3308 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3309 wxNativeFontInfo nfi
;
3310 nfi
.FromString(info
);
3311 return new wxFont(nfi
);
3313 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3314 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3316 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3317 return wxFontBase::New(pixelSize
, family
,
3318 style
, weight
, underlined
,
3321 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3322 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3324 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3325 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3327 class wxPyFontEnumerator
: public wxFontEnumerator
{
3329 wxPyFontEnumerator() {}
3330 ~wxPyFontEnumerator() {}
3332 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3333 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3338 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3339 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3342 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3344 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 ret
= wxArrayString2PyList_helper(arr
);
3347 wxPyEndBlockThreads(blocked
);
3350 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3352 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3353 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3354 ret
= wxArrayString2PyList_helper(arr
);
3355 wxPyEndBlockThreads(blocked
);
3361 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3364 loc
= new wxLocale();
3366 loc
= new wxLocale(language
, flags
);
3367 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3368 // for the floating point conversions and such to work right.
3369 #if PY_VERSION_HEX < 0x02040000
3370 setlocale(LC_NUMERIC
, "C");
3374 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &name
,wxString
const &shortName
=wxPyEmptyString
,wxString
const &locale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3375 bool rc
= self
->Init(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
);
3376 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3377 // for the floating point conversions and such to work right.
3378 #if PY_VERSION_HEX < 0x02040000
3379 setlocale(LC_NUMERIC
, "C");
3383 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3384 bool rc
= self
->Init(language
, flags
);
3385 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3386 // for the floating point conversions and such to work right.
3387 #if PY_VERSION_HEX < 0x02040000
3388 setlocale(LC_NUMERIC
, "C");
3393 class wxPyLocale
: public wxLocale
3398 wxPyLocale(const wxString
& name
, // name (for messages)
3399 const wxString
& shortName
= wxPyEmptyString
, // dir prefix (for msg files)
3400 const wxString
& locale
= wxPyEmptyString
, // locale (for setlocale)
3401 bool bLoadDefault
= true, // preload wxstd.mo?
3402 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3404 wxPyLocale(int language
, // wxLanguage id or custom language
3405 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3409 virtual const wxString
& GetString(const wxString
& origString
,
3410 const wxString
& domain
= wxPyEmptyString
) const;
3411 virtual const wxString
& GetString(const wxString
& origString
,
3412 const wxString
& origString2
,
3414 const wxString
& domain
= wxPyEmptyString
) const;
3416 virtual const wxString
& GetSingularString(const wxString
& origString
,
3417 const wxString
& domain
= wxPyEmptyString
) const;
3418 virtual const wxString
& GetPluralString(const wxString
& origString
,
3419 const wxString
& origString2
,
3421 const wxString
& domain
= wxPyEmptyString
) const;
3426 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3429 wxPyLocale::wxPyLocale() : wxLocale()
3433 wxPyLocale::wxPyLocale(const wxString
& name
, // name (for messages)
3434 const wxString
& shortName
, // dir prefix (for msg files)
3435 const wxString
& locale
, // locale (for setlocale)
3436 bool bLoadDefault
, // preload wxstd.mo?
3437 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3438 : wxLocale(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
)
3442 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3443 int flags
) : wxLocale(language
, flags
)
3447 wxPyLocale::~wxPyLocale()
3451 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3452 const wxString
& domain
) const
3454 return GetSingularString(origString
, domain
);
3457 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3458 const wxString
& origString2
,
3460 const wxString
& domain
) const
3462 return GetPluralString(origString
, origString2
, n
, domain
);
3465 const wxString
& wxPyLocale::GetSingularString(const wxString
& origString
,
3466 const wxString
& domain
) const
3469 wxString
str( _T("error in translation"));
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(origString
);
3473 PyObject
* param2
= wx2PyString(domain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? str
: wxLocale::GetString(origString
, domain
));
3486 const wxString
& wxPyLocale::GetPluralString(const wxString
& origString
,
3487 const wxString
& origString2
, size_t n
,
3488 const wxString
& domain
) const
3491 wxString
str( _T("error in translation"));
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3494 PyObject
* param1
= wx2PyString(origString
);
3495 PyObject
* param2
= wx2PyString(origString2
);
3496 PyObject
* param4
= wx2PyString(domain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
,
3498 Py_BuildValue("(OOiO)",
3505 str
= Py2wxString(ret
);
3509 wxPyEndBlockThreads(blocked
);
3510 return (found
? str
: wxLocale::GetString(origString
, origString2
, n
, domain
) );
3513 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3516 loc
= new wxPyLocale();
3518 loc
= new wxPyLocale(language
, flags
);
3519 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3520 // for the floating point conversions and such to work right.
3521 #if PY_VERSION_HEX < 0x02040000
3522 setlocale(LC_NUMERIC
, "C");
3527 #include "wx/wxPython/pydrawxxx.h"
3529 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3531 self
->GetPixel(x
, y
, &col
);
3534 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3536 self
->GetPixel(pt
, &col
);
3541 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3543 if (PyNumber_Check(obj
)) {
3544 if (val
) *val
= PyFloat_AsDouble(obj
);
3547 return SWIG_TypeError
;
3550 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3552 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3555 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3557 self
->GetClippingBox(rect
);
3560 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3562 self
->GetPartialTextExtents(text
, widths
);
3566 #define SWIG_From_double PyFloat_FromDouble
3568 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3569 self
->SetLogicalOrigin(point
.x
, point
.y
);
3571 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3572 self
->SetDeviceOrigin(point
.x
, point
.y
);
3574 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3575 self
->CalcBoundingBox(point
.x
, point
.y
);
3577 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3578 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3580 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3581 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3583 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3584 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3586 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3587 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3589 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3590 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3592 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3593 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3596 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3604 #include <wx/dcbuffer.h>
3607 #include <wx/dcps.h>
3610 class wxMetaFile
: public wxObject
{
3612 wxMetaFile(const wxString
&)
3613 { wxPyRaiseNotImplemented(); }
3616 class wxMetaFileDC
: public wxClientDC
{
3618 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3619 { wxPyRaiseNotImplemented(); }
3624 class wxPrinterDC
: public wxClientDC
{
3626 wxPrinterDC(const wxPrintData
&)
3627 { wxPyRaiseNotImplemented(); }
3632 #include <wx/dcsvg.h>
3635 #include <wx/graphics.h>
3638 #if !wxUSE_GRAPHICS_CONTEXT
3639 // C++ stub classes for platforms or build configurations that don't have
3640 // wxGraphicsContext yet.
3642 class wxGraphicsRenderer
;
3643 class wxGraphicsMatrix
;
3646 class wxGraphicsObject
: public wxObject
3649 wxGraphicsObject() {}
3650 wxGraphicsObject( wxGraphicsRenderer
* ) {
3651 PyErr_SetString(PyExc_NotImplementedError
,
3652 "wx.GraphicsObject is not available on this platform.");
3654 wxGraphicsObject( const wxGraphicsObject
& ) {}
3655 virtual ~wxGraphicsObject() {}
3656 bool IsNull() const { return false; }
3657 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3662 class wxGraphicsPen
: public wxGraphicsObject
3666 virtual ~wxGraphicsPen() {}
3668 wxGraphicsPen wxNullGraphicsPen
;
3672 class wxGraphicsBrush
: public wxGraphicsObject
3675 wxGraphicsBrush() {}
3676 virtual ~wxGraphicsBrush() {}
3678 wxGraphicsBrush wxNullGraphicsBrush
;
3682 class wxGraphicsFont
: public wxGraphicsObject
3686 virtual ~wxGraphicsFont() {}
3688 wxGraphicsFont wxNullGraphicsFont
;
3692 class wxGraphicsPath
: public wxGraphicsObject
3695 wxGraphicsPath() { }
3696 wxGraphicsPath(wxGraphicsRenderer
* ) {
3697 PyErr_SetString(PyExc_NotImplementedError
,
3698 "wx.GraphicsPath is not available on this platform.");
3700 virtual ~wxGraphicsPath() {}
3702 void MoveToPoint( wxDouble
, wxDouble
) {}
3703 void MoveToPoint( const wxPoint2DDouble
& ) {}
3704 void AddLineToPoint( wxDouble
, wxDouble
) {}
3705 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3706 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3707 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3708 void AddPath( const wxGraphicsPath
& ) {}
3709 void CloseSubpath() {}
3710 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3711 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3712 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3713 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3715 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3717 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3718 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3720 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3721 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3722 void * GetNativePath() const { return NULL
; }
3723 void UnGetNativePath(void *) const {}
3724 void Transform( const wxGraphicsMatrix
& ) {}
3725 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3726 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3728 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3729 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3731 wxGraphicsPath wxNullGraphicsPath
;
3734 class wxGraphicsMatrix
: public wxGraphicsObject
3737 wxGraphicsMatrix() { }
3738 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3739 PyErr_SetString(PyExc_NotImplementedError
,
3740 "wx.GraphicsMatrix is not available on this platform.");
3742 virtual ~wxGraphicsMatrix() {}
3743 virtual void Concat( const wxGraphicsMatrix
& ) {}
3744 virtual void Copy( const wxGraphicsMatrix
& ) {}
3745 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3746 wxDouble
, wxDouble
) {}
3747 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3748 wxDouble
*, wxDouble
*, wxDouble
*) {}
3749 virtual void Invert() {}
3750 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3751 virtual bool IsIdentity() const { return false; }
3752 virtual void Translate( wxDouble
, wxDouble
) {}
3753 virtual void Scale( wxDouble
, wxDouble
) {}
3754 virtual void Rotate( wxDouble
) {}
3755 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3756 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3757 virtual void * GetNativeMatrix() const { return NULL
; }
3759 wxGraphicsMatrix wxNullGraphicsMatrix
;
3762 class wxGraphicsContext
: public wxGraphicsObject
3766 wxGraphicsContext(wxGraphicsRenderer
* ) {
3767 PyErr_SetString(PyExc_NotImplementedError
,
3768 "wx.GraphicsContext is not available on this platform.");
3771 virtual ~wxGraphicsContext() {}
3773 static wxGraphicsContext
* Create() {
3774 PyErr_SetString(PyExc_NotImplementedError
,
3775 "wx.GraphicsContext is not available on this platform.");
3778 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3779 PyErr_SetString(PyExc_NotImplementedError
,
3780 "wx.GraphicsContext is not available on this platform.");
3784 static wxGraphicsContext
* CreateFromNative( void * ) {
3785 PyErr_SetString(PyExc_NotImplementedError
,
3786 "wx.GraphicsContext is not available on this platform.");
3790 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3791 PyErr_SetString(PyExc_NotImplementedError
,
3792 "wx.GraphicsContext is not available on this platform.");
3796 static wxGraphicsContext
* Create( wxWindow
* ) {
3797 PyErr_SetString(PyExc_NotImplementedError
,
3798 "wx.GraphicsContext is not available on this platform.");
3802 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3804 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3806 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3808 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3809 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3811 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3812 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3813 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3815 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3817 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3818 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3820 virtual void PushState() {}
3821 virtual void PopState() {}
3822 virtual void Clip( const wxRegion
& ) {}
3823 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3824 virtual void ResetClip() {}
3825 virtual void * GetNativeContext() { return NULL
; }
3826 virtual int GetLogicalFunction() const { return 0; }
3827 virtual bool SetLogicalFunction(int ) {}
3828 virtual void Translate( wxDouble
, wxDouble
) {}
3829 virtual void Scale( wxDouble
, wxDouble
) {}
3830 virtual void Rotate( wxDouble
) {}
3831 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3832 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3833 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3835 virtual void SetPen( const wxGraphicsPen
& ) {}
3836 void SetPen( const wxPen
& ) {}
3838 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3839 void SetBrush( const wxBrush
& ) {}
3841 virtual void SetFont( const wxGraphicsFont
& ) {}
3842 void SetFont( const wxFont
&, const wxColour
& ) {}
3844 virtual void StrokePath( const wxGraphicsPath
& ) {}
3845 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3846 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3848 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3849 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3850 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3851 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3852 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3853 wxDouble
*, wxDouble
* ) const {}
3854 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3856 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3857 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3859 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3860 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3861 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3862 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3863 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3864 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3865 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3866 virtual bool ShouldOffset() const { return false; }
3870 class wxGraphicsRenderer
: public wxObject
3873 wxGraphicsRenderer() {
3874 PyErr_SetString(PyExc_NotImplementedError
,
3875 "wx.GraphicsRenderer is not available on this platform.");
3878 virtual ~wxGraphicsRenderer() {}
3880 static wxGraphicsRenderer
* GetDefaultRenderer() {
3881 PyErr_SetString(PyExc_NotImplementedError
,
3882 "wx.GraphicsRenderer is not available on this platform.");
3886 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3887 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3888 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3889 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3890 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3892 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3894 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3895 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3897 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3898 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3899 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3900 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3901 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3902 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3903 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3908 class wxGCDC
: public wxWindowDC
3911 wxGCDC(const wxWindowDC
&) {
3912 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3913 PyErr_SetString(PyExc_NotImplementedError
,
3914 "wxGCDC is not available on this platform.");
3915 wxPyEndBlockThreads(blocked
);
3918 wxGCDC(const wxWindow
*) {
3919 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3920 PyErr_SetString(PyExc_NotImplementedError
,
3921 "wxGCDC is not available on this platform.");
3922 wxPyEndBlockThreads(blocked
);
3926 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3927 PyErr_SetString(PyExc_NotImplementedError
,
3928 "wxGCDC is not available on this platform.");
3929 wxPyEndBlockThreads(blocked
);
3932 virtual ~wxGCDC() {}
3934 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3935 void SetGraphicsContext( wxGraphicsContext
* ) {}
3940 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3941 if ( !backgroundBrush
.IsNull() )
3942 self
->DrawText(str
, x
, y
, backgroundBrush
);
3944 self
->DrawText(str
, x
, y
);
3946 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3947 if ( !backgroundBrush
.IsNull() )
3948 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3950 self
->DrawText(str
, x
, y
, angle
);
3952 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3953 wxDouble width
= 0.0,
3955 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3956 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3957 PyObject
* rv
= PyTuple_New(2);
3958 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3959 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3962 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3963 wxArrayDouble widths
;
3964 self
->GetPartialTextExtents(text
, widths
);
3967 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3968 size_t c1
, c2
, count
;
3969 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3970 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3972 if ( beginP
!= NULL
&& endP
!= NULL
)
3974 count
= wxMin(c1
, c2
);
3975 self
->StrokeLines(count
, beginP
, endP
);
3981 #include "wx/dcgraph.h"
3984 #include <wx/overlay.h>
3988 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3989 self
->AddColour(name
, wxColour(red
, green
, blue
));
3992 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3993 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3994 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3995 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3998 #include <wx/effects.h>
4001 #include "wx/renderer.h"
4004 SWIGINTERNINLINE PyObject
*
4005 SWIG_From_bool (bool value
)
4007 return PyBool_FromLong(value
? 1 : 0);
4011 #include "wx/wxPython/pseudodc.h"
4013 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4015 self
->GetIdBounds(id
, rect
);
4021 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4022 PyObject
*resultobj
= 0;
4023 wxGDIObject
*result
= 0 ;
4025 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4027 if (!wxPyCheckForApp()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (wxGDIObject
*)new wxGDIObject();
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4040 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 PyObject
*resultobj
= 0;
4042 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4045 PyObject
*swig_obj
[1] ;
4047 if (!args
) SWIG_fail
;
4049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4050 if (!SWIG_IsOK(res1
)) {
4051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4053 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_Py_Void();
4068 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4069 PyObject
*resultobj
= 0;
4070 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4074 PyObject
*swig_obj
[1] ;
4076 if (!args
) SWIG_fail
;
4078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4079 if (!SWIG_IsOK(res1
)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4082 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (bool)(arg1
)->IsNull();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4098 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4101 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4102 return SWIG_Py_Void();
4105 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4106 return SWIG_Python_InitShadowInstance(args
);
4109 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
= 0;
4111 byte arg1
= (byte
) 0 ;
4112 byte arg2
= (byte
) 0 ;
4113 byte arg3
= (byte
) 0 ;
4114 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4115 wxColour
*result
= 0 ;
4116 unsigned char val1
;
4118 unsigned char val2
;
4120 unsigned char val3
;
4122 unsigned char val4
;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4126 PyObject
* obj2
= 0 ;
4127 PyObject
* obj3
= 0 ;
4128 char * kwnames
[] = {
4129 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4134 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4135 if (!SWIG_IsOK(ecode1
)) {
4136 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4138 arg1
= static_cast< byte
>(val1
);
4141 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4142 if (!SWIG_IsOK(ecode2
)) {
4143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4145 arg2
= static_cast< byte
>(val2
);
4148 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4149 if (!SWIG_IsOK(ecode3
)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4152 arg3
= static_cast< byte
>(val3
);
4155 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4156 if (!SWIG_IsOK(ecode4
)) {
4157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4159 arg4
= static_cast< byte
>(val4
);
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4174 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
= 0;
4176 wxString
*arg1
= 0 ;
4177 wxColour
*result
= 0 ;
4178 bool temp1
= false ;
4179 PyObject
* obj0
= 0 ;
4180 char * kwnames
[] = {
4181 (char *) "colorName", NULL
4184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4186 arg1
= wxString_in_helper(obj0
);
4187 if (arg1
== NULL
) SWIG_fail
;
4191 if (!wxPyCheckForApp()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4212 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
= 0;
4214 unsigned long arg1
;
4215 wxColour
*result
= 0 ;
4216 unsigned long val1
;
4218 PyObject
* obj0
= 0 ;
4219 char * kwnames
[] = {
4220 (char *) "colRGB", NULL
4223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4224 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4225 if (!SWIG_IsOK(ecode1
)) {
4226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4228 arg1
= static_cast< unsigned long >(val1
);
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (wxColour
*)new wxColour(arg1
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4242 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4243 PyObject
*resultobj
= 0;
4244 wxColour
*arg1
= (wxColour
*) 0 ;
4247 PyObject
*swig_obj
[1] ;
4249 if (!args
) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4255 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= SWIG_Py_Void();
4270 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4271 PyObject
*resultobj
= 0;
4272 wxColour
*arg1
= (wxColour
*) 0 ;
4276 PyObject
*swig_obj
[1] ;
4278 if (!args
) SWIG_fail
;
4280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4281 if (!SWIG_IsOK(res1
)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4284 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 result
= (byte
)(arg1
)->Red();
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4298 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4299 PyObject
*resultobj
= 0;
4300 wxColour
*arg1
= (wxColour
*) 0 ;
4304 PyObject
*swig_obj
[1] ;
4306 if (!args
) SWIG_fail
;
4308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4309 if (!SWIG_IsOK(res1
)) {
4310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4312 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (byte
)(arg1
)->Green();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4326 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4327 PyObject
*resultobj
= 0;
4328 wxColour
*arg1
= (wxColour
*) 0 ;
4332 PyObject
*swig_obj
[1] ;
4334 if (!args
) SWIG_fail
;
4336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4337 if (!SWIG_IsOK(res1
)) {
4338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4340 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 result
= (byte
)(arg1
)->Blue();
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4354 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4355 PyObject
*resultobj
= 0;
4356 wxColour
*arg1
= (wxColour
*) 0 ;
4360 PyObject
*swig_obj
[1] ;
4362 if (!args
) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4368 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 result
= (byte
)(arg1
)->Alpha();
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4382 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4383 PyObject
*resultobj
= 0;
4384 wxColour
*arg1
= (wxColour
*) 0 ;
4388 PyObject
*swig_obj
[1] ;
4390 if (!args
) SWIG_fail
;
4392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4393 if (!SWIG_IsOK(res1
)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4396 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= (bool)(arg1
)->IsOk();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4412 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
= 0;
4414 wxColour
*arg1
= (wxColour
*) 0 ;
4418 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4421 unsigned char val2
;
4423 unsigned char val3
;
4425 unsigned char val4
;
4427 unsigned char val5
;
4429 PyObject
* obj0
= 0 ;
4430 PyObject
* obj1
= 0 ;
4431 PyObject
* obj2
= 0 ;
4432 PyObject
* obj3
= 0 ;
4433 PyObject
* obj4
= 0 ;
4434 char * kwnames
[] = {
4435 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4440 if (!SWIG_IsOK(res1
)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4443 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4444 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4445 if (!SWIG_IsOK(ecode2
)) {
4446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4448 arg2
= static_cast< byte
>(val2
);
4449 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4450 if (!SWIG_IsOK(ecode3
)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4453 arg3
= static_cast< byte
>(val3
);
4454 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4455 if (!SWIG_IsOK(ecode4
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4458 arg4
= static_cast< byte
>(val4
);
4460 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4461 if (!SWIG_IsOK(ecode5
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4464 arg5
= static_cast< byte
>(val5
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxColour
*arg1
= (wxColour
*) 0 ;
4482 unsigned long arg2
;
4485 unsigned long val2
;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 char * kwnames
[] = {
4490 (char *) "self",(char *) "colRGB", NULL
4493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4495 if (!SWIG_IsOK(res1
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4498 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4499 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4500 if (!SWIG_IsOK(ecode2
)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4503 arg2
= static_cast< unsigned long >(val2
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_Py_Void();
4517 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= 0;
4519 wxColour
*arg1
= (wxColour
*) 0 ;
4520 wxString
*arg2
= 0 ;
4523 bool temp2
= false ;
4524 PyObject
* obj0
= 0 ;
4525 PyObject
* obj1
= 0 ;
4526 char * kwnames
[] = {
4527 (char *) "self",(char *) "colourName", NULL
4530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4532 if (!SWIG_IsOK(res1
)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4535 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4537 arg2
= wxString_in_helper(obj1
);
4538 if (arg2
== NULL
) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 (arg1
)->Set((wxString
const &)*arg2
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= SWIG_Py_Void();
4562 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
= 0;
4564 wxColour
*arg1
= (wxColour
*) 0 ;
4565 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4573 char * kwnames
[] = {
4574 (char *) "self",(char *) "flags", NULL
4577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4579 if (!SWIG_IsOK(res1
)) {
4580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4582 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4585 if (!SWIG_IsOK(ecode2
)) {
4586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4588 arg2
= static_cast< long >(val2
);
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4609 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4610 PyObject
*resultobj
= 0;
4611 wxColour
*arg1
= (wxColour
*) 0 ;
4615 PyObject
*swig_obj
[1] ;
4617 if (!args
) SWIG_fail
;
4619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4620 if (!SWIG_IsOK(res1
)) {
4621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4623 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_From_long(static_cast< long >(result
));
4637 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
= 0;
4639 wxColour
*arg1
= (wxColour
*) 0 ;
4640 PyObject
*arg2
= (PyObject
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4646 char * kwnames
[] = {
4647 (char *) "self",(char *) "other", NULL
4650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4652 if (!SWIG_IsOK(res1
)) {
4653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4655 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4658 result
= (bool)wxColour___eq__(arg1
,arg2
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4670 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
= 0;
4672 wxColour
*arg1
= (wxColour
*) 0 ;
4673 PyObject
*arg2
= (PyObject
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 char * kwnames
[] = {
4680 (char *) "self",(char *) "other", NULL
4683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4688 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4691 result
= (bool)wxColour___ne__(arg1
,arg2
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4703 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
*resultobj
= 0;
4705 wxColour
*arg1
= (wxColour
*) 0 ;
4706 bool arg2
= (bool) false ;
4707 PyObject
*result
= 0 ;
4712 PyObject
* obj0
= 0 ;
4713 PyObject
* obj1
= 0 ;
4714 char * kwnames
[] = {
4715 (char *) "self",(char *) "includeAlpha", NULL
4718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4720 if (!SWIG_IsOK(res1
)) {
4721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4723 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4725 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4726 if (!SWIG_IsOK(ecode2
)) {
4727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4729 arg2
= static_cast< bool >(val2
);
4732 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4742 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 PyObject
*resultobj
= 0;
4744 wxColour
*arg1
= (wxColour
*) 0 ;
4745 unsigned long result
;
4748 PyObject
*swig_obj
[1] ;
4750 if (!args
) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4756 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4758 result
= (unsigned long)wxColour_GetRGB(arg1
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4768 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4771 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4772 return SWIG_Py_Void();
4775 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4776 return SWIG_Python_InitShadowInstance(args
);
4779 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
= 0;
4782 unsigned char *arg2
= (unsigned char *) 0 ;
4783 unsigned char *arg3
= (unsigned char *) 0 ;
4784 unsigned char *arg4
= (unsigned char *) 0 ;
4785 wxPalette
*result
= 0 ;
4794 PyObject
* obj0
= 0 ;
4795 PyObject
* obj1
= 0 ;
4796 PyObject
* obj2
= 0 ;
4797 PyObject
* obj3
= 0 ;
4798 char * kwnames
[] = {
4799 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4804 if (!SWIG_IsOK(ecode1
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4807 arg1
= static_cast< int >(val1
);
4808 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4809 if (!SWIG_IsOK(res2
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4812 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4813 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4814 if (!SWIG_IsOK(res3
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4817 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4818 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4819 if (!SWIG_IsOK(res4
)) {
4820 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4822 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4824 if (!wxPyCheckForApp()) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4837 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4838 PyObject
*resultobj
= 0;
4839 wxPalette
*arg1
= (wxPalette
*) 0 ;
4842 PyObject
*swig_obj
[1] ;
4844 if (!args
) SWIG_fail
;
4846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4847 if (!SWIG_IsOK(res1
)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4850 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_Py_Void();
4865 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
= 0;
4867 wxPalette
*arg1
= (wxPalette
*) 0 ;
4874 unsigned char val2
;
4876 unsigned char val3
;
4878 unsigned char val4
;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4882 PyObject
* obj2
= 0 ;
4883 PyObject
* obj3
= 0 ;
4884 char * kwnames
[] = {
4885 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4890 if (!SWIG_IsOK(res1
)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4893 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4894 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4895 if (!SWIG_IsOK(ecode2
)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4898 arg2
= static_cast< byte
>(val2
);
4899 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4900 if (!SWIG_IsOK(ecode3
)) {
4901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4903 arg3
= static_cast< byte
>(val3
);
4904 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4905 if (!SWIG_IsOK(ecode4
)) {
4906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4908 arg4
= static_cast< byte
>(val4
);
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_From_int(static_cast< int >(result
));
4922 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
= 0;
4924 wxPalette
*arg1
= (wxPalette
*) 0 ;
4926 byte
*arg3
= (byte
*) 0 ;
4927 byte
*arg4
= (byte
*) 0 ;
4928 byte
*arg5
= (byte
*) 0 ;
4935 int res3
= SWIG_TMPOBJ
;
4937 int res4
= SWIG_TMPOBJ
;
4939 int res5
= SWIG_TMPOBJ
;
4940 PyObject
* obj0
= 0 ;
4941 PyObject
* obj1
= 0 ;
4942 char * kwnames
[] = {
4943 (char *) "self",(char *) "pixel", NULL
4949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4951 if (!SWIG_IsOK(res1
)) {
4952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4954 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4956 if (!SWIG_IsOK(ecode2
)) {
4957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4959 arg2
= static_cast< int >(val2
);
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4969 if (SWIG_IsTmpObj(res3
)) {
4970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4972 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4975 if (SWIG_IsTmpObj(res4
)) {
4976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4978 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4981 if (SWIG_IsTmpObj(res5
)) {
4982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4984 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4993 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4994 PyObject
*resultobj
= 0;
4995 wxPalette
*arg1
= (wxPalette
*) 0 ;
4999 PyObject
*swig_obj
[1] ;
5001 if (!args
) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5007 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_From_int(static_cast< int >(result
));
5021 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5022 PyObject
*resultobj
= 0;
5023 wxPalette
*arg1
= (wxPalette
*) 0 ;
5027 PyObject
*swig_obj
[1] ;
5029 if (!args
) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5035 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (bool)(arg1
)->IsOk();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5051 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5054 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5055 return SWIG_Py_Void();
5058 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5059 return SWIG_Python_InitShadowInstance(args
);
5062 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxColour
*arg1
= 0 ;
5065 int arg2
= (int) 1 ;
5066 int arg3
= (int) wxSOLID
;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5075 PyObject
* obj2
= 0 ;
5076 char * kwnames
[] = {
5077 (char *) "colour",(char *) "width",(char *) "style", NULL
5080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5083 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5087 if (!SWIG_IsOK(ecode2
)) {
5088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5090 arg2
= static_cast< int >(val2
);
5093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5094 if (!SWIG_IsOK(ecode3
)) {
5095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5097 arg3
= static_cast< int >(val3
);
5100 if (!wxPyCheckForApp()) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5113 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5114 PyObject
*resultobj
= 0;
5115 wxPen
*arg1
= (wxPen
*) 0 ;
5118 PyObject
*swig_obj
[1] ;
5120 if (!args
) SWIG_fail
;
5122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5123 if (!SWIG_IsOK(res1
)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5126 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_Py_Void();
5141 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5142 PyObject
*resultobj
= 0;
5143 wxPen
*arg1
= (wxPen
*) 0 ;
5147 PyObject
*swig_obj
[1] ;
5149 if (!args
) SWIG_fail
;
5151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5152 if (!SWIG_IsOK(res1
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5155 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (int)(arg1
)->GetCap();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_From_int(static_cast< int >(result
));
5169 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5170 PyObject
*resultobj
= 0;
5171 wxPen
*arg1
= (wxPen
*) 0 ;
5175 PyObject
*swig_obj
[1] ;
5177 if (!args
) SWIG_fail
;
5179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5180 if (!SWIG_IsOK(res1
)) {
5181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5183 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= (arg1
)->GetColour();
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5197 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5198 PyObject
*resultobj
= 0;
5199 wxPen
*arg1
= (wxPen
*) 0 ;
5203 PyObject
*swig_obj
[1] ;
5205 if (!args
) SWIG_fail
;
5207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5208 if (!SWIG_IsOK(res1
)) {
5209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5211 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (int)(arg1
)->GetJoin();
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= SWIG_From_int(static_cast< int >(result
));
5225 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxPen
*arg1
= (wxPen
*) 0 ;
5231 PyObject
*swig_obj
[1] ;
5233 if (!args
) SWIG_fail
;
5235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5236 if (!SWIG_IsOK(res1
)) {
5237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5239 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 result
= (int)(arg1
)->GetStyle();
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= SWIG_From_int(static_cast< int >(result
));
5253 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5254 PyObject
*resultobj
= 0;
5255 wxPen
*arg1
= (wxPen
*) 0 ;
5259 PyObject
*swig_obj
[1] ;
5261 if (!args
) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5267 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (int)(arg1
)->GetWidth();
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= SWIG_From_int(static_cast< int >(result
));
5281 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5282 PyObject
*resultobj
= 0;
5283 wxPen
*arg1
= (wxPen
*) 0 ;
5287 PyObject
*swig_obj
[1] ;
5289 if (!args
) SWIG_fail
;
5291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5292 if (!SWIG_IsOK(res1
)) {
5293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5295 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= (bool)(arg1
)->IsOk();
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5311 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
= 0;
5313 wxPen
*arg1
= (wxPen
*) 0 ;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5321 char * kwnames
[] = {
5322 (char *) "self",(char *) "cap_style", NULL
5325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5327 if (!SWIG_IsOK(res1
)) {
5328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5330 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5332 if (!SWIG_IsOK(ecode2
)) {
5333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5335 arg2
= static_cast< int >(val2
);
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 (arg1
)->SetCap(arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_Py_Void();
5349 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
= 0;
5351 wxPen
*arg1
= (wxPen
*) 0 ;
5352 wxColour
*arg2
= 0 ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5358 char * kwnames
[] = {
5359 (char *) "self",(char *) "colour", NULL
5362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5364 if (!SWIG_IsOK(res1
)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5367 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 (arg1
)->SetColour(*arg2
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= SWIG_Py_Void();
5385 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
= 0;
5387 wxPen
*arg1
= (wxPen
*) 0 ;
5393 PyObject
* obj0
= 0 ;
5394 PyObject
* obj1
= 0 ;
5395 char * kwnames
[] = {
5396 (char *) "self",(char *) "join_style", NULL
5399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5404 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5406 if (!SWIG_IsOK(ecode2
)) {
5407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5409 arg2
= static_cast< int >(val2
);
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 (arg1
)->SetJoin(arg2
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5416 resultobj
= SWIG_Py_Void();
5423 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
= 0;
5425 wxPen
*arg1
= (wxPen
*) 0 ;
5431 PyObject
* obj0
= 0 ;
5432 PyObject
* obj1
= 0 ;
5433 char * kwnames
[] = {
5434 (char *) "self",(char *) "style", NULL
5437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5439 if (!SWIG_IsOK(res1
)) {
5440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5442 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5444 if (!SWIG_IsOK(ecode2
)) {
5445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5447 arg2
= static_cast< int >(val2
);
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 (arg1
)->SetStyle(arg2
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= SWIG_Py_Void();
5461 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
= 0;
5463 wxPen
*arg1
= (wxPen
*) 0 ;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5471 char * kwnames
[] = {
5472 (char *) "self",(char *) "width", NULL
5475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5477 if (!SWIG_IsOK(res1
)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5480 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5482 if (!SWIG_IsOK(ecode2
)) {
5483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5485 arg2
= static_cast< int >(val2
);
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 (arg1
)->SetWidth(arg2
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= SWIG_Py_Void();
5499 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
= 0;
5501 wxPen
*arg1
= (wxPen
*) 0 ;
5503 wxDash
*arg3
= (wxDash
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5508 char * kwnames
[] = {
5509 (char *) "self",(char *) "dashes", NULL
5512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5514 if (!SWIG_IsOK(res1
)) {
5515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5517 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5519 arg2
= PyList_Size(obj1
);
5520 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5521 if (arg3
== NULL
) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 (arg1
)->SetDashes(arg2
,arg3
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_Py_Void();
5531 if (arg3
) delete [] arg3
;
5536 if (arg3
) delete [] arg3
;
5542 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5543 PyObject
*resultobj
= 0;
5544 wxPen
*arg1
= (wxPen
*) 0 ;
5545 PyObject
*result
= 0 ;
5548 PyObject
*swig_obj
[1] ;
5550 if (!args
) SWIG_fail
;
5552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5553 if (!SWIG_IsOK(res1
)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5556 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5570 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
= 0;
5572 wxPen
*arg1
= (wxPen
*) 0 ;
5573 PyObject
*arg2
= (PyObject
*) 0 ;
5574 PyObject
*arg3
= (PyObject
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5579 PyObject
* obj2
= 0 ;
5580 char * kwnames
[] = {
5581 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5586 if (!SWIG_IsOK(res1
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5589 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 wxPen__SetDashes(arg1
,arg2
,arg3
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_Py_Void();
5605 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5606 PyObject
*resultobj
= 0;
5607 wxPen
*arg1
= (wxPen
*) 0 ;
5611 PyObject
*swig_obj
[1] ;
5613 if (!args
) SWIG_fail
;
5615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5616 if (!SWIG_IsOK(res1
)) {
5617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5619 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 resultobj
= SWIG_From_int(static_cast< int >(result
));
5633 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
= 0;
5635 wxPen
*arg1
= (wxPen
*) 0 ;
5636 wxPen
*arg2
= (wxPen
*) 0 ;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5644 char * kwnames
[] = {
5645 (char *) "self",(char *) "other", NULL
5648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5650 if (!SWIG_IsOK(res1
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5653 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5654 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5655 if (!SWIG_IsOK(res2
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5658 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5674 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
*resultobj
= 0;
5676 wxPen
*arg1
= (wxPen
*) 0 ;
5677 wxPen
*arg2
= (wxPen
*) 0 ;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5685 char * kwnames
[] = {
5686 (char *) "self",(char *) "other", NULL
5689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5691 if (!SWIG_IsOK(res1
)) {
5692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5694 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5696 if (!SWIG_IsOK(res2
)) {
5697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5699 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5715 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5717 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5718 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5719 return SWIG_Py_Void();
5722 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5723 return SWIG_Python_InitShadowInstance(args
);
5726 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
= 0;
5728 wxColour
*arg1
= 0 ;
5729 int arg2
= (int) wxSOLID
;
5730 wxBrush
*result
= 0 ;
5734 PyObject
* obj0
= 0 ;
5735 PyObject
* obj1
= 0 ;
5736 char * kwnames
[] = {
5737 (char *) "colour",(char *) "style", NULL
5740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5743 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5747 if (!SWIG_IsOK(ecode2
)) {
5748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5750 arg2
= static_cast< int >(val2
);
5753 if (!wxPyCheckForApp()) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5766 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
= 0;
5768 wxBitmap
*arg1
= 0 ;
5769 wxBrush
*result
= 0 ;
5772 PyObject
* obj0
= 0 ;
5773 char * kwnames
[] = {
5774 (char *) "stippleBitmap", NULL
5777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5778 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5779 if (!SWIG_IsOK(res1
)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5785 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5787 if (!wxPyCheckForApp()) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5800 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5801 PyObject
*resultobj
= 0;
5802 wxBrush
*arg1
= (wxBrush
*) 0 ;
5805 PyObject
*swig_obj
[1] ;
5807 if (!args
) SWIG_fail
;
5809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5810 if (!SWIG_IsOK(res1
)) {
5811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5813 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= SWIG_Py_Void();
5828 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
= 0;
5830 wxBrush
*arg1
= (wxBrush
*) 0 ;
5831 wxColour
*arg2
= 0 ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5837 char * kwnames
[] = {
5838 (char *) "self",(char *) "col", NULL
5841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5843 if (!SWIG_IsOK(res1
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5846 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5849 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 (arg1
)->SetColour((wxColour
const &)*arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_Py_Void();
5864 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
= 0;
5866 wxBrush
*arg1
= (wxBrush
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5873 PyObject
* obj1
= 0 ;
5874 char * kwnames
[] = {
5875 (char *) "self",(char *) "style", NULL
5878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5880 if (!SWIG_IsOK(res1
)) {
5881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5883 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5885 if (!SWIG_IsOK(ecode2
)) {
5886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5888 arg2
= static_cast< int >(val2
);
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 (arg1
)->SetStyle(arg2
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= SWIG_Py_Void();
5902 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
= 0;
5904 wxBrush
*arg1
= (wxBrush
*) 0 ;
5905 wxBitmap
*arg2
= 0 ;
5910 PyObject
* obj0
= 0 ;
5911 PyObject
* obj1
= 0 ;
5912 char * kwnames
[] = {
5913 (char *) "self",(char *) "stipple", NULL
5916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5918 if (!SWIG_IsOK(res1
)) {
5919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5921 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5923 if (!SWIG_IsOK(res2
)) {
5924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5929 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_Py_Void();
5943 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5944 PyObject
*resultobj
= 0;
5945 wxBrush
*arg1
= (wxBrush
*) 0 ;
5949 PyObject
*swig_obj
[1] ;
5951 if (!args
) SWIG_fail
;
5953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5954 if (!SWIG_IsOK(res1
)) {
5955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5957 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= ((wxBrush
const *)arg1
)->GetColour();
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5971 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5972 PyObject
*resultobj
= 0;
5973 wxBrush
*arg1
= (wxBrush
*) 0 ;
5977 PyObject
*swig_obj
[1] ;
5979 if (!args
) SWIG_fail
;
5981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5982 if (!SWIG_IsOK(res1
)) {
5983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5985 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= SWIG_From_int(static_cast< int >(result
));
5999 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6000 PyObject
*resultobj
= 0;
6001 wxBrush
*arg1
= (wxBrush
*) 0 ;
6002 wxBitmap
*result
= 0 ;
6005 PyObject
*swig_obj
[1] ;
6007 if (!args
) SWIG_fail
;
6009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6010 if (!SWIG_IsOK(res1
)) {
6011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6013 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6027 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6028 PyObject
*resultobj
= 0;
6029 wxBrush
*arg1
= (wxBrush
*) 0 ;
6033 PyObject
*swig_obj
[1] ;
6035 if (!args
) SWIG_fail
;
6037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6038 if (!SWIG_IsOK(res1
)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6041 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6057 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6058 PyObject
*resultobj
= 0;
6059 wxBrush
*arg1
= (wxBrush
*) 0 ;
6063 PyObject
*swig_obj
[1] ;
6065 if (!args
) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6071 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (bool)(arg1
)->IsOk();
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6087 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6090 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6091 return SWIG_Py_Void();
6094 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6095 return SWIG_Python_InitShadowInstance(args
);
6098 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
= 0;
6100 wxString
*arg1
= 0 ;
6101 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6102 wxBitmap
*result
= 0 ;
6103 bool temp1
= false ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6108 char * kwnames
[] = {
6109 (char *) "name",(char *) "type", NULL
6112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6114 arg1
= wxString_in_helper(obj0
);
6115 if (arg1
== NULL
) SWIG_fail
;
6119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6120 if (!SWIG_IsOK(ecode2
)) {
6121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6123 arg2
= static_cast< wxBitmapType
>(val2
);
6126 if (!wxPyCheckForApp()) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6147 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6148 PyObject
*resultobj
= 0;
6149 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6152 PyObject
*swig_obj
[1] ;
6154 if (!args
) SWIG_fail
;
6156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6157 if (!SWIG_IsOK(res1
)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6160 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 resultobj
= SWIG_Py_Void();
6173 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
= 0;
6177 int arg3
= (int) -1 ;
6178 wxBitmap
*result
= 0 ;
6185 PyObject
* obj0
= 0 ;
6186 PyObject
* obj1
= 0 ;
6187 PyObject
* obj2
= 0 ;
6188 char * kwnames
[] = {
6189 (char *) "width",(char *) "height",(char *) "depth", NULL
6192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6193 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6194 if (!SWIG_IsOK(ecode1
)) {
6195 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6197 arg1
= static_cast< int >(val1
);
6198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6199 if (!SWIG_IsOK(ecode2
)) {
6200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6202 arg2
= static_cast< int >(val2
);
6204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6205 if (!SWIG_IsOK(ecode3
)) {
6206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6208 arg3
= static_cast< int >(val3
);
6211 if (!wxPyCheckForApp()) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6224 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
*resultobj
= 0;
6227 wxBitmap
*result
= 0 ;
6230 PyObject
* obj0
= 0 ;
6231 char * kwnames
[] = {
6232 (char *) "icon", NULL
6235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6236 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6237 if (!SWIG_IsOK(res1
)) {
6238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6243 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6245 if (!wxPyCheckForApp()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6258 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
= 0;
6261 int arg2
= (int) -1 ;
6262 wxBitmap
*result
= 0 ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6269 char * kwnames
[] = {
6270 (char *) "image",(char *) "depth", NULL
6273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6274 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6275 if (!SWIG_IsOK(res1
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6281 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6284 if (!SWIG_IsOK(ecode2
)) {
6285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6287 arg2
= static_cast< int >(val2
);
6290 if (!wxPyCheckForApp()) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6303 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
= 0;
6305 PyObject
*arg1
= (PyObject
*) 0 ;
6306 wxBitmap
*result
= 0 ;
6307 PyObject
* obj0
= 0 ;
6308 char * kwnames
[] = {
6309 (char *) "listOfStrings", NULL
6312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6315 if (!wxPyCheckForApp()) SWIG_fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6328 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
= 0;
6330 PyObject
*arg1
= (PyObject
*) 0 ;
6333 int arg4
= (int) 1 ;
6334 wxBitmap
*result
= 0 ;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6343 PyObject
* obj2
= 0 ;
6344 PyObject
* obj3
= 0 ;
6345 char * kwnames
[] = {
6346 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6352 if (!SWIG_IsOK(ecode2
)) {
6353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6355 arg2
= static_cast< int >(val2
);
6356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6357 if (!SWIG_IsOK(ecode3
)) {
6358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6360 arg3
= static_cast< int >(val3
);
6362 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6363 if (!SWIG_IsOK(ecode4
)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6366 arg4
= static_cast< int >(val4
);
6369 if (!wxPyCheckForApp()) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6382 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6383 PyObject
*resultobj
= 0;
6384 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6388 PyObject
*swig_obj
[1] ;
6390 if (!args
) SWIG_fail
;
6392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6393 if (!SWIG_IsOK(res1
)) {
6394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6396 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6398 result
= (bool)(arg1
)->IsOk();
6399 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6410 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6411 PyObject
*resultobj
= 0;
6412 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6416 PyObject
*swig_obj
[1] ;
6418 if (!args
) SWIG_fail
;
6420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6421 if (!SWIG_IsOK(res1
)) {
6422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6424 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6426 result
= (int)(arg1
)->GetWidth();
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= SWIG_From_int(static_cast< int >(result
));
6436 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6437 PyObject
*resultobj
= 0;
6438 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6442 PyObject
*swig_obj
[1] ;
6444 if (!args
) SWIG_fail
;
6446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6447 if (!SWIG_IsOK(res1
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6450 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6452 result
= (int)(arg1
)->GetHeight();
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 resultobj
= SWIG_From_int(static_cast< int >(result
));
6462 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6463 PyObject
*resultobj
= 0;
6464 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6468 PyObject
*swig_obj
[1] ;
6470 if (!args
) SWIG_fail
;
6472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6473 if (!SWIG_IsOK(res1
)) {
6474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6476 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6478 result
= (int)(arg1
)->GetDepth();
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_From_int(static_cast< int >(result
));
6488 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6489 PyObject
*resultobj
= 0;
6490 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6494 PyObject
*swig_obj
[1] ;
6496 if (!args
) SWIG_fail
;
6498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6499 if (!SWIG_IsOK(res1
)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6502 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6504 result
= wxBitmap_GetSize(arg1
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6514 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6515 PyObject
*resultobj
= 0;
6516 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6517 SwigValueWrapper
<wxImage
> result
;
6520 PyObject
*swig_obj
[1] ;
6522 if (!args
) SWIG_fail
;
6524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6525 if (!SWIG_IsOK(res1
)) {
6526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6528 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6530 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6540 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6541 PyObject
*resultobj
= 0;
6542 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6543 wxMask
*result
= 0 ;
6546 PyObject
*swig_obj
[1] ;
6548 if (!args
) SWIG_fail
;
6550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6551 if (!SWIG_IsOK(res1
)) {
6552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6554 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6556 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6566 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
= 0;
6568 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6569 wxMask
*arg2
= (wxMask
*) 0 ;
6573 PyObject
* obj0
= 0 ;
6574 PyObject
* obj1
= 0 ;
6575 char * kwnames
[] = {
6576 (char *) "self",(char *) "mask", NULL
6579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6581 if (!SWIG_IsOK(res1
)) {
6582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6584 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6585 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6586 if (!SWIG_IsOK(res2
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6590 (arg1
)->SetMask(arg2
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_Py_Void();
6600 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
= 0;
6602 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6603 wxColour
*arg2
= 0 ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 char * kwnames
[] = {
6610 (char *) "self",(char *) "colour", NULL
6613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6615 if (!SWIG_IsOK(res1
)) {
6616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6618 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6621 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6624 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_Py_Void();
6634 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
= 0;
6636 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6638 SwigValueWrapper
<wxBitmap
> result
;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6644 char * kwnames
[] = {
6645 (char *) "self",(char *) "rect", NULL
6648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6650 if (!SWIG_IsOK(res1
)) {
6651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6653 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6656 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6659 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6669 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
= 0;
6671 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6672 wxString
*arg2
= 0 ;
6674 wxPalette
*arg4
= (wxPalette
*) NULL
;
6678 bool temp2
= false ;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6685 PyObject
* obj2
= 0 ;
6686 PyObject
* obj3
= 0 ;
6687 char * kwnames
[] = {
6688 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6693 if (!SWIG_IsOK(res1
)) {
6694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6696 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6698 arg2
= wxString_in_helper(obj1
);
6699 if (arg2
== NULL
) SWIG_fail
;
6702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6703 if (!SWIG_IsOK(ecode3
)) {
6704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6706 arg3
= static_cast< wxBitmapType
>(val3
);
6708 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6709 if (!SWIG_IsOK(res4
)) {
6710 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6712 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6715 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6735 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= 0;
6737 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6738 wxString
*arg2
= 0 ;
6743 bool temp2
= false ;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6748 PyObject
* obj2
= 0 ;
6749 char * kwnames
[] = {
6750 (char *) "self",(char *) "name",(char *) "type", NULL
6753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6755 if (!SWIG_IsOK(res1
)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6758 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6760 arg2
= wxString_in_helper(obj1
);
6761 if (arg2
== NULL
) SWIG_fail
;
6764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6765 if (!SWIG_IsOK(ecode3
)) {
6766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6768 arg3
= static_cast< wxBitmapType
>(val3
);
6770 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6790 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6791 PyObject
*resultobj
= 0;
6792 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6793 wxPalette
*result
= 0 ;
6796 PyObject
*swig_obj
[1] ;
6798 if (!args
) SWIG_fail
;
6800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6801 if (!SWIG_IsOK(res1
)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6804 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6806 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6816 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
= 0;
6818 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6825 PyObject
* obj0
= 0 ;
6826 PyObject
* obj1
= 0 ;
6827 char * kwnames
[] = {
6828 (char *) "self",(char *) "icon", NULL
6831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6833 if (!SWIG_IsOK(res1
)) {
6834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6836 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6837 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6838 if (!SWIG_IsOK(res2
)) {
6839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6844 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6846 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6858 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(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 *) "height", NULL
6872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",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_SetHeight" "', 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_SetHeight" "', expected argument " "2"" of type '" "int""'");
6882 arg2
= static_cast< int >(val2
);
6884 (arg1
)->SetHeight(arg2
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_Py_Void();
6894 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(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 *) "width", NULL
6908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",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_SetWidth" "', 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_SetWidth" "', expected argument " "2"" of type '" "int""'");
6918 arg2
= static_cast< int >(val2
);
6920 (arg1
)->SetWidth(arg2
);
6921 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= SWIG_Py_Void();
6930 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
*resultobj
= 0;
6932 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6938 PyObject
* obj0
= 0 ;
6939 PyObject
* obj1
= 0 ;
6940 char * kwnames
[] = {
6941 (char *) "self",(char *) "depth", NULL
6944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6946 if (!SWIG_IsOK(res1
)) {
6947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6949 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6951 if (!SWIG_IsOK(ecode2
)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6954 arg2
= static_cast< int >(val2
);
6956 (arg1
)->SetDepth(arg2
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_Py_Void();
6966 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
= 0;
6968 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "size", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6984 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6987 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6990 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_Py_Void();
7000 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
= 0;
7002 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7008 PyObject
* obj0
= 0 ;
7009 PyObject
* obj1
= 0 ;
7010 char * kwnames
[] = {
7011 (char *) "self",(char *) "data", NULL
7014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7016 if (!SWIG_IsOK(res1
)) {
7017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7019 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7021 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7025 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_Py_Void();
7035 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
= 0;
7037 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7045 char * kwnames
[] = {
7046 (char *) "self",(char *) "data", NULL
7049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",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_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7054 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7056 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7060 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= SWIG_Py_Void();
7070 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
= 0;
7072 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7073 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7081 char * kwnames
[] = {
7082 (char *) "self",(char *) "other", NULL
7085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7087 if (!SWIG_IsOK(res1
)) {
7088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7090 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7092 if (!SWIG_IsOK(res2
)) {
7093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7095 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7097 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7109 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
= 0;
7111 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7112 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7119 PyObject
* obj1
= 0 ;
7120 char * kwnames
[] = {
7121 (char *) "self",(char *) "other", NULL
7124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7126 if (!SWIG_IsOK(res1
)) {
7127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7129 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7131 if (!SWIG_IsOK(res2
)) {
7132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7134 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7136 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7148 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7151 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7152 return SWIG_Py_Void();
7155 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7156 return SWIG_Python_InitShadowInstance(args
);
7159 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
= 0;
7167 wxBitmap
*result
= 0 ;
7174 PyObject
* obj0
= 0 ;
7175 PyObject
* obj1
= 0 ;
7176 PyObject
* obj2
= 0 ;
7177 PyObject
* obj3
= 0 ;
7178 char * kwnames
[] = {
7179 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7183 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7184 if (!SWIG_IsOK(ecode1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7187 arg1
= static_cast< int >(val1
);
7188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7189 if (!SWIG_IsOK(ecode2
)) {
7190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7192 arg2
= static_cast< int >(val2
);
7194 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7198 if (obj3
!= Py_None
) {
7199 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7204 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7214 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
= 0;
7220 wxBitmap
*result
= 0 ;
7226 PyObject
* obj0
= 0 ;
7227 PyObject
* obj1
= 0 ;
7228 PyObject
* obj2
= 0 ;
7229 char * kwnames
[] = {
7230 (char *) "width",(char *) "height",(char *) "data", NULL
7233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7235 if (!SWIG_IsOK(ecode1
)) {
7236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7238 arg1
= static_cast< int >(val1
);
7239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7240 if (!SWIG_IsOK(ecode2
)) {
7241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7243 arg2
= static_cast< int >(val2
);
7245 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7249 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7259 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
= 0;
7265 wxBitmap
*result
= 0 ;
7271 PyObject
* obj0
= 0 ;
7272 PyObject
* obj1
= 0 ;
7273 PyObject
* obj2
= 0 ;
7274 char * kwnames
[] = {
7275 (char *) "width",(char *) "height",(char *) "data", NULL
7278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7279 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7280 if (!SWIG_IsOK(ecode1
)) {
7281 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7283 arg1
= static_cast< int >(val1
);
7284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7285 if (!SWIG_IsOK(ecode2
)) {
7286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7288 arg2
= static_cast< int >(val2
);
7290 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7294 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7295 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7304 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7305 PyObject
*resultobj
= 0;
7306 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7310 PyObject
*swig_obj
[1] ;
7312 if (!args
) SWIG_fail
;
7314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7315 if (!SWIG_IsOK(res1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7318 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7320 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7330 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7331 PyObject
*resultobj
= 0;
7332 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7336 PyObject
*swig_obj
[1] ;
7338 if (!args
) SWIG_fail
;
7340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7341 if (!SWIG_IsOK(res1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7344 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7346 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= SWIG_From_int(static_cast< int >(result
));
7356 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7357 PyObject
*resultobj
= 0;
7358 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7362 PyObject
*swig_obj
[1] ;
7364 if (!args
) SWIG_fail
;
7366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7367 if (!SWIG_IsOK(res1
)) {
7368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7370 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7372 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_From_int(static_cast< int >(result
));
7382 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7383 PyObject
*resultobj
= 0;
7384 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7388 PyObject
*swig_obj
[1] ;
7390 if (!args
) SWIG_fail
;
7392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7393 if (!SWIG_IsOK(res1
)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7396 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7398 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7408 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7409 PyObject
*resultobj
= 0;
7410 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7414 PyObject
*swig_obj
[1] ;
7416 if (!args
) SWIG_fail
;
7418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7419 if (!SWIG_IsOK(res1
)) {
7420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7422 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7424 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_From_int(static_cast< int >(result
));
7434 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7437 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7438 return SWIG_Py_Void();
7441 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7442 PyObject
*resultobj
= 0;
7443 wxBitmap
*arg1
= 0 ;
7444 wxNativePixelData
*result
= 0 ;
7448 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7450 if (!SWIG_IsOK(res1
)) {
7451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7456 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7458 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7468 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7469 PyObject
*resultobj
= 0;
7470 wxBitmap
*arg1
= 0 ;
7472 wxNativePixelData
*result
= 0 ;
7477 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7479 if (!SWIG_IsOK(res1
)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7485 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7488 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7491 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7501 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7502 PyObject
*resultobj
= 0;
7503 wxBitmap
*arg1
= 0 ;
7506 wxNativePixelData
*result
= 0 ;
7512 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7514 if (!SWIG_IsOK(res1
)) {
7515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7520 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7523 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7527 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7530 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7540 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7544 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7547 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7550 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7553 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7557 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7562 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7563 PyObject
*resultobj
= 0;
7564 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7567 PyObject
*swig_obj
[1] ;
7569 if (!args
) SWIG_fail
;
7571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7572 if (!SWIG_IsOK(res1
)) {
7573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7575 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 resultobj
= SWIG_Py_Void();
7588 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7589 PyObject
*resultobj
= 0;
7590 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7591 wxNativePixelData_Accessor result
;
7594 PyObject
*swig_obj
[1] ;
7596 if (!args
) SWIG_fail
;
7598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7599 if (!SWIG_IsOK(res1
)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7602 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7604 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7614 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7615 PyObject
*resultobj
= 0;
7616 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7619 PyObject
*swig_obj
[1] ;
7621 if (!args
) SWIG_fail
;
7623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7624 if (!SWIG_IsOK(res1
)) {
7625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7627 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= SWIG_Py_Void();
7639 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7640 PyObject
*resultobj
= 0;
7641 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7645 PyObject
*swig_obj
[1] ;
7647 if (!args
) SWIG_fail
;
7649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7650 if (!SWIG_IsOK(res1
)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7653 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7655 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7667 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7670 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7671 return SWIG_Py_Void();
7674 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7675 return SWIG_Python_InitShadowInstance(args
);
7678 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7679 PyObject
*resultobj
= 0;
7680 wxNativePixelData
*arg1
= 0 ;
7681 wxNativePixelData_Accessor
*result
= 0 ;
7685 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7687 if (!SWIG_IsOK(res1
)) {
7688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7693 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7695 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7705 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7706 PyObject
*resultobj
= 0;
7707 wxBitmap
*arg1
= 0 ;
7708 wxNativePixelData
*arg2
= 0 ;
7709 wxNativePixelData_Accessor
*result
= 0 ;
7715 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7717 if (!SWIG_IsOK(res1
)) {
7718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7723 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7724 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7725 if (!SWIG_IsOK(res2
)) {
7726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7731 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7733 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7743 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7744 PyObject
*resultobj
= 0;
7745 wxNativePixelData_Accessor
*result
= 0 ;
7747 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7749 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7759 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7763 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7766 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7769 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7772 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7776 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7781 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7782 PyObject
*resultobj
= 0;
7783 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7786 PyObject
*swig_obj
[1] ;
7788 if (!args
) SWIG_fail
;
7790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7791 if (!SWIG_IsOK(res1
)) {
7792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7794 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= SWIG_Py_Void();
7807 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
= 0;
7809 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7810 wxNativePixelData
*arg2
= 0 ;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7817 char * kwnames
[] = {
7818 (char *) "self",(char *) "data", NULL
7821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7823 if (!SWIG_IsOK(res1
)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7826 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7828 if (!SWIG_IsOK(res2
)) {
7829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7834 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7836 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7839 resultobj
= SWIG_Py_Void();
7846 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7847 PyObject
*resultobj
= 0;
7848 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7852 PyObject
*swig_obj
[1] ;
7854 if (!args
) SWIG_fail
;
7856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7857 if (!SWIG_IsOK(res1
)) {
7858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7860 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7862 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7863 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7874 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7875 PyObject
*resultobj
= 0;
7876 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7879 PyObject
*swig_obj
[1] ;
7881 if (!args
) SWIG_fail
;
7883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7884 if (!SWIG_IsOK(res1
)) {
7885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7887 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7889 wxNativePixelData_Accessor_nextPixel(arg1
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_Py_Void();
7899 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
= 0;
7901 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7902 wxNativePixelData
*arg2
= 0 ;
7913 PyObject
* obj0
= 0 ;
7914 PyObject
* obj1
= 0 ;
7915 PyObject
* obj2
= 0 ;
7916 PyObject
* obj3
= 0 ;
7917 char * kwnames
[] = {
7918 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7923 if (!SWIG_IsOK(res1
)) {
7924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7926 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7928 if (!SWIG_IsOK(res2
)) {
7929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7934 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7936 if (!SWIG_IsOK(ecode3
)) {
7937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7939 arg3
= static_cast< int >(val3
);
7940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7941 if (!SWIG_IsOK(ecode4
)) {
7942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7944 arg4
= static_cast< int >(val4
);
7946 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= SWIG_Py_Void();
7956 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
= 0;
7958 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7959 wxNativePixelData
*arg2
= 0 ;
7967 PyObject
* obj0
= 0 ;
7968 PyObject
* obj1
= 0 ;
7969 PyObject
* obj2
= 0 ;
7970 char * kwnames
[] = {
7971 (char *) "self",(char *) "data",(char *) "x", NULL
7974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7976 if (!SWIG_IsOK(res1
)) {
7977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7979 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7981 if (!SWIG_IsOK(res2
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7987 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7989 if (!SWIG_IsOK(ecode3
)) {
7990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7992 arg3
= static_cast< int >(val3
);
7994 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_Py_Void();
8004 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
= 0;
8006 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8007 wxNativePixelData
*arg2
= 0 ;
8015 PyObject
* obj0
= 0 ;
8016 PyObject
* obj1
= 0 ;
8017 PyObject
* obj2
= 0 ;
8018 char * kwnames
[] = {
8019 (char *) "self",(char *) "data",(char *) "y", NULL
8022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8024 if (!SWIG_IsOK(res1
)) {
8025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8027 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8029 if (!SWIG_IsOK(res2
)) {
8030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8035 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8037 if (!SWIG_IsOK(ecode3
)) {
8038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8040 arg3
= static_cast< int >(val3
);
8042 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= SWIG_Py_Void();
8052 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
= 0;
8054 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8055 wxNativePixelData
*arg2
= 0 ;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8068 PyObject
* obj2
= 0 ;
8069 PyObject
* obj3
= 0 ;
8070 char * kwnames
[] = {
8071 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8076 if (!SWIG_IsOK(res1
)) {
8077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8079 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8081 if (!SWIG_IsOK(res2
)) {
8082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8087 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8089 if (!SWIG_IsOK(ecode3
)) {
8090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8092 arg3
= static_cast< int >(val3
);
8093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8094 if (!SWIG_IsOK(ecode4
)) {
8095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8097 arg4
= static_cast< int >(val4
);
8099 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 resultobj
= SWIG_Py_Void();
8109 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
= 0;
8111 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8117 unsigned char val2
;
8119 unsigned char val3
;
8121 unsigned char val4
;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8125 PyObject
* obj2
= 0 ;
8126 PyObject
* obj3
= 0 ;
8127 char * kwnames
[] = {
8128 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8133 if (!SWIG_IsOK(res1
)) {
8134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8136 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8137 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8138 if (!SWIG_IsOK(ecode2
)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8141 arg2
= static_cast< byte
>(val2
);
8142 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8143 if (!SWIG_IsOK(ecode3
)) {
8144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8146 arg3
= static_cast< byte
>(val3
);
8147 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8148 if (!SWIG_IsOK(ecode4
)) {
8149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8151 arg4
= static_cast< byte
>(val4
);
8153 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= SWIG_Py_Void();
8163 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8164 PyObject
*resultobj
= 0;
8165 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8166 PyObject
*result
= 0 ;
8169 PyObject
*swig_obj
[1] ;
8171 if (!args
) SWIG_fail
;
8173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8174 if (!SWIG_IsOK(res1
)) {
8175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8177 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8179 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8189 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8192 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8193 return SWIG_Py_Void();
8196 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8197 return SWIG_Python_InitShadowInstance(args
);
8200 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8201 PyObject
*resultobj
= 0;
8202 wxBitmap
*arg1
= 0 ;
8203 wxAlphaPixelData
*result
= 0 ;
8207 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8209 if (!SWIG_IsOK(res1
)) {
8210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8215 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8217 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8227 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8228 PyObject
*resultobj
= 0;
8229 wxBitmap
*arg1
= 0 ;
8231 wxAlphaPixelData
*result
= 0 ;
8236 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8238 if (!SWIG_IsOK(res1
)) {
8239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8244 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8247 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8250 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8260 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8261 PyObject
*resultobj
= 0;
8262 wxBitmap
*arg1
= 0 ;
8265 wxAlphaPixelData
*result
= 0 ;
8271 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8273 if (!SWIG_IsOK(res1
)) {
8274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8279 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8282 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8286 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8289 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8299 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8303 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8306 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8309 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8312 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8316 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8321 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8322 PyObject
*resultobj
= 0;
8323 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8326 PyObject
*swig_obj
[1] ;
8328 if (!args
) SWIG_fail
;
8330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8331 if (!SWIG_IsOK(res1
)) {
8332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8334 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_Py_Void();
8347 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8348 PyObject
*resultobj
= 0;
8349 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8350 wxAlphaPixelData_Accessor result
;
8353 PyObject
*swig_obj
[1] ;
8355 if (!args
) SWIG_fail
;
8357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8358 if (!SWIG_IsOK(res1
)) {
8359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8361 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8363 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8373 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8374 PyObject
*resultobj
= 0;
8375 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8378 PyObject
*swig_obj
[1] ;
8380 if (!args
) SWIG_fail
;
8382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8383 if (!SWIG_IsOK(res1
)) {
8384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8386 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_Py_Void();
8398 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8399 PyObject
*resultobj
= 0;
8400 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8404 PyObject
*swig_obj
[1] ;
8406 if (!args
) SWIG_fail
;
8408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8409 if (!SWIG_IsOK(res1
)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8412 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8414 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8426 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8429 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8430 return SWIG_Py_Void();
8433 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8434 return SWIG_Python_InitShadowInstance(args
);
8437 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8438 PyObject
*resultobj
= 0;
8439 wxAlphaPixelData
*arg1
= 0 ;
8440 wxAlphaPixelData_Accessor
*result
= 0 ;
8444 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8446 if (!SWIG_IsOK(res1
)) {
8447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8452 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8454 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8464 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8465 PyObject
*resultobj
= 0;
8466 wxBitmap
*arg1
= 0 ;
8467 wxAlphaPixelData
*arg2
= 0 ;
8468 wxAlphaPixelData_Accessor
*result
= 0 ;
8474 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8476 if (!SWIG_IsOK(res1
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8482 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8483 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8484 if (!SWIG_IsOK(res2
)) {
8485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8490 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8492 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8502 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8503 PyObject
*resultobj
= 0;
8504 wxAlphaPixelData_Accessor
*result
= 0 ;
8506 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8508 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8518 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8522 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8525 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8528 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8531 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8535 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8540 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8541 PyObject
*resultobj
= 0;
8542 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8545 PyObject
*swig_obj
[1] ;
8547 if (!args
) SWIG_fail
;
8549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8550 if (!SWIG_IsOK(res1
)) {
8551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8553 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8559 resultobj
= SWIG_Py_Void();
8566 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
= 0;
8568 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8569 wxAlphaPixelData
*arg2
= 0 ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8576 char * kwnames
[] = {
8577 (char *) "self",(char *) "data", NULL
8580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8582 if (!SWIG_IsOK(res1
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8585 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8586 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8587 if (!SWIG_IsOK(res2
)) {
8588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8593 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8595 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_Py_Void();
8605 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8606 PyObject
*resultobj
= 0;
8607 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8611 PyObject
*swig_obj
[1] ;
8613 if (!args
) SWIG_fail
;
8615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8616 if (!SWIG_IsOK(res1
)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8619 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8621 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8622 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8633 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8634 PyObject
*resultobj
= 0;
8635 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8638 PyObject
*swig_obj
[1] ;
8640 if (!args
) SWIG_fail
;
8642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8643 if (!SWIG_IsOK(res1
)) {
8644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8646 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8648 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= SWIG_Py_Void();
8658 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
= 0;
8660 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8661 wxAlphaPixelData
*arg2
= 0 ;
8672 PyObject
* obj0
= 0 ;
8673 PyObject
* obj1
= 0 ;
8674 PyObject
* obj2
= 0 ;
8675 PyObject
* obj3
= 0 ;
8676 char * kwnames
[] = {
8677 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8685 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8687 if (!SWIG_IsOK(res2
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8693 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8695 if (!SWIG_IsOK(ecode3
)) {
8696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8698 arg3
= static_cast< int >(val3
);
8699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8700 if (!SWIG_IsOK(ecode4
)) {
8701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8703 arg4
= static_cast< int >(val4
);
8705 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_Py_Void();
8715 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
= 0;
8717 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8718 wxAlphaPixelData
*arg2
= 0 ;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8729 char * kwnames
[] = {
8730 (char *) "self",(char *) "data",(char *) "x", NULL
8733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8735 if (!SWIG_IsOK(res1
)) {
8736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8738 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8740 if (!SWIG_IsOK(res2
)) {
8741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8746 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8748 if (!SWIG_IsOK(ecode3
)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8751 arg3
= static_cast< int >(val3
);
8753 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_Py_Void();
8763 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
= 0;
8765 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8766 wxAlphaPixelData
*arg2
= 0 ;
8774 PyObject
* obj0
= 0 ;
8775 PyObject
* obj1
= 0 ;
8776 PyObject
* obj2
= 0 ;
8777 char * kwnames
[] = {
8778 (char *) "self",(char *) "data",(char *) "y", NULL
8781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8783 if (!SWIG_IsOK(res1
)) {
8784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8786 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8787 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8788 if (!SWIG_IsOK(res2
)) {
8789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8794 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8796 if (!SWIG_IsOK(ecode3
)) {
8797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8799 arg3
= static_cast< int >(val3
);
8801 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_Py_Void();
8811 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
= 0;
8813 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8814 wxAlphaPixelData
*arg2
= 0 ;
8825 PyObject
* obj0
= 0 ;
8826 PyObject
* obj1
= 0 ;
8827 PyObject
* obj2
= 0 ;
8828 PyObject
* obj3
= 0 ;
8829 char * kwnames
[] = {
8830 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8835 if (!SWIG_IsOK(res1
)) {
8836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8838 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8840 if (!SWIG_IsOK(res2
)) {
8841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8846 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8848 if (!SWIG_IsOK(ecode3
)) {
8849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8851 arg3
= static_cast< int >(val3
);
8852 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8853 if (!SWIG_IsOK(ecode4
)) {
8854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8856 arg4
= static_cast< int >(val4
);
8858 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8861 resultobj
= SWIG_Py_Void();
8868 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8869 PyObject
*resultobj
= 0;
8870 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8877 unsigned char val2
;
8879 unsigned char val3
;
8881 unsigned char val4
;
8883 unsigned char val5
;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8887 PyObject
* obj2
= 0 ;
8888 PyObject
* obj3
= 0 ;
8889 PyObject
* obj4
= 0 ;
8890 char * kwnames
[] = {
8891 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8896 if (!SWIG_IsOK(res1
)) {
8897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8899 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8900 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8901 if (!SWIG_IsOK(ecode2
)) {
8902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8904 arg2
= static_cast< byte
>(val2
);
8905 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8906 if (!SWIG_IsOK(ecode3
)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8909 arg3
= static_cast< byte
>(val3
);
8910 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8911 if (!SWIG_IsOK(ecode4
)) {
8912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8914 arg4
= static_cast< byte
>(val4
);
8915 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8916 if (!SWIG_IsOK(ecode5
)) {
8917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8919 arg5
= static_cast< byte
>(val5
);
8921 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8924 resultobj
= SWIG_Py_Void();
8931 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8932 PyObject
*resultobj
= 0;
8933 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8934 PyObject
*result
= 0 ;
8937 PyObject
*swig_obj
[1] ;
8939 if (!args
) SWIG_fail
;
8941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8942 if (!SWIG_IsOK(res1
)) {
8943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8945 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8947 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8957 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8959 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8960 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8961 return SWIG_Py_Void();
8964 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8965 return SWIG_Python_InitShadowInstance(args
);
8968 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
= 0;
8970 wxBitmap
*arg1
= 0 ;
8971 wxColour
const &arg2_defvalue
= wxNullColour
;
8972 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8973 wxMask
*result
= 0 ;
8977 PyObject
* obj0
= 0 ;
8978 PyObject
* obj1
= 0 ;
8979 char * kwnames
[] = {
8980 (char *) "bitmap",(char *) "colour", NULL
8983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8984 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8985 if (!SWIG_IsOK(res1
)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8991 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8995 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8999 if (!wxPyCheckForApp()) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9012 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9013 PyObject
*resultobj
= 0;
9014 wxMask
*arg1
= (wxMask
*) 0 ;
9017 PyObject
*swig_obj
[1] ;
9019 if (!args
) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9025 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= SWIG_Py_Void();
9038 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9041 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9042 return SWIG_Py_Void();
9045 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9046 return SWIG_Python_InitShadowInstance(args
);
9049 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
= 0;
9051 wxString
*arg1
= 0 ;
9053 int arg3
= (int) -1 ;
9054 int arg4
= (int) -1 ;
9055 wxIcon
*result
= 0 ;
9056 bool temp1
= false ;
9063 PyObject
* obj0
= 0 ;
9064 PyObject
* obj1
= 0 ;
9065 PyObject
* obj2
= 0 ;
9066 PyObject
* obj3
= 0 ;
9067 char * kwnames
[] = {
9068 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9073 arg1
= wxString_in_helper(obj0
);
9074 if (arg1
== NULL
) SWIG_fail
;
9077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9078 if (!SWIG_IsOK(ecode2
)) {
9079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9081 arg2
= static_cast< wxBitmapType
>(val2
);
9083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9084 if (!SWIG_IsOK(ecode3
)) {
9085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9087 arg3
= static_cast< int >(val3
);
9090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9091 if (!SWIG_IsOK(ecode4
)) {
9092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9094 arg4
= static_cast< int >(val4
);
9097 if (!wxPyCheckForApp()) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9118 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9119 PyObject
*resultobj
= 0;
9120 wxIcon
*arg1
= (wxIcon
*) 0 ;
9123 PyObject
*swig_obj
[1] ;
9125 if (!args
) SWIG_fail
;
9127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9128 if (!SWIG_IsOK(res1
)) {
9129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9131 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 resultobj
= SWIG_Py_Void();
9146 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9147 PyObject
*resultobj
= 0;
9148 wxIcon
*result
= 0 ;
9150 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9152 if (!wxPyCheckForApp()) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (wxIcon
*)new wxIcon();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9165 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
= 0;
9167 wxIconLocation
*arg1
= 0 ;
9168 wxIcon
*result
= 0 ;
9171 PyObject
* obj0
= 0 ;
9172 char * kwnames
[] = {
9173 (char *) "loc", NULL
9176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9177 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9178 if (!SWIG_IsOK(res1
)) {
9179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9184 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9186 if (!wxPyCheckForApp()) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9199 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
= 0;
9201 wxBitmap
*arg1
= 0 ;
9202 wxIcon
*result
= 0 ;
9205 PyObject
* obj0
= 0 ;
9206 char * kwnames
[] = {
9207 (char *) "bmp", NULL
9210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9211 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9212 if (!SWIG_IsOK(res1
)) {
9213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9218 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9220 if (!wxPyCheckForApp()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9233 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
= 0;
9235 PyObject
*arg1
= (PyObject
*) 0 ;
9236 wxIcon
*result
= 0 ;
9237 PyObject
* obj0
= 0 ;
9238 char * kwnames
[] = {
9239 (char *) "listOfStrings", NULL
9242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9245 if (!wxPyCheckForApp()) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (wxIcon
*)new_wxIcon(arg1
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9258 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
= 0;
9260 wxIcon
*arg1
= (wxIcon
*) 0 ;
9261 wxString
*arg2
= 0 ;
9266 bool temp2
= false ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 PyObject
* obj2
= 0 ;
9272 char * kwnames
[] = {
9273 (char *) "self",(char *) "name",(char *) "type", NULL
9276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9281 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9283 arg2
= wxString_in_helper(obj1
);
9284 if (arg2
== NULL
) SWIG_fail
;
9287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9288 if (!SWIG_IsOK(ecode3
)) {
9289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9291 arg3
= static_cast< wxBitmapType
>(val3
);
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9315 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9316 PyObject
*resultobj
= 0;
9317 wxIcon
*arg1
= (wxIcon
*) 0 ;
9321 PyObject
*swig_obj
[1] ;
9323 if (!args
) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9329 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (bool)(arg1
)->IsOk();
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9345 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9346 PyObject
*resultobj
= 0;
9347 wxIcon
*arg1
= (wxIcon
*) 0 ;
9351 PyObject
*swig_obj
[1] ;
9353 if (!args
) SWIG_fail
;
9355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9356 if (!SWIG_IsOK(res1
)) {
9357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9359 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (int)(arg1
)->GetWidth();
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= SWIG_From_int(static_cast< int >(result
));
9373 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9374 PyObject
*resultobj
= 0;
9375 wxIcon
*arg1
= (wxIcon
*) 0 ;
9379 PyObject
*swig_obj
[1] ;
9381 if (!args
) SWIG_fail
;
9383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9384 if (!SWIG_IsOK(res1
)) {
9385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9387 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (int)(arg1
)->GetHeight();
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= SWIG_From_int(static_cast< int >(result
));
9401 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9402 PyObject
*resultobj
= 0;
9403 wxIcon
*arg1
= (wxIcon
*) 0 ;
9407 PyObject
*swig_obj
[1] ;
9409 if (!args
) SWIG_fail
;
9411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9412 if (!SWIG_IsOK(res1
)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9415 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (int)(arg1
)->GetDepth();
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= SWIG_From_int(static_cast< int >(result
));
9429 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
= 0;
9431 wxIcon
*arg1
= (wxIcon
*) 0 ;
9437 PyObject
* obj0
= 0 ;
9438 PyObject
* obj1
= 0 ;
9439 char * kwnames
[] = {
9440 (char *) "self",(char *) "w", NULL
9443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9445 if (!SWIG_IsOK(res1
)) {
9446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9448 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9450 if (!SWIG_IsOK(ecode2
)) {
9451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9453 arg2
= static_cast< int >(val2
);
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 (arg1
)->SetWidth(arg2
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_Py_Void();
9467 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
= 0;
9469 wxIcon
*arg1
= (wxIcon
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9476 PyObject
* obj1
= 0 ;
9477 char * kwnames
[] = {
9478 (char *) "self",(char *) "h", NULL
9481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9483 if (!SWIG_IsOK(res1
)) {
9484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9486 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9488 if (!SWIG_IsOK(ecode2
)) {
9489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9491 arg2
= static_cast< int >(val2
);
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 (arg1
)->SetHeight(arg2
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= SWIG_Py_Void();
9505 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
= 0;
9507 wxIcon
*arg1
= (wxIcon
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9514 PyObject
* obj1
= 0 ;
9515 char * kwnames
[] = {
9516 (char *) "self",(char *) "d", NULL
9519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9521 if (!SWIG_IsOK(res1
)) {
9522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9524 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9526 if (!SWIG_IsOK(ecode2
)) {
9527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9529 arg2
= static_cast< int >(val2
);
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 (arg1
)->SetDepth(arg2
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_Py_Void();
9543 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
= 0;
9545 wxIcon
*arg1
= (wxIcon
*) 0 ;
9546 wxBitmap
*arg2
= 0 ;
9551 PyObject
* obj0
= 0 ;
9552 PyObject
* obj1
= 0 ;
9553 char * kwnames
[] = {
9554 (char *) "self",(char *) "bmp", NULL
9557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9559 if (!SWIG_IsOK(res1
)) {
9560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9562 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9564 if (!SWIG_IsOK(res2
)) {
9565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9570 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= SWIG_Py_Void();
9584 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9587 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9588 return SWIG_Py_Void();
9591 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9592 return SWIG_Python_InitShadowInstance(args
);
9595 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
= 0;
9597 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9598 int arg2
= (int) 0 ;
9599 wxIconLocation
*result
= 0 ;
9600 bool temp1
= false ;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9605 char * kwnames
[] = {
9606 (char *) "filename",(char *) "num", NULL
9609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9612 arg1
= wxString_in_helper(obj0
);
9613 if (arg1
== NULL
) SWIG_fail
;
9618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9619 if (!SWIG_IsOK(ecode2
)) {
9620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9622 arg2
= static_cast< int >(val2
);
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9645 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9646 PyObject
*resultobj
= 0;
9647 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9650 PyObject
*swig_obj
[1] ;
9652 if (!args
) SWIG_fail
;
9654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9655 if (!SWIG_IsOK(res1
)) {
9656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9658 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_Py_Void();
9673 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9674 PyObject
*resultobj
= 0;
9675 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9679 PyObject
*swig_obj
[1] ;
9681 if (!args
) SWIG_fail
;
9683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9684 if (!SWIG_IsOK(res1
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9687 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9703 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
= 0;
9705 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9706 wxString
*arg2
= 0 ;
9709 bool temp2
= false ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9712 char * kwnames
[] = {
9713 (char *) "self",(char *) "filename", NULL
9716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9718 if (!SWIG_IsOK(res1
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9721 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9723 arg2
= wxString_in_helper(obj1
);
9724 if (arg2
== NULL
) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 (arg1
)->SetFileName((wxString
const &)*arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_Py_Void();
9748 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9749 PyObject
*resultobj
= 0;
9750 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9751 wxString
*result
= 0 ;
9754 PyObject
*swig_obj
[1] ;
9756 if (!args
) SWIG_fail
;
9758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9759 if (!SWIG_IsOK(res1
)) {
9760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9762 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9767 result
= (wxString
*) &_result_ref
;
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9776 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9785 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
= 0;
9787 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9793 PyObject
* obj0
= 0 ;
9794 PyObject
* obj1
= 0 ;
9795 char * kwnames
[] = {
9796 (char *) "self",(char *) "num", NULL
9799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9801 if (!SWIG_IsOK(res1
)) {
9802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9804 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9806 if (!SWIG_IsOK(ecode2
)) {
9807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9809 arg2
= static_cast< int >(val2
);
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 wxIconLocation_SetIndex(arg1
,arg2
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= SWIG_Py_Void();
9823 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9824 PyObject
*resultobj
= 0;
9825 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9829 PyObject
*swig_obj
[1] ;
9831 if (!args
) SWIG_fail
;
9833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9834 if (!SWIG_IsOK(res1
)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9837 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (int)wxIconLocation_GetIndex(arg1
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_From_int(static_cast< int >(result
));
9851 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9854 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9855 return SWIG_Py_Void();
9858 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9859 return SWIG_Python_InitShadowInstance(args
);
9862 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9863 PyObject
*resultobj
= 0;
9864 wxIconBundle
*result
= 0 ;
9866 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (wxIconBundle
*)new wxIconBundle();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9880 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
= 0;
9882 wxString
*arg1
= 0 ;
9884 wxIconBundle
*result
= 0 ;
9885 bool temp1
= false ;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9890 char * kwnames
[] = {
9891 (char *) "file",(char *) "type", NULL
9894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9896 arg1
= wxString_in_helper(obj0
);
9897 if (arg1
== NULL
) SWIG_fail
;
9900 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9901 if (!SWIG_IsOK(ecode2
)) {
9902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9904 arg2
= static_cast< long >(val2
);
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9926 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
= 0;
9929 wxIconBundle
*result
= 0 ;
9932 PyObject
* obj0
= 0 ;
9933 char * kwnames
[] = {
9934 (char *) "icon", NULL
9937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9938 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9939 if (!SWIG_IsOK(res1
)) {
9940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9943 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9945 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9959 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9960 PyObject
*resultobj
= 0;
9961 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9964 PyObject
*swig_obj
[1] ;
9966 if (!args
) SWIG_fail
;
9968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9969 if (!SWIG_IsOK(res1
)) {
9970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9972 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= SWIG_Py_Void();
9987 SWIGINTERN PyObject
*_wrap_IconBundle_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9988 PyObject
*resultobj
= 0;
9989 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9993 PyObject
*swig_obj
[1] ;
9995 if (!args
) SWIG_fail
;
9997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9998 if (!SWIG_IsOK(res1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsOk" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10001 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (bool)((wxIconBundle
const *)arg1
)->IsOk();
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10017 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
= 0;
10019 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 char * kwnames
[] = {
10028 (char *) "self",(char *) "icon", NULL
10031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10033 if (!SWIG_IsOK(res1
)) {
10034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10036 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10038 if (!SWIG_IsOK(res2
)) {
10039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10044 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= SWIG_Py_Void();
10058 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
= 0;
10060 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10061 wxString
*arg2
= 0 ;
10065 bool temp2
= false ;
10068 PyObject
* obj0
= 0 ;
10069 PyObject
* obj1
= 0 ;
10070 PyObject
* obj2
= 0 ;
10071 char * kwnames
[] = {
10072 (char *) "self",(char *) "file",(char *) "type", NULL
10075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10077 if (!SWIG_IsOK(res1
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10080 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10082 arg2
= wxString_in_helper(obj1
);
10083 if (arg2
== NULL
) SWIG_fail
;
10086 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10087 if (!SWIG_IsOK(ecode3
)) {
10088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10090 arg3
= static_cast< long >(val3
);
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 resultobj
= SWIG_Py_Void();
10112 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
*resultobj
= 0;
10114 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10116 wxIcon
*result
= 0 ;
10120 PyObject
* obj0
= 0 ;
10121 PyObject
* obj1
= 0 ;
10122 char * kwnames
[] = {
10123 (char *) "self",(char *) "size", NULL
10126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10128 if (!SWIG_IsOK(res1
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10131 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10140 result
= (wxIcon
*) &_result_ref
;
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10146 wxIcon
* resultptr
= new wxIcon(*result
);
10147 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10155 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconOfExactSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
= 0;
10157 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 char * kwnames
[] = {
10166 (char *) "self",(char *) "size", NULL
10169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconOfExactSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10171 if (!SWIG_IsOK(res1
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconOfExactSize" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10174 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10177 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= ((wxIconBundle
const *)arg1
)->GetIconOfExactSize((wxSize
const &)*arg2
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10192 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10193 PyObject
*resultobj
= 0;
10194 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10198 PyObject
*swig_obj
[1] ;
10200 if (!args
) SWIG_fail
;
10201 swig_obj
[0] = args
;
10202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10203 if (!SWIG_IsOK(res1
)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconCount" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10206 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 result
= (size_t)((wxIconBundle
const *)arg1
)->GetIconCount();
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10220 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconByIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
= 0;
10222 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10229 PyObject
* obj0
= 0 ;
10230 PyObject
* obj1
= 0 ;
10231 char * kwnames
[] = {
10232 (char *) "self",(char *) "n", NULL
10235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconByIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10237 if (!SWIG_IsOK(res1
)) {
10238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10240 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10241 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10242 if (!SWIG_IsOK(ecode2
)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "2"" of type '" "size_t""'");
10245 arg2
= static_cast< size_t >(val2
);
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= ((wxIconBundle
const *)arg1
)->GetIconByIndex(arg2
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10259 SWIGINTERN PyObject
*_wrap_IconBundle_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10260 PyObject
*resultobj
= 0;
10261 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10265 PyObject
*swig_obj
[1] ;
10267 if (!args
) SWIG_fail
;
10268 swig_obj
[0] = args
;
10269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10270 if (!SWIG_IsOK(res1
)) {
10271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsEmpty" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10273 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (bool)((wxIconBundle
const *)arg1
)->IsEmpty();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10289 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10292 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10293 return SWIG_Py_Void();
10296 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10297 return SWIG_Python_InitShadowInstance(args
);
10300 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
= 0;
10302 wxString
*arg1
= 0 ;
10304 int arg3
= (int) 0 ;
10305 int arg4
= (int) 0 ;
10306 wxCursor
*result
= 0 ;
10307 bool temp1
= false ;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 PyObject
* obj2
= 0 ;
10317 PyObject
* obj3
= 0 ;
10318 char * kwnames
[] = {
10319 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10324 arg1
= wxString_in_helper(obj0
);
10325 if (arg1
== NULL
) SWIG_fail
;
10328 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10329 if (!SWIG_IsOK(ecode2
)) {
10330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10332 arg2
= static_cast< long >(val2
);
10334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10335 if (!SWIG_IsOK(ecode3
)) {
10336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10338 arg3
= static_cast< int >(val3
);
10341 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10342 if (!SWIG_IsOK(ecode4
)) {
10343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10345 arg4
= static_cast< int >(val4
);
10348 if (!wxPyCheckForApp()) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10369 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10370 PyObject
*resultobj
= 0;
10371 wxCursor
*arg1
= (wxCursor
*) 0 ;
10374 PyObject
*swig_obj
[1] ;
10376 if (!args
) SWIG_fail
;
10377 swig_obj
[0] = args
;
10378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10379 if (!SWIG_IsOK(res1
)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10382 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_Py_Void();
10397 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
= 0;
10400 wxCursor
*result
= 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "id", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10409 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10410 if (!SWIG_IsOK(ecode1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10413 arg1
= static_cast< int >(val1
);
10415 if (!wxPyCheckForApp()) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (wxCursor
*)new wxCursor(arg1
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10428 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= 0;
10430 wxImage
*arg1
= 0 ;
10431 wxCursor
*result
= 0 ;
10434 PyObject
* obj0
= 0 ;
10435 char * kwnames
[] = {
10436 (char *) "image", NULL
10439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10440 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10441 if (!SWIG_IsOK(res1
)) {
10442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10447 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10449 if (!wxPyCheckForApp()) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10462 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10463 PyObject
*resultobj
= 0;
10464 wxCursor
*arg1
= (wxCursor
*) 0 ;
10468 PyObject
*swig_obj
[1] ;
10470 if (!args
) SWIG_fail
;
10471 swig_obj
[0] = args
;
10472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10473 if (!SWIG_IsOK(res1
)) {
10474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10476 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (bool)(arg1
)->IsOk();
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10492 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10495 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10496 return SWIG_Py_Void();
10499 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10500 return SWIG_Python_InitShadowInstance(args
);
10503 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
= 0;
10505 int arg1
= (int) 0 ;
10506 int arg2
= (int) 0 ;
10507 int arg3
= (int) 0 ;
10508 int arg4
= (int) 0 ;
10509 wxRegion
*result
= 0 ;
10518 PyObject
* obj0
= 0 ;
10519 PyObject
* obj1
= 0 ;
10520 PyObject
* obj2
= 0 ;
10521 PyObject
* obj3
= 0 ;
10522 char * kwnames
[] = {
10523 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10529 if (!SWIG_IsOK(ecode1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10532 arg1
= static_cast< int >(val1
);
10535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10536 if (!SWIG_IsOK(ecode2
)) {
10537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10539 arg2
= static_cast< int >(val2
);
10542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10543 if (!SWIG_IsOK(ecode3
)) {
10544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10546 arg3
= static_cast< int >(val3
);
10549 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10550 if (!SWIG_IsOK(ecode4
)) {
10551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10553 arg4
= static_cast< int >(val4
);
10556 if (!wxPyCheckForApp()) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10569 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
= 0;
10571 wxBitmap
*arg1
= 0 ;
10572 wxRegion
*result
= 0 ;
10575 PyObject
* obj0
= 0 ;
10576 char * kwnames
[] = {
10577 (char *) "bmp", NULL
10580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10581 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10582 if (!SWIG_IsOK(res1
)) {
10583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10588 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10590 if (!wxPyCheckForApp()) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10603 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
= 0;
10605 wxBitmap
*arg1
= 0 ;
10606 wxColour
*arg2
= 0 ;
10607 int arg3
= (int) 0 ;
10608 wxRegion
*result
= 0 ;
10614 PyObject
* obj0
= 0 ;
10615 PyObject
* obj1
= 0 ;
10616 PyObject
* obj2
= 0 ;
10617 char * kwnames
[] = {
10618 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10622 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10623 if (!SWIG_IsOK(res1
)) {
10624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10629 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10632 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10636 if (!SWIG_IsOK(ecode3
)) {
10637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10639 arg3
= static_cast< int >(val3
);
10642 if (!wxPyCheckForApp()) SWIG_fail
;
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10655 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
= 0;
10658 wxPoint
*arg2
= (wxPoint
*) 0 ;
10659 int arg3
= (int) wxWINDING_RULE
;
10660 wxRegion
*result
= 0 ;
10663 PyObject
* obj0
= 0 ;
10664 PyObject
* obj1
= 0 ;
10665 char * kwnames
[] = {
10666 (char *) "points",(char *) "fillStyle", NULL
10669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10671 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10672 if (arg2
== NULL
) SWIG_fail
;
10675 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10676 if (!SWIG_IsOK(ecode3
)) {
10677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10679 arg3
= static_cast< int >(val3
);
10682 if (!wxPyCheckForApp()) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10690 if (arg2
) delete [] arg2
;
10695 if (arg2
) delete [] arg2
;
10701 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10702 PyObject
*resultobj
= 0;
10703 wxRegion
*arg1
= (wxRegion
*) 0 ;
10706 PyObject
*swig_obj
[1] ;
10708 if (!args
) SWIG_fail
;
10709 swig_obj
[0] = args
;
10710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10711 if (!SWIG_IsOK(res1
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10714 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= SWIG_Py_Void();
10729 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10730 PyObject
*resultobj
= 0;
10731 wxRegion
*arg1
= (wxRegion
*) 0 ;
10734 PyObject
*swig_obj
[1] ;
10736 if (!args
) SWIG_fail
;
10737 swig_obj
[0] = args
;
10738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10739 if (!SWIG_IsOK(res1
)) {
10740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10742 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_Py_Void();
10756 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
= 0;
10758 wxRegion
*arg1
= (wxRegion
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 PyObject
* obj2
= 0 ;
10771 char * kwnames
[] = {
10772 (char *) "self",(char *) "x",(char *) "y", NULL
10775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10777 if (!SWIG_IsOK(res1
)) {
10778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10780 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10782 if (!SWIG_IsOK(ecode2
)) {
10783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10785 arg2
= static_cast< int >(val2
);
10786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10787 if (!SWIG_IsOK(ecode3
)) {
10788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10790 arg3
= static_cast< int >(val3
);
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10806 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
= 0;
10808 wxRegion
*arg1
= (wxRegion
*) 0 ;
10811 wxRegionContain result
;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 PyObject
* obj2
= 0 ;
10821 char * kwnames
[] = {
10822 (char *) "self",(char *) "x",(char *) "y", NULL
10825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10827 if (!SWIG_IsOK(res1
)) {
10828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10830 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10832 if (!SWIG_IsOK(ecode2
)) {
10833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10835 arg2
= static_cast< int >(val2
);
10836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10837 if (!SWIG_IsOK(ecode3
)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10840 arg3
= static_cast< int >(val3
);
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10844 wxPyEndAllowThreads(__tstate
);
10845 if (PyErr_Occurred()) SWIG_fail
;
10847 resultobj
= SWIG_From_int(static_cast< int >(result
));
10854 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
= 0;
10856 wxRegion
*arg1
= (wxRegion
*) 0 ;
10857 wxPoint
*arg2
= 0 ;
10858 wxRegionContain result
;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 char * kwnames
[] = {
10865 (char *) "self",(char *) "pt", NULL
10868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10870 if (!SWIG_IsOK(res1
)) {
10871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10873 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10876 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) SWIG_fail
;
10884 resultobj
= SWIG_From_int(static_cast< int >(result
));
10891 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
= 0;
10893 wxRegion
*arg1
= (wxRegion
*) 0 ;
10895 wxRegionContain result
;
10899 PyObject
* obj0
= 0 ;
10900 PyObject
* obj1
= 0 ;
10901 char * kwnames
[] = {
10902 (char *) "self",(char *) "rect", NULL
10905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10907 if (!SWIG_IsOK(res1
)) {
10908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10910 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10913 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= SWIG_From_int(static_cast< int >(result
));
10928 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
= 0;
10930 wxRegion
*arg1
= (wxRegion
*) 0 ;
10935 wxRegionContain result
;
10946 PyObject
* obj0
= 0 ;
10947 PyObject
* obj1
= 0 ;
10948 PyObject
* obj2
= 0 ;
10949 PyObject
* obj3
= 0 ;
10950 PyObject
* obj4
= 0 ;
10951 char * kwnames
[] = {
10952 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10957 if (!SWIG_IsOK(res1
)) {
10958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10960 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10962 if (!SWIG_IsOK(ecode2
)) {
10963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10965 arg2
= static_cast< int >(val2
);
10966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10967 if (!SWIG_IsOK(ecode3
)) {
10968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10970 arg3
= static_cast< int >(val3
);
10971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10972 if (!SWIG_IsOK(ecode4
)) {
10973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10975 arg4
= static_cast< int >(val4
);
10976 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10977 if (!SWIG_IsOK(ecode5
)) {
10978 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10980 arg5
= static_cast< int >(val5
);
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= SWIG_From_int(static_cast< int >(result
));
10994 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10995 PyObject
*resultobj
= 0;
10996 wxRegion
*arg1
= (wxRegion
*) 0 ;
11000 PyObject
*swig_obj
[1] ;
11002 if (!args
) SWIG_fail
;
11003 swig_obj
[0] = args
;
11004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11005 if (!SWIG_IsOK(res1
)) {
11006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11008 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11011 result
= (arg1
)->GetBox();
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11022 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
= 0;
11024 wxRegion
*arg1
= (wxRegion
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 PyObject
* obj2
= 0 ;
11043 PyObject
* obj3
= 0 ;
11044 PyObject
* obj4
= 0 ;
11045 char * kwnames
[] = {
11046 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11054 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11056 if (!SWIG_IsOK(ecode2
)) {
11057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11059 arg2
= static_cast< int >(val2
);
11060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11061 if (!SWIG_IsOK(ecode3
)) {
11062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11064 arg3
= static_cast< int >(val3
);
11065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11066 if (!SWIG_IsOK(ecode4
)) {
11067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11069 arg4
= static_cast< int >(val4
);
11070 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11071 if (!SWIG_IsOK(ecode5
)) {
11072 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11074 arg5
= static_cast< int >(val5
);
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11090 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
= 0;
11092 wxRegion
*arg1
= (wxRegion
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 char * kwnames
[] = {
11101 (char *) "self",(char *) "rect", NULL
11104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11106 if (!SWIG_IsOK(res1
)) {
11107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11109 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11112 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11129 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
= 0;
11131 wxRegion
*arg1
= (wxRegion
*) 0 ;
11132 wxRegion
*arg2
= 0 ;
11138 PyObject
* obj0
= 0 ;
11139 PyObject
* obj1
= 0 ;
11140 char * kwnames
[] = {
11141 (char *) "self",(char *) "region", NULL
11144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11149 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11151 if (!SWIG_IsOK(res2
)) {
11152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11157 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11174 PyObject
*resultobj
= 0;
11175 wxRegion
*arg1
= (wxRegion
*) 0 ;
11179 PyObject
*swig_obj
[1] ;
11181 if (!args
) SWIG_fail
;
11182 swig_obj
[0] = args
;
11183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11184 if (!SWIG_IsOK(res1
)) {
11185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11187 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (bool)(arg1
)->IsEmpty();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11203 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
= 0;
11205 wxRegion
*arg1
= (wxRegion
*) 0 ;
11206 wxRegion
*arg2
= 0 ;
11212 PyObject
* obj0
= 0 ;
11213 PyObject
* obj1
= 0 ;
11214 char * kwnames
[] = {
11215 (char *) "self",(char *) "region", NULL
11218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11220 if (!SWIG_IsOK(res1
)) {
11221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11223 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11225 if (!SWIG_IsOK(res2
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11231 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11247 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
= 0;
11249 wxRegion
*arg1
= (wxRegion
*) 0 ;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 PyObject
* obj2
= 0 ;
11268 PyObject
* obj3
= 0 ;
11269 PyObject
* obj4
= 0 ;
11270 char * kwnames
[] = {
11271 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11276 if (!SWIG_IsOK(res1
)) {
11277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11279 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11281 if (!SWIG_IsOK(ecode2
)) {
11282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11284 arg2
= static_cast< int >(val2
);
11285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11286 if (!SWIG_IsOK(ecode3
)) {
11287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11289 arg3
= static_cast< int >(val3
);
11290 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11291 if (!SWIG_IsOK(ecode4
)) {
11292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11294 arg4
= static_cast< int >(val4
);
11295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11296 if (!SWIG_IsOK(ecode5
)) {
11297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11299 arg5
= static_cast< int >(val5
);
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11315 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
= 0;
11317 wxRegion
*arg1
= (wxRegion
*) 0 ;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 char * kwnames
[] = {
11326 (char *) "self",(char *) "rect", NULL
11329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11331 if (!SWIG_IsOK(res1
)) {
11332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11334 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11337 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11354 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
= 0;
11356 wxRegion
*arg1
= (wxRegion
*) 0 ;
11357 wxRegion
*arg2
= 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 char * kwnames
[] = {
11366 (char *) "self",(char *) "region", NULL
11369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11371 if (!SWIG_IsOK(res1
)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11374 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11376 if (!SWIG_IsOK(res2
)) {
11377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11382 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11398 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
= 0;
11400 wxRegion
*arg1
= (wxRegion
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 PyObject
* obj1
= 0 ;
11418 PyObject
* obj2
= 0 ;
11419 PyObject
* obj3
= 0 ;
11420 PyObject
* obj4
= 0 ;
11421 char * kwnames
[] = {
11422 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11427 if (!SWIG_IsOK(res1
)) {
11428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11430 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11432 if (!SWIG_IsOK(ecode2
)) {
11433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11435 arg2
= static_cast< int >(val2
);
11436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11437 if (!SWIG_IsOK(ecode3
)) {
11438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11440 arg3
= static_cast< int >(val3
);
11441 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11442 if (!SWIG_IsOK(ecode4
)) {
11443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11445 arg4
= static_cast< int >(val4
);
11446 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11447 if (!SWIG_IsOK(ecode5
)) {
11448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11450 arg5
= static_cast< int >(val5
);
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11466 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
= 0;
11468 wxRegion
*arg1
= (wxRegion
*) 0 ;
11474 PyObject
* obj0
= 0 ;
11475 PyObject
* obj1
= 0 ;
11476 char * kwnames
[] = {
11477 (char *) "self",(char *) "rect", NULL
11480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11482 if (!SWIG_IsOK(res1
)) {
11483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11485 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11488 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11505 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
= 0;
11507 wxRegion
*arg1
= (wxRegion
*) 0 ;
11508 wxRegion
*arg2
= 0 ;
11514 PyObject
* obj0
= 0 ;
11515 PyObject
* obj1
= 0 ;
11516 char * kwnames
[] = {
11517 (char *) "self",(char *) "region", NULL
11520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11522 if (!SWIG_IsOK(res1
)) {
11523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11525 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11526 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11527 if (!SWIG_IsOK(res2
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11533 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11549 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
= 0;
11551 wxRegion
*arg1
= (wxRegion
*) 0 ;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 PyObject
* obj2
= 0 ;
11570 PyObject
* obj3
= 0 ;
11571 PyObject
* obj4
= 0 ;
11572 char * kwnames
[] = {
11573 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11578 if (!SWIG_IsOK(res1
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11581 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11583 if (!SWIG_IsOK(ecode2
)) {
11584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11586 arg2
= static_cast< int >(val2
);
11587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11588 if (!SWIG_IsOK(ecode3
)) {
11589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11591 arg3
= static_cast< int >(val3
);
11592 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11593 if (!SWIG_IsOK(ecode4
)) {
11594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11596 arg4
= static_cast< int >(val4
);
11597 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11598 if (!SWIG_IsOK(ecode5
)) {
11599 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11601 arg5
= static_cast< int >(val5
);
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11617 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
= 0;
11619 wxRegion
*arg1
= (wxRegion
*) 0 ;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char * kwnames
[] = {
11628 (char *) "self",(char *) "rect", NULL
11631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11636 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11639 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11656 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
= 0;
11658 wxRegion
*arg1
= (wxRegion
*) 0 ;
11659 wxRegion
*arg2
= 0 ;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 char * kwnames
[] = {
11668 (char *) "self",(char *) "region", NULL
11671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11673 if (!SWIG_IsOK(res1
)) {
11674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11676 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11678 if (!SWIG_IsOK(res2
)) {
11679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11684 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11700 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11701 PyObject
*resultobj
= 0;
11702 wxRegion
*arg1
= (wxRegion
*) 0 ;
11703 SwigValueWrapper
<wxBitmap
> result
;
11706 PyObject
*swig_obj
[1] ;
11708 if (!args
) SWIG_fail
;
11709 swig_obj
[0] = args
;
11710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11711 if (!SWIG_IsOK(res1
)) {
11712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11714 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 result
= (arg1
)->ConvertToBitmap();
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11728 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
= 0;
11730 wxRegion
*arg1
= (wxRegion
*) 0 ;
11731 wxBitmap
*arg2
= 0 ;
11737 PyObject
* obj0
= 0 ;
11738 PyObject
* obj1
= 0 ;
11739 char * kwnames
[] = {
11740 (char *) "self",(char *) "bmp", NULL
11743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11745 if (!SWIG_IsOK(res1
)) {
11746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11748 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11749 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11750 if (!SWIG_IsOK(res2
)) {
11751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11756 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11772 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
= 0;
11774 wxRegion
*arg1
= (wxRegion
*) 0 ;
11775 wxBitmap
*arg2
= 0 ;
11776 wxColour
*arg3
= 0 ;
11777 int arg4
= (int) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 PyObject
* obj2
= 0 ;
11789 PyObject
* obj3
= 0 ;
11790 char * kwnames
[] = {
11791 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11799 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11801 if (!SWIG_IsOK(res2
)) {
11802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11807 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11810 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11813 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11814 if (!SWIG_IsOK(ecode4
)) {
11815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11817 arg4
= static_cast< int >(val4
);
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11834 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11837 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11838 return SWIG_Py_Void();
11841 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11842 return SWIG_Python_InitShadowInstance(args
);
11845 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11846 PyObject
*resultobj
= 0;
11847 wxRegion
*arg1
= 0 ;
11848 wxRegionIterator
*result
= 0 ;
11851 PyObject
* obj0
= 0 ;
11852 char * kwnames
[] = {
11853 (char *) "region", NULL
11856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11857 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11858 if (!SWIG_IsOK(res1
)) {
11859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11864 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11866 if (!wxPyCheckForApp()) SWIG_fail
;
11867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11868 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11879 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11880 PyObject
*resultobj
= 0;
11881 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11884 PyObject
*swig_obj
[1] ;
11886 if (!args
) SWIG_fail
;
11887 swig_obj
[0] = args
;
11888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11889 if (!SWIG_IsOK(res1
)) {
11890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11892 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_Py_Void();
11907 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11908 PyObject
*resultobj
= 0;
11909 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11913 PyObject
*swig_obj
[1] ;
11915 if (!args
) SWIG_fail
;
11916 swig_obj
[0] = args
;
11917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11918 if (!SWIG_IsOK(res1
)) {
11919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11921 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 result
= (int)(arg1
)->GetX();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= SWIG_From_int(static_cast< int >(result
));
11935 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11936 PyObject
*resultobj
= 0;
11937 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11941 PyObject
*swig_obj
[1] ;
11943 if (!args
) SWIG_fail
;
11944 swig_obj
[0] = args
;
11945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11946 if (!SWIG_IsOK(res1
)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11949 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (int)(arg1
)->GetY();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_From_int(static_cast< int >(result
));
11963 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11964 PyObject
*resultobj
= 0;
11965 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11969 PyObject
*swig_obj
[1] ;
11971 if (!args
) SWIG_fail
;
11972 swig_obj
[0] = args
;
11973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11974 if (!SWIG_IsOK(res1
)) {
11975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11977 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 result
= (int)(arg1
)->GetW();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_From_int(static_cast< int >(result
));
11991 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11992 PyObject
*resultobj
= 0;
11993 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11997 PyObject
*swig_obj
[1] ;
11999 if (!args
) SWIG_fail
;
12000 swig_obj
[0] = args
;
12001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12005 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (int)(arg1
)->GetWidth();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_From_int(static_cast< int >(result
));
12019 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12020 PyObject
*resultobj
= 0;
12021 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12025 PyObject
*swig_obj
[1] ;
12027 if (!args
) SWIG_fail
;
12028 swig_obj
[0] = args
;
12029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12030 if (!SWIG_IsOK(res1
)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12033 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (int)(arg1
)->GetH();
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_From_int(static_cast< int >(result
));
12047 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12048 PyObject
*resultobj
= 0;
12049 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12053 PyObject
*swig_obj
[1] ;
12055 if (!args
) SWIG_fail
;
12056 swig_obj
[0] = args
;
12057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12058 if (!SWIG_IsOK(res1
)) {
12059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12061 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 result
= (int)(arg1
)->GetHeight();
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= SWIG_From_int(static_cast< int >(result
));
12075 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12076 PyObject
*resultobj
= 0;
12077 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12081 PyObject
*swig_obj
[1] ;
12083 if (!args
) SWIG_fail
;
12084 swig_obj
[0] = args
;
12085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12086 if (!SWIG_IsOK(res1
)) {
12087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12089 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (arg1
)->GetRect();
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12103 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12104 PyObject
*resultobj
= 0;
12105 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12109 PyObject
*swig_obj
[1] ;
12111 if (!args
) SWIG_fail
;
12112 swig_obj
[0] = args
;
12113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12117 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (bool)(arg1
)->HaveRects();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12133 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12134 PyObject
*resultobj
= 0;
12135 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12138 PyObject
*swig_obj
[1] ;
12140 if (!args
) SWIG_fail
;
12141 swig_obj
[0] = args
;
12142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12146 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_Py_Void();
12160 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12161 PyObject
*resultobj
= 0;
12162 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12165 PyObject
*swig_obj
[1] ;
12167 if (!args
) SWIG_fail
;
12168 swig_obj
[0] = args
;
12169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12170 if (!SWIG_IsOK(res1
)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12173 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 wxRegionIterator_Next(arg1
);
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= SWIG_Py_Void();
12187 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12188 PyObject
*resultobj
= 0;
12189 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12193 PyObject
*swig_obj
[1] ;
12195 if (!args
) SWIG_fail
;
12196 swig_obj
[0] = args
;
12197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12198 if (!SWIG_IsOK(res1
)) {
12199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12201 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12217 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12220 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12221 return SWIG_Py_Void();
12224 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12225 return SWIG_Python_InitShadowInstance(args
);
12228 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 PyObject
*resultobj
= 0;
12230 wxNativeFontInfo
*result
= 0 ;
12232 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12246 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12247 PyObject
*resultobj
= 0;
12248 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12251 PyObject
*swig_obj
[1] ;
12253 if (!args
) SWIG_fail
;
12254 swig_obj
[0] = args
;
12255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12256 if (!SWIG_IsOK(res1
)) {
12257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12259 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_Py_Void();
12274 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12275 PyObject
*resultobj
= 0;
12276 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12279 PyObject
*swig_obj
[1] ;
12281 if (!args
) SWIG_fail
;
12282 swig_obj
[0] = args
;
12283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12287 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_Py_Void();
12301 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
= 0;
12303 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12309 PyObject
* obj0
= 0 ;
12310 PyObject
* obj1
= 0 ;
12311 char * kwnames
[] = {
12312 (char *) "self",(char *) "font", NULL
12315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12317 if (!SWIG_IsOK(res1
)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12320 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12322 if (!SWIG_IsOK(res2
)) {
12323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12328 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_Py_Void();
12342 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12343 PyObject
*resultobj
= 0;
12344 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12348 PyObject
*swig_obj
[1] ;
12350 if (!args
) SWIG_fail
;
12351 swig_obj
[0] = args
;
12352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12353 if (!SWIG_IsOK(res1
)) {
12354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12356 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= SWIG_From_int(static_cast< int >(result
));
12370 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12371 PyObject
*resultobj
= 0;
12372 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12373 wxFontStyle result
;
12376 PyObject
*swig_obj
[1] ;
12378 if (!args
) SWIG_fail
;
12379 swig_obj
[0] = args
;
12380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12381 if (!SWIG_IsOK(res1
)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12384 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12391 resultobj
= SWIG_From_int(static_cast< int >(result
));
12398 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12399 PyObject
*resultobj
= 0;
12400 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12401 wxFontWeight result
;
12404 PyObject
*swig_obj
[1] ;
12406 if (!args
) SWIG_fail
;
12407 swig_obj
[0] = args
;
12408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12409 if (!SWIG_IsOK(res1
)) {
12410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12412 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12415 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= SWIG_From_int(static_cast< int >(result
));
12426 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12427 PyObject
*resultobj
= 0;
12428 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12432 PyObject
*swig_obj
[1] ;
12434 if (!args
) SWIG_fail
;
12435 swig_obj
[0] = args
;
12436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12437 if (!SWIG_IsOK(res1
)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12440 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12456 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12457 PyObject
*resultobj
= 0;
12458 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12462 PyObject
*swig_obj
[1] ;
12464 if (!args
) SWIG_fail
;
12465 swig_obj
[0] = args
;
12466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12467 if (!SWIG_IsOK(res1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12470 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12490 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12491 PyObject
*resultobj
= 0;
12492 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12493 wxFontFamily result
;
12496 PyObject
*swig_obj
[1] ;
12498 if (!args
) SWIG_fail
;
12499 swig_obj
[0] = args
;
12500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12501 if (!SWIG_IsOK(res1
)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12504 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= SWIG_From_int(static_cast< int >(result
));
12518 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12519 PyObject
*resultobj
= 0;
12520 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12521 wxFontEncoding result
;
12524 PyObject
*swig_obj
[1] ;
12526 if (!args
) SWIG_fail
;
12527 swig_obj
[0] = args
;
12528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12529 if (!SWIG_IsOK(res1
)) {
12530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12532 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 resultobj
= SWIG_From_int(static_cast< int >(result
));
12546 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
= 0;
12548 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12554 PyObject
* obj0
= 0 ;
12555 PyObject
* obj1
= 0 ;
12556 char * kwnames
[] = {
12557 (char *) "self",(char *) "pointsize", NULL
12560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12562 if (!SWIG_IsOK(res1
)) {
12563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12565 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12567 if (!SWIG_IsOK(ecode2
)) {
12568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12570 arg2
= static_cast< int >(val2
);
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 (arg1
)->SetPointSize(arg2
);
12574 wxPyEndAllowThreads(__tstate
);
12575 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= SWIG_Py_Void();
12584 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
= 0;
12586 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 PyObject
* obj1
= 0 ;
12594 char * kwnames
[] = {
12595 (char *) "self",(char *) "style", NULL
12598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12600 if (!SWIG_IsOK(res1
)) {
12601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12603 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12605 if (!SWIG_IsOK(ecode2
)) {
12606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12608 arg2
= static_cast< wxFontStyle
>(val2
);
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12611 (arg1
)->SetStyle(arg2
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 resultobj
= SWIG_Py_Void();
12622 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
= 0;
12624 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12625 wxFontWeight arg2
;
12630 PyObject
* obj0
= 0 ;
12631 PyObject
* obj1
= 0 ;
12632 char * kwnames
[] = {
12633 (char *) "self",(char *) "weight", NULL
12636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12638 if (!SWIG_IsOK(res1
)) {
12639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12641 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12643 if (!SWIG_IsOK(ecode2
)) {
12644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12646 arg2
= static_cast< wxFontWeight
>(val2
);
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 (arg1
)->SetWeight(arg2
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= SWIG_Py_Void();
12660 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
= 0;
12662 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12668 PyObject
* obj0
= 0 ;
12669 PyObject
* obj1
= 0 ;
12670 char * kwnames
[] = {
12671 (char *) "self",(char *) "underlined", NULL
12674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12676 if (!SWIG_IsOK(res1
)) {
12677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12679 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12680 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12681 if (!SWIG_IsOK(ecode2
)) {
12682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12684 arg2
= static_cast< bool >(val2
);
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->SetUnderlined(arg2
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= SWIG_Py_Void();
12698 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
= 0;
12700 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12705 PyObject
* obj0
= 0 ;
12706 PyObject
* obj1
= 0 ;
12707 char * kwnames
[] = {
12708 (char *) "self",(char *) "facename", NULL
12711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12713 if (!SWIG_IsOK(res1
)) {
12714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12716 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12718 wxString
* sptr
= wxString_in_helper(obj1
);
12719 if (sptr
== NULL
) SWIG_fail
;
12724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12725 result
= (bool)(arg1
)->SetFaceName(arg2
);
12726 wxPyEndAllowThreads(__tstate
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12738 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
= 0;
12740 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12741 wxFontFamily arg2
;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 char * kwnames
[] = {
12749 (char *) "self",(char *) "family", NULL
12752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12754 if (!SWIG_IsOK(res1
)) {
12755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12757 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12759 if (!SWIG_IsOK(ecode2
)) {
12760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12762 arg2
= static_cast< wxFontFamily
>(val2
);
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 (arg1
)->SetFamily(arg2
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_Py_Void();
12776 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
= 0;
12778 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12779 wxFontEncoding arg2
;
12784 PyObject
* obj0
= 0 ;
12785 PyObject
* obj1
= 0 ;
12786 char * kwnames
[] = {
12787 (char *) "self",(char *) "encoding", NULL
12790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12792 if (!SWIG_IsOK(res1
)) {
12793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12795 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12797 if (!SWIG_IsOK(ecode2
)) {
12798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12800 arg2
= static_cast< wxFontEncoding
>(val2
);
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 (arg1
)->SetEncoding(arg2
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_Py_Void();
12814 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
= 0;
12816 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12817 wxString
*arg2
= 0 ;
12821 bool temp2
= false ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 char * kwnames
[] = {
12825 (char *) "self",(char *) "s", NULL
12828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12830 if (!SWIG_IsOK(res1
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12833 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12835 arg2
= wxString_in_helper(obj1
);
12836 if (arg2
== NULL
) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12862 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12863 PyObject
*resultobj
= 0;
12864 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12868 PyObject
*swig_obj
[1] ;
12870 if (!args
) SWIG_fail
;
12871 swig_obj
[0] = args
;
12872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12873 if (!SWIG_IsOK(res1
)) {
12874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12876 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12896 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12897 PyObject
*resultobj
= 0;
12898 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12902 PyObject
*swig_obj
[1] ;
12904 if (!args
) SWIG_fail
;
12905 swig_obj
[0] = args
;
12906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12907 if (!SWIG_IsOK(res1
)) {
12908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12910 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= wxNativeFontInfo___str__(arg1
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12930 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
= 0;
12932 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12933 wxString
*arg2
= 0 ;
12937 bool temp2
= false ;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 char * kwnames
[] = {
12941 (char *) "self",(char *) "s", NULL
12944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12946 if (!SWIG_IsOK(res1
)) {
12947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12949 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12951 arg2
= wxString_in_helper(obj1
);
12952 if (arg2
== NULL
) SWIG_fail
;
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12978 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12979 PyObject
*resultobj
= 0;
12980 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12984 PyObject
*swig_obj
[1] ;
12986 if (!args
) SWIG_fail
;
12987 swig_obj
[0] = args
;
12988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12989 if (!SWIG_IsOK(res1
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12992 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13012 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13015 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13016 return SWIG_Py_Void();
13019 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13020 return SWIG_Python_InitShadowInstance(args
);
13023 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13024 PyObject
*resultobj
= 0;
13025 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13026 wxString
*arg2
= (wxString
*) 0 ;
13029 bool temp2
= false ;
13030 PyObject
*swig_obj
[2] ;
13032 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13034 if (!SWIG_IsOK(res1
)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13037 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13039 arg2
= wxString_in_helper(swig_obj
[1]);
13040 if (arg2
== NULL
) SWIG_fail
;
13043 if (arg1
) (arg1
)->facename
= *arg2
;
13045 resultobj
= SWIG_Py_Void();
13060 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13061 PyObject
*resultobj
= 0;
13062 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13063 wxString
*result
= 0 ;
13066 PyObject
*swig_obj
[1] ;
13068 if (!args
) SWIG_fail
;
13069 swig_obj
[0] = args
;
13070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13071 if (!SWIG_IsOK(res1
)) {
13072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13074 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13075 result
= (wxString
*)& ((arg1
)->facename
);
13078 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13080 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13089 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13090 PyObject
*resultobj
= 0;
13091 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13092 wxFontEncoding arg2
;
13097 PyObject
*swig_obj
[2] ;
13099 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13101 if (!SWIG_IsOK(res1
)) {
13102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13104 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13105 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13106 if (!SWIG_IsOK(ecode2
)) {
13107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13109 arg2
= static_cast< wxFontEncoding
>(val2
);
13110 if (arg1
) (arg1
)->encoding
= arg2
;
13112 resultobj
= SWIG_Py_Void();
13119 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13120 PyObject
*resultobj
= 0;
13121 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13122 wxFontEncoding result
;
13125 PyObject
*swig_obj
[1] ;
13127 if (!args
) SWIG_fail
;
13128 swig_obj
[0] = args
;
13129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13130 if (!SWIG_IsOK(res1
)) {
13131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13133 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13134 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13135 resultobj
= SWIG_From_int(static_cast< int >(result
));
13142 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13143 PyObject
*resultobj
= 0;
13144 wxNativeEncodingInfo
*result
= 0 ;
13146 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13160 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13161 PyObject
*resultobj
= 0;
13162 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13165 PyObject
*swig_obj
[1] ;
13167 if (!args
) SWIG_fail
;
13168 swig_obj
[0] = args
;
13169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13170 if (!SWIG_IsOK(res1
)) {
13171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13173 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= SWIG_Py_Void();
13188 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
= 0;
13190 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13191 wxString
*arg2
= 0 ;
13195 bool temp2
= false ;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char * kwnames
[] = {
13199 (char *) "self",(char *) "s", NULL
13202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13204 if (!SWIG_IsOK(res1
)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13207 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13209 arg2
= wxString_in_helper(obj1
);
13210 if (arg2
== NULL
) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13236 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13237 PyObject
*resultobj
= 0;
13238 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13242 PyObject
*swig_obj
[1] ;
13244 if (!args
) SWIG_fail
;
13245 swig_obj
[0] = args
;
13246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13247 if (!SWIG_IsOK(res1
)) {
13248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13250 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13270 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13273 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13274 return SWIG_Py_Void();
13277 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13278 return SWIG_Python_InitShadowInstance(args
);
13281 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
= 0;
13283 wxFontEncoding arg1
;
13284 wxNativeEncodingInfo
*result
= 0 ;
13287 PyObject
* obj0
= 0 ;
13288 char * kwnames
[] = {
13289 (char *) "encoding", NULL
13292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13293 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13294 if (!SWIG_IsOK(ecode1
)) {
13295 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13297 arg1
= static_cast< wxFontEncoding
>(val1
);
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13311 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
= 0;
13313 wxNativeEncodingInfo
*arg1
= 0 ;
13317 PyObject
* obj0
= 0 ;
13318 char * kwnames
[] = {
13319 (char *) "info", NULL
13322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13323 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13330 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13346 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13347 PyObject
*resultobj
= 0;
13348 wxFontMapper
*result
= 0 ;
13350 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (wxFontMapper
*)new wxFontMapper();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13364 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13365 PyObject
*resultobj
= 0;
13366 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13369 PyObject
*swig_obj
[1] ;
13371 if (!args
) SWIG_fail
;
13372 swig_obj
[0] = args
;
13373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13374 if (!SWIG_IsOK(res1
)) {
13375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13377 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= SWIG_Py_Void();
13392 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13393 PyObject
*resultobj
= 0;
13394 wxFontMapper
*result
= 0 ;
13396 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (wxFontMapper
*)wxFontMapper::Get();
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13410 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
= 0;
13412 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13413 wxFontMapper
*result
= 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char * kwnames
[] = {
13418 (char *) "mapper", NULL
13421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13423 if (!SWIG_IsOK(res1
)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13426 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13440 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
= 0;
13442 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13443 wxString
*arg2
= 0 ;
13444 bool arg3
= (bool) true ;
13445 wxFontEncoding result
;
13448 bool temp2
= false ;
13451 PyObject
* obj0
= 0 ;
13452 PyObject
* obj1
= 0 ;
13453 PyObject
* obj2
= 0 ;
13454 char * kwnames
[] = {
13455 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13460 if (!SWIG_IsOK(res1
)) {
13461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13463 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13465 arg2
= wxString_in_helper(obj1
);
13466 if (arg2
== NULL
) SWIG_fail
;
13470 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13471 if (!SWIG_IsOK(ecode3
)) {
13472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13474 arg3
= static_cast< bool >(val3
);
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13479 wxPyEndAllowThreads(__tstate
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= SWIG_From_int(static_cast< int >(result
));
13497 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13498 PyObject
*resultobj
= 0;
13501 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13515 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
= 0;
13518 wxFontEncoding result
;
13521 PyObject
* obj0
= 0 ;
13522 char * kwnames
[] = {
13526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13527 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13528 if (!SWIG_IsOK(ecode1
)) {
13529 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13531 arg1
= static_cast< size_t >(val1
);
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13538 resultobj
= SWIG_From_int(static_cast< int >(result
));
13545 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13546 PyObject
*resultobj
= 0;
13547 wxFontEncoding arg1
;
13551 PyObject
* obj0
= 0 ;
13552 char * kwnames
[] = {
13553 (char *) "encoding", NULL
13556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13557 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13558 if (!SWIG_IsOK(ecode1
)) {
13559 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13561 arg1
= static_cast< wxFontEncoding
>(val1
);
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= wxFontMapper::GetEncodingName(arg1
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13570 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13572 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13581 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
= 0;
13583 wxFontEncoding arg1
;
13587 PyObject
* obj0
= 0 ;
13588 char * kwnames
[] = {
13589 (char *) "encoding", NULL
13592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13593 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13594 if (!SWIG_IsOK(ecode1
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13597 arg1
= static_cast< wxFontEncoding
>(val1
);
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 result
= wxFontMapper::GetEncodingDescription(arg1
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13617 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
= 0;
13619 wxString
*arg1
= 0 ;
13620 wxFontEncoding result
;
13621 bool temp1
= false ;
13622 PyObject
* obj0
= 0 ;
13623 char * kwnames
[] = {
13624 (char *) "name", NULL
13627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13629 arg1
= wxString_in_helper(obj0
);
13630 if (arg1
== NULL
) SWIG_fail
;
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_From_int(static_cast< int >(result
));
13654 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
= 0;
13656 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13657 wxString
*arg2
= 0 ;
13660 bool temp2
= false ;
13661 PyObject
* obj0
= 0 ;
13662 PyObject
* obj1
= 0 ;
13663 char * kwnames
[] = {
13664 (char *) "self",(char *) "prefix", NULL
13667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13669 if (!SWIG_IsOK(res1
)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13672 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13674 arg2
= wxString_in_helper(obj1
);
13675 if (arg2
== NULL
) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= SWIG_Py_Void();
13699 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13700 PyObject
*resultobj
= 0;
13703 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 result
= wxFontMapper::GetDefaultConfigPath();
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13723 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
= 0;
13725 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13726 wxFontEncoding arg2
;
13727 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13728 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13729 bool arg4
= (bool) true ;
13730 PyObject
*result
= 0 ;
13735 bool temp3
= false ;
13738 PyObject
* obj0
= 0 ;
13739 PyObject
* obj1
= 0 ;
13740 PyObject
* obj2
= 0 ;
13741 PyObject
* obj3
= 0 ;
13742 char * kwnames
[] = {
13743 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13748 if (!SWIG_IsOK(res1
)) {
13749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13751 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13753 if (!SWIG_IsOK(ecode2
)) {
13754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13756 arg2
= static_cast< wxFontEncoding
>(val2
);
13759 arg3
= wxString_in_helper(obj2
);
13760 if (arg3
== NULL
) SWIG_fail
;
13765 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13766 if (!SWIG_IsOK(ecode4
)) {
13767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13769 arg4
= static_cast< bool >(val4
);
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= result
;
13792 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
= 0;
13794 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13795 wxFontEncoding arg2
;
13796 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13797 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13803 bool temp3
= false ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 PyObject
* obj2
= 0 ;
13807 char * kwnames
[] = {
13808 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13813 if (!SWIG_IsOK(res1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13816 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13818 if (!SWIG_IsOK(ecode2
)) {
13819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13821 arg2
= static_cast< wxFontEncoding
>(val2
);
13824 arg3
= wxString_in_helper(obj2
);
13825 if (arg3
== NULL
) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13852 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
= 0;
13854 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13855 wxWindow
*arg2
= (wxWindow
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 PyObject
* obj1
= 0 ;
13862 char * kwnames
[] = {
13863 (char *) "self",(char *) "parent", NULL
13866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13868 if (!SWIG_IsOK(res1
)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13871 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13873 if (!SWIG_IsOK(res2
)) {
13874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13876 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 (arg1
)->SetDialogParent(arg2
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_Py_Void();
13890 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
= 0;
13892 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13893 wxString
*arg2
= 0 ;
13896 bool temp2
= false ;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 char * kwnames
[] = {
13900 (char *) "self",(char *) "title", NULL
13903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13905 if (!SWIG_IsOK(res1
)) {
13906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13908 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13910 arg2
= wxString_in_helper(obj1
);
13911 if (arg2
== NULL
) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13916 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= SWIG_Py_Void();
13935 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13938 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13939 return SWIG_Py_Void();
13942 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13943 return SWIG_Python_InitShadowInstance(args
);
13946 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
= 0;
13952 bool arg5
= (bool) false ;
13953 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13954 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13955 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13956 wxFont
*result
= 0 ;
13967 bool temp6
= false ;
13970 PyObject
* obj0
= 0 ;
13971 PyObject
* obj1
= 0 ;
13972 PyObject
* obj2
= 0 ;
13973 PyObject
* obj3
= 0 ;
13974 PyObject
* obj4
= 0 ;
13975 PyObject
* obj5
= 0 ;
13976 PyObject
* obj6
= 0 ;
13977 char * kwnames
[] = {
13978 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13983 if (!SWIG_IsOK(ecode1
)) {
13984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13986 arg1
= static_cast< int >(val1
);
13987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13988 if (!SWIG_IsOK(ecode2
)) {
13989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13991 arg2
= static_cast< int >(val2
);
13992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13993 if (!SWIG_IsOK(ecode3
)) {
13994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13996 arg3
= static_cast< int >(val3
);
13997 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13998 if (!SWIG_IsOK(ecode4
)) {
13999 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14001 arg4
= static_cast< int >(val4
);
14003 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14004 if (!SWIG_IsOK(ecode5
)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14007 arg5
= static_cast< bool >(val5
);
14011 arg6
= wxString_in_helper(obj5
);
14012 if (arg6
== NULL
) SWIG_fail
;
14017 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14018 if (!SWIG_IsOK(ecode7
)) {
14019 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14021 arg7
= static_cast< wxFontEncoding
>(val7
);
14024 if (!wxPyCheckForApp()) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14045 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14046 PyObject
*resultobj
= 0;
14047 wxFont
*arg1
= (wxFont
*) 0 ;
14050 PyObject
*swig_obj
[1] ;
14052 if (!args
) SWIG_fail
;
14053 swig_obj
[0] = args
;
14054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14055 if (!SWIG_IsOK(res1
)) {
14056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14058 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_Py_Void();
14073 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
= 0;
14075 wxNativeFontInfo
*arg1
= 0 ;
14076 wxFont
*result
= 0 ;
14079 PyObject
* obj0
= 0 ;
14080 char * kwnames
[] = {
14081 (char *) "info", NULL
14084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14085 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14086 if (!SWIG_IsOK(res1
)) {
14087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14092 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14094 if (!wxPyCheckForApp()) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14107 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
= 0;
14109 wxString
*arg1
= 0 ;
14110 wxFont
*result
= 0 ;
14111 bool temp1
= false ;
14112 PyObject
* obj0
= 0 ;
14113 char * kwnames
[] = {
14114 (char *) "info", NULL
14117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14119 arg1
= wxString_in_helper(obj0
);
14120 if (arg1
== NULL
) SWIG_fail
;
14124 if (!wxPyCheckForApp()) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14145 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
= 0;
14148 wxFontFamily arg2
;
14149 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14150 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14151 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14152 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14153 wxFont
*result
= 0 ;
14160 bool temp4
= false ;
14163 PyObject
* obj0
= 0 ;
14164 PyObject
* obj1
= 0 ;
14165 PyObject
* obj2
= 0 ;
14166 PyObject
* obj3
= 0 ;
14167 PyObject
* obj4
= 0 ;
14168 char * kwnames
[] = {
14169 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14173 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14174 if (!SWIG_IsOK(ecode1
)) {
14175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14177 arg1
= static_cast< int >(val1
);
14178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14179 if (!SWIG_IsOK(ecode2
)) {
14180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14182 arg2
= static_cast< wxFontFamily
>(val2
);
14184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14185 if (!SWIG_IsOK(ecode3
)) {
14186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14188 arg3
= static_cast< int >(val3
);
14192 arg4
= wxString_in_helper(obj3
);
14193 if (arg4
== NULL
) SWIG_fail
;
14198 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14199 if (!SWIG_IsOK(ecode5
)) {
14200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14202 arg5
= static_cast< wxFontEncoding
>(val5
);
14205 if (!wxPyCheckForApp()) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14226 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
= 0;
14232 bool arg5
= (bool) false ;
14233 wxString
const &arg6_defvalue
= wxEmptyString
;
14234 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14235 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14236 wxFont
*result
= 0 ;
14246 bool temp6
= false ;
14249 PyObject
* obj0
= 0 ;
14250 PyObject
* obj1
= 0 ;
14251 PyObject
* obj2
= 0 ;
14252 PyObject
* obj3
= 0 ;
14253 PyObject
* obj4
= 0 ;
14254 PyObject
* obj5
= 0 ;
14255 PyObject
* obj6
= 0 ;
14256 char * kwnames
[] = {
14257 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14263 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14266 if (!SWIG_IsOK(ecode2
)) {
14267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14269 arg2
= static_cast< int >(val2
);
14270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14271 if (!SWIG_IsOK(ecode3
)) {
14272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14274 arg3
= static_cast< int >(val3
);
14275 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14276 if (!SWIG_IsOK(ecode4
)) {
14277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14279 arg4
= static_cast< int >(val4
);
14281 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14282 if (!SWIG_IsOK(ecode5
)) {
14283 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14285 arg5
= static_cast< bool >(val5
);
14289 arg6
= wxString_in_helper(obj5
);
14290 if (arg6
== NULL
) SWIG_fail
;
14295 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14296 if (!SWIG_IsOK(ecode7
)) {
14297 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14299 arg7
= static_cast< wxFontEncoding
>(val7
);
14302 if (!wxPyCheckForApp()) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14323 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
= 0;
14326 wxFontFamily arg2
;
14327 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14328 wxString
const &arg4_defvalue
= wxEmptyString
;
14329 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14330 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14331 wxFont
*result
= 0 ;
14337 bool temp4
= false ;
14340 PyObject
* obj0
= 0 ;
14341 PyObject
* obj1
= 0 ;
14342 PyObject
* obj2
= 0 ;
14343 PyObject
* obj3
= 0 ;
14344 PyObject
* obj4
= 0 ;
14345 char * kwnames
[] = {
14346 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14352 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14355 if (!SWIG_IsOK(ecode2
)) {
14356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14358 arg2
= static_cast< wxFontFamily
>(val2
);
14360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14361 if (!SWIG_IsOK(ecode3
)) {
14362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14364 arg3
= static_cast< int >(val3
);
14368 arg4
= wxString_in_helper(obj3
);
14369 if (arg4
== NULL
) SWIG_fail
;
14374 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14375 if (!SWIG_IsOK(ecode5
)) {
14376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14378 arg5
= static_cast< wxFontEncoding
>(val5
);
14381 if (!wxPyCheckForApp()) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14402 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14403 PyObject
*resultobj
= 0;
14404 wxFont
*arg1
= (wxFont
*) 0 ;
14408 PyObject
*swig_obj
[1] ;
14410 if (!args
) SWIG_fail
;
14411 swig_obj
[0] = args
;
14412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14413 if (!SWIG_IsOK(res1
)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14416 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14432 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
= 0;
14434 wxFont
*arg1
= (wxFont
*) 0 ;
14435 wxFont
*arg2
= (wxFont
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 PyObject
* obj1
= 0 ;
14443 char * kwnames
[] = {
14444 (char *) "self",(char *) "other", NULL
14447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14449 if (!SWIG_IsOK(res1
)) {
14450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14452 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14454 if (!SWIG_IsOK(res2
)) {
14455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14457 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14473 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
= 0;
14475 wxFont
*arg1
= (wxFont
*) 0 ;
14476 wxFont
*arg2
= (wxFont
*) 0 ;
14482 PyObject
* obj0
= 0 ;
14483 PyObject
* obj1
= 0 ;
14484 char * kwnames
[] = {
14485 (char *) "self",(char *) "other", NULL
14488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14490 if (!SWIG_IsOK(res1
)) {
14491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14493 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14495 if (!SWIG_IsOK(res2
)) {
14496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14498 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14514 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(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_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14528 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 resultobj
= SWIG_From_int(static_cast< int >(result
));
14542 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14543 PyObject
*resultobj
= 0;
14544 wxFont
*arg1
= (wxFont
*) 0 ;
14548 PyObject
*swig_obj
[1] ;
14550 if (!args
) SWIG_fail
;
14551 swig_obj
[0] = args
;
14552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14556 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14570 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14571 PyObject
*resultobj
= 0;
14572 wxFont
*arg1
= (wxFont
*) 0 ;
14576 PyObject
*swig_obj
[1] ;
14578 if (!args
) SWIG_fail
;
14579 swig_obj
[0] = args
;
14580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14581 if (!SWIG_IsOK(res1
)) {
14582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14584 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14600 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14601 PyObject
*resultobj
= 0;
14602 wxFont
*arg1
= (wxFont
*) 0 ;
14606 PyObject
*swig_obj
[1] ;
14608 if (!args
) SWIG_fail
;
14609 swig_obj
[0] = args
;
14610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14611 if (!SWIG_IsOK(res1
)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14614 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_From_int(static_cast< int >(result
));
14628 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14629 PyObject
*resultobj
= 0;
14630 wxFont
*arg1
= (wxFont
*) 0 ;
14634 PyObject
*swig_obj
[1] ;
14636 if (!args
) SWIG_fail
;
14637 swig_obj
[0] = args
;
14638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14639 if (!SWIG_IsOK(res1
)) {
14640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14642 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= SWIG_From_int(static_cast< int >(result
));
14656 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14657 PyObject
*resultobj
= 0;
14658 wxFont
*arg1
= (wxFont
*) 0 ;
14662 PyObject
*swig_obj
[1] ;
14664 if (!args
) SWIG_fail
;
14665 swig_obj
[0] = args
;
14666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14667 if (!SWIG_IsOK(res1
)) {
14668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14670 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= SWIG_From_int(static_cast< int >(result
));
14684 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14685 PyObject
*resultobj
= 0;
14686 wxFont
*arg1
= (wxFont
*) 0 ;
14690 PyObject
*swig_obj
[1] ;
14692 if (!args
) SWIG_fail
;
14693 swig_obj
[0] = args
;
14694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14698 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14714 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14715 PyObject
*resultobj
= 0;
14716 wxFont
*arg1
= (wxFont
*) 0 ;
14720 PyObject
*swig_obj
[1] ;
14722 if (!args
) SWIG_fail
;
14723 swig_obj
[0] = args
;
14724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14725 if (!SWIG_IsOK(res1
)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14728 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= ((wxFont
const *)arg1
)->GetFaceName();
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14748 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14749 PyObject
*resultobj
= 0;
14750 wxFont
*arg1
= (wxFont
*) 0 ;
14751 wxFontEncoding result
;
14754 PyObject
*swig_obj
[1] ;
14756 if (!args
) SWIG_fail
;
14757 swig_obj
[0] = args
;
14758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14759 if (!SWIG_IsOK(res1
)) {
14760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14762 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_From_int(static_cast< int >(result
));
14776 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14777 PyObject
*resultobj
= 0;
14778 wxFont
*arg1
= (wxFont
*) 0 ;
14779 wxNativeFontInfo
*result
= 0 ;
14782 PyObject
*swig_obj
[1] ;
14784 if (!args
) SWIG_fail
;
14785 swig_obj
[0] = args
;
14786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14787 if (!SWIG_IsOK(res1
)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14790 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14804 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14805 PyObject
*resultobj
= 0;
14806 wxFont
*arg1
= (wxFont
*) 0 ;
14810 PyObject
*swig_obj
[1] ;
14812 if (!args
) SWIG_fail
;
14813 swig_obj
[0] = args
;
14814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14815 if (!SWIG_IsOK(res1
)) {
14816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14818 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14834 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14835 PyObject
*resultobj
= 0;
14836 wxFont
*arg1
= (wxFont
*) 0 ;
14840 PyObject
*swig_obj
[1] ;
14842 if (!args
) SWIG_fail
;
14843 swig_obj
[0] = args
;
14844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14845 if (!SWIG_IsOK(res1
)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14848 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14868 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14869 PyObject
*resultobj
= 0;
14870 wxFont
*arg1
= (wxFont
*) 0 ;
14874 PyObject
*swig_obj
[1] ;
14876 if (!args
) SWIG_fail
;
14877 swig_obj
[0] = args
;
14878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14879 if (!SWIG_IsOK(res1
)) {
14880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14882 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14902 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
= 0;
14904 wxFont
*arg1
= (wxFont
*) 0 ;
14910 PyObject
* obj0
= 0 ;
14911 PyObject
* obj1
= 0 ;
14912 char * kwnames
[] = {
14913 (char *) "self",(char *) "pointSize", NULL
14916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14918 if (!SWIG_IsOK(res1
)) {
14919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14921 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14923 if (!SWIG_IsOK(ecode2
)) {
14924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14926 arg2
= static_cast< int >(val2
);
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 (arg1
)->SetPointSize(arg2
);
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= SWIG_Py_Void();
14940 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
= 0;
14942 wxFont
*arg1
= (wxFont
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 char * kwnames
[] = {
14950 (char *) "self",(char *) "pixelSize", NULL
14953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14955 if (!SWIG_IsOK(res1
)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14958 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14961 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_Py_Void();
14976 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
= 0;
14978 wxFont
*arg1
= (wxFont
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 PyObject
* obj1
= 0 ;
14986 char * kwnames
[] = {
14987 (char *) "self",(char *) "family", NULL
14990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",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_SetFamily" "', 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_SetFamily" "', expected argument " "2"" of type '" "int""'");
15000 arg2
= static_cast< int >(val2
);
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 (arg1
)->SetFamily(arg2
);
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= SWIG_Py_Void();
15014 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
= 0;
15016 wxFont
*arg1
= (wxFont
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 char * kwnames
[] = {
15025 (char *) "self",(char *) "style", NULL
15028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",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_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15033 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15035 if (!SWIG_IsOK(ecode2
)) {
15036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15038 arg2
= static_cast< int >(val2
);
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 (arg1
)->SetStyle(arg2
);
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= SWIG_Py_Void();
15052 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
= 0;
15054 wxFont
*arg1
= (wxFont
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 PyObject
* obj1
= 0 ;
15062 char * kwnames
[] = {
15063 (char *) "self",(char *) "weight", NULL
15066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15068 if (!SWIG_IsOK(res1
)) {
15069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15071 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15073 if (!SWIG_IsOK(ecode2
)) {
15074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15076 arg2
= static_cast< int >(val2
);
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 (arg1
)->SetWeight(arg2
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= SWIG_Py_Void();
15090 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
= 0;
15092 wxFont
*arg1
= (wxFont
*) 0 ;
15093 wxString
*arg2
= 0 ;
15097 bool temp2
= false ;
15098 PyObject
* obj0
= 0 ;
15099 PyObject
* obj1
= 0 ;
15100 char * kwnames
[] = {
15101 (char *) "self",(char *) "faceName", NULL
15104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15106 if (!SWIG_IsOK(res1
)) {
15107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15109 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15111 arg2
= wxString_in_helper(obj1
);
15112 if (arg2
== NULL
) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15138 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
= 0;
15140 wxFont
*arg1
= (wxFont
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 char * kwnames
[] = {
15149 (char *) "self",(char *) "underlined", NULL
15152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15154 if (!SWIG_IsOK(res1
)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15157 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15158 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15159 if (!SWIG_IsOK(ecode2
)) {
15160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15162 arg2
= static_cast< bool >(val2
);
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->SetUnderlined(arg2
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_Py_Void();
15176 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
= 0;
15178 wxFont
*arg1
= (wxFont
*) 0 ;
15179 wxFontEncoding arg2
;
15184 PyObject
* obj0
= 0 ;
15185 PyObject
* obj1
= 0 ;
15186 char * kwnames
[] = {
15187 (char *) "self",(char *) "encoding", NULL
15190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15192 if (!SWIG_IsOK(res1
)) {
15193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15195 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15197 if (!SWIG_IsOK(ecode2
)) {
15198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15200 arg2
= static_cast< wxFontEncoding
>(val2
);
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 (arg1
)->SetEncoding(arg2
);
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= SWIG_Py_Void();
15214 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
= 0;
15216 wxFont
*arg1
= (wxFont
*) 0 ;
15217 wxNativeFontInfo
*arg2
= 0 ;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 char * kwnames
[] = {
15225 (char *) "self",(char *) "info", NULL
15228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15230 if (!SWIG_IsOK(res1
)) {
15231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15233 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15234 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15235 if (!SWIG_IsOK(res2
)) {
15236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15241 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= SWIG_Py_Void();
15255 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
= 0;
15257 wxFont
*arg1
= (wxFont
*) 0 ;
15258 wxString
*arg2
= 0 ;
15262 bool temp2
= false ;
15263 PyObject
* obj0
= 0 ;
15264 PyObject
* obj1
= 0 ;
15265 char * kwnames
[] = {
15266 (char *) "self",(char *) "info", NULL
15269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15271 if (!SWIG_IsOK(res1
)) {
15272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15274 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15276 arg2
= wxString_in_helper(obj1
);
15277 if (arg2
== NULL
) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15303 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
= 0;
15305 wxFont
*arg1
= (wxFont
*) 0 ;
15306 wxString
*arg2
= 0 ;
15310 bool temp2
= false ;
15311 PyObject
* obj0
= 0 ;
15312 PyObject
* obj1
= 0 ;
15313 char * kwnames
[] = {
15314 (char *) "self",(char *) "info", NULL
15317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15319 if (!SWIG_IsOK(res1
)) {
15320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15322 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15324 arg2
= wxString_in_helper(obj1
);
15325 if (arg2
== NULL
) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15351 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15352 PyObject
*resultobj
= 0;
15353 wxFont
*arg1
= (wxFont
*) 0 ;
15357 PyObject
*swig_obj
[1] ;
15359 if (!args
) SWIG_fail
;
15360 swig_obj
[0] = args
;
15361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15362 if (!SWIG_IsOK(res1
)) {
15363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15365 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15369 wxPyEndAllowThreads(__tstate
);
15370 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15385 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15386 PyObject
*resultobj
= 0;
15387 wxFont
*arg1
= (wxFont
*) 0 ;
15391 PyObject
*swig_obj
[1] ;
15393 if (!args
) SWIG_fail
;
15394 swig_obj
[0] = args
;
15395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15396 if (!SWIG_IsOK(res1
)) {
15397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15399 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 result
= ((wxFont
const *)arg1
)->GetStyleString();
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15419 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15420 PyObject
*resultobj
= 0;
15421 wxFont
*arg1
= (wxFont
*) 0 ;
15425 PyObject
*swig_obj
[1] ;
15427 if (!args
) SWIG_fail
;
15428 swig_obj
[0] = args
;
15429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15430 if (!SWIG_IsOK(res1
)) {
15431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15433 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= ((wxFont
const *)arg1
)->GetWeightString();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15453 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
= 0;
15455 wxFont
*arg1
= (wxFont
*) 0 ;
15456 bool arg2
= (bool) true ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 char * kwnames
[] = {
15464 (char *) "self",(char *) "no", NULL
15467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15469 if (!SWIG_IsOK(res1
)) {
15470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15472 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15474 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15475 if (!SWIG_IsOK(ecode2
)) {
15476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15478 arg2
= static_cast< bool >(val2
);
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 (arg1
)->SetNoAntiAliasing(arg2
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_Py_Void();
15493 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15494 PyObject
*resultobj
= 0;
15495 wxFont
*arg1
= (wxFont
*) 0 ;
15499 PyObject
*swig_obj
[1] ;
15501 if (!args
) SWIG_fail
;
15502 swig_obj
[0] = args
;
15503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15504 if (!SWIG_IsOK(res1
)) {
15505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15507 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15523 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15524 PyObject
*resultobj
= 0;
15525 wxFontEncoding result
;
15527 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15529 if (!wxPyCheckForApp()) SWIG_fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= SWIG_From_int(static_cast< int >(result
));
15542 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
= 0;
15544 wxFontEncoding arg1
;
15547 PyObject
* obj0
= 0 ;
15548 char * kwnames
[] = {
15549 (char *) "encoding", NULL
15552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15553 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15554 if (!SWIG_IsOK(ecode1
)) {
15555 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15557 arg1
= static_cast< wxFontEncoding
>(val1
);
15559 if (!wxPyCheckForApp()) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 wxFont::SetDefaultEncoding(arg1
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= SWIG_Py_Void();
15572 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15575 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15576 return SWIG_Py_Void();
15579 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15580 return SWIG_Python_InitShadowInstance(args
);
15583 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15584 PyObject
*resultobj
= 0;
15585 wxPyFontEnumerator
*result
= 0 ;
15587 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15589 if (!wxPyCheckForApp()) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15602 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15603 PyObject
*resultobj
= 0;
15604 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15607 PyObject
*swig_obj
[1] ;
15609 if (!args
) SWIG_fail
;
15610 swig_obj
[0] = args
;
15611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15612 if (!SWIG_IsOK(res1
)) {
15613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15615 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= SWIG_Py_Void();
15630 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
= 0;
15632 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15633 PyObject
*arg2
= (PyObject
*) 0 ;
15634 PyObject
*arg3
= (PyObject
*) 0 ;
15635 int arg4
= (int) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 PyObject
* obj2
= 0 ;
15643 PyObject
* obj3
= 0 ;
15644 char * kwnames
[] = {
15645 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15650 if (!SWIG_IsOK(res1
)) {
15651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15653 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15658 if (!SWIG_IsOK(ecode4
)) {
15659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15661 arg4
= static_cast< int >(val4
);
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_Py_Void();
15676 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
= 0;
15678 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15679 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15680 bool arg3
= (bool) false ;
15688 PyObject
* obj0
= 0 ;
15689 PyObject
* obj1
= 0 ;
15690 PyObject
* obj2
= 0 ;
15691 char * kwnames
[] = {
15692 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15697 if (!SWIG_IsOK(res1
)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15700 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15703 if (!SWIG_IsOK(ecode2
)) {
15704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15706 arg2
= static_cast< wxFontEncoding
>(val2
);
15709 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15710 if (!SWIG_IsOK(ecode3
)) {
15711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15713 arg3
= static_cast< bool >(val3
);
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15730 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
= 0;
15732 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15733 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15734 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15738 bool temp2
= false ;
15739 PyObject
* obj0
= 0 ;
15740 PyObject
* obj1
= 0 ;
15741 char * kwnames
[] = {
15742 (char *) "self",(char *) "facename", NULL
15745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15747 if (!SWIG_IsOK(res1
)) {
15748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15750 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15753 arg2
= wxString_in_helper(obj1
);
15754 if (arg2
== NULL
) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15761 wxPyEndAllowThreads(__tstate
);
15762 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15781 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15782 PyObject
*resultobj
= 0;
15783 PyObject
*result
= 0 ;
15785 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= result
;
15799 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15800 PyObject
*resultobj
= 0;
15801 PyObject
*result
= 0 ;
15803 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
;
15817 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
= 0;
15819 wxString
*arg1
= 0 ;
15821 bool temp1
= false ;
15822 PyObject
* obj0
= 0 ;
15823 char * kwnames
[] = {
15824 (char *) "str", NULL
15827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15829 arg1
= wxString_in_helper(obj0
);
15830 if (arg1
== NULL
) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15856 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15859 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15860 return SWIG_Py_Void();
15863 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15864 return SWIG_Python_InitShadowInstance(args
);
15867 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15868 PyObject
*resultobj
= 0;
15869 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15875 PyObject
*swig_obj
[2] ;
15877 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15879 if (!SWIG_IsOK(res1
)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15882 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15883 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15884 if (!SWIG_IsOK(ecode2
)) {
15885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15887 arg2
= static_cast< int >(val2
);
15888 if (arg1
) (arg1
)->Language
= arg2
;
15890 resultobj
= SWIG_Py_Void();
15897 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15898 PyObject
*resultobj
= 0;
15899 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15903 PyObject
*swig_obj
[1] ;
15905 if (!args
) SWIG_fail
;
15906 swig_obj
[0] = args
;
15907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15908 if (!SWIG_IsOK(res1
)) {
15909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15911 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15912 result
= (int) ((arg1
)->Language
);
15913 resultobj
= SWIG_From_int(static_cast< int >(result
));
15920 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15921 PyObject
*resultobj
= 0;
15922 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15923 wxString
*arg2
= (wxString
*) 0 ;
15926 bool temp2
= false ;
15927 PyObject
*swig_obj
[2] ;
15929 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15931 if (!SWIG_IsOK(res1
)) {
15932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15934 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15936 arg2
= wxString_in_helper(swig_obj
[1]);
15937 if (arg2
== NULL
) SWIG_fail
;
15940 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15942 resultobj
= SWIG_Py_Void();
15957 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15958 PyObject
*resultobj
= 0;
15959 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15960 wxString
*result
= 0 ;
15963 PyObject
*swig_obj
[1] ;
15965 if (!args
) SWIG_fail
;
15966 swig_obj
[0] = args
;
15967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15968 if (!SWIG_IsOK(res1
)) {
15969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15971 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15972 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15975 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15977 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15986 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15987 PyObject
*resultobj
= 0;
15988 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15989 wxString
*arg2
= (wxString
*) 0 ;
15992 bool temp2
= false ;
15993 PyObject
*swig_obj
[2] ;
15995 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15997 if (!SWIG_IsOK(res1
)) {
15998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16000 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16002 arg2
= wxString_in_helper(swig_obj
[1]);
16003 if (arg2
== NULL
) SWIG_fail
;
16006 if (arg1
) (arg1
)->Description
= *arg2
;
16008 resultobj
= SWIG_Py_Void();
16023 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16024 PyObject
*resultobj
= 0;
16025 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16026 wxString
*result
= 0 ;
16029 PyObject
*swig_obj
[1] ;
16031 if (!args
) SWIG_fail
;
16032 swig_obj
[0] = args
;
16033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16034 if (!SWIG_IsOK(res1
)) {
16035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16037 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16038 result
= (wxString
*)& ((arg1
)->Description
);
16041 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16043 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16052 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16055 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16056 return SWIG_Py_Void();
16059 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
= 0;
16061 int arg1
= (int) -1 ;
16062 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16063 wxLocale
*result
= 0 ;
16068 PyObject
* obj0
= 0 ;
16069 PyObject
* obj1
= 0 ;
16070 char * kwnames
[] = {
16071 (char *) "language",(char *) "flags", NULL
16074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16076 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16077 if (!SWIG_IsOK(ecode1
)) {
16078 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16080 arg1
= static_cast< int >(val1
);
16083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16084 if (!SWIG_IsOK(ecode2
)) {
16085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16087 arg2
= static_cast< int >(val2
);
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16102 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16103 PyObject
*resultobj
= 0;
16104 wxLocale
*arg1
= (wxLocale
*) 0 ;
16107 PyObject
*swig_obj
[1] ;
16109 if (!args
) SWIG_fail
;
16110 swig_obj
[0] = args
;
16111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16112 if (!SWIG_IsOK(res1
)) {
16113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16115 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= SWIG_Py_Void();
16130 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
= 0;
16132 wxLocale
*arg1
= (wxLocale
*) 0 ;
16133 wxString
*arg2
= 0 ;
16134 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16135 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16136 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16137 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16138 bool arg5
= (bool) true ;
16139 bool arg6
= (bool) false ;
16143 bool temp2
= false ;
16144 bool temp3
= false ;
16145 bool temp4
= false ;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 PyObject
* obj2
= 0 ;
16153 PyObject
* obj3
= 0 ;
16154 PyObject
* obj4
= 0 ;
16155 PyObject
* obj5
= 0 ;
16156 char * kwnames
[] = {
16157 (char *) "self",(char *) "name",(char *) "shortName",(char *) "locale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16162 if (!SWIG_IsOK(res1
)) {
16163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16165 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16167 arg2
= wxString_in_helper(obj1
);
16168 if (arg2
== NULL
) SWIG_fail
;
16173 arg3
= wxString_in_helper(obj2
);
16174 if (arg3
== NULL
) SWIG_fail
;
16180 arg4
= wxString_in_helper(obj3
);
16181 if (arg4
== NULL
) SWIG_fail
;
16186 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16187 if (!SWIG_IsOK(ecode5
)) {
16188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16190 arg5
= static_cast< bool >(val5
);
16193 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16194 if (!SWIG_IsOK(ecode6
)) {
16195 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16197 arg6
= static_cast< bool >(val6
);
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16238 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
= 0;
16240 wxLocale
*arg1
= (wxLocale
*) 0 ;
16241 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16242 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16250 PyObject
* obj0
= 0 ;
16251 PyObject
* obj1
= 0 ;
16252 PyObject
* obj2
= 0 ;
16253 char * kwnames
[] = {
16254 (char *) "self",(char *) "language",(char *) "flags", NULL
16257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16259 if (!SWIG_IsOK(res1
)) {
16260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16262 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16265 if (!SWIG_IsOK(ecode2
)) {
16266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16268 arg2
= static_cast< int >(val2
);
16271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16272 if (!SWIG_IsOK(ecode3
)) {
16273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16275 arg3
= static_cast< int >(val3
);
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16292 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16293 PyObject
*resultobj
= 0;
16296 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (int)wxLocale::GetSystemLanguage();
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= SWIG_From_int(static_cast< int >(result
));
16310 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16311 PyObject
*resultobj
= 0;
16312 wxFontEncoding result
;
16314 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16318 wxPyEndAllowThreads(__tstate
);
16319 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= SWIG_From_int(static_cast< int >(result
));
16328 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16329 PyObject
*resultobj
= 0;
16332 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 result
= wxLocale::GetSystemEncodingName();
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16352 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16353 PyObject
*resultobj
= 0;
16354 wxLocale
*arg1
= (wxLocale
*) 0 ;
16358 PyObject
*swig_obj
[1] ;
16360 if (!args
) SWIG_fail
;
16361 swig_obj
[0] = args
;
16362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16363 if (!SWIG_IsOK(res1
)) {
16364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16366 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16382 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16383 PyObject
*resultobj
= 0;
16384 wxLocale
*arg1
= (wxLocale
*) 0 ;
16388 PyObject
*swig_obj
[1] ;
16390 if (!args
) SWIG_fail
;
16391 swig_obj
[0] = args
;
16392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16393 if (!SWIG_IsOK(res1
)) {
16394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16396 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= ((wxLocale
const *)arg1
)->GetLocale();
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16416 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16417 PyObject
*resultobj
= 0;
16418 wxLocale
*arg1
= (wxLocale
*) 0 ;
16422 PyObject
*swig_obj
[1] ;
16424 if (!args
) SWIG_fail
;
16425 swig_obj
[0] = args
;
16426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16427 if (!SWIG_IsOK(res1
)) {
16428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16430 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= SWIG_From_int(static_cast< int >(result
));
16444 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16445 PyObject
*resultobj
= 0;
16446 wxLocale
*arg1
= (wxLocale
*) 0 ;
16450 PyObject
*swig_obj
[1] ;
16452 if (!args
) SWIG_fail
;
16453 swig_obj
[0] = args
;
16454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16455 if (!SWIG_IsOK(res1
)) {
16456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16458 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 result
= ((wxLocale
const *)arg1
)->GetSysName();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16478 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16479 PyObject
*resultobj
= 0;
16480 wxLocale
*arg1
= (wxLocale
*) 0 ;
16484 PyObject
*swig_obj
[1] ;
16486 if (!args
) SWIG_fail
;
16487 swig_obj
[0] = args
;
16488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16492 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16512 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
= 0;
16514 wxString
*arg1
= 0 ;
16515 bool temp1
= false ;
16516 PyObject
* obj0
= 0 ;
16517 char * kwnames
[] = {
16518 (char *) "prefix", NULL
16521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16523 arg1
= wxString_in_helper(obj0
);
16524 if (arg1
== NULL
) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= SWIG_Py_Void();
16548 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
= 0;
16550 wxLocale
*arg1
= (wxLocale
*) 0 ;
16551 wxString
*arg2
= 0 ;
16555 bool temp2
= false ;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 char * kwnames
[] = {
16559 (char *) "self",(char *) "domain", NULL
16562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16564 if (!SWIG_IsOK(res1
)) {
16565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16567 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16569 arg2
= wxString_in_helper(obj1
);
16570 if (arg2
== NULL
) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16596 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
= 0;
16602 PyObject
* obj0
= 0 ;
16603 char * kwnames
[] = {
16604 (char *) "lang", NULL
16607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16608 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16609 if (!SWIG_IsOK(ecode1
)) {
16610 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16612 arg1
= static_cast< int >(val1
);
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= (bool)wxLocale::IsAvailable(arg1
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16628 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
= 0;
16630 wxLocale
*arg1
= (wxLocale
*) 0 ;
16631 wxString
*arg2
= 0 ;
16635 bool temp2
= false ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 char * kwnames
[] = {
16639 (char *) "self",(char *) "domain", NULL
16642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16644 if (!SWIG_IsOK(res1
)) {
16645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16647 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16649 arg2
= wxString_in_helper(obj1
);
16650 if (arg2
== NULL
) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16676 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
= 0;
16679 wxLanguageInfo
*result
= 0 ;
16682 PyObject
* obj0
= 0 ;
16683 char * kwnames
[] = {
16684 (char *) "lang", NULL
16687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16688 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16689 if (!SWIG_IsOK(ecode1
)) {
16690 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16692 arg1
= static_cast< int >(val1
);
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16706 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
= 0;
16712 PyObject
* obj0
= 0 ;
16713 char * kwnames
[] = {
16714 (char *) "lang", NULL
16717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16718 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16719 if (!SWIG_IsOK(ecode1
)) {
16720 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16722 arg1
= static_cast< int >(val1
);
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= wxLocale::GetLanguageName(arg1
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16742 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
= 0;
16744 wxString
*arg1
= 0 ;
16745 wxLanguageInfo
*result
= 0 ;
16746 bool temp1
= false ;
16747 PyObject
* obj0
= 0 ;
16748 char * kwnames
[] = {
16749 (char *) "locale", NULL
16752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16754 arg1
= wxString_in_helper(obj0
);
16755 if (arg1
== NULL
) SWIG_fail
;
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16779 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
= 0;
16781 wxLanguageInfo
*arg1
= 0 ;
16784 PyObject
* obj0
= 0 ;
16785 char * kwnames
[] = {
16786 (char *) "info", NULL
16789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16790 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16791 if (!SWIG_IsOK(res1
)) {
16792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16797 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= SWIG_Py_Void();
16811 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
= 0;
16813 wxLocale
*arg1
= (wxLocale
*) 0 ;
16814 wxString
*arg2
= 0 ;
16815 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16816 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16820 bool temp2
= false ;
16821 bool temp3
= false ;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 PyObject
* obj2
= 0 ;
16825 char * kwnames
[] = {
16826 (char *) "self",(char *) "origString",(char *) "domain", NULL
16829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16831 if (!SWIG_IsOK(res1
)) {
16832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16834 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16836 arg2
= wxString_in_helper(obj1
);
16837 if (arg2
== NULL
) SWIG_fail
;
16842 arg3
= wxString_in_helper(obj2
);
16843 if (arg3
== NULL
) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16882 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16883 PyObject
*resultobj
= 0;
16884 wxLocale
*arg1
= (wxLocale
*) 0 ;
16885 wxString
*result
= 0 ;
16888 PyObject
*swig_obj
[1] ;
16890 if (!args
) SWIG_fail
;
16891 swig_obj
[0] = args
;
16892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16893 if (!SWIG_IsOK(res1
)) {
16894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16896 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16901 result
= (wxString
*) &_result_ref
;
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16910 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16919 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16922 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16923 return SWIG_Py_Void();
16926 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16927 return SWIG_Python_InitShadowInstance(args
);
16930 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
= 0;
16932 int arg1
= (int) -1 ;
16933 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16934 wxPyLocale
*result
= 0 ;
16939 PyObject
* obj0
= 0 ;
16940 PyObject
* obj1
= 0 ;
16941 char * kwnames
[] = {
16942 (char *) "language",(char *) "flags", NULL
16945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16948 if (!SWIG_IsOK(ecode1
)) {
16949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16951 arg1
= static_cast< int >(val1
);
16954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16955 if (!SWIG_IsOK(ecode2
)) {
16956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16958 arg2
= static_cast< int >(val2
);
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16973 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16974 PyObject
*resultobj
= 0;
16975 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16978 PyObject
*swig_obj
[1] ;
16980 if (!args
) SWIG_fail
;
16981 swig_obj
[0] = args
;
16982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16983 if (!SWIG_IsOK(res1
)) {
16984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16986 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= SWIG_Py_Void();
17001 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
= 0;
17003 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17004 PyObject
*arg2
= (PyObject
*) 0 ;
17005 PyObject
*arg3
= (PyObject
*) 0 ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 PyObject
* obj2
= 0 ;
17011 char * kwnames
[] = {
17012 (char *) "self",(char *) "self",(char *) "_class", NULL
17015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17017 if (!SWIG_IsOK(res1
)) {
17018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17020 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= SWIG_Py_Void();
17036 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17037 PyObject
*resultobj
= 0;
17038 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17039 wxString
*arg2
= 0 ;
17040 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17041 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17042 wxString
*result
= 0 ;
17045 bool temp2
= false ;
17046 bool temp3
= false ;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 PyObject
* obj2
= 0 ;
17050 char * kwnames
[] = {
17051 (char *) "self",(char *) "origString",(char *) "domain", NULL
17054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17056 if (!SWIG_IsOK(res1
)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17059 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17061 arg2
= wxString_in_helper(obj1
);
17062 if (arg2
== NULL
) SWIG_fail
;
17067 arg3
= wxString_in_helper(obj2
);
17068 if (arg3
== NULL
) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetSingularString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17076 result
= (wxString
*) &_result_ref
;
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17085 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17110 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
= 0;
17112 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17113 wxString
*arg2
= 0 ;
17114 wxString
*arg3
= 0 ;
17116 wxString
const &arg5_defvalue
= wxPyEmptyString
;
17117 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17118 wxString
*result
= 0 ;
17121 bool temp2
= false ;
17122 bool temp3
= false ;
17125 bool temp5
= false ;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 PyObject
* obj2
= 0 ;
17129 PyObject
* obj3
= 0 ;
17130 PyObject
* obj4
= 0 ;
17131 char * kwnames
[] = {
17132 (char *) "self",(char *) "origString",(char *) "origString2",(char *) "n",(char *) "domain", NULL
17135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17137 if (!SWIG_IsOK(res1
)) {
17138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17140 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17142 arg2
= wxString_in_helper(obj1
);
17143 if (arg2
== NULL
) SWIG_fail
;
17147 arg3
= wxString_in_helper(obj2
);
17148 if (arg3
== NULL
) SWIG_fail
;
17151 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17152 if (!SWIG_IsOK(ecode4
)) {
17153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17155 arg4
= static_cast< size_t >(val4
);
17158 arg5
= wxString_in_helper(obj4
);
17159 if (arg5
== NULL
) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetPluralString((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
17167 result
= (wxString
*) &_result_ref
;
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17176 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17209 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17212 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17213 return SWIG_Py_Void();
17216 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17217 return SWIG_Python_InitShadowInstance(args
);
17220 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17221 PyObject
*resultobj
= 0;
17222 wxLocale
*result
= 0 ;
17224 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (wxLocale
*)wxGetLocale();
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17238 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17239 PyObject
*resultobj
= 0;
17240 wxString
*arg1
= 0 ;
17242 bool temp1
= false ;
17244 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17246 arg1
= wxString_in_helper(swig_obj
[0]);
17247 if (arg1
== NULL
) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= wxGetTranslation((wxString
const &)*arg1
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17277 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17278 PyObject
*resultobj
= 0;
17279 wxString
*arg1
= 0 ;
17280 wxString
*arg2
= 0 ;
17282 bool temp1
= false ;
17283 bool temp2
= false ;
17285 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17287 arg1
= wxString_in_helper(swig_obj
[0]);
17288 if (arg1
== NULL
) SWIG_fail
;
17292 arg2
= wxString_in_helper(swig_obj
[1]);
17293 if (arg2
== NULL
) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17331 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17332 PyObject
*resultobj
= 0;
17333 wxString
*arg1
= 0 ;
17334 wxString
*arg2
= 0 ;
17337 bool temp1
= false ;
17338 bool temp2
= false ;
17342 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17344 arg1
= wxString_in_helper(swig_obj
[0]);
17345 if (arg1
== NULL
) SWIG_fail
;
17349 arg2
= wxString_in_helper(swig_obj
[1]);
17350 if (arg2
== NULL
) SWIG_fail
;
17353 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17354 if (!SWIG_IsOK(ecode3
)) {
17355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17357 arg3
= static_cast< size_t >(val3
);
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17393 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17394 PyObject
*resultobj
= 0;
17395 wxString
*arg1
= 0 ;
17396 wxString
*arg2
= 0 ;
17398 wxString
*arg4
= 0 ;
17400 bool temp1
= false ;
17401 bool temp2
= false ;
17404 bool temp4
= false ;
17406 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17408 arg1
= wxString_in_helper(swig_obj
[0]);
17409 if (arg1
== NULL
) SWIG_fail
;
17413 arg2
= wxString_in_helper(swig_obj
[1]);
17414 if (arg2
== NULL
) SWIG_fail
;
17417 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17418 if (!SWIG_IsOK(ecode3
)) {
17419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17421 arg3
= static_cast< size_t >(val3
);
17423 arg4
= wxString_in_helper(swig_obj
[3]);
17424 if (arg4
== NULL
) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17470 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17474 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17477 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17480 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17483 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17486 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17490 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17495 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17496 PyObject
*resultobj
= 0;
17497 wxEncodingConverter
*result
= 0 ;
17499 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17513 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17514 PyObject
*resultobj
= 0;
17515 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17518 PyObject
*swig_obj
[1] ;
17520 if (!args
) SWIG_fail
;
17521 swig_obj
[0] = args
;
17522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17523 if (!SWIG_IsOK(res1
)) {
17524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17526 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= SWIG_Py_Void();
17541 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17542 PyObject
*resultobj
= 0;
17543 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17544 wxFontEncoding arg2
;
17545 wxFontEncoding arg3
;
17546 int arg4
= (int) wxCONVERT_STRICT
;
17556 PyObject
* obj0
= 0 ;
17557 PyObject
* obj1
= 0 ;
17558 PyObject
* obj2
= 0 ;
17559 PyObject
* obj3
= 0 ;
17560 char * kwnames
[] = {
17561 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17566 if (!SWIG_IsOK(res1
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17569 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17571 if (!SWIG_IsOK(ecode2
)) {
17572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17574 arg2
= static_cast< wxFontEncoding
>(val2
);
17575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17576 if (!SWIG_IsOK(ecode3
)) {
17577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17579 arg3
= static_cast< wxFontEncoding
>(val3
);
17581 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17582 if (!SWIG_IsOK(ecode4
)) {
17583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17585 arg4
= static_cast< int >(val4
);
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17602 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
= 0;
17604 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17605 wxString
*arg2
= 0 ;
17609 bool temp2
= false ;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 char * kwnames
[] = {
17613 (char *) "self",(char *) "input", NULL
17616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17618 if (!SWIG_IsOK(res1
)) {
17619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17621 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17623 arg2
= wxString_in_helper(obj1
);
17624 if (arg2
== NULL
) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17654 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
= 0;
17656 wxFontEncoding arg1
;
17657 int arg2
= (int) wxPLATFORM_CURRENT
;
17658 wxFontEncodingArray result
;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 char * kwnames
[] = {
17666 (char *) "enc",(char *) "platform", NULL
17669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17670 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17671 if (!SWIG_IsOK(ecode1
)) {
17672 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17674 arg1
= static_cast< wxFontEncoding
>(val1
);
17676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17677 if (!SWIG_IsOK(ecode2
)) {
17678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17680 arg2
= static_cast< int >(val2
);
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= PyList_New(0);
17690 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17691 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17692 PyList_Append(resultobj
, number
);
17702 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
= 0;
17704 wxFontEncoding arg1
;
17705 wxFontEncodingArray result
;
17708 PyObject
* obj0
= 0 ;
17709 char * kwnames
[] = {
17710 (char *) "enc", NULL
17713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17715 if (!SWIG_IsOK(ecode1
)) {
17716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17718 arg1
= static_cast< wxFontEncoding
>(val1
);
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= PyList_New(0);
17727 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17728 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17729 PyList_Append(resultobj
, number
);
17739 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
= 0;
17741 wxFontEncoding arg1
;
17742 wxFontEncoding arg2
;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 char * kwnames
[] = {
17751 (char *) "encIn",(char *) "encOut", NULL
17754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17756 if (!SWIG_IsOK(ecode1
)) {
17757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17759 arg1
= static_cast< wxFontEncoding
>(val1
);
17760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17761 if (!SWIG_IsOK(ecode2
)) {
17762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17764 arg2
= static_cast< wxFontEncoding
>(val2
);
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17768 wxPyEndAllowThreads(__tstate
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17780 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17783 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17784 return SWIG_Py_Void();
17787 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17788 return SWIG_Python_InitShadowInstance(args
);
17791 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17792 PyObject
*resultobj
= 0;
17793 wxDC
*arg1
= (wxDC
*) 0 ;
17796 PyObject
*swig_obj
[1] ;
17798 if (!args
) SWIG_fail
;
17799 swig_obj
[0] = args
;
17800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17801 if (!SWIG_IsOK(res1
)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= SWIG_Py_Void();
17819 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
= 0;
17821 wxDC
*arg1
= (wxDC
*) 0 ;
17824 wxColour
*arg4
= 0 ;
17825 int arg5
= (int) wxFLOOD_SURFACE
;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 PyObject
* obj2
= 0 ;
17839 PyObject
* obj3
= 0 ;
17840 PyObject
* obj4
= 0 ;
17841 char * kwnames
[] = {
17842 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17847 if (!SWIG_IsOK(res1
)) {
17848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17852 if (!SWIG_IsOK(ecode2
)) {
17853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17855 arg2
= static_cast< int >(val2
);
17856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17857 if (!SWIG_IsOK(ecode3
)) {
17858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17860 arg3
= static_cast< int >(val3
);
17863 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17867 if (!SWIG_IsOK(ecode5
)) {
17868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17870 arg5
= static_cast< int >(val5
);
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17887 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
= 0;
17889 wxDC
*arg1
= (wxDC
*) 0 ;
17890 wxPoint
*arg2
= 0 ;
17891 wxColour
*arg3
= 0 ;
17892 int arg4
= (int) wxFLOOD_SURFACE
;
17900 PyObject
* obj0
= 0 ;
17901 PyObject
* obj1
= 0 ;
17902 PyObject
* obj2
= 0 ;
17903 PyObject
* obj3
= 0 ;
17904 char * kwnames
[] = {
17905 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17910 if (!SWIG_IsOK(res1
)) {
17911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17916 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17920 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17924 if (!SWIG_IsOK(ecode4
)) {
17925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17927 arg4
= static_cast< int >(val4
);
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17944 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
= 0;
17946 wxDC
*arg1
= (wxDC
*) 0 ;
17948 wxColour
*arg3
= 0 ;
17949 wxColour
*arg4
= 0 ;
17950 wxPoint
*arg5
= 0 ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 PyObject
* obj2
= 0 ;
17960 PyObject
* obj3
= 0 ;
17961 PyObject
* obj4
= 0 ;
17962 char * kwnames
[] = {
17963 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17968 if (!SWIG_IsOK(res1
)) {
17969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17974 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17978 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17982 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= SWIG_Py_Void();
18001 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
= 0;
18003 wxDC
*arg1
= (wxDC
*) 0 ;
18005 wxColour
*arg3
= 0 ;
18006 wxColour
*arg4
= 0 ;
18007 wxDirection arg5
= (wxDirection
) wxEAST
;
18015 PyObject
* obj0
= 0 ;
18016 PyObject
* obj1
= 0 ;
18017 PyObject
* obj2
= 0 ;
18018 PyObject
* obj3
= 0 ;
18019 PyObject
* obj4
= 0 ;
18020 char * kwnames
[] = {
18021 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18026 if (!SWIG_IsOK(res1
)) {
18027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18032 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18036 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18040 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18043 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18044 if (!SWIG_IsOK(ecode5
)) {
18045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18047 arg5
= static_cast< wxDirection
>(val5
);
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= SWIG_Py_Void();
18062 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
= 0;
18064 wxDC
*arg1
= (wxDC
*) 0 ;
18074 PyObject
* obj0
= 0 ;
18075 PyObject
* obj1
= 0 ;
18076 PyObject
* obj2
= 0 ;
18077 char * kwnames
[] = {
18078 (char *) "self",(char *) "x",(char *) "y", NULL
18081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18083 if (!SWIG_IsOK(res1
)) {
18084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18088 if (!SWIG_IsOK(ecode2
)) {
18089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18091 arg2
= static_cast< int >(val2
);
18092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18093 if (!SWIG_IsOK(ecode3
)) {
18094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18096 arg3
= static_cast< int >(val3
);
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18110 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
= 0;
18112 wxDC
*arg1
= (wxDC
*) 0 ;
18113 wxPoint
*arg2
= 0 ;
18118 PyObject
* obj0
= 0 ;
18119 PyObject
* obj1
= 0 ;
18120 char * kwnames
[] = {
18121 (char *) "self",(char *) "pt", NULL
18124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18126 if (!SWIG_IsOK(res1
)) {
18127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18137 wxPyEndAllowThreads(__tstate
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18147 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
= 0;
18149 wxDC
*arg1
= (wxDC
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 PyObject
* obj1
= 0 ;
18166 PyObject
* obj2
= 0 ;
18167 PyObject
* obj3
= 0 ;
18168 PyObject
* obj4
= 0 ;
18169 char * kwnames
[] = {
18170 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18180 if (!SWIG_IsOK(ecode2
)) {
18181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18183 arg2
= static_cast< int >(val2
);
18184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18185 if (!SWIG_IsOK(ecode3
)) {
18186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18188 arg3
= static_cast< int >(val3
);
18189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18190 if (!SWIG_IsOK(ecode4
)) {
18191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18193 arg4
= static_cast< int >(val4
);
18194 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18195 if (!SWIG_IsOK(ecode5
)) {
18196 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18198 arg5
= static_cast< int >(val5
);
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= SWIG_Py_Void();
18212 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
= 0;
18214 wxDC
*arg1
= (wxDC
*) 0 ;
18215 wxPoint
*arg2
= 0 ;
18216 wxPoint
*arg3
= 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 PyObject
* obj2
= 0 ;
18224 char * kwnames
[] = {
18225 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18230 if (!SWIG_IsOK(res1
)) {
18231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18240 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 resultobj
= SWIG_Py_Void();
18255 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
= 0;
18257 wxDC
*arg1
= (wxDC
*) 0 ;
18266 PyObject
* obj0
= 0 ;
18267 PyObject
* obj1
= 0 ;
18268 PyObject
* obj2
= 0 ;
18269 char * kwnames
[] = {
18270 (char *) "self",(char *) "x",(char *) "y", NULL
18273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18275 if (!SWIG_IsOK(res1
)) {
18276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18280 if (!SWIG_IsOK(ecode2
)) {
18281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18283 arg2
= static_cast< int >(val2
);
18284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18285 if (!SWIG_IsOK(ecode3
)) {
18286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18288 arg3
= static_cast< int >(val3
);
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 (arg1
)->CrossHair(arg2
,arg3
);
18292 wxPyEndAllowThreads(__tstate
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= SWIG_Py_Void();
18302 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
= 0;
18304 wxDC
*arg1
= (wxDC
*) 0 ;
18305 wxPoint
*arg2
= 0 ;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 char * kwnames
[] = {
18312 (char *) "self",(char *) "pt", NULL
18315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18317 if (!SWIG_IsOK(res1
)) {
18318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18331 resultobj
= SWIG_Py_Void();
18338 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
= 0;
18340 wxDC
*arg1
= (wxDC
*) 0 ;
18361 PyObject
* obj0
= 0 ;
18362 PyObject
* obj1
= 0 ;
18363 PyObject
* obj2
= 0 ;
18364 PyObject
* obj3
= 0 ;
18365 PyObject
* obj4
= 0 ;
18366 PyObject
* obj5
= 0 ;
18367 PyObject
* obj6
= 0 ;
18368 char * kwnames
[] = {
18369 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18374 if (!SWIG_IsOK(res1
)) {
18375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18379 if (!SWIG_IsOK(ecode2
)) {
18380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18382 arg2
= static_cast< int >(val2
);
18383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18384 if (!SWIG_IsOK(ecode3
)) {
18385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18387 arg3
= static_cast< int >(val3
);
18388 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18389 if (!SWIG_IsOK(ecode4
)) {
18390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18392 arg4
= static_cast< int >(val4
);
18393 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18394 if (!SWIG_IsOK(ecode5
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18397 arg5
= static_cast< int >(val5
);
18398 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18399 if (!SWIG_IsOK(ecode6
)) {
18400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18402 arg6
= static_cast< int >(val6
);
18403 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18404 if (!SWIG_IsOK(ecode7
)) {
18405 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18407 arg7
= static_cast< int >(val7
);
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 resultobj
= SWIG_Py_Void();
18421 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
= 0;
18423 wxDC
*arg1
= (wxDC
*) 0 ;
18424 wxPoint
*arg2
= 0 ;
18425 wxPoint
*arg3
= 0 ;
18426 wxPoint
*arg4
= 0 ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 PyObject
* obj2
= 0 ;
18435 PyObject
* obj3
= 0 ;
18436 char * kwnames
[] = {
18437 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18442 if (!SWIG_IsOK(res1
)) {
18443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18452 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18456 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18464 resultobj
= SWIG_Py_Void();
18471 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
= 0;
18473 wxDC
*arg1
= (wxDC
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18490 PyObject
* obj2
= 0 ;
18491 PyObject
* obj3
= 0 ;
18492 PyObject
* obj4
= 0 ;
18493 char * kwnames
[] = {
18494 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18499 if (!SWIG_IsOK(res1
)) {
18500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18504 if (!SWIG_IsOK(ecode2
)) {
18505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18507 arg2
= static_cast< int >(val2
);
18508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18509 if (!SWIG_IsOK(ecode3
)) {
18510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18512 arg3
= static_cast< int >(val3
);
18513 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18514 if (!SWIG_IsOK(ecode4
)) {
18515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18517 arg4
= static_cast< int >(val4
);
18518 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18519 if (!SWIG_IsOK(ecode5
)) {
18520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18522 arg5
= static_cast< int >(val5
);
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_Py_Void();
18536 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
= 0;
18538 wxDC
*arg1
= (wxDC
*) 0 ;
18543 PyObject
* obj0
= 0 ;
18544 PyObject
* obj1
= 0 ;
18545 char * kwnames
[] = {
18546 (char *) "self",(char *) "rect", NULL
18549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18551 if (!SWIG_IsOK(res1
)) {
18552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18557 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_Py_Void();
18572 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
= 0;
18574 wxDC
*arg1
= (wxDC
*) 0 ;
18595 PyObject
* obj0
= 0 ;
18596 PyObject
* obj1
= 0 ;
18597 PyObject
* obj2
= 0 ;
18598 PyObject
* obj3
= 0 ;
18599 PyObject
* obj4
= 0 ;
18600 PyObject
* obj5
= 0 ;
18601 PyObject
* obj6
= 0 ;
18602 char * kwnames
[] = {
18603 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18608 if (!SWIG_IsOK(res1
)) {
18609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18613 if (!SWIG_IsOK(ecode2
)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18616 arg2
= static_cast< int >(val2
);
18617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18618 if (!SWIG_IsOK(ecode3
)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18621 arg3
= static_cast< int >(val3
);
18622 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18623 if (!SWIG_IsOK(ecode4
)) {
18624 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18626 arg4
= static_cast< int >(val4
);
18627 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18628 if (!SWIG_IsOK(ecode5
)) {
18629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18631 arg5
= static_cast< int >(val5
);
18632 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18633 if (!SWIG_IsOK(ecode6
)) {
18634 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18636 arg6
= static_cast< double >(val6
);
18637 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18638 if (!SWIG_IsOK(ecode7
)) {
18639 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18641 arg7
= static_cast< double >(val7
);
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= SWIG_Py_Void();
18655 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
= 0;
18657 wxDC
*arg1
= (wxDC
*) 0 ;
18658 wxPoint
*arg2
= 0 ;
18670 PyObject
* obj0
= 0 ;
18671 PyObject
* obj1
= 0 ;
18672 PyObject
* obj2
= 0 ;
18673 PyObject
* obj3
= 0 ;
18674 PyObject
* obj4
= 0 ;
18675 char * kwnames
[] = {
18676 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18681 if (!SWIG_IsOK(res1
)) {
18682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18684 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18691 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18693 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18694 if (!SWIG_IsOK(ecode4
)) {
18695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18697 arg4
= static_cast< double >(val4
);
18698 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18699 if (!SWIG_IsOK(ecode5
)) {
18700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18702 arg5
= static_cast< double >(val5
);
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= SWIG_Py_Void();
18716 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
= 0;
18718 wxDC
*arg1
= (wxDC
*) 0 ;
18727 PyObject
* obj0
= 0 ;
18728 PyObject
* obj1
= 0 ;
18729 PyObject
* obj2
= 0 ;
18730 char * kwnames
[] = {
18731 (char *) "self",(char *) "x",(char *) "y", NULL
18734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18736 if (!SWIG_IsOK(res1
)) {
18737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18741 if (!SWIG_IsOK(ecode2
)) {
18742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18744 arg2
= static_cast< int >(val2
);
18745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18746 if (!SWIG_IsOK(ecode3
)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18749 arg3
= static_cast< int >(val3
);
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 (arg1
)->DrawPoint(arg2
,arg3
);
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= SWIG_Py_Void();
18763 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
= 0;
18765 wxDC
*arg1
= (wxDC
*) 0 ;
18766 wxPoint
*arg2
= 0 ;
18770 PyObject
* obj0
= 0 ;
18771 PyObject
* obj1
= 0 ;
18772 char * kwnames
[] = {
18773 (char *) "self",(char *) "pt", NULL
18776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18778 if (!SWIG_IsOK(res1
)) {
18779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18784 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_Py_Void();
18799 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
= 0;
18801 wxDC
*arg1
= (wxDC
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 PyObject
* obj1
= 0 ;
18818 PyObject
* obj2
= 0 ;
18819 PyObject
* obj3
= 0 ;
18820 PyObject
* obj4
= 0 ;
18821 char * kwnames
[] = {
18822 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18832 if (!SWIG_IsOK(ecode2
)) {
18833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18835 arg2
= static_cast< int >(val2
);
18836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18837 if (!SWIG_IsOK(ecode3
)) {
18838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18840 arg3
= static_cast< int >(val3
);
18841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18842 if (!SWIG_IsOK(ecode4
)) {
18843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18845 arg4
= static_cast< int >(val4
);
18846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18847 if (!SWIG_IsOK(ecode5
)) {
18848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18850 arg5
= static_cast< int >(val5
);
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_Py_Void();
18864 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
= 0;
18866 wxDC
*arg1
= (wxDC
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 PyObject
* obj1
= 0 ;
18873 char * kwnames
[] = {
18874 (char *) "self",(char *) "rect", NULL
18877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18879 if (!SWIG_IsOK(res1
)) {
18880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18885 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= SWIG_Py_Void();
18900 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
= 0;
18902 wxDC
*arg1
= (wxDC
*) 0 ;
18903 wxPoint
*arg2
= 0 ;
18909 PyObject
* obj0
= 0 ;
18910 PyObject
* obj1
= 0 ;
18911 PyObject
* obj2
= 0 ;
18912 char * kwnames
[] = {
18913 (char *) "self",(char *) "pt",(char *) "sz", NULL
18916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18918 if (!SWIG_IsOK(res1
)) {
18919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18924 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18928 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= SWIG_Py_Void();
18943 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
= 0;
18945 wxDC
*arg1
= (wxDC
*) 0 ;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 PyObject
* obj2
= 0 ;
18966 PyObject
* obj3
= 0 ;
18967 PyObject
* obj4
= 0 ;
18968 PyObject
* obj5
= 0 ;
18969 char * kwnames
[] = {
18970 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18975 if (!SWIG_IsOK(res1
)) {
18976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18980 if (!SWIG_IsOK(ecode2
)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18983 arg2
= static_cast< int >(val2
);
18984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18985 if (!SWIG_IsOK(ecode3
)) {
18986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18988 arg3
= static_cast< int >(val3
);
18989 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18990 if (!SWIG_IsOK(ecode4
)) {
18991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18993 arg4
= static_cast< int >(val4
);
18994 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18995 if (!SWIG_IsOK(ecode5
)) {
18996 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18998 arg5
= static_cast< int >(val5
);
18999 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19000 if (!SWIG_IsOK(ecode6
)) {
19001 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19003 arg6
= static_cast< double >(val6
);
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 resultobj
= SWIG_Py_Void();
19017 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
= 0;
19019 wxDC
*arg1
= (wxDC
*) 0 ;
19027 PyObject
* obj0
= 0 ;
19028 PyObject
* obj1
= 0 ;
19029 PyObject
* obj2
= 0 ;
19030 char * kwnames
[] = {
19031 (char *) "self",(char *) "r",(char *) "radius", NULL
19034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19036 if (!SWIG_IsOK(res1
)) {
19037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19042 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19044 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19045 if (!SWIG_IsOK(ecode3
)) {
19046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19048 arg3
= static_cast< double >(val3
);
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 resultobj
= SWIG_Py_Void();
19062 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
= 0;
19064 wxDC
*arg1
= (wxDC
*) 0 ;
19065 wxPoint
*arg2
= 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 PyObject
* obj2
= 0 ;
19077 PyObject
* obj3
= 0 ;
19078 char * kwnames
[] = {
19079 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19084 if (!SWIG_IsOK(res1
)) {
19085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19090 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19094 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19096 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19097 if (!SWIG_IsOK(ecode4
)) {
19098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19100 arg4
= static_cast< double >(val4
);
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 resultobj
= SWIG_Py_Void();
19114 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
= 0;
19116 wxDC
*arg1
= (wxDC
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 PyObject
* obj2
= 0 ;
19131 PyObject
* obj3
= 0 ;
19132 char * kwnames
[] = {
19133 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19138 if (!SWIG_IsOK(res1
)) {
19139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19143 if (!SWIG_IsOK(ecode2
)) {
19144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19146 arg2
= static_cast< int >(val2
);
19147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19148 if (!SWIG_IsOK(ecode3
)) {
19149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19151 arg3
= static_cast< int >(val3
);
19152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19153 if (!SWIG_IsOK(ecode4
)) {
19154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19156 arg4
= static_cast< int >(val4
);
19158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19163 resultobj
= SWIG_Py_Void();
19170 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
= 0;
19172 wxDC
*arg1
= (wxDC
*) 0 ;
19173 wxPoint
*arg2
= 0 ;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 PyObject
* obj2
= 0 ;
19183 char * kwnames
[] = {
19184 (char *) "self",(char *) "pt",(char *) "radius", NULL
19187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19189 if (!SWIG_IsOK(res1
)) {
19190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19198 if (!SWIG_IsOK(ecode3
)) {
19199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19201 arg3
= static_cast< int >(val3
);
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= SWIG_Py_Void();
19215 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
= 0;
19217 wxDC
*arg1
= (wxDC
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 PyObject
* obj2
= 0 ;
19235 PyObject
* obj3
= 0 ;
19236 PyObject
* obj4
= 0 ;
19237 char * kwnames
[] = {
19238 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19243 if (!SWIG_IsOK(res1
)) {
19244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19248 if (!SWIG_IsOK(ecode2
)) {
19249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19251 arg2
= static_cast< int >(val2
);
19252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19253 if (!SWIG_IsOK(ecode3
)) {
19254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19256 arg3
= static_cast< int >(val3
);
19257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19258 if (!SWIG_IsOK(ecode4
)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19261 arg4
= static_cast< int >(val4
);
19262 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19263 if (!SWIG_IsOK(ecode5
)) {
19264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19266 arg5
= static_cast< int >(val5
);
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= SWIG_Py_Void();
19280 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
= 0;
19282 wxDC
*arg1
= (wxDC
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 char * kwnames
[] = {
19290 (char *) "self",(char *) "rect", NULL
19293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19295 if (!SWIG_IsOK(res1
)) {
19296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19301 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= SWIG_Py_Void();
19316 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
= 0;
19318 wxDC
*arg1
= (wxDC
*) 0 ;
19319 wxPoint
*arg2
= 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 PyObject
* obj2
= 0 ;
19328 char * kwnames
[] = {
19329 (char *) "self",(char *) "pt",(char *) "sz", NULL
19332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19334 if (!SWIG_IsOK(res1
)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19340 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19344 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= SWIG_Py_Void();
19359 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
= 0;
19361 wxDC
*arg1
= (wxDC
*) 0 ;
19373 PyObject
* obj0
= 0 ;
19374 PyObject
* obj1
= 0 ;
19375 PyObject
* obj2
= 0 ;
19376 PyObject
* obj3
= 0 ;
19377 char * kwnames
[] = {
19378 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19383 if (!SWIG_IsOK(res1
)) {
19384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19387 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19388 if (!SWIG_IsOK(res2
)) {
19389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19394 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19395 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19396 if (!SWIG_IsOK(ecode3
)) {
19397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19399 arg3
= static_cast< int >(val3
);
19400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19401 if (!SWIG_IsOK(ecode4
)) {
19402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19404 arg4
= static_cast< int >(val4
);
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19411 resultobj
= SWIG_Py_Void();
19418 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
= 0;
19420 wxDC
*arg1
= (wxDC
*) 0 ;
19422 wxPoint
*arg3
= 0 ;
19428 PyObject
* obj0
= 0 ;
19429 PyObject
* obj1
= 0 ;
19430 PyObject
* obj2
= 0 ;
19431 char * kwnames
[] = {
19432 (char *) "self",(char *) "icon",(char *) "pt", NULL
19435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19437 if (!SWIG_IsOK(res1
)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19442 if (!SWIG_IsOK(res2
)) {
19443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19448 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19451 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= SWIG_Py_Void();
19466 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
= 0;
19468 wxDC
*arg1
= (wxDC
*) 0 ;
19469 wxBitmap
*arg2
= 0 ;
19472 bool arg5
= (bool) false ;
19483 PyObject
* obj0
= 0 ;
19484 PyObject
* obj1
= 0 ;
19485 PyObject
* obj2
= 0 ;
19486 PyObject
* obj3
= 0 ;
19487 PyObject
* obj4
= 0 ;
19488 char * kwnames
[] = {
19489 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19494 if (!SWIG_IsOK(res1
)) {
19495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19499 if (!SWIG_IsOK(res2
)) {
19500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19505 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19507 if (!SWIG_IsOK(ecode3
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19510 arg3
= static_cast< int >(val3
);
19511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19512 if (!SWIG_IsOK(ecode4
)) {
19513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19515 arg4
= static_cast< int >(val4
);
19517 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19518 if (!SWIG_IsOK(ecode5
)) {
19519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19521 arg5
= static_cast< bool >(val5
);
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= SWIG_Py_Void();
19536 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
= 0;
19538 wxDC
*arg1
= (wxDC
*) 0 ;
19539 wxBitmap
*arg2
= 0 ;
19540 wxPoint
*arg3
= 0 ;
19541 bool arg4
= (bool) false ;
19549 PyObject
* obj0
= 0 ;
19550 PyObject
* obj1
= 0 ;
19551 PyObject
* obj2
= 0 ;
19552 PyObject
* obj3
= 0 ;
19553 char * kwnames
[] = {
19554 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19559 if (!SWIG_IsOK(res1
)) {
19560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19564 if (!SWIG_IsOK(res2
)) {
19565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19570 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19576 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19577 if (!SWIG_IsOK(ecode4
)) {
19578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19580 arg4
= static_cast< bool >(val4
);
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= SWIG_Py_Void();
19595 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
= 0;
19597 wxDC
*arg1
= (wxDC
*) 0 ;
19598 wxString
*arg2
= 0 ;
19603 bool temp2
= false ;
19608 PyObject
* obj0
= 0 ;
19609 PyObject
* obj1
= 0 ;
19610 PyObject
* obj2
= 0 ;
19611 PyObject
* obj3
= 0 ;
19612 char * kwnames
[] = {
19613 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19618 if (!SWIG_IsOK(res1
)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19623 arg2
= wxString_in_helper(obj1
);
19624 if (arg2
== NULL
) SWIG_fail
;
19627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19628 if (!SWIG_IsOK(ecode3
)) {
19629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19631 arg3
= static_cast< int >(val3
);
19632 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19633 if (!SWIG_IsOK(ecode4
)) {
19634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19636 arg4
= static_cast< int >(val4
);
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= SWIG_Py_Void();
19658 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
= 0;
19660 wxDC
*arg1
= (wxDC
*) 0 ;
19661 wxString
*arg2
= 0 ;
19662 wxPoint
*arg3
= 0 ;
19665 bool temp2
= false ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 PyObject
* obj2
= 0 ;
19670 char * kwnames
[] = {
19671 (char *) "self",(char *) "text",(char *) "pt", NULL
19674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19676 if (!SWIG_IsOK(res1
)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19681 arg2
= wxString_in_helper(obj1
);
19682 if (arg2
== NULL
) SWIG_fail
;
19687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19695 resultobj
= SWIG_Py_Void();
19710 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxDC
*arg1
= (wxDC
*) 0 ;
19713 wxString
*arg2
= 0 ;
19719 bool temp2
= false ;
19726 PyObject
* obj0
= 0 ;
19727 PyObject
* obj1
= 0 ;
19728 PyObject
* obj2
= 0 ;
19729 PyObject
* obj3
= 0 ;
19730 PyObject
* obj4
= 0 ;
19731 char * kwnames
[] = {
19732 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19737 if (!SWIG_IsOK(res1
)) {
19738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19742 arg2
= wxString_in_helper(obj1
);
19743 if (arg2
== NULL
) SWIG_fail
;
19746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19747 if (!SWIG_IsOK(ecode3
)) {
19748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19750 arg3
= static_cast< int >(val3
);
19751 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19752 if (!SWIG_IsOK(ecode4
)) {
19753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19755 arg4
= static_cast< int >(val4
);
19756 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19757 if (!SWIG_IsOK(ecode5
)) {
19758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19760 arg5
= static_cast< double >(val5
);
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= SWIG_Py_Void();
19782 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
= 0;
19784 wxDC
*arg1
= (wxDC
*) 0 ;
19785 wxString
*arg2
= 0 ;
19786 wxPoint
*arg3
= 0 ;
19790 bool temp2
= false ;
19794 PyObject
* obj0
= 0 ;
19795 PyObject
* obj1
= 0 ;
19796 PyObject
* obj2
= 0 ;
19797 PyObject
* obj3
= 0 ;
19798 char * kwnames
[] = {
19799 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19804 if (!SWIG_IsOK(res1
)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19809 arg2
= wxString_in_helper(obj1
);
19810 if (arg2
== NULL
) SWIG_fail
;
19815 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19817 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19818 if (!SWIG_IsOK(ecode4
)) {
19819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19821 arg4
= static_cast< double >(val4
);
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_Py_Void();
19843 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
= 0;
19845 wxDC
*arg1
= (wxDC
*) 0 ;
19850 wxDC
*arg6
= (wxDC
*) 0 ;
19853 int arg9
= (int) wxCOPY
;
19854 bool arg10
= (bool) false ;
19855 int arg11
= (int) -1 ;
19856 int arg12
= (int) -1 ;
19882 PyObject
* obj0
= 0 ;
19883 PyObject
* obj1
= 0 ;
19884 PyObject
* obj2
= 0 ;
19885 PyObject
* obj3
= 0 ;
19886 PyObject
* obj4
= 0 ;
19887 PyObject
* obj5
= 0 ;
19888 PyObject
* obj6
= 0 ;
19889 PyObject
* obj7
= 0 ;
19890 PyObject
* obj8
= 0 ;
19891 PyObject
* obj9
= 0 ;
19892 PyObject
* obj10
= 0 ;
19893 PyObject
* obj11
= 0 ;
19894 char * kwnames
[] = {
19895 (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
19898 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
;
19899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19900 if (!SWIG_IsOK(res1
)) {
19901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19905 if (!SWIG_IsOK(ecode2
)) {
19906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19908 arg2
= static_cast< int >(val2
);
19909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19910 if (!SWIG_IsOK(ecode3
)) {
19911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19913 arg3
= static_cast< int >(val3
);
19914 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19915 if (!SWIG_IsOK(ecode4
)) {
19916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19918 arg4
= static_cast< int >(val4
);
19919 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19920 if (!SWIG_IsOK(ecode5
)) {
19921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19923 arg5
= static_cast< int >(val5
);
19924 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19925 if (!SWIG_IsOK(res6
)) {
19926 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19928 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19929 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19930 if (!SWIG_IsOK(ecode7
)) {
19931 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19933 arg7
= static_cast< int >(val7
);
19934 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19935 if (!SWIG_IsOK(ecode8
)) {
19936 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19938 arg8
= static_cast< int >(val8
);
19940 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19941 if (!SWIG_IsOK(ecode9
)) {
19942 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19944 arg9
= static_cast< int >(val9
);
19947 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19948 if (!SWIG_IsOK(ecode10
)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19951 arg10
= static_cast< bool >(val10
);
19954 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19955 if (!SWIG_IsOK(ecode11
)) {
19956 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19958 arg11
= static_cast< int >(val11
);
19961 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19962 if (!SWIG_IsOK(ecode12
)) {
19963 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19965 arg12
= static_cast< int >(val12
);
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19982 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19983 PyObject
*resultobj
= 0;
19984 wxDC
*arg1
= (wxDC
*) 0 ;
19985 wxPoint
*arg2
= 0 ;
19987 wxDC
*arg4
= (wxDC
*) 0 ;
19988 wxPoint
*arg5
= 0 ;
19989 int arg6
= (int) wxCOPY
;
19990 bool arg7
= (bool) false ;
19991 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19992 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 PyObject
* obj2
= 0 ;
20009 PyObject
* obj3
= 0 ;
20010 PyObject
* obj4
= 0 ;
20011 PyObject
* obj5
= 0 ;
20012 PyObject
* obj6
= 0 ;
20013 PyObject
* obj7
= 0 ;
20014 char * kwnames
[] = {
20015 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20020 if (!SWIG_IsOK(res1
)) {
20021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20030 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20032 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20033 if (!SWIG_IsOK(res4
)) {
20034 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20036 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20039 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20042 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20043 if (!SWIG_IsOK(ecode6
)) {
20044 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20046 arg6
= static_cast< int >(val6
);
20049 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20050 if (!SWIG_IsOK(ecode7
)) {
20051 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20053 arg7
= static_cast< bool >(val7
);
20058 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20063 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20076 SWIGINTERN PyObject
*_wrap_DC_StretchBlit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
= 0;
20078 wxDC
*arg1
= (wxDC
*) 0 ;
20083 wxDC
*arg6
= (wxDC
*) 0 ;
20088 int arg11
= (int) wxCOPY
;
20089 bool arg12
= (bool) false ;
20090 int arg13
= (int) wxDefaultCoord
;
20091 int arg14
= (int) wxDefaultCoord
;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 PyObject
* obj2
= 0 ;
20124 PyObject
* obj3
= 0 ;
20125 PyObject
* obj4
= 0 ;
20126 PyObject
* obj5
= 0 ;
20127 PyObject
* obj6
= 0 ;
20128 PyObject
* obj7
= 0 ;
20129 PyObject
* obj8
= 0 ;
20130 PyObject
* obj9
= 0 ;
20131 PyObject
* obj10
= 0 ;
20132 PyObject
* obj11
= 0 ;
20133 PyObject
* obj12
= 0 ;
20134 PyObject
* obj13
= 0 ;
20135 char * kwnames
[] = {
20136 (char *) "self",(char *) "dstX",(char *) "dstY",(char *) "dstWidth",(char *) "dstHeight",(char *) "source",(char *) "srcX",(char *) "srcY",(char *) "srcWidth",(char *) "srcHeight",(char *) "rop",(char *) "useMask",(char *) "srcMaskX",(char *) "srcMaskY", NULL
20139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOOOO|OOOO:DC_StretchBlit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
,&obj12
,&obj13
)) SWIG_fail
;
20140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20141 if (!SWIG_IsOK(res1
)) {
20142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlit" "', expected argument " "1"" of type '" "wxDC *""'");
20144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20146 if (!SWIG_IsOK(ecode2
)) {
20147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_StretchBlit" "', expected argument " "2"" of type '" "int""'");
20149 arg2
= static_cast< int >(val2
);
20150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20151 if (!SWIG_IsOK(ecode3
)) {
20152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_StretchBlit" "', expected argument " "3"" of type '" "int""'");
20154 arg3
= static_cast< int >(val3
);
20155 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20156 if (!SWIG_IsOK(ecode4
)) {
20157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_StretchBlit" "', expected argument " "4"" of type '" "int""'");
20159 arg4
= static_cast< int >(val4
);
20160 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20161 if (!SWIG_IsOK(ecode5
)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_StretchBlit" "', expected argument " "5"" of type '" "int""'");
20164 arg5
= static_cast< int >(val5
);
20165 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20166 if (!SWIG_IsOK(res6
)) {
20167 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_StretchBlit" "', expected argument " "6"" of type '" "wxDC *""'");
20169 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20170 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20171 if (!SWIG_IsOK(ecode7
)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlit" "', expected argument " "7"" of type '" "int""'");
20174 arg7
= static_cast< int >(val7
);
20175 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20176 if (!SWIG_IsOK(ecode8
)) {
20177 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlit" "', expected argument " "8"" of type '" "int""'");
20179 arg8
= static_cast< int >(val8
);
20180 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20181 if (!SWIG_IsOK(ecode9
)) {
20182 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_StretchBlit" "', expected argument " "9"" of type '" "int""'");
20184 arg9
= static_cast< int >(val9
);
20185 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
20186 if (!SWIG_IsOK(ecode10
)) {
20187 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_StretchBlit" "', expected argument " "10"" of type '" "int""'");
20189 arg10
= static_cast< int >(val10
);
20191 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20192 if (!SWIG_IsOK(ecode11
)) {
20193 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_StretchBlit" "', expected argument " "11"" of type '" "int""'");
20195 arg11
= static_cast< int >(val11
);
20198 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
20199 if (!SWIG_IsOK(ecode12
)) {
20200 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_StretchBlit" "', expected argument " "12"" of type '" "bool""'");
20202 arg12
= static_cast< bool >(val12
);
20205 ecode13
= SWIG_AsVal_int(obj12
, &val13
);
20206 if (!SWIG_IsOK(ecode13
)) {
20207 SWIG_exception_fail(SWIG_ArgError(ecode13
), "in method '" "DC_StretchBlit" "', expected argument " "13"" of type '" "int""'");
20209 arg13
= static_cast< int >(val13
);
20212 ecode14
= SWIG_AsVal_int(obj13
, &val14
);
20213 if (!SWIG_IsOK(ecode14
)) {
20214 SWIG_exception_fail(SWIG_ArgError(ecode14
), "in method '" "DC_StretchBlit" "', expected argument " "14"" of type '" "int""'");
20216 arg14
= static_cast< int >(val14
);
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (bool)(arg1
)->StretchBlit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
,arg13
,arg14
);
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20233 SWIGINTERN PyObject
*_wrap_DC_StretchBlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
= 0;
20235 wxDC
*arg1
= (wxDC
*) 0 ;
20236 wxPoint
*arg2
= 0 ;
20238 wxDC
*arg4
= (wxDC
*) 0 ;
20239 wxPoint
*arg5
= 0 ;
20241 int arg7
= (int) wxCOPY
;
20242 bool arg8
= (bool) false ;
20243 wxPoint
const &arg9_defvalue
= wxDefaultPosition
;
20244 wxPoint
*arg9
= (wxPoint
*) &arg9_defvalue
;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20261 PyObject
* obj2
= 0 ;
20262 PyObject
* obj3
= 0 ;
20263 PyObject
* obj4
= 0 ;
20264 PyObject
* obj5
= 0 ;
20265 PyObject
* obj6
= 0 ;
20266 PyObject
* obj7
= 0 ;
20267 PyObject
* obj8
= 0 ;
20268 char * kwnames
[] = {
20269 (char *) "self",(char *) "dstPt",(char *) "dstSize",(char *) "source",(char *) "srcPt",(char *) "srcSize",(char *) "rop",(char *) "useMask",(char *) "srcMaskPt", NULL
20272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOO:DC_StretchBlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
20273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20274 if (!SWIG_IsOK(res1
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20284 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20286 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20287 if (!SWIG_IsOK(res4
)) {
20288 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20290 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20293 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20297 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20300 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20301 if (!SWIG_IsOK(ecode7
)) {
20302 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "7"" of type '" "int""'");
20304 arg7
= static_cast< int >(val7
);
20307 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
20308 if (!SWIG_IsOK(ecode8
)) {
20309 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "8"" of type '" "bool""'");
20311 arg8
= static_cast< bool >(val8
);
20316 if ( ! wxPoint_helper(obj8
, &arg9
)) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= (bool)(arg1
)->StretchBlit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,(wxPoint
const &)*arg9
);
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20334 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
= 0;
20336 wxDC
*arg1
= (wxDC
*) 0 ;
20337 wxRect
*arg2
= (wxRect
*) NULL
;
20338 SwigValueWrapper
<wxBitmap
> result
;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 char * kwnames
[] = {
20346 (char *) "self",(char *) "subrect", NULL
20349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20351 if (!SWIG_IsOK(res1
)) {
20352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20356 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20357 if (!SWIG_IsOK(res2
)) {
20358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20360 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20375 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
= 0;
20377 wxDC
*arg1
= (wxDC
*) 0 ;
20392 PyObject
* obj0
= 0 ;
20393 PyObject
* obj1
= 0 ;
20394 PyObject
* obj2
= 0 ;
20395 PyObject
* obj3
= 0 ;
20396 PyObject
* obj4
= 0 ;
20397 char * kwnames
[] = {
20398 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20403 if (!SWIG_IsOK(res1
)) {
20404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20408 if (!SWIG_IsOK(ecode2
)) {
20409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20411 arg2
= static_cast< int >(val2
);
20412 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20413 if (!SWIG_IsOK(ecode3
)) {
20414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20416 arg3
= static_cast< int >(val3
);
20417 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20418 if (!SWIG_IsOK(ecode4
)) {
20419 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20421 arg4
= static_cast< int >(val4
);
20422 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20423 if (!SWIG_IsOK(ecode5
)) {
20424 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20426 arg5
= static_cast< int >(val5
);
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= SWIG_Py_Void();
20440 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
= 0;
20442 wxDC
*arg1
= (wxDC
*) 0 ;
20443 wxPoint
*arg2
= 0 ;
20449 PyObject
* obj0
= 0 ;
20450 PyObject
* obj1
= 0 ;
20451 PyObject
* obj2
= 0 ;
20452 char * kwnames
[] = {
20453 (char *) "self",(char *) "pt",(char *) "sz", NULL
20456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20458 if (!SWIG_IsOK(res1
)) {
20459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20468 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= SWIG_Py_Void();
20483 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20484 PyObject
*resultobj
= 0;
20485 wxDC
*arg1
= (wxDC
*) 0 ;
20486 wxRegion
*arg2
= 0 ;
20491 PyObject
* obj0
= 0 ;
20492 PyObject
* obj1
= 0 ;
20493 char * kwnames
[] = {
20494 (char *) "self",(char *) "region", NULL
20497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20499 if (!SWIG_IsOK(res1
)) {
20500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20504 if (!SWIG_IsOK(res2
)) {
20505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20510 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_Py_Void();
20524 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
= 0;
20526 wxDC
*arg1
= (wxDC
*) 0 ;
20531 PyObject
* obj0
= 0 ;
20532 PyObject
* obj1
= 0 ;
20533 char * kwnames
[] = {
20534 (char *) "self",(char *) "rect", NULL
20537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20539 if (!SWIG_IsOK(res1
)) {
20540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20545 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_Py_Void();
20560 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
= 0;
20562 wxDC
*arg1
= (wxDC
*) 0 ;
20564 wxPoint
*arg3
= (wxPoint
*) 0 ;
20565 int arg4
= (int) 0 ;
20566 int arg5
= (int) 0 ;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20575 PyObject
* obj2
= 0 ;
20576 PyObject
* obj3
= 0 ;
20577 char * kwnames
[] = {
20578 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20583 if (!SWIG_IsOK(res1
)) {
20584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20588 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20589 if (arg3
== NULL
) SWIG_fail
;
20592 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20593 if (!SWIG_IsOK(ecode4
)) {
20594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20596 arg4
= static_cast< int >(val4
);
20599 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20600 if (!SWIG_IsOK(ecode5
)) {
20601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20603 arg5
= static_cast< int >(val5
);
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_Py_Void();
20613 if (arg3
) delete [] arg3
;
20618 if (arg3
) delete [] arg3
;
20624 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
= 0;
20626 wxDC
*arg1
= (wxDC
*) 0 ;
20628 wxPoint
*arg3
= (wxPoint
*) 0 ;
20629 int arg4
= (int) 0 ;
20630 int arg5
= (int) 0 ;
20631 int arg6
= (int) wxODDEVEN_RULE
;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 PyObject
* obj2
= 0 ;
20643 PyObject
* obj3
= 0 ;
20644 PyObject
* obj4
= 0 ;
20645 char * kwnames
[] = {
20646 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20651 if (!SWIG_IsOK(res1
)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20656 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20657 if (arg3
== NULL
) SWIG_fail
;
20660 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20661 if (!SWIG_IsOK(ecode4
)) {
20662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20664 arg4
= static_cast< int >(val4
);
20667 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20668 if (!SWIG_IsOK(ecode5
)) {
20669 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20671 arg5
= static_cast< int >(val5
);
20674 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20675 if (!SWIG_IsOK(ecode6
)) {
20676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20678 arg6
= static_cast< int >(val6
);
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_Py_Void();
20688 if (arg3
) delete [] arg3
;
20693 if (arg3
) delete [] arg3
;
20699 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
= 0;
20701 wxDC
*arg1
= (wxDC
*) 0 ;
20702 wxString
*arg2
= 0 ;
20704 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20705 int arg5
= (int) -1 ;
20708 bool temp2
= false ;
20714 PyObject
* obj0
= 0 ;
20715 PyObject
* obj1
= 0 ;
20716 PyObject
* obj2
= 0 ;
20717 PyObject
* obj3
= 0 ;
20718 PyObject
* obj4
= 0 ;
20719 char * kwnames
[] = {
20720 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20725 if (!SWIG_IsOK(res1
)) {
20726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20728 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20730 arg2
= wxString_in_helper(obj1
);
20731 if (arg2
== NULL
) SWIG_fail
;
20736 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20739 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20740 if (!SWIG_IsOK(ecode4
)) {
20741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20743 arg4
= static_cast< int >(val4
);
20746 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20747 if (!SWIG_IsOK(ecode5
)) {
20748 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20750 arg5
= static_cast< int >(val5
);
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20758 resultobj
= SWIG_Py_Void();
20773 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
= 0;
20775 wxDC
*arg1
= (wxDC
*) 0 ;
20776 wxString
*arg2
= 0 ;
20777 wxBitmap
*arg3
= 0 ;
20779 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20780 int arg6
= (int) -1 ;
20784 bool temp2
= false ;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 PyObject
* obj2
= 0 ;
20795 PyObject
* obj3
= 0 ;
20796 PyObject
* obj4
= 0 ;
20797 PyObject
* obj5
= 0 ;
20798 char * kwnames
[] = {
20799 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20804 if (!SWIG_IsOK(res1
)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20809 arg2
= wxString_in_helper(obj1
);
20810 if (arg2
== NULL
) SWIG_fail
;
20813 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20814 if (!SWIG_IsOK(res3
)) {
20815 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20820 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20823 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20826 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20827 if (!SWIG_IsOK(ecode5
)) {
20828 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20830 arg5
= static_cast< int >(val5
);
20833 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20834 if (!SWIG_IsOK(ecode6
)) {
20835 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20837 arg6
= static_cast< int >(val6
);
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20860 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
= 0;
20862 wxDC
*arg1
= (wxDC
*) 0 ;
20864 wxPoint
*arg3
= (wxPoint
*) 0 ;
20867 PyObject
* obj0
= 0 ;
20868 PyObject
* obj1
= 0 ;
20869 char * kwnames
[] = {
20870 (char *) "self",(char *) "points", NULL
20873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20875 if (!SWIG_IsOK(res1
)) {
20876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20880 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20881 if (arg3
== NULL
) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 (arg1
)->DrawSpline(arg2
,arg3
);
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 resultobj
= SWIG_Py_Void();
20891 if (arg3
) delete [] arg3
;
20896 if (arg3
) delete [] arg3
;
20902 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20903 PyObject
*resultobj
= 0;
20904 wxDC
*arg1
= (wxDC
*) 0 ;
20907 PyObject
*swig_obj
[1] ;
20909 if (!args
) SWIG_fail
;
20910 swig_obj
[0] = args
;
20911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20912 if (!SWIG_IsOK(res1
)) {
20913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= SWIG_Py_Void();
20929 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
= 0;
20931 wxDC
*arg1
= (wxDC
*) 0 ;
20932 wxString
*arg2
= 0 ;
20936 bool temp2
= false ;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 char * kwnames
[] = {
20940 (char *) "self",(char *) "message", NULL
20943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20945 if (!SWIG_IsOK(res1
)) {
20946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20950 arg2
= wxString_in_helper(obj1
);
20951 if (arg2
== NULL
) SWIG_fail
;
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20957 wxPyEndAllowThreads(__tstate
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20977 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20978 PyObject
*resultobj
= 0;
20979 wxDC
*arg1
= (wxDC
*) 0 ;
20982 PyObject
*swig_obj
[1] ;
20984 if (!args
) SWIG_fail
;
20985 swig_obj
[0] = args
;
20986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20987 if (!SWIG_IsOK(res1
)) {
20988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_Py_Void();
21004 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21005 PyObject
*resultobj
= 0;
21006 wxDC
*arg1
= (wxDC
*) 0 ;
21009 PyObject
*swig_obj
[1] ;
21011 if (!args
) SWIG_fail
;
21012 swig_obj
[0] = args
;
21013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21014 if (!SWIG_IsOK(res1
)) {
21015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 (arg1
)->StartPage();
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 resultobj
= SWIG_Py_Void();
21031 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21032 PyObject
*resultobj
= 0;
21033 wxDC
*arg1
= (wxDC
*) 0 ;
21036 PyObject
*swig_obj
[1] ;
21038 if (!args
) SWIG_fail
;
21039 swig_obj
[0] = args
;
21040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21041 if (!SWIG_IsOK(res1
)) {
21042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 resultobj
= SWIG_Py_Void();
21058 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
= 0;
21060 wxDC
*arg1
= (wxDC
*) 0 ;
21066 PyObject
* obj0
= 0 ;
21067 PyObject
* obj1
= 0 ;
21068 char * kwnames
[] = {
21069 (char *) "self",(char *) "font", NULL
21072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21074 if (!SWIG_IsOK(res1
)) {
21075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21079 if (!SWIG_IsOK(res2
)) {
21080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21085 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 (arg1
)->SetFont((wxFont
const &)*arg2
);
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21092 resultobj
= SWIG_Py_Void();
21099 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21100 PyObject
*resultobj
= 0;
21101 wxDC
*arg1
= (wxDC
*) 0 ;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21109 char * kwnames
[] = {
21110 (char *) "self",(char *) "pen", NULL
21113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21115 if (!SWIG_IsOK(res1
)) {
21116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21120 if (!SWIG_IsOK(res2
)) {
21121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21126 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 (arg1
)->SetPen((wxPen
const &)*arg2
);
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21133 resultobj
= SWIG_Py_Void();
21140 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
= 0;
21142 wxDC
*arg1
= (wxDC
*) 0 ;
21143 wxBrush
*arg2
= 0 ;
21148 PyObject
* obj0
= 0 ;
21149 PyObject
* obj1
= 0 ;
21150 char * kwnames
[] = {
21151 (char *) "self",(char *) "brush", NULL
21154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) 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_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21161 if (!SWIG_IsOK(res2
)) {
21162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21167 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= SWIG_Py_Void();
21181 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
= 0;
21183 wxDC
*arg1
= (wxDC
*) 0 ;
21184 wxBrush
*arg2
= 0 ;
21189 PyObject
* obj0
= 0 ;
21190 PyObject
* obj1
= 0 ;
21191 char * kwnames
[] = {
21192 (char *) "self",(char *) "brush", NULL
21195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21197 if (!SWIG_IsOK(res1
)) {
21198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21202 if (!SWIG_IsOK(res2
)) {
21203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21208 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= SWIG_Py_Void();
21222 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21223 PyObject
*resultobj
= 0;
21224 wxDC
*arg1
= (wxDC
*) 0 ;
21230 PyObject
* obj0
= 0 ;
21231 PyObject
* obj1
= 0 ;
21232 char * kwnames
[] = {
21233 (char *) "self",(char *) "mode", NULL
21236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21238 if (!SWIG_IsOK(res1
)) {
21239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21243 if (!SWIG_IsOK(ecode2
)) {
21244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21246 arg2
= static_cast< int >(val2
);
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 (arg1
)->SetBackgroundMode(arg2
);
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= SWIG_Py_Void();
21260 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21261 PyObject
*resultobj
= 0;
21262 wxDC
*arg1
= (wxDC
*) 0 ;
21263 wxPalette
*arg2
= 0 ;
21268 PyObject
* obj0
= 0 ;
21269 PyObject
* obj1
= 0 ;
21270 char * kwnames
[] = {
21271 (char *) "self",(char *) "palette", NULL
21274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21276 if (!SWIG_IsOK(res1
)) {
21277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21280 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21281 if (!SWIG_IsOK(res2
)) {
21282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21287 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 resultobj
= SWIG_Py_Void();
21301 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21302 PyObject
*resultobj
= 0;
21303 wxDC
*arg1
= (wxDC
*) 0 ;
21306 PyObject
*swig_obj
[1] ;
21308 if (!args
) SWIG_fail
;
21309 swig_obj
[0] = args
;
21310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21311 if (!SWIG_IsOK(res1
)) {
21312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 (arg1
)->DestroyClippingRegion();
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21321 resultobj
= SWIG_Py_Void();
21328 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21329 PyObject
*resultobj
= 0;
21330 wxDC
*arg1
= (wxDC
*) 0 ;
21331 int *arg2
= (int *) 0 ;
21332 int *arg3
= (int *) 0 ;
21333 int *arg4
= (int *) 0 ;
21334 int *arg5
= (int *) 0 ;
21338 int res2
= SWIG_TMPOBJ
;
21340 int res3
= SWIG_TMPOBJ
;
21342 int res4
= SWIG_TMPOBJ
;
21344 int res5
= SWIG_TMPOBJ
;
21345 PyObject
*swig_obj
[1] ;
21351 if (!args
) SWIG_fail
;
21352 swig_obj
[0] = args
;
21353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21354 if (!SWIG_IsOK(res1
)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21357 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 resultobj
= SWIG_Py_Void();
21365 if (SWIG_IsTmpObj(res2
)) {
21366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21368 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21371 if (SWIG_IsTmpObj(res3
)) {
21372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21374 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21377 if (SWIG_IsTmpObj(res4
)) {
21378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21380 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21383 if (SWIG_IsTmpObj(res5
)) {
21384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21386 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21395 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21396 PyObject
*resultobj
= 0;
21397 wxDC
*arg1
= (wxDC
*) 0 ;
21401 PyObject
*swig_obj
[1] ;
21403 if (!args
) SWIG_fail
;
21404 swig_obj
[0] = args
;
21405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21406 if (!SWIG_IsOK(res1
)) {
21407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= wxDC_GetClippingRect(arg1
);
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21423 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21424 PyObject
*resultobj
= 0;
21425 wxDC
*arg1
= (wxDC
*) 0 ;
21429 PyObject
*swig_obj
[1] ;
21431 if (!args
) SWIG_fail
;
21432 swig_obj
[0] = args
;
21433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21434 if (!SWIG_IsOK(res1
)) {
21435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= SWIG_From_int(static_cast< int >(result
));
21451 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21452 PyObject
*resultobj
= 0;
21453 wxDC
*arg1
= (wxDC
*) 0 ;
21457 PyObject
*swig_obj
[1] ;
21459 if (!args
) SWIG_fail
;
21460 swig_obj
[0] = args
;
21461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21462 if (!SWIG_IsOK(res1
)) {
21463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= SWIG_From_int(static_cast< int >(result
));
21479 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
= 0;
21481 wxDC
*arg1
= (wxDC
*) 0 ;
21482 wxString
*arg2
= 0 ;
21483 int *arg3
= (int *) 0 ;
21484 int *arg4
= (int *) 0 ;
21487 bool temp2
= false ;
21489 int res3
= SWIG_TMPOBJ
;
21491 int res4
= SWIG_TMPOBJ
;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 char * kwnames
[] = {
21495 (char *) "self",(char *) "string", NULL
21500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21502 if (!SWIG_IsOK(res1
)) {
21503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21507 arg2
= wxString_in_helper(obj1
);
21508 if (arg2
== NULL
) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21517 resultobj
= SWIG_Py_Void();
21518 if (SWIG_IsTmpObj(res3
)) {
21519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21521 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21524 if (SWIG_IsTmpObj(res4
)) {
21525 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21527 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21544 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
= 0;
21546 wxDC
*arg1
= (wxDC
*) 0 ;
21547 wxString
*arg2
= 0 ;
21548 int *arg3
= (int *) 0 ;
21549 int *arg4
= (int *) 0 ;
21550 int *arg5
= (int *) 0 ;
21551 int *arg6
= (int *) 0 ;
21552 wxFont
*arg7
= (wxFont
*) NULL
;
21555 bool temp2
= false ;
21557 int res3
= SWIG_TMPOBJ
;
21559 int res4
= SWIG_TMPOBJ
;
21561 int res5
= SWIG_TMPOBJ
;
21563 int res6
= SWIG_TMPOBJ
;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 PyObject
* obj2
= 0 ;
21569 char * kwnames
[] = {
21570 (char *) "self",(char *) "string",(char *) "font", NULL
21577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21579 if (!SWIG_IsOK(res1
)) {
21580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21584 arg2
= wxString_in_helper(obj1
);
21585 if (arg2
== NULL
) SWIG_fail
;
21589 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21590 if (!SWIG_IsOK(res7
)) {
21591 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21593 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= SWIG_Py_Void();
21602 if (SWIG_IsTmpObj(res3
)) {
21603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21605 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21606 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21608 if (SWIG_IsTmpObj(res4
)) {
21609 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21611 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21612 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21614 if (SWIG_IsTmpObj(res5
)) {
21615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21617 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21620 if (SWIG_IsTmpObj(res6
)) {
21621 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21623 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21624 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21640 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
= 0;
21642 wxDC
*arg1
= (wxDC
*) 0 ;
21643 wxString
*arg2
= 0 ;
21644 int *arg3
= (int *) 0 ;
21645 int *arg4
= (int *) 0 ;
21646 int *arg5
= (int *) 0 ;
21647 wxFont
*arg6
= (wxFont
*) NULL
;
21650 bool temp2
= false ;
21652 int res3
= SWIG_TMPOBJ
;
21654 int res4
= SWIG_TMPOBJ
;
21656 int res5
= SWIG_TMPOBJ
;
21659 PyObject
* obj0
= 0 ;
21660 PyObject
* obj1
= 0 ;
21661 PyObject
* obj2
= 0 ;
21662 char * kwnames
[] = {
21663 (char *) "self",(char *) "text",(char *) "font", NULL
21669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21671 if (!SWIG_IsOK(res1
)) {
21672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21676 arg2
= wxString_in_helper(obj1
);
21677 if (arg2
== NULL
) SWIG_fail
;
21681 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21682 if (!SWIG_IsOK(res6
)) {
21683 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21685 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_Py_Void();
21694 if (SWIG_IsTmpObj(res3
)) {
21695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21697 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21700 if (SWIG_IsTmpObj(res4
)) {
21701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21703 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21706 if (SWIG_IsTmpObj(res5
)) {
21707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21709 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21726 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
= 0;
21728 wxDC
*arg1
= (wxDC
*) 0 ;
21729 wxString
*arg2
= 0 ;
21733 bool temp2
= false ;
21734 PyObject
* obj0
= 0 ;
21735 PyObject
* obj1
= 0 ;
21736 char * kwnames
[] = {
21737 (char *) "self",(char *) "text", NULL
21740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21742 if (!SWIG_IsOK(res1
)) {
21743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21747 arg2
= wxString_in_helper(obj1
);
21748 if (arg2
== NULL
) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= wxArrayInt2PyList_helper(result
);
21774 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21775 PyObject
*resultobj
= 0;
21776 wxDC
*arg1
= (wxDC
*) 0 ;
21780 PyObject
*swig_obj
[1] ;
21782 if (!args
) SWIG_fail
;
21783 swig_obj
[0] = args
;
21784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21785 if (!SWIG_IsOK(res1
)) {
21786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (arg1
)->GetSize();
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21802 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21803 PyObject
*resultobj
= 0;
21804 wxDC
*arg1
= (wxDC
*) 0 ;
21805 int *arg2
= (int *) 0 ;
21806 int *arg3
= (int *) 0 ;
21810 int res2
= SWIG_TMPOBJ
;
21812 int res3
= SWIG_TMPOBJ
;
21813 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_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21823 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 (arg1
)->GetSize(arg2
,arg3
);
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21830 resultobj
= SWIG_Py_Void();
21831 if (SWIG_IsTmpObj(res2
)) {
21832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21834 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21837 if (SWIG_IsTmpObj(res3
)) {
21838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21840 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21849 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21850 PyObject
*resultobj
= 0;
21851 wxDC
*arg1
= (wxDC
*) 0 ;
21855 PyObject
*swig_obj
[1] ;
21857 if (!args
) SWIG_fail
;
21858 swig_obj
[0] = args
;
21859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21860 if (!SWIG_IsOK(res1
)) {
21861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21877 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21878 PyObject
*resultobj
= 0;
21879 wxDC
*arg1
= (wxDC
*) 0 ;
21880 int *arg2
= (int *) 0 ;
21881 int *arg3
= (int *) 0 ;
21885 int res2
= SWIG_TMPOBJ
;
21887 int res3
= SWIG_TMPOBJ
;
21888 PyObject
*swig_obj
[1] ;
21892 if (!args
) SWIG_fail
;
21893 swig_obj
[0] = args
;
21894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21895 if (!SWIG_IsOK(res1
)) {
21896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21898 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= SWIG_Py_Void();
21906 if (SWIG_IsTmpObj(res2
)) {
21907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21909 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21912 if (SWIG_IsTmpObj(res3
)) {
21913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21915 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21924 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21925 PyObject
*resultobj
= 0;
21926 wxDC
*arg1
= (wxDC
*) 0 ;
21933 PyObject
* obj0
= 0 ;
21934 PyObject
* obj1
= 0 ;
21935 char * kwnames
[] = {
21936 (char *) "self",(char *) "x", NULL
21939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21941 if (!SWIG_IsOK(res1
)) {
21942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21944 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21946 if (!SWIG_IsOK(ecode2
)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21949 arg2
= static_cast< int >(val2
);
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= SWIG_From_int(static_cast< int >(result
));
21963 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
= 0;
21965 wxDC
*arg1
= (wxDC
*) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 char * kwnames
[] = {
21975 (char *) "self",(char *) "y", NULL
21978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21980 if (!SWIG_IsOK(res1
)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21985 if (!SWIG_IsOK(ecode2
)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21988 arg2
= static_cast< int >(val2
);
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 resultobj
= SWIG_From_int(static_cast< int >(result
));
22002 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
= 0;
22004 wxDC
*arg1
= (wxDC
*) 0 ;
22011 PyObject
* obj0
= 0 ;
22012 PyObject
* obj1
= 0 ;
22013 char * kwnames
[] = {
22014 (char *) "self",(char *) "x", NULL
22017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22019 if (!SWIG_IsOK(res1
)) {
22020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22024 if (!SWIG_IsOK(ecode2
)) {
22025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22027 arg2
= static_cast< int >(val2
);
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= SWIG_From_int(static_cast< int >(result
));
22041 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22042 PyObject
*resultobj
= 0;
22043 wxDC
*arg1
= (wxDC
*) 0 ;
22050 PyObject
* obj0
= 0 ;
22051 PyObject
* obj1
= 0 ;
22052 char * kwnames
[] = {
22053 (char *) "self",(char *) "y", NULL
22056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22058 if (!SWIG_IsOK(res1
)) {
22059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22063 if (!SWIG_IsOK(ecode2
)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22066 arg2
= static_cast< int >(val2
);
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= SWIG_From_int(static_cast< int >(result
));
22080 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
= 0;
22082 wxDC
*arg1
= (wxDC
*) 0 ;
22089 PyObject
* obj0
= 0 ;
22090 PyObject
* obj1
= 0 ;
22091 char * kwnames
[] = {
22092 (char *) "self",(char *) "x", NULL
22095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22097 if (!SWIG_IsOK(res1
)) {
22098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22102 if (!SWIG_IsOK(ecode2
)) {
22103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22105 arg2
= static_cast< int >(val2
);
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_From_int(static_cast< int >(result
));
22119 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
= 0;
22121 wxDC
*arg1
= (wxDC
*) 0 ;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 char * kwnames
[] = {
22131 (char *) "self",(char *) "y", NULL
22134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22136 if (!SWIG_IsOK(res1
)) {
22137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22141 if (!SWIG_IsOK(ecode2
)) {
22142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22144 arg2
= static_cast< int >(val2
);
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= SWIG_From_int(static_cast< int >(result
));
22158 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
= 0;
22160 wxDC
*arg1
= (wxDC
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 char * kwnames
[] = {
22170 (char *) "self",(char *) "x", NULL
22173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22175 if (!SWIG_IsOK(res1
)) {
22176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22180 if (!SWIG_IsOK(ecode2
)) {
22181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22183 arg2
= static_cast< int >(val2
);
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22190 resultobj
= SWIG_From_int(static_cast< int >(result
));
22197 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
= 0;
22199 wxDC
*arg1
= (wxDC
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 char * kwnames
[] = {
22209 (char *) "self",(char *) "y", NULL
22212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22214 if (!SWIG_IsOK(res1
)) {
22215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22219 if (!SWIG_IsOK(ecode2
)) {
22220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22222 arg2
= static_cast< int >(val2
);
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 resultobj
= SWIG_From_int(static_cast< int >(result
));
22236 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22237 PyObject
*resultobj
= 0;
22238 wxDC
*arg1
= (wxDC
*) 0 ;
22242 PyObject
*swig_obj
[1] ;
22244 if (!args
) SWIG_fail
;
22245 swig_obj
[0] = args
;
22246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22247 if (!SWIG_IsOK(res1
)) {
22248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22250 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22266 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22267 PyObject
*resultobj
= 0;
22268 wxDC
*arg1
= (wxDC
*) 0 ;
22272 PyObject
*swig_obj
[1] ;
22274 if (!args
) SWIG_fail
;
22275 swig_obj
[0] = args
;
22276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22277 if (!SWIG_IsOK(res1
)) {
22278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22296 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22297 PyObject
*resultobj
= 0;
22298 wxDC
*arg1
= (wxDC
*) 0 ;
22302 PyObject
*swig_obj
[1] ;
22304 if (!args
) SWIG_fail
;
22305 swig_obj
[0] = args
;
22306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22307 if (!SWIG_IsOK(res1
)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_From_int(static_cast< int >(result
));
22324 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22325 PyObject
*resultobj
= 0;
22326 wxDC
*arg1
= (wxDC
*) 0 ;
22330 PyObject
*swig_obj
[1] ;
22332 if (!args
) SWIG_fail
;
22333 swig_obj
[0] = args
;
22334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22335 if (!SWIG_IsOK(res1
)) {
22336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 result
= ((wxDC
const *)arg1
)->GetPPI();
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22352 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22353 PyObject
*resultobj
= 0;
22354 wxDC
*arg1
= (wxDC
*) 0 ;
22358 PyObject
*swig_obj
[1] ;
22360 if (!args
) SWIG_fail
;
22361 swig_obj
[0] = args
;
22362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22363 if (!SWIG_IsOK(res1
)) {
22364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22382 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22383 PyObject
*resultobj
= 0;
22384 wxDC
*arg1
= (wxDC
*) 0 ;
22388 PyObject
*swig_obj
[1] ;
22390 if (!args
) SWIG_fail
;
22391 swig_obj
[0] = args
;
22392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22393 if (!SWIG_IsOK(res1
)) {
22394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_From_int(static_cast< int >(result
));
22410 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22411 PyObject
*resultobj
= 0;
22412 wxDC
*arg1
= (wxDC
*) 0 ;
22413 wxBrush
*result
= 0 ;
22416 PyObject
*swig_obj
[1] ;
22418 if (!args
) SWIG_fail
;
22419 swig_obj
[0] = args
;
22420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22421 if (!SWIG_IsOK(res1
)) {
22422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22429 result
= (wxBrush
*) &_result_ref
;
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22435 wxBrush
* resultptr
= new wxBrush(*result
);
22436 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22444 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22445 PyObject
*resultobj
= 0;
22446 wxDC
*arg1
= (wxDC
*) 0 ;
22447 wxBrush
*result
= 0 ;
22450 PyObject
*swig_obj
[1] ;
22452 if (!args
) SWIG_fail
;
22453 swig_obj
[0] = args
;
22454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22463 result
= (wxBrush
*) &_result_ref
;
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 wxBrush
* resultptr
= new wxBrush(*result
);
22470 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22478 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 PyObject
*resultobj
= 0;
22480 wxDC
*arg1
= (wxDC
*) 0 ;
22481 wxFont
*result
= 0 ;
22484 PyObject
*swig_obj
[1] ;
22486 if (!args
) SWIG_fail
;
22487 swig_obj
[0] = args
;
22488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22489 if (!SWIG_IsOK(res1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22497 result
= (wxFont
*) &_result_ref
;
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22503 wxFont
* resultptr
= new wxFont(*result
);
22504 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22512 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22513 PyObject
*resultobj
= 0;
22514 wxDC
*arg1
= (wxDC
*) 0 ;
22515 wxPen
*result
= 0 ;
22518 PyObject
*swig_obj
[1] ;
22520 if (!args
) SWIG_fail
;
22521 swig_obj
[0] = args
;
22522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22523 if (!SWIG_IsOK(res1
)) {
22524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22531 result
= (wxPen
*) &_result_ref
;
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22537 wxPen
* resultptr
= new wxPen(*result
);
22538 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22546 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22547 PyObject
*resultobj
= 0;
22548 wxDC
*arg1
= (wxDC
*) 0 ;
22549 wxColour
*result
= 0 ;
22552 PyObject
*swig_obj
[1] ;
22554 if (!args
) SWIG_fail
;
22555 swig_obj
[0] = args
;
22556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22557 if (!SWIG_IsOK(res1
)) {
22558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22565 result
= (wxColour
*) &_result_ref
;
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22577 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22578 PyObject
*resultobj
= 0;
22579 wxDC
*arg1
= (wxDC
*) 0 ;
22580 wxColour
*result
= 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_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22596 result
= (wxColour
*) &_result_ref
;
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22608 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
= 0;
22610 wxDC
*arg1
= (wxDC
*) 0 ;
22611 wxColour
*arg2
= 0 ;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 char * kwnames
[] = {
22618 (char *) "self",(char *) "colour", NULL
22621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22623 if (!SWIG_IsOK(res1
)) {
22624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22629 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 resultobj
= SWIG_Py_Void();
22644 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
= 0;
22646 wxDC
*arg1
= (wxDC
*) 0 ;
22647 wxColour
*arg2
= 0 ;
22651 PyObject
* obj0
= 0 ;
22652 PyObject
* obj1
= 0 ;
22653 char * kwnames
[] = {
22654 (char *) "self",(char *) "colour", NULL
22657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22659 if (!SWIG_IsOK(res1
)) {
22660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22665 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= SWIG_Py_Void();
22680 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22681 PyObject
*resultobj
= 0;
22682 wxDC
*arg1
= (wxDC
*) 0 ;
22686 PyObject
*swig_obj
[1] ;
22688 if (!args
) SWIG_fail
;
22689 swig_obj
[0] = args
;
22690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22691 if (!SWIG_IsOK(res1
)) {
22692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_From_int(static_cast< int >(result
));
22708 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
= 0;
22710 wxDC
*arg1
= (wxDC
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 PyObject
* obj1
= 0 ;
22718 char * kwnames
[] = {
22719 (char *) "self",(char *) "mode", NULL
22722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22724 if (!SWIG_IsOK(res1
)) {
22725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22729 if (!SWIG_IsOK(ecode2
)) {
22730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22732 arg2
= static_cast< int >(val2
);
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 (arg1
)->SetMapMode(arg2
);
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 resultobj
= SWIG_Py_Void();
22746 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22747 PyObject
*resultobj
= 0;
22748 wxDC
*arg1
= (wxDC
*) 0 ;
22749 double *arg2
= (double *) 0 ;
22750 double *arg3
= (double *) 0 ;
22754 int res2
= SWIG_TMPOBJ
;
22756 int res3
= SWIG_TMPOBJ
;
22757 PyObject
*swig_obj
[1] ;
22761 if (!args
) SWIG_fail
;
22762 swig_obj
[0] = args
;
22763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22764 if (!SWIG_IsOK(res1
)) {
22765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22767 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= SWIG_Py_Void();
22775 if (SWIG_IsTmpObj(res2
)) {
22776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22778 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22781 if (SWIG_IsTmpObj(res3
)) {
22782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22784 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22793 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
= 0;
22795 wxDC
*arg1
= (wxDC
*) 0 ;
22804 PyObject
* obj0
= 0 ;
22805 PyObject
* obj1
= 0 ;
22806 PyObject
* obj2
= 0 ;
22807 char * kwnames
[] = {
22808 (char *) "self",(char *) "x",(char *) "y", NULL
22811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22813 if (!SWIG_IsOK(res1
)) {
22814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22816 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22817 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22818 if (!SWIG_IsOK(ecode2
)) {
22819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22821 arg2
= static_cast< double >(val2
);
22822 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22823 if (!SWIG_IsOK(ecode3
)) {
22824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22826 arg3
= static_cast< double >(val3
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 (arg1
)->SetUserScale(arg2
,arg3
);
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_Py_Void();
22840 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22841 PyObject
*resultobj
= 0;
22842 wxDC
*arg1
= (wxDC
*) 0 ;
22843 double *arg2
= (double *) 0 ;
22844 double *arg3
= (double *) 0 ;
22848 int res2
= SWIG_TMPOBJ
;
22850 int res3
= SWIG_TMPOBJ
;
22851 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_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 (arg1
)->GetLogicalScale(arg2
,arg3
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 resultobj
= SWIG_Py_Void();
22869 if (SWIG_IsTmpObj(res2
)) {
22870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22872 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22875 if (SWIG_IsTmpObj(res3
)) {
22876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22878 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22887 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
= 0;
22889 wxDC
*arg1
= (wxDC
*) 0 ;
22898 PyObject
* obj0
= 0 ;
22899 PyObject
* obj1
= 0 ;
22900 PyObject
* obj2
= 0 ;
22901 char * kwnames
[] = {
22902 (char *) "self",(char *) "x",(char *) "y", NULL
22905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22907 if (!SWIG_IsOK(res1
)) {
22908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22911 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22912 if (!SWIG_IsOK(ecode2
)) {
22913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22915 arg2
= static_cast< double >(val2
);
22916 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22917 if (!SWIG_IsOK(ecode3
)) {
22918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22920 arg3
= static_cast< double >(val3
);
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 (arg1
)->SetLogicalScale(arg2
,arg3
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_Py_Void();
22934 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22935 PyObject
*resultobj
= 0;
22936 wxDC
*arg1
= (wxDC
*) 0 ;
22940 PyObject
*swig_obj
[1] ;
22942 if (!args
) SWIG_fail
;
22943 swig_obj
[0] = args
;
22944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22945 if (!SWIG_IsOK(res1
)) {
22946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22962 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22963 PyObject
*resultobj
= 0;
22964 wxDC
*arg1
= (wxDC
*) 0 ;
22965 int *arg2
= (int *) 0 ;
22966 int *arg3
= (int *) 0 ;
22970 int res2
= SWIG_TMPOBJ
;
22972 int res3
= SWIG_TMPOBJ
;
22973 PyObject
*swig_obj
[1] ;
22977 if (!args
) SWIG_fail
;
22978 swig_obj
[0] = args
;
22979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22980 if (!SWIG_IsOK(res1
)) {
22981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 resultobj
= SWIG_Py_Void();
22991 if (SWIG_IsTmpObj(res2
)) {
22992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22994 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22997 if (SWIG_IsTmpObj(res3
)) {
22998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23000 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23009 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
= 0;
23011 wxDC
*arg1
= (wxDC
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 PyObject
* obj1
= 0 ;
23022 PyObject
* obj2
= 0 ;
23023 char * kwnames
[] = {
23024 (char *) "self",(char *) "x",(char *) "y", NULL
23027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23029 if (!SWIG_IsOK(res1
)) {
23030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23032 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23034 if (!SWIG_IsOK(ecode2
)) {
23035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23037 arg2
= static_cast< int >(val2
);
23038 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23039 if (!SWIG_IsOK(ecode3
)) {
23040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23042 arg3
= static_cast< int >(val3
);
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_Py_Void();
23056 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
= 0;
23058 wxDC
*arg1
= (wxDC
*) 0 ;
23059 wxPoint
*arg2
= 0 ;
23063 PyObject
* obj0
= 0 ;
23064 PyObject
* obj1
= 0 ;
23065 char * kwnames
[] = {
23066 (char *) "self",(char *) "point", NULL
23069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23071 if (!SWIG_IsOK(res1
)) {
23072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23077 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= SWIG_Py_Void();
23092 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23093 PyObject
*resultobj
= 0;
23094 wxDC
*arg1
= (wxDC
*) 0 ;
23098 PyObject
*swig_obj
[1] ;
23100 if (!args
) SWIG_fail
;
23101 swig_obj
[0] = args
;
23102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23103 if (!SWIG_IsOK(res1
)) {
23104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23106 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23109 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23120 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23121 PyObject
*resultobj
= 0;
23122 wxDC
*arg1
= (wxDC
*) 0 ;
23123 int *arg2
= (int *) 0 ;
23124 int *arg3
= (int *) 0 ;
23128 int res2
= SWIG_TMPOBJ
;
23130 int res3
= SWIG_TMPOBJ
;
23131 PyObject
*swig_obj
[1] ;
23135 if (!args
) SWIG_fail
;
23136 swig_obj
[0] = args
;
23137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23138 if (!SWIG_IsOK(res1
)) {
23139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_Py_Void();
23149 if (SWIG_IsTmpObj(res2
)) {
23150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23152 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23155 if (SWIG_IsTmpObj(res3
)) {
23156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23158 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23167 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
= 0;
23169 wxDC
*arg1
= (wxDC
*) 0 ;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 PyObject
* obj2
= 0 ;
23181 char * kwnames
[] = {
23182 (char *) "self",(char *) "x",(char *) "y", NULL
23185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23187 if (!SWIG_IsOK(res1
)) {
23188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23190 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23192 if (!SWIG_IsOK(ecode2
)) {
23193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23195 arg2
= static_cast< int >(val2
);
23196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23197 if (!SWIG_IsOK(ecode3
)) {
23198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23200 arg3
= static_cast< int >(val3
);
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_Py_Void();
23214 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
= 0;
23216 wxDC
*arg1
= (wxDC
*) 0 ;
23217 wxPoint
*arg2
= 0 ;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 char * kwnames
[] = {
23224 (char *) "self",(char *) "point", NULL
23227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23229 if (!SWIG_IsOK(res1
)) {
23230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23232 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23235 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_Py_Void();
23250 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
= 0;
23252 wxDC
*arg1
= (wxDC
*) 0 ;
23261 PyObject
* obj0
= 0 ;
23262 PyObject
* obj1
= 0 ;
23263 PyObject
* obj2
= 0 ;
23264 char * kwnames
[] = {
23265 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23270 if (!SWIG_IsOK(res1
)) {
23271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23274 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23275 if (!SWIG_IsOK(ecode2
)) {
23276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23278 arg2
= static_cast< bool >(val2
);
23279 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23280 if (!SWIG_IsOK(ecode3
)) {
23281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23283 arg3
= static_cast< bool >(val3
);
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_Py_Void();
23297 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23298 PyObject
*resultobj
= 0;
23299 wxDC
*arg1
= (wxDC
*) 0 ;
23303 PyObject
*swig_obj
[1] ;
23305 if (!args
) SWIG_fail
;
23306 swig_obj
[0] = args
;
23307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23308 if (!SWIG_IsOK(res1
)) {
23309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23311 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= SWIG_From_int(static_cast< int >(result
));
23325 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
= 0;
23327 wxDC
*arg1
= (wxDC
*) 0 ;
23333 PyObject
* obj0
= 0 ;
23334 PyObject
* obj1
= 0 ;
23335 char * kwnames
[] = {
23336 (char *) "self",(char *) "function", NULL
23339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23341 if (!SWIG_IsOK(res1
)) {
23342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23346 if (!SWIG_IsOK(ecode2
)) {
23347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23349 arg2
= static_cast< int >(val2
);
23351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 (arg1
)->SetLogicalFunction(arg2
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= SWIG_Py_Void();
23363 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23364 PyObject
*resultobj
= 0;
23365 wxDC
*arg1
= (wxDC
*) 0 ;
23368 PyObject
*swig_obj
[1] ;
23370 if (!args
) SWIG_fail
;
23371 swig_obj
[0] = args
;
23372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23373 if (!SWIG_IsOK(res1
)) {
23374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 (arg1
)->ComputeScaleAndOrigin();
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_Py_Void();
23390 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
= 0;
23392 wxDC
*arg1
= (wxDC
*) 0 ;
23401 PyObject
* obj0
= 0 ;
23402 PyObject
* obj1
= 0 ;
23403 PyObject
* obj2
= 0 ;
23404 char * kwnames
[] = {
23405 (char *) "self",(char *) "x",(char *) "y", NULL
23408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23410 if (!SWIG_IsOK(res1
)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23415 if (!SWIG_IsOK(ecode2
)) {
23416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23418 arg2
= static_cast< int >(val2
);
23419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23420 if (!SWIG_IsOK(ecode3
)) {
23421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23423 arg3
= static_cast< int >(val3
);
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 resultobj
= SWIG_Py_Void();
23437 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
= 0;
23439 wxDC
*arg1
= (wxDC
*) 0 ;
23440 wxPoint
*arg2
= 0 ;
23444 PyObject
* obj0
= 0 ;
23445 PyObject
* obj1
= 0 ;
23446 char * kwnames
[] = {
23447 (char *) "self",(char *) "point", NULL
23450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23452 if (!SWIG_IsOK(res1
)) {
23453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= SWIG_Py_Void();
23473 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23474 PyObject
*resultobj
= 0;
23475 wxDC
*arg1
= (wxDC
*) 0 ;
23478 PyObject
*swig_obj
[1] ;
23480 if (!args
) SWIG_fail
;
23481 swig_obj
[0] = args
;
23482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23483 if (!SWIG_IsOK(res1
)) {
23484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 (arg1
)->ResetBoundingBox();
23490 wxPyEndAllowThreads(__tstate
);
23491 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= SWIG_Py_Void();
23500 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23501 PyObject
*resultobj
= 0;
23502 wxDC
*arg1
= (wxDC
*) 0 ;
23506 PyObject
*swig_obj
[1] ;
23508 if (!args
) SWIG_fail
;
23509 swig_obj
[0] = args
;
23510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23511 if (!SWIG_IsOK(res1
)) {
23512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (int)((wxDC
const *)arg1
)->MinX();
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 resultobj
= SWIG_From_int(static_cast< int >(result
));
23528 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23529 PyObject
*resultobj
= 0;
23530 wxDC
*arg1
= (wxDC
*) 0 ;
23534 PyObject
*swig_obj
[1] ;
23536 if (!args
) SWIG_fail
;
23537 swig_obj
[0] = args
;
23538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23539 if (!SWIG_IsOK(res1
)) {
23540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 result
= (int)((wxDC
const *)arg1
)->MaxX();
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23549 resultobj
= SWIG_From_int(static_cast< int >(result
));
23556 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23557 PyObject
*resultobj
= 0;
23558 wxDC
*arg1
= (wxDC
*) 0 ;
23562 PyObject
*swig_obj
[1] ;
23564 if (!args
) SWIG_fail
;
23565 swig_obj
[0] = args
;
23566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23567 if (!SWIG_IsOK(res1
)) {
23568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= (int)((wxDC
const *)arg1
)->MinY();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 resultobj
= SWIG_From_int(static_cast< int >(result
));
23584 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23585 PyObject
*resultobj
= 0;
23586 wxDC
*arg1
= (wxDC
*) 0 ;
23590 PyObject
*swig_obj
[1] ;
23592 if (!args
) SWIG_fail
;
23593 swig_obj
[0] = args
;
23594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23595 if (!SWIG_IsOK(res1
)) {
23596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 result
= (int)((wxDC
const *)arg1
)->MaxY();
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23605 resultobj
= SWIG_From_int(static_cast< int >(result
));
23612 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23613 PyObject
*resultobj
= 0;
23614 wxDC
*arg1
= (wxDC
*) 0 ;
23615 int *arg2
= (int *) 0 ;
23616 int *arg3
= (int *) 0 ;
23617 int *arg4
= (int *) 0 ;
23618 int *arg5
= (int *) 0 ;
23622 int res2
= SWIG_TMPOBJ
;
23624 int res3
= SWIG_TMPOBJ
;
23626 int res4
= SWIG_TMPOBJ
;
23628 int res5
= SWIG_TMPOBJ
;
23629 PyObject
*swig_obj
[1] ;
23635 if (!args
) SWIG_fail
;
23636 swig_obj
[0] = args
;
23637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23638 if (!SWIG_IsOK(res1
)) {
23639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23648 resultobj
= SWIG_Py_Void();
23649 if (SWIG_IsTmpObj(res2
)) {
23650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23652 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23655 if (SWIG_IsTmpObj(res3
)) {
23656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23658 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23661 if (SWIG_IsTmpObj(res4
)) {
23662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23664 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23667 if (SWIG_IsTmpObj(res5
)) {
23668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23670 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23679 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23680 PyObject
*resultobj
= 0;
23681 wxDC
*arg1
= (wxDC
*) 0 ;
23682 wxLayoutDirection result
;
23685 PyObject
*swig_obj
[1] ;
23687 if (!args
) SWIG_fail
;
23688 swig_obj
[0] = args
;
23689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23690 if (!SWIG_IsOK(res1
)) {
23691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23697 wxPyEndAllowThreads(__tstate
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23700 resultobj
= SWIG_From_int(static_cast< int >(result
));
23707 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
= 0;
23709 wxDC
*arg1
= (wxDC
*) 0 ;
23710 wxLayoutDirection arg2
;
23715 PyObject
* obj0
= 0 ;
23716 PyObject
* obj1
= 0 ;
23717 char * kwnames
[] = {
23718 (char *) "self",(char *) "dir", NULL
23721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23723 if (!SWIG_IsOK(res1
)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23728 if (!SWIG_IsOK(ecode2
)) {
23729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23731 arg2
= static_cast< wxLayoutDirection
>(val2
);
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 (arg1
)->SetLayoutDirection(arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= SWIG_Py_Void();
23745 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
= 0;
23747 wxDC
*arg1
= (wxDC
*) 0 ;
23748 PyObject
*arg2
= (PyObject
*) 0 ;
23749 PyObject
*arg3
= (PyObject
*) 0 ;
23750 PyObject
*arg4
= (PyObject
*) 0 ;
23751 PyObject
*result
= 0 ;
23754 PyObject
* obj0
= 0 ;
23755 PyObject
* obj1
= 0 ;
23756 PyObject
* obj2
= 0 ;
23757 PyObject
* obj3
= 0 ;
23758 char * kwnames
[] = {
23759 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23764 if (!SWIG_IsOK(res1
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23767 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= result
;
23784 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
= 0;
23786 wxDC
*arg1
= (wxDC
*) 0 ;
23787 PyObject
*arg2
= (PyObject
*) 0 ;
23788 PyObject
*arg3
= (PyObject
*) 0 ;
23789 PyObject
*arg4
= (PyObject
*) 0 ;
23790 PyObject
*result
= 0 ;
23793 PyObject
* obj0
= 0 ;
23794 PyObject
* obj1
= 0 ;
23795 PyObject
* obj2
= 0 ;
23796 PyObject
* obj3
= 0 ;
23797 char * kwnames
[] = {
23798 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23803 if (!SWIG_IsOK(res1
)) {
23804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= result
;
23823 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
= 0;
23825 wxDC
*arg1
= (wxDC
*) 0 ;
23826 PyObject
*arg2
= (PyObject
*) 0 ;
23827 PyObject
*arg3
= (PyObject
*) 0 ;
23828 PyObject
*arg4
= (PyObject
*) 0 ;
23829 PyObject
*result
= 0 ;
23832 PyObject
* obj0
= 0 ;
23833 PyObject
* obj1
= 0 ;
23834 PyObject
* obj2
= 0 ;
23835 PyObject
* obj3
= 0 ;
23836 char * kwnames
[] = {
23837 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23842 if (!SWIG_IsOK(res1
)) {
23843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23845 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= result
;
23862 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
= 0;
23864 wxDC
*arg1
= (wxDC
*) 0 ;
23865 PyObject
*arg2
= (PyObject
*) 0 ;
23866 PyObject
*arg3
= (PyObject
*) 0 ;
23867 PyObject
*arg4
= (PyObject
*) 0 ;
23868 PyObject
*result
= 0 ;
23871 PyObject
* obj0
= 0 ;
23872 PyObject
* obj1
= 0 ;
23873 PyObject
* obj2
= 0 ;
23874 PyObject
* obj3
= 0 ;
23875 char * kwnames
[] = {
23876 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23881 if (!SWIG_IsOK(res1
)) {
23882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 resultobj
= result
;
23901 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
= 0;
23903 wxDC
*arg1
= (wxDC
*) 0 ;
23904 PyObject
*arg2
= (PyObject
*) 0 ;
23905 PyObject
*arg3
= (PyObject
*) 0 ;
23906 PyObject
*arg4
= (PyObject
*) 0 ;
23907 PyObject
*result
= 0 ;
23910 PyObject
* obj0
= 0 ;
23911 PyObject
* obj1
= 0 ;
23912 PyObject
* obj2
= 0 ;
23913 PyObject
* obj3
= 0 ;
23914 char * kwnames
[] = {
23915 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23920 if (!SWIG_IsOK(res1
)) {
23921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= result
;
23940 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
= 0;
23942 wxDC
*arg1
= (wxDC
*) 0 ;
23943 PyObject
*arg2
= (PyObject
*) 0 ;
23944 PyObject
*arg3
= (PyObject
*) 0 ;
23945 PyObject
*arg4
= (PyObject
*) 0 ;
23946 PyObject
*arg5
= (PyObject
*) 0 ;
23947 PyObject
*result
= 0 ;
23950 PyObject
* obj0
= 0 ;
23951 PyObject
* obj1
= 0 ;
23952 PyObject
* obj2
= 0 ;
23953 PyObject
* obj3
= 0 ;
23954 PyObject
* obj4
= 0 ;
23955 char * kwnames
[] = {
23956 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23961 if (!SWIG_IsOK(res1
)) {
23962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23975 resultobj
= result
;
23982 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23985 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23986 return SWIG_Py_Void();
23989 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
= 0;
23992 wxColour
*arg2
= 0 ;
23993 wxDCTextColourChanger
*result
= 0 ;
23997 PyObject
* obj0
= 0 ;
23998 PyObject
* obj1
= 0 ;
23999 char * kwnames
[] = {
24000 (char *) "dc",(char *) "col", NULL
24003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24004 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24005 if (!SWIG_IsOK(res1
)) {
24006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24014 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24029 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24030 PyObject
*resultobj
= 0;
24031 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24034 PyObject
*swig_obj
[1] ;
24036 if (!args
) SWIG_fail
;
24037 swig_obj
[0] = args
;
24038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24039 if (!SWIG_IsOK(res1
)) {
24040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24042 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= SWIG_Py_Void();
24057 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24060 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24061 return SWIG_Py_Void();
24064 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24065 return SWIG_Python_InitShadowInstance(args
);
24068 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
= 0;
24072 wxDCPenChanger
*result
= 0 ;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 char * kwnames
[] = {
24080 (char *) "dc",(char *) "pen", NULL
24083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24084 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24085 if (!SWIG_IsOK(res1
)) {
24086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24091 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24093 if (!SWIG_IsOK(res2
)) {
24094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24099 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24113 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24114 PyObject
*resultobj
= 0;
24115 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24118 PyObject
*swig_obj
[1] ;
24120 if (!args
) SWIG_fail
;
24121 swig_obj
[0] = args
;
24122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24123 if (!SWIG_IsOK(res1
)) {
24124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24126 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= SWIG_Py_Void();
24141 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24144 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24145 return SWIG_Py_Void();
24148 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24149 return SWIG_Python_InitShadowInstance(args
);
24152 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
= 0;
24155 wxBrush
*arg2
= 0 ;
24156 wxDCBrushChanger
*result
= 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char * kwnames
[] = {
24164 (char *) "dc",(char *) "brush", NULL
24167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24168 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24169 if (!SWIG_IsOK(res1
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24177 if (!SWIG_IsOK(res2
)) {
24178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24183 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24197 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24198 PyObject
*resultobj
= 0;
24199 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24202 PyObject
*swig_obj
[1] ;
24204 if (!args
) SWIG_fail
;
24205 swig_obj
[0] = args
;
24206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24207 if (!SWIG_IsOK(res1
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24210 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24218 resultobj
= SWIG_Py_Void();
24225 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24228 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24229 return SWIG_Py_Void();
24232 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24233 return SWIG_Python_InitShadowInstance(args
);
24236 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24237 PyObject
*resultobj
= 0;
24239 wxRegion
*arg2
= 0 ;
24240 wxDCClipper
*result
= 0 ;
24246 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24248 if (!SWIG_IsOK(res1
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24255 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24256 if (!SWIG_IsOK(res2
)) {
24257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24262 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24276 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24277 PyObject
*resultobj
= 0;
24280 wxDCClipper
*result
= 0 ;
24285 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24287 if (!SWIG_IsOK(res1
)) {
24288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24296 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24311 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24312 PyObject
*resultobj
= 0;
24318 wxDCClipper
*result
= 0 ;
24330 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24332 if (!SWIG_IsOK(res1
)) {
24333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24339 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24340 if (!SWIG_IsOK(ecode2
)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24343 arg2
= static_cast< int >(val2
);
24344 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24345 if (!SWIG_IsOK(ecode3
)) {
24346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24348 arg3
= static_cast< int >(val3
);
24349 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24350 if (!SWIG_IsOK(ecode4
)) {
24351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24353 arg4
= static_cast< int >(val4
);
24354 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24355 if (!SWIG_IsOK(ecode5
)) {
24356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24358 arg5
= static_cast< int >(val5
);
24360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24361 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24372 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24376 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24381 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24382 _v
= SWIG_CheckState(res
);
24384 if (!_v
) goto check_1
;
24385 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24390 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24393 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24397 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24402 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24403 PyObject
*resultobj
= 0;
24404 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24407 PyObject
*swig_obj
[1] ;
24409 if (!args
) SWIG_fail
;
24410 swig_obj
[0] = args
;
24411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24415 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= SWIG_Py_Void();
24430 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24433 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24434 return SWIG_Py_Void();
24437 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24438 return SWIG_Python_InitShadowInstance(args
);
24441 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24442 PyObject
*resultobj
= 0;
24443 wxScreenDC
*result
= 0 ;
24445 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24447 if (!wxPyCheckForApp()) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 result
= (wxScreenDC
*)new wxScreenDC();
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24460 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24461 PyObject
*resultobj
= 0;
24462 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24463 wxWindow
*arg2
= (wxWindow
*) 0 ;
24469 PyObject
* obj0
= 0 ;
24470 PyObject
* obj1
= 0 ;
24471 char * kwnames
[] = {
24472 (char *) "self",(char *) "window", NULL
24475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24477 if (!SWIG_IsOK(res1
)) {
24478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24480 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24482 if (!SWIG_IsOK(res2
)) {
24483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24485 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24501 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
= 0;
24503 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24504 wxRect
*arg2
= (wxRect
*) NULL
;
24510 PyObject
* obj0
= 0 ;
24511 PyObject
* obj1
= 0 ;
24512 char * kwnames
[] = {
24513 (char *) "self",(char *) "rect", NULL
24516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24518 if (!SWIG_IsOK(res1
)) {
24519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24521 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24524 if (!SWIG_IsOK(res2
)) {
24525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24527 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24544 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24545 PyObject
*resultobj
= 0;
24546 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24550 PyObject
*swig_obj
[1] ;
24552 if (!args
) SWIG_fail
;
24553 swig_obj
[0] = args
;
24554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24555 if (!SWIG_IsOK(res1
)) {
24556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24558 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (bool)(arg1
)->EndDrawingOnTop();
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24574 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24577 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24578 return SWIG_Py_Void();
24581 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24582 return SWIG_Python_InitShadowInstance(args
);
24585 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
= 0;
24587 wxWindow
*arg1
= (wxWindow
*) 0 ;
24588 wxWindowDC
*result
= 0 ;
24591 PyObject
* obj0
= 0 ;
24592 char * kwnames
[] = {
24593 (char *) "win", NULL
24596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24598 if (!SWIG_IsOK(res1
)) {
24599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24601 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24603 if (!wxPyCheckForApp()) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24616 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24619 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24620 return SWIG_Py_Void();
24623 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24624 return SWIG_Python_InitShadowInstance(args
);
24627 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
= 0;
24629 wxWindow
*arg1
= (wxWindow
*) 0 ;
24630 wxClientDC
*result
= 0 ;
24633 PyObject
* obj0
= 0 ;
24634 char * kwnames
[] = {
24635 (char *) "win", NULL
24638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24640 if (!SWIG_IsOK(res1
)) {
24641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24643 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24645 if (!wxPyCheckForApp()) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (wxClientDC
*)new wxClientDC(arg1
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24658 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24661 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24662 return SWIG_Py_Void();
24665 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24666 return SWIG_Python_InitShadowInstance(args
);
24669 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
= 0;
24671 wxWindow
*arg1
= (wxWindow
*) 0 ;
24672 wxPaintDC
*result
= 0 ;
24675 PyObject
* obj0
= 0 ;
24676 char * kwnames
[] = {
24677 (char *) "win", NULL
24680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24682 if (!SWIG_IsOK(res1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24685 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24687 if (!wxPyCheckForApp()) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24700 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24703 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24704 return SWIG_Py_Void();
24707 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24708 return SWIG_Python_InitShadowInstance(args
);
24711 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
= 0;
24713 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24714 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24715 wxMemoryDC
*result
= 0 ;
24718 PyObject
* obj0
= 0 ;
24719 char * kwnames
[] = {
24720 (char *) "bitmap", NULL
24723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24725 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24726 if (!SWIG_IsOK(res1
)) {
24727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24732 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24735 if (!wxPyCheckForApp()) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24748 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
= 0;
24750 wxDC
*arg1
= (wxDC
*) 0 ;
24751 wxMemoryDC
*result
= 0 ;
24754 PyObject
* obj0
= 0 ;
24755 char * kwnames
[] = {
24756 (char *) "oldDC", NULL
24759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24761 if (!SWIG_IsOK(res1
)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24766 if (!wxPyCheckForApp()) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24779 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
= 0;
24781 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24782 wxBitmap
*arg2
= 0 ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 char * kwnames
[] = {
24790 (char *) "self",(char *) "bitmap", NULL
24793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24795 if (!SWIG_IsOK(res1
)) {
24796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24798 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24800 if (!SWIG_IsOK(res2
)) {
24801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24806 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 (arg1
)->SelectObject(*arg2
);
24810 wxPyEndAllowThreads(__tstate
);
24811 if (PyErr_Occurred()) SWIG_fail
;
24813 resultobj
= SWIG_Py_Void();
24820 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24821 PyObject
*resultobj
= 0;
24822 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24823 wxBitmap
*arg2
= 0 ;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj1
= 0 ;
24830 char * kwnames
[] = {
24831 (char *) "self",(char *) "bmp", NULL
24834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24836 if (!SWIG_IsOK(res1
)) {
24837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24839 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24840 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24841 if (!SWIG_IsOK(res2
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24847 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= SWIG_Py_Void();
24861 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24864 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24865 return SWIG_Py_Void();
24868 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24869 return SWIG_Python_InitShadowInstance(args
);
24872 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24873 PyObject
*resultobj
= 0;
24874 wxDC
*arg1
= (wxDC
*) 0 ;
24875 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24876 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24877 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24878 wxBufferedDC
*result
= 0 ;
24886 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24888 if (!SWIG_IsOK(res1
)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24893 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24894 if (!SWIG_IsOK(res2
)) {
24895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24900 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24903 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24904 if (!SWIG_IsOK(ecode3
)) {
24905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24907 arg3
= static_cast< int >(val3
);
24910 if (!wxPyCheckForApp()) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24923 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24924 PyObject
*resultobj
= 0;
24925 wxDC
*arg1
= (wxDC
*) 0 ;
24927 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24928 wxBufferedDC
*result
= 0 ;
24935 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24937 if (!SWIG_IsOK(res1
)) {
24938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24943 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24946 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24947 if (!SWIG_IsOK(ecode3
)) {
24948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24950 arg3
= static_cast< int >(val3
);
24953 if (!wxPyCheckForApp()) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24966 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24970 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24972 if ((argc
>= 1) && (argc
<= 3)) {
24977 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24978 _v
= SWIG_CheckState(res
);
24980 if (!_v
) goto check_1
;
24982 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24986 if ((argc
>= 2) && (argc
<= 3)) {
24987 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24991 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24996 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24997 PyObject
*resultobj
= 0;
24998 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25001 PyObject
*swig_obj
[1] ;
25003 if (!args
) SWIG_fail
;
25004 swig_obj
[0] = args
;
25005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25006 if (!SWIG_IsOK(res1
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25009 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_Py_Void();
25024 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25025 PyObject
*resultobj
= 0;
25026 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25029 PyObject
*swig_obj
[1] ;
25031 if (!args
) SWIG_fail
;
25032 swig_obj
[0] = args
;
25033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25034 if (!SWIG_IsOK(res1
)) {
25035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25037 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= SWIG_Py_Void();
25051 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
= 0;
25053 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 char * kwnames
[] = {
25062 (char *) "self",(char *) "style", NULL
25065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25067 if (!SWIG_IsOK(res1
)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25070 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25072 if (!SWIG_IsOK(ecode2
)) {
25073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25075 arg2
= static_cast< int >(val2
);
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 (arg1
)->SetStyle(arg2
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_Py_Void();
25089 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25090 PyObject
*resultobj
= 0;
25091 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25095 PyObject
*swig_obj
[1] ;
25097 if (!args
) SWIG_fail
;
25098 swig_obj
[0] = args
;
25099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25100 if (!SWIG_IsOK(res1
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25103 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= SWIG_From_int(static_cast< int >(result
));
25117 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25120 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25121 return SWIG_Py_Void();
25124 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25125 return SWIG_Python_InitShadowInstance(args
);
25128 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
= 0;
25130 wxWindow
*arg1
= (wxWindow
*) 0 ;
25131 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25132 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25133 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25134 wxBufferedPaintDC
*result
= 0 ;
25141 PyObject
* obj0
= 0 ;
25142 PyObject
* obj1
= 0 ;
25143 PyObject
* obj2
= 0 ;
25144 char * kwnames
[] = {
25145 (char *) "window",(char *) "buffer",(char *) "style", NULL
25148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25150 if (!SWIG_IsOK(res1
)) {
25151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25153 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25156 if (!SWIG_IsOK(res2
)) {
25157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25162 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25166 if (!SWIG_IsOK(ecode3
)) {
25167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25169 arg3
= static_cast< int >(val3
);
25172 if (!wxPyCheckForApp()) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25185 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25187 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25188 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25189 return SWIG_Py_Void();
25192 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25193 return SWIG_Python_InitShadowInstance(args
);
25196 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
= 0;
25198 wxWindow
*arg1
= (wxWindow
*) 0 ;
25199 wxAutoBufferedPaintDC
*result
= 0 ;
25202 PyObject
* obj0
= 0 ;
25203 char * kwnames
[] = {
25204 (char *) "win", NULL
25207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25212 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25226 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25229 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25230 return SWIG_Py_Void();
25233 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25234 return SWIG_Python_InitShadowInstance(args
);
25237 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
= 0;
25239 wxWindow
*arg1
= (wxWindow
*) 0 ;
25243 PyObject
* obj0
= 0 ;
25244 char * kwnames
[] = {
25245 (char *) "window", NULL
25248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25250 if (!SWIG_IsOK(res1
)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25253 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25261 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25269 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
= 0;
25273 wxMirrorDC
*result
= 0 ;
25278 PyObject
* obj0
= 0 ;
25279 PyObject
* obj1
= 0 ;
25280 char * kwnames
[] = {
25281 (char *) "dc",(char *) "mirror", NULL
25284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25285 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25286 if (!SWIG_IsOK(res1
)) {
25287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25290 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25293 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25294 if (!SWIG_IsOK(ecode2
)) {
25295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25297 arg2
= static_cast< bool >(val2
);
25299 if (!wxPyCheckForApp()) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25312 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25315 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25316 return SWIG_Py_Void();
25319 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25320 return SWIG_Python_InitShadowInstance(args
);
25323 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
= 0;
25325 wxPrintData
*arg1
= 0 ;
25326 wxPostScriptDC
*result
= 0 ;
25329 PyObject
* obj0
= 0 ;
25330 char * kwnames
[] = {
25331 (char *) "printData", NULL
25334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25335 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25336 if (!SWIG_IsOK(res1
)) {
25337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25342 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25344 if (!wxPyCheckForApp()) SWIG_fail
;
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25357 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25358 PyObject
*resultobj
= 0;
25359 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25360 wxPrintData
*result
= 0 ;
25363 PyObject
*swig_obj
[1] ;
25365 if (!args
) SWIG_fail
;
25366 swig_obj
[0] = args
;
25367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25368 if (!SWIG_IsOK(res1
)) {
25369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25371 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25376 result
= (wxPrintData
*) &_result_ref
;
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25388 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25389 PyObject
*resultobj
= 0;
25390 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25391 wxPrintData
*arg2
= 0 ;
25396 PyObject
* obj0
= 0 ;
25397 PyObject
* obj1
= 0 ;
25398 char * kwnames
[] = {
25399 (char *) "self",(char *) "data", NULL
25402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25404 if (!SWIG_IsOK(res1
)) {
25405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25407 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25408 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25409 if (!SWIG_IsOK(res2
)) {
25410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25415 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_Py_Void();
25429 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
= 0;
25434 PyObject
* obj0
= 0 ;
25435 char * kwnames
[] = {
25436 (char *) "ppi", NULL
25439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25440 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25441 if (!SWIG_IsOK(ecode1
)) {
25442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25444 arg1
= static_cast< int >(val1
);
25446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25447 wxPostScriptDC::SetResolution(arg1
);
25448 wxPyEndAllowThreads(__tstate
);
25449 if (PyErr_Occurred()) SWIG_fail
;
25451 resultobj
= SWIG_Py_Void();
25458 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25459 PyObject
*resultobj
= 0;
25462 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (int)wxPostScriptDC::GetResolution();
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_From_int(static_cast< int >(result
));
25476 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25480 return SWIG_Py_Void();
25483 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25484 return SWIG_Python_InitShadowInstance(args
);
25487 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
= 0;
25489 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25490 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25491 wxMetaFile
*result
= 0 ;
25492 bool temp1
= false ;
25493 PyObject
* obj0
= 0 ;
25494 char * kwnames
[] = {
25495 (char *) "filename", NULL
25498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25501 arg1
= wxString_in_helper(obj0
);
25502 if (arg1
== NULL
) SWIG_fail
;
25507 if (!wxPyCheckForApp()) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25528 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25530 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25531 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25532 return SWIG_Py_Void();
25535 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25536 return SWIG_Python_InitShadowInstance(args
);
25539 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
= 0;
25541 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25542 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25543 int arg2
= (int) 0 ;
25544 int arg3
= (int) 0 ;
25545 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25546 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25547 wxMetaFileDC
*result
= 0 ;
25548 bool temp1
= false ;
25553 bool temp4
= false ;
25554 PyObject
* obj0
= 0 ;
25555 PyObject
* obj1
= 0 ;
25556 PyObject
* obj2
= 0 ;
25557 PyObject
* obj3
= 0 ;
25558 char * kwnames
[] = {
25559 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25565 arg1
= wxString_in_helper(obj0
);
25566 if (arg1
== NULL
) SWIG_fail
;
25571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25572 if (!SWIG_IsOK(ecode2
)) {
25573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25575 arg2
= static_cast< int >(val2
);
25578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25579 if (!SWIG_IsOK(ecode3
)) {
25580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25582 arg3
= static_cast< int >(val3
);
25586 arg4
= wxString_in_helper(obj3
);
25587 if (arg4
== NULL
) SWIG_fail
;
25592 if (!wxPyCheckForApp()) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25621 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25624 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25625 return SWIG_Py_Void();
25628 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25629 return SWIG_Python_InitShadowInstance(args
);
25632 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
= 0;
25634 wxPrintData
*arg1
= 0 ;
25635 wxPrinterDC
*result
= 0 ;
25638 PyObject
* obj0
= 0 ;
25639 char * kwnames
[] = {
25640 (char *) "printData", NULL
25643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25644 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25645 if (!SWIG_IsOK(res1
)) {
25646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25651 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25653 if (!wxPyCheckForApp()) SWIG_fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25666 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25669 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25670 return SWIG_Py_Void();
25673 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25674 return SWIG_Python_InitShadowInstance(args
);
25677 SWIGINTERN PyObject
*SVGFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25680 SWIG_TypeNewClientData(SWIGTYPE_p_wxSVGFileDC
, SWIG_NewClientData(obj
));
25681 return SWIG_Py_Void();
25684 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
= 0;
25686 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25687 wxGraphicsObject
*result
= 0 ;
25690 PyObject
* obj0
= 0 ;
25691 char * kwnames
[] = {
25692 (char *) "renderer", NULL
25695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25698 if (!SWIG_IsOK(res1
)) {
25699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25701 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25704 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25714 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25715 PyObject
*resultobj
= 0;
25716 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25719 PyObject
*swig_obj
[1] ;
25721 if (!args
) SWIG_fail
;
25722 swig_obj
[0] = args
;
25723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25727 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= SWIG_Py_Void();
25740 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25741 PyObject
*resultobj
= 0;
25742 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25746 PyObject
*swig_obj
[1] ;
25748 if (!args
) SWIG_fail
;
25749 swig_obj
[0] = args
;
25750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25751 if (!SWIG_IsOK(res1
)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25754 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25756 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25757 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25768 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25769 PyObject
*resultobj
= 0;
25770 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25771 wxGraphicsRenderer
*result
= 0 ;
25774 PyObject
*swig_obj
[1] ;
25776 if (!args
) SWIG_fail
;
25777 swig_obj
[0] = args
;
25778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25779 if (!SWIG_IsOK(res1
)) {
25780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25782 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25784 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25794 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25797 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25798 return SWIG_Py_Void();
25801 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25802 return SWIG_Python_InitShadowInstance(args
);
25805 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25806 PyObject
*resultobj
= 0;
25807 wxGraphicsPen
*result
= 0 ;
25809 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25811 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25821 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25822 PyObject
*resultobj
= 0;
25823 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25826 PyObject
*swig_obj
[1] ;
25828 if (!args
) SWIG_fail
;
25829 swig_obj
[0] = args
;
25830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25831 if (!SWIG_IsOK(res1
)) {
25832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25834 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25840 resultobj
= SWIG_Py_Void();
25847 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25850 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25851 return SWIG_Py_Void();
25854 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25855 return SWIG_Python_InitShadowInstance(args
);
25858 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25859 PyObject
*resultobj
= 0;
25860 wxGraphicsBrush
*result
= 0 ;
25862 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25864 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25874 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25875 PyObject
*resultobj
= 0;
25876 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25879 PyObject
*swig_obj
[1] ;
25881 if (!args
) SWIG_fail
;
25882 swig_obj
[0] = args
;
25883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25884 if (!SWIG_IsOK(res1
)) {
25885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25887 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= SWIG_Py_Void();
25900 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25903 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25904 return SWIG_Py_Void();
25907 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25908 return SWIG_Python_InitShadowInstance(args
);
25911 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25912 PyObject
*resultobj
= 0;
25913 wxGraphicsFont
*result
= 0 ;
25915 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25917 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25918 if (PyErr_Occurred()) SWIG_fail
;
25920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25927 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25928 PyObject
*resultobj
= 0;
25929 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25932 PyObject
*swig_obj
[1] ;
25934 if (!args
) SWIG_fail
;
25935 swig_obj
[0] = args
;
25936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25937 if (!SWIG_IsOK(res1
)) {
25938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25940 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= SWIG_Py_Void();
25953 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25956 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25957 return SWIG_Py_Void();
25960 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25961 return SWIG_Python_InitShadowInstance(args
);
25964 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25965 PyObject
*resultobj
= 0;
25966 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25969 PyObject
*swig_obj
[1] ;
25971 if (!args
) SWIG_fail
;
25972 swig_obj
[0] = args
;
25973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25974 if (!SWIG_IsOK(res1
)) {
25975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25977 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= SWIG_Py_Void();
25990 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
= 0;
25992 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25993 wxGraphicsMatrix
*arg2
= 0 ;
25998 PyObject
* obj0
= 0 ;
25999 PyObject
* obj1
= 0 ;
26000 char * kwnames
[] = {
26001 (char *) "self",(char *) "t", NULL
26004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26006 if (!SWIG_IsOK(res1
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26009 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26010 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26011 if (!SWIG_IsOK(res2
)) {
26012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26017 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26019 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 resultobj
= SWIG_Py_Void();
26029 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
= 0;
26031 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26032 wxDouble arg2
= (wxDouble
) 1.0 ;
26033 wxDouble arg3
= (wxDouble
) 0.0 ;
26034 wxDouble arg4
= (wxDouble
) 0.0 ;
26035 wxDouble arg5
= (wxDouble
) 1.0 ;
26036 wxDouble arg6
= (wxDouble
) 0.0 ;
26037 wxDouble arg7
= (wxDouble
) 0.0 ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 PyObject
* obj2
= 0 ;
26055 PyObject
* obj3
= 0 ;
26056 PyObject
* obj4
= 0 ;
26057 PyObject
* obj5
= 0 ;
26058 PyObject
* obj6
= 0 ;
26059 char * kwnames
[] = {
26060 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26065 if (!SWIG_IsOK(res1
)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26068 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26070 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26071 if (!SWIG_IsOK(ecode2
)) {
26072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26074 arg2
= static_cast< wxDouble
>(val2
);
26077 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26078 if (!SWIG_IsOK(ecode3
)) {
26079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26081 arg3
= static_cast< wxDouble
>(val3
);
26084 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26085 if (!SWIG_IsOK(ecode4
)) {
26086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26088 arg4
= static_cast< wxDouble
>(val4
);
26091 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26092 if (!SWIG_IsOK(ecode5
)) {
26093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26095 arg5
= static_cast< wxDouble
>(val5
);
26098 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26099 if (!SWIG_IsOK(ecode6
)) {
26100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26102 arg6
= static_cast< wxDouble
>(val6
);
26105 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26106 if (!SWIG_IsOK(ecode7
)) {
26107 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26109 arg7
= static_cast< wxDouble
>(val7
);
26112 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_Py_Void();
26122 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26123 PyObject
*resultobj
= 0;
26124 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26125 wxDouble
*arg2
= (wxDouble
*) 0 ;
26126 wxDouble
*arg3
= (wxDouble
*) 0 ;
26127 wxDouble
*arg4
= (wxDouble
*) 0 ;
26128 wxDouble
*arg5
= (wxDouble
*) 0 ;
26129 wxDouble
*arg6
= (wxDouble
*) 0 ;
26130 wxDouble
*arg7
= (wxDouble
*) 0 ;
26134 int res2
= SWIG_TMPOBJ
;
26136 int res3
= SWIG_TMPOBJ
;
26138 int res4
= SWIG_TMPOBJ
;
26140 int res5
= SWIG_TMPOBJ
;
26142 int res6
= SWIG_TMPOBJ
;
26144 int res7
= SWIG_TMPOBJ
;
26145 PyObject
*swig_obj
[1] ;
26153 if (!args
) SWIG_fail
;
26154 swig_obj
[0] = args
;
26155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26156 if (!SWIG_IsOK(res1
)) {
26157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26159 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26161 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= SWIG_Py_Void();
26165 if (SWIG_IsTmpObj(res2
)) {
26166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26168 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26171 if (SWIG_IsTmpObj(res3
)) {
26172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26174 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26177 if (SWIG_IsTmpObj(res4
)) {
26178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26180 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26183 if (SWIG_IsTmpObj(res5
)) {
26184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26186 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26189 if (SWIG_IsTmpObj(res6
)) {
26190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26192 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26195 if (SWIG_IsTmpObj(res7
)) {
26196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26198 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26207 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26208 PyObject
*resultobj
= 0;
26209 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26212 PyObject
*swig_obj
[1] ;
26214 if (!args
) SWIG_fail
;
26215 swig_obj
[0] = args
;
26216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26217 if (!SWIG_IsOK(res1
)) {
26218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26220 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26225 resultobj
= SWIG_Py_Void();
26232 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26233 PyObject
*resultobj
= 0;
26234 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26235 wxGraphicsMatrix
*arg2
= 0 ;
26241 PyObject
* obj0
= 0 ;
26242 PyObject
* obj1
= 0 ;
26243 char * kwnames
[] = {
26244 (char *) "self",(char *) "t", NULL
26247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26249 if (!SWIG_IsOK(res1
)) {
26250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26252 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26254 if (!SWIG_IsOK(res2
)) {
26255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26260 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26262 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26274 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26275 PyObject
*resultobj
= 0;
26276 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26280 PyObject
*swig_obj
[1] ;
26282 if (!args
) SWIG_fail
;
26283 swig_obj
[0] = args
;
26284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26285 if (!SWIG_IsOK(res1
)) {
26286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26288 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26290 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26302 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
= 0;
26304 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 PyObject
* obj2
= 0 ;
26316 char * kwnames
[] = {
26317 (char *) "self",(char *) "dx",(char *) "dy", NULL
26320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26322 if (!SWIG_IsOK(res1
)) {
26323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26325 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26326 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26327 if (!SWIG_IsOK(ecode2
)) {
26328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26330 arg2
= static_cast< wxDouble
>(val2
);
26331 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26332 if (!SWIG_IsOK(ecode3
)) {
26333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26335 arg3
= static_cast< wxDouble
>(val3
);
26337 (arg1
)->Translate(arg2
,arg3
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= SWIG_Py_Void();
26347 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
= 0;
26349 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26358 PyObject
* obj0
= 0 ;
26359 PyObject
* obj1
= 0 ;
26360 PyObject
* obj2
= 0 ;
26361 char * kwnames
[] = {
26362 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26367 if (!SWIG_IsOK(res1
)) {
26368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26370 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26371 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26372 if (!SWIG_IsOK(ecode2
)) {
26373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26375 arg2
= static_cast< wxDouble
>(val2
);
26376 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26377 if (!SWIG_IsOK(ecode3
)) {
26378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26380 arg3
= static_cast< wxDouble
>(val3
);
26382 (arg1
)->Scale(arg2
,arg3
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26385 resultobj
= SWIG_Py_Void();
26392 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26393 PyObject
*resultobj
= 0;
26394 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26400 PyObject
* obj0
= 0 ;
26401 PyObject
* obj1
= 0 ;
26402 char * kwnames
[] = {
26403 (char *) "self",(char *) "angle", NULL
26406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26408 if (!SWIG_IsOK(res1
)) {
26409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26411 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26412 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26413 if (!SWIG_IsOK(ecode2
)) {
26414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26416 arg2
= static_cast< wxDouble
>(val2
);
26418 (arg1
)->Rotate(arg2
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= SWIG_Py_Void();
26428 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
= 0;
26430 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26431 wxDouble
*arg2
= (wxDouble
*) 0 ;
26432 wxDouble
*arg3
= (wxDouble
*) 0 ;
26439 PyObject
* obj0
= 0 ;
26440 PyObject
* obj1
= 0 ;
26441 PyObject
* obj2
= 0 ;
26442 char * kwnames
[] = {
26443 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26448 if (!SWIG_IsOK(res1
)) {
26449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26451 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26452 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26454 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26455 if (!SWIG_IsOK(ecode
)) {
26456 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26458 temp2
= static_cast< wxDouble
>(val
);
26460 res2
= SWIG_AddTmpMask(ecode
);
26462 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26464 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26465 if (!SWIG_IsOK(ecode
)) {
26466 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26468 temp3
= static_cast< wxDouble
>(val
);
26470 res3
= SWIG_AddTmpMask(ecode
);
26473 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 resultobj
= SWIG_Py_Void();
26477 if (SWIG_IsTmpObj(res2
)) {
26478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26480 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26483 if (SWIG_IsTmpObj(res3
)) {
26484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26486 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26495 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
= 0;
26497 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26498 wxDouble
*arg2
= (wxDouble
*) 0 ;
26499 wxDouble
*arg3
= (wxDouble
*) 0 ;
26506 PyObject
* obj0
= 0 ;
26507 PyObject
* obj1
= 0 ;
26508 PyObject
* obj2
= 0 ;
26509 char * kwnames
[] = {
26510 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26515 if (!SWIG_IsOK(res1
)) {
26516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26518 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26519 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26521 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26522 if (!SWIG_IsOK(ecode
)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26525 temp2
= static_cast< wxDouble
>(val
);
26527 res2
= SWIG_AddTmpMask(ecode
);
26529 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26531 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26532 if (!SWIG_IsOK(ecode
)) {
26533 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26535 temp3
= static_cast< wxDouble
>(val
);
26537 res3
= SWIG_AddTmpMask(ecode
);
26540 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26543 resultobj
= SWIG_Py_Void();
26544 if (SWIG_IsTmpObj(res2
)) {
26545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26547 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26550 if (SWIG_IsTmpObj(res3
)) {
26551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26553 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26562 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26563 PyObject
*resultobj
= 0;
26564 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26568 PyObject
*swig_obj
[1] ;
26570 if (!args
) SWIG_fail
;
26571 swig_obj
[0] = args
;
26572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26573 if (!SWIG_IsOK(res1
)) {
26574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26576 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26578 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26588 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26591 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26592 return SWIG_Py_Void();
26595 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26596 PyObject
*resultobj
= 0;
26597 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26600 PyObject
*swig_obj
[1] ;
26602 if (!args
) SWIG_fail
;
26603 swig_obj
[0] = args
;
26604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26605 if (!SWIG_IsOK(res1
)) {
26606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26608 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= SWIG_Py_Void();
26621 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26622 PyObject
*resultobj
= 0;
26623 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26633 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26635 if (!SWIG_IsOK(res1
)) {
26636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26638 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26639 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26640 if (!SWIG_IsOK(ecode2
)) {
26641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26643 arg2
= static_cast< wxDouble
>(val2
);
26644 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26645 if (!SWIG_IsOK(ecode3
)) {
26646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26648 arg3
= static_cast< wxDouble
>(val3
);
26650 (arg1
)->MoveToPoint(arg2
,arg3
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26653 resultobj
= SWIG_Py_Void();
26660 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26661 PyObject
*resultobj
= 0;
26662 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26663 wxPoint2D
*arg2
= 0 ;
26668 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26670 if (!SWIG_IsOK(res1
)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26673 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26676 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26679 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= SWIG_Py_Void();
26689 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26693 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26696 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26699 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26703 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26708 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26709 PyObject
*resultobj
= 0;
26710 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26720 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26722 if (!SWIG_IsOK(res1
)) {
26723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26725 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26726 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26727 if (!SWIG_IsOK(ecode2
)) {
26728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26730 arg2
= static_cast< wxDouble
>(val2
);
26731 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26732 if (!SWIG_IsOK(ecode3
)) {
26733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26735 arg3
= static_cast< wxDouble
>(val3
);
26737 (arg1
)->AddLineToPoint(arg2
,arg3
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_Py_Void();
26747 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26748 PyObject
*resultobj
= 0;
26749 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26750 wxPoint2D
*arg2
= 0 ;
26755 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26757 if (!SWIG_IsOK(res1
)) {
26758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26760 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26763 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26766 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26769 resultobj
= SWIG_Py_Void();
26776 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26780 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26783 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26786 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26790 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26795 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26796 PyObject
*resultobj
= 0;
26797 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26819 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26821 if (!SWIG_IsOK(res1
)) {
26822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26824 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26825 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26826 if (!SWIG_IsOK(ecode2
)) {
26827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26829 arg2
= static_cast< wxDouble
>(val2
);
26830 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26831 if (!SWIG_IsOK(ecode3
)) {
26832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26834 arg3
= static_cast< wxDouble
>(val3
);
26835 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26836 if (!SWIG_IsOK(ecode4
)) {
26837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26839 arg4
= static_cast< wxDouble
>(val4
);
26840 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26841 if (!SWIG_IsOK(ecode5
)) {
26842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26844 arg5
= static_cast< wxDouble
>(val5
);
26845 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26846 if (!SWIG_IsOK(ecode6
)) {
26847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26849 arg6
= static_cast< wxDouble
>(val6
);
26850 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26851 if (!SWIG_IsOK(ecode7
)) {
26852 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26854 arg7
= static_cast< wxDouble
>(val7
);
26856 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= SWIG_Py_Void();
26866 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26867 PyObject
*resultobj
= 0;
26868 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26869 wxPoint2D
*arg2
= 0 ;
26870 wxPoint2D
*arg3
= 0 ;
26871 wxPoint2D
*arg4
= 0 ;
26878 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26883 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26886 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26890 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26894 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26897 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= SWIG_Py_Void();
26907 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26911 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26914 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26917 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26921 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26926 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
= 0;
26928 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26929 wxGraphicsPath
*arg2
= 0 ;
26934 PyObject
* obj0
= 0 ;
26935 PyObject
* obj1
= 0 ;
26936 char * kwnames
[] = {
26937 (char *) "self",(char *) "path", NULL
26940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26942 if (!SWIG_IsOK(res1
)) {
26943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26945 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26947 if (!SWIG_IsOK(res2
)) {
26948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26953 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26955 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= SWIG_Py_Void();
26965 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26966 PyObject
*resultobj
= 0;
26967 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26970 PyObject
*swig_obj
[1] ;
26972 if (!args
) SWIG_fail
;
26973 swig_obj
[0] = args
;
26974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26975 if (!SWIG_IsOK(res1
)) {
26976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26978 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26980 (arg1
)->CloseSubpath();
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 resultobj
= SWIG_Py_Void();
26990 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26991 PyObject
*resultobj
= 0;
26992 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26996 PyObject
*swig_obj
[1] ;
26998 if (!args
) SWIG_fail
;
26999 swig_obj
[0] = args
;
27000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27001 if (!SWIG_IsOK(res1
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27004 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27006 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27016 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27017 PyObject
*resultobj
= 0;
27018 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27024 bool arg7
= (bool) true ;
27040 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27042 if (!SWIG_IsOK(res1
)) {
27043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27045 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27046 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27047 if (!SWIG_IsOK(ecode2
)) {
27048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27050 arg2
= static_cast< wxDouble
>(val2
);
27051 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27052 if (!SWIG_IsOK(ecode3
)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27055 arg3
= static_cast< wxDouble
>(val3
);
27056 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27057 if (!SWIG_IsOK(ecode4
)) {
27058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27060 arg4
= static_cast< wxDouble
>(val4
);
27061 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27062 if (!SWIG_IsOK(ecode5
)) {
27063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27065 arg5
= static_cast< wxDouble
>(val5
);
27066 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27067 if (!SWIG_IsOK(ecode6
)) {
27068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27070 arg6
= static_cast< wxDouble
>(val6
);
27072 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27073 if (!SWIG_IsOK(ecode7
)) {
27074 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27076 arg7
= static_cast< bool >(val7
);
27079 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 resultobj
= SWIG_Py_Void();
27089 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27090 PyObject
*resultobj
= 0;
27091 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27092 wxPoint2D
*arg2
= 0 ;
27096 bool arg6
= (bool) true ;
27109 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
27110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27111 if (!SWIG_IsOK(res1
)) {
27112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27114 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27117 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27119 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27120 if (!SWIG_IsOK(ecode3
)) {
27121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27123 arg3
= static_cast< wxDouble
>(val3
);
27124 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27125 if (!SWIG_IsOK(ecode4
)) {
27126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27128 arg4
= static_cast< wxDouble
>(val4
);
27129 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27130 if (!SWIG_IsOK(ecode5
)) {
27131 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27133 arg5
= static_cast< wxDouble
>(val5
);
27135 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27136 if (!SWIG_IsOK(ecode6
)) {
27137 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27139 arg6
= static_cast< bool >(val6
);
27142 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= SWIG_Py_Void();
27152 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27156 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27158 if ((argc
>= 5) && (argc
<= 6)) {
27162 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27165 if (!_v
) goto check_1
;
27169 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
27170 _v
= SWIG_CheckState(res
);
27173 if (!_v
) goto check_1
;
27175 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27179 if ((argc
>= 6) && (argc
<= 7)) {
27180 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27184 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27189 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
= 0;
27191 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27206 PyObject
* obj0
= 0 ;
27207 PyObject
* obj1
= 0 ;
27208 PyObject
* obj2
= 0 ;
27209 PyObject
* obj3
= 0 ;
27210 PyObject
* obj4
= 0 ;
27211 char * kwnames
[] = {
27212 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27217 if (!SWIG_IsOK(res1
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27220 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27221 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27222 if (!SWIG_IsOK(ecode2
)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27225 arg2
= static_cast< wxDouble
>(val2
);
27226 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27227 if (!SWIG_IsOK(ecode3
)) {
27228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27230 arg3
= static_cast< wxDouble
>(val3
);
27231 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27232 if (!SWIG_IsOK(ecode4
)) {
27233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27235 arg4
= static_cast< wxDouble
>(val4
);
27236 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27237 if (!SWIG_IsOK(ecode5
)) {
27238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27240 arg5
= static_cast< wxDouble
>(val5
);
27242 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= SWIG_Py_Void();
27252 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
= 0;
27254 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 PyObject
* obj1
= 0 ;
27271 PyObject
* obj2
= 0 ;
27272 PyObject
* obj3
= 0 ;
27273 PyObject
* obj4
= 0 ;
27274 char * kwnames
[] = {
27275 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27280 if (!SWIG_IsOK(res1
)) {
27281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27283 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27284 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27285 if (!SWIG_IsOK(ecode2
)) {
27286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27288 arg2
= static_cast< wxDouble
>(val2
);
27289 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27290 if (!SWIG_IsOK(ecode3
)) {
27291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27293 arg3
= static_cast< wxDouble
>(val3
);
27294 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27295 if (!SWIG_IsOK(ecode4
)) {
27296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27298 arg4
= static_cast< wxDouble
>(val4
);
27299 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27300 if (!SWIG_IsOK(ecode5
)) {
27301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27303 arg5
= static_cast< wxDouble
>(val5
);
27305 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= SWIG_Py_Void();
27315 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
= 0;
27317 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 PyObject
* obj2
= 0 ;
27332 PyObject
* obj3
= 0 ;
27333 char * kwnames
[] = {
27334 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27339 if (!SWIG_IsOK(res1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27342 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27343 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27344 if (!SWIG_IsOK(ecode2
)) {
27345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27347 arg2
= static_cast< wxDouble
>(val2
);
27348 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27349 if (!SWIG_IsOK(ecode3
)) {
27350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27352 arg3
= static_cast< wxDouble
>(val3
);
27353 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27354 if (!SWIG_IsOK(ecode4
)) {
27355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27357 arg4
= static_cast< wxDouble
>(val4
);
27359 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= SWIG_Py_Void();
27369 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
= 0;
27371 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27389 PyObject
* obj0
= 0 ;
27390 PyObject
* obj1
= 0 ;
27391 PyObject
* obj2
= 0 ;
27392 PyObject
* obj3
= 0 ;
27393 PyObject
* obj4
= 0 ;
27394 PyObject
* obj5
= 0 ;
27395 char * kwnames
[] = {
27396 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27401 if (!SWIG_IsOK(res1
)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27404 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27405 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27406 if (!SWIG_IsOK(ecode2
)) {
27407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27409 arg2
= static_cast< wxDouble
>(val2
);
27410 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27411 if (!SWIG_IsOK(ecode3
)) {
27412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27414 arg3
= static_cast< wxDouble
>(val3
);
27415 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27416 if (!SWIG_IsOK(ecode4
)) {
27417 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27419 arg4
= static_cast< wxDouble
>(val4
);
27420 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27421 if (!SWIG_IsOK(ecode5
)) {
27422 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27424 arg5
= static_cast< wxDouble
>(val5
);
27425 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27426 if (!SWIG_IsOK(ecode6
)) {
27427 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27429 arg6
= static_cast< wxDouble
>(val6
);
27431 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27432 if (PyErr_Occurred()) SWIG_fail
;
27434 resultobj
= SWIG_Py_Void();
27441 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27442 PyObject
*resultobj
= 0;
27443 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27458 PyObject
* obj0
= 0 ;
27459 PyObject
* obj1
= 0 ;
27460 PyObject
* obj2
= 0 ;
27461 PyObject
* obj3
= 0 ;
27462 PyObject
* obj4
= 0 ;
27463 char * kwnames
[] = {
27464 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27469 if (!SWIG_IsOK(res1
)) {
27470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27472 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27473 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27474 if (!SWIG_IsOK(ecode2
)) {
27475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27477 arg2
= static_cast< wxDouble
>(val2
);
27478 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27479 if (!SWIG_IsOK(ecode3
)) {
27480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27482 arg3
= static_cast< wxDouble
>(val3
);
27483 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27484 if (!SWIG_IsOK(ecode4
)) {
27485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27487 arg4
= static_cast< wxDouble
>(val4
);
27488 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27489 if (!SWIG_IsOK(ecode5
)) {
27490 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27492 arg5
= static_cast< wxDouble
>(val5
);
27494 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27497 resultobj
= SWIG_Py_Void();
27504 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
= 0;
27506 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27524 PyObject
* obj0
= 0 ;
27525 PyObject
* obj1
= 0 ;
27526 PyObject
* obj2
= 0 ;
27527 PyObject
* obj3
= 0 ;
27528 PyObject
* obj4
= 0 ;
27529 PyObject
* obj5
= 0 ;
27530 char * kwnames
[] = {
27531 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27536 if (!SWIG_IsOK(res1
)) {
27537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27539 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27540 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27541 if (!SWIG_IsOK(ecode2
)) {
27542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27544 arg2
= static_cast< wxDouble
>(val2
);
27545 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27546 if (!SWIG_IsOK(ecode3
)) {
27547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27549 arg3
= static_cast< wxDouble
>(val3
);
27550 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27551 if (!SWIG_IsOK(ecode4
)) {
27552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27554 arg4
= static_cast< wxDouble
>(val4
);
27555 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27556 if (!SWIG_IsOK(ecode5
)) {
27557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27559 arg5
= static_cast< wxDouble
>(val5
);
27560 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27561 if (!SWIG_IsOK(ecode6
)) {
27562 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27564 arg6
= static_cast< wxDouble
>(val6
);
27566 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27569 resultobj
= SWIG_Py_Void();
27576 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27577 PyObject
*resultobj
= 0;
27578 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27582 PyObject
*swig_obj
[1] ;
27584 if (!args
) SWIG_fail
;
27585 swig_obj
[0] = args
;
27586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27587 if (!SWIG_IsOK(res1
)) {
27588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27590 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27592 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27593 if (PyErr_Occurred()) SWIG_fail
;
27595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27602 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27603 PyObject
*resultobj
= 0;
27604 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27605 void *arg2
= (void *) 0 ;
27609 PyObject
* obj0
= 0 ;
27610 PyObject
* obj1
= 0 ;
27611 char * kwnames
[] = {
27612 (char *) "self",(char *) "p", NULL
27615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27620 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27621 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27622 if (!SWIG_IsOK(res2
)) {
27623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27626 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= SWIG_Py_Void();
27636 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
= 0;
27638 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27639 wxGraphicsMatrix
*arg2
= 0 ;
27644 PyObject
* obj0
= 0 ;
27645 PyObject
* obj1
= 0 ;
27646 char * kwnames
[] = {
27647 (char *) "self",(char *) "matrix", NULL
27650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27652 if (!SWIG_IsOK(res1
)) {
27653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27655 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27657 if (!SWIG_IsOK(res2
)) {
27658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27663 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27665 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27666 if (PyErr_Occurred()) SWIG_fail
;
27668 resultobj
= SWIG_Py_Void();
27675 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27676 PyObject
*resultobj
= 0;
27677 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27681 PyObject
*swig_obj
[1] ;
27683 if (!args
) SWIG_fail
;
27684 swig_obj
[0] = args
;
27685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27686 if (!SWIG_IsOK(res1
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27689 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27691 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27701 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27702 PyObject
*resultobj
= 0;
27703 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27706 int arg4
= (int) wxODDEVEN_RULE
;
27717 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27719 if (!SWIG_IsOK(res1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27722 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27723 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27724 if (!SWIG_IsOK(ecode2
)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27727 arg2
= static_cast< wxDouble
>(val2
);
27728 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27729 if (!SWIG_IsOK(ecode3
)) {
27730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27732 arg3
= static_cast< wxDouble
>(val3
);
27734 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27735 if (!SWIG_IsOK(ecode4
)) {
27736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27738 arg4
= static_cast< int >(val4
);
27741 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27753 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27754 PyObject
*resultobj
= 0;
27755 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27756 wxPoint2D
*arg2
= 0 ;
27757 int arg3
= (int) wxODDEVEN_RULE
;
27765 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27767 if (!SWIG_IsOK(res1
)) {
27768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27770 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27773 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27776 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27777 if (!SWIG_IsOK(ecode3
)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27780 arg3
= static_cast< int >(val3
);
27783 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27795 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27799 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27801 if ((argc
>= 2) && (argc
<= 3)) {
27805 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27808 if (!_v
) goto check_1
;
27812 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27813 _v
= SWIG_CheckState(res
);
27816 if (!_v
) goto check_1
;
27818 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27822 if ((argc
>= 3) && (argc
<= 4)) {
27823 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27827 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27832 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27835 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27836 return SWIG_Py_Void();
27839 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27840 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27845 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27846 PyObject
*pyobj
= 0;
27848 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27853 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27854 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27859 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27860 PyObject
*pyobj
= 0;
27862 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27867 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27868 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27873 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27874 PyObject
*pyobj
= 0;
27876 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27881 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27882 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27887 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27888 PyObject
*pyobj
= 0;
27890 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27895 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27896 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27901 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27902 PyObject
*pyobj
= 0;
27904 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27909 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27910 PyObject
*resultobj
= 0;
27911 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27914 PyObject
*swig_obj
[1] ;
27916 if (!args
) SWIG_fail
;
27917 swig_obj
[0] = args
;
27918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27919 if (!SWIG_IsOK(res1
)) {
27920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27922 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 resultobj
= SWIG_Py_Void();
27935 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27936 PyObject
*resultobj
= 0;
27937 wxWindowDC
*arg1
= 0 ;
27938 wxGraphicsContext
*result
= 0 ;
27942 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27944 if (!SWIG_IsOK(res1
)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27950 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27952 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27962 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27963 PyObject
*resultobj
= 0;
27964 wxWindow
*arg1
= (wxWindow
*) 0 ;
27965 wxGraphicsContext
*result
= 0 ;
27969 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27971 if (!SWIG_IsOK(res1
)) {
27972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27974 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27976 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27986 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27990 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27995 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27996 _v
= SWIG_CheckState(res
);
27998 if (!_v
) goto check_1
;
27999 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28004 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28008 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28013 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28014 PyObject
*resultobj
= 0;
28015 wxGraphicsContext
*result
= 0 ;
28017 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28019 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28020 if (PyErr_Occurred()) SWIG_fail
;
28022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28029 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28030 PyObject
*resultobj
= 0;
28031 void *arg1
= (void *) 0 ;
28032 wxGraphicsContext
*result
= 0 ;
28034 PyObject
* obj0
= 0 ;
28035 char * kwnames
[] = {
28036 (char *) "context", NULL
28039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28040 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28041 if (!SWIG_IsOK(res1
)) {
28042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28045 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28055 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
= 0;
28057 void *arg1
= (void *) 0 ;
28058 wxGraphicsContext
*result
= 0 ;
28060 PyObject
* obj0
= 0 ;
28061 char * kwnames
[] = {
28062 (char *) "window", NULL
28065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28066 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28067 if (!SWIG_IsOK(res1
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28071 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28081 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28082 PyObject
*resultobj
= 0;
28083 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28084 wxGraphicsPath result
;
28087 PyObject
*swig_obj
[1] ;
28089 if (!args
) SWIG_fail
;
28090 swig_obj
[0] = args
;
28091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28092 if (!SWIG_IsOK(res1
)) {
28093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28095 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28097 result
= (arg1
)->CreatePath();
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28107 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
= 0;
28109 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28111 wxGraphicsPen result
;
28116 PyObject
* obj0
= 0 ;
28117 PyObject
* obj1
= 0 ;
28118 char * kwnames
[] = {
28119 (char *) "self",(char *) "pen", NULL
28122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28127 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28129 if (!SWIG_IsOK(res2
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28135 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28137 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28147 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
= 0;
28149 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28150 wxBrush
*arg2
= 0 ;
28151 wxGraphicsBrush result
;
28156 PyObject
* obj0
= 0 ;
28157 PyObject
* obj1
= 0 ;
28158 char * kwnames
[] = {
28159 (char *) "self",(char *) "brush", NULL
28162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28164 if (!SWIG_IsOK(res1
)) {
28165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28167 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28169 if (!SWIG_IsOK(res2
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28175 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28177 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28180 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28187 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28188 PyObject
*resultobj
= 0;
28189 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28194 wxColour
*arg6
= 0 ;
28195 wxColour
*arg7
= 0 ;
28196 wxGraphicsBrush result
;
28209 PyObject
* obj0
= 0 ;
28210 PyObject
* obj1
= 0 ;
28211 PyObject
* obj2
= 0 ;
28212 PyObject
* obj3
= 0 ;
28213 PyObject
* obj4
= 0 ;
28214 PyObject
* obj5
= 0 ;
28215 PyObject
* obj6
= 0 ;
28216 char * kwnames
[] = {
28217 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28222 if (!SWIG_IsOK(res1
)) {
28223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28225 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28226 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28227 if (!SWIG_IsOK(ecode2
)) {
28228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28230 arg2
= static_cast< wxDouble
>(val2
);
28231 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28232 if (!SWIG_IsOK(ecode3
)) {
28233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28235 arg3
= static_cast< wxDouble
>(val3
);
28236 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28237 if (!SWIG_IsOK(ecode4
)) {
28238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28240 arg4
= static_cast< wxDouble
>(val4
);
28241 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28242 if (!SWIG_IsOK(ecode5
)) {
28243 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28245 arg5
= static_cast< wxDouble
>(val5
);
28248 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28252 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28255 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28265 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
= 0;
28267 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28273 wxColour
*arg7
= 0 ;
28274 wxColour
*arg8
= 0 ;
28275 wxGraphicsBrush result
;
28290 PyObject
* obj0
= 0 ;
28291 PyObject
* obj1
= 0 ;
28292 PyObject
* obj2
= 0 ;
28293 PyObject
* obj3
= 0 ;
28294 PyObject
* obj4
= 0 ;
28295 PyObject
* obj5
= 0 ;
28296 PyObject
* obj6
= 0 ;
28297 PyObject
* obj7
= 0 ;
28298 char * kwnames
[] = {
28299 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28304 if (!SWIG_IsOK(res1
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28307 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28308 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28309 if (!SWIG_IsOK(ecode2
)) {
28310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28312 arg2
= static_cast< wxDouble
>(val2
);
28313 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28314 if (!SWIG_IsOK(ecode3
)) {
28315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28317 arg3
= static_cast< wxDouble
>(val3
);
28318 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28319 if (!SWIG_IsOK(ecode4
)) {
28320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28322 arg4
= static_cast< wxDouble
>(val4
);
28323 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28324 if (!SWIG_IsOK(ecode5
)) {
28325 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28327 arg5
= static_cast< wxDouble
>(val5
);
28328 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28329 if (!SWIG_IsOK(ecode6
)) {
28330 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28332 arg6
= static_cast< wxDouble
>(val6
);
28335 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28339 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28342 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28352 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
= 0;
28354 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28356 wxColour
const &arg3_defvalue
= *wxBLACK
;
28357 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28358 wxGraphicsFont result
;
28364 PyObject
* obj0
= 0 ;
28365 PyObject
* obj1
= 0 ;
28366 PyObject
* obj2
= 0 ;
28367 char * kwnames
[] = {
28368 (char *) "self",(char *) "font",(char *) "col", NULL
28371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28373 if (!SWIG_IsOK(res1
)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28376 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28378 if (!SWIG_IsOK(res2
)) {
28379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28384 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28388 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28392 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28402 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
= 0;
28404 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28405 wxDouble arg2
= (wxDouble
) 1.0 ;
28406 wxDouble arg3
= (wxDouble
) 0.0 ;
28407 wxDouble arg4
= (wxDouble
) 0.0 ;
28408 wxDouble arg5
= (wxDouble
) 1.0 ;
28409 wxDouble arg6
= (wxDouble
) 0.0 ;
28410 wxDouble arg7
= (wxDouble
) 0.0 ;
28411 wxGraphicsMatrix result
;
28426 PyObject
* obj0
= 0 ;
28427 PyObject
* obj1
= 0 ;
28428 PyObject
* obj2
= 0 ;
28429 PyObject
* obj3
= 0 ;
28430 PyObject
* obj4
= 0 ;
28431 PyObject
* obj5
= 0 ;
28432 PyObject
* obj6
= 0 ;
28433 char * kwnames
[] = {
28434 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28439 if (!SWIG_IsOK(res1
)) {
28440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28442 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28444 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28445 if (!SWIG_IsOK(ecode2
)) {
28446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28448 arg2
= static_cast< wxDouble
>(val2
);
28451 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28452 if (!SWIG_IsOK(ecode3
)) {
28453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28455 arg3
= static_cast< wxDouble
>(val3
);
28458 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28459 if (!SWIG_IsOK(ecode4
)) {
28460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28462 arg4
= static_cast< wxDouble
>(val4
);
28465 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28466 if (!SWIG_IsOK(ecode5
)) {
28467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28469 arg5
= static_cast< wxDouble
>(val5
);
28472 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28473 if (!SWIG_IsOK(ecode6
)) {
28474 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28476 arg6
= static_cast< wxDouble
>(val6
);
28479 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28480 if (!SWIG_IsOK(ecode7
)) {
28481 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28483 arg7
= static_cast< wxDouble
>(val7
);
28486 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28487 if (PyErr_Occurred()) SWIG_fail
;
28489 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28496 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28497 PyObject
*resultobj
= 0;
28498 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28501 PyObject
*swig_obj
[1] ;
28503 if (!args
) SWIG_fail
;
28504 swig_obj
[0] = args
;
28505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28506 if (!SWIG_IsOK(res1
)) {
28507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28509 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28511 (arg1
)->PushState();
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= SWIG_Py_Void();
28521 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28522 PyObject
*resultobj
= 0;
28523 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28526 PyObject
*swig_obj
[1] ;
28528 if (!args
) SWIG_fail
;
28529 swig_obj
[0] = args
;
28530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28531 if (!SWIG_IsOK(res1
)) {
28532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28534 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28536 (arg1
)->PopState();
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 resultobj
= SWIG_Py_Void();
28546 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
= 0;
28548 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28549 wxRegion
*arg2
= 0 ;
28554 PyObject
* obj0
= 0 ;
28555 PyObject
* obj1
= 0 ;
28556 char * kwnames
[] = {
28557 (char *) "self",(char *) "region", NULL
28560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28562 if (!SWIG_IsOK(res1
)) {
28563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28565 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28566 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28567 if (!SWIG_IsOK(res2
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28573 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28575 (arg1
)->Clip((wxRegion
const &)*arg2
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_Py_Void();
28585 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
= 0;
28587 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 PyObject
* obj2
= 0 ;
28605 PyObject
* obj3
= 0 ;
28606 PyObject
* obj4
= 0 ;
28607 char * kwnames
[] = {
28608 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28613 if (!SWIG_IsOK(res1
)) {
28614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28616 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28617 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28618 if (!SWIG_IsOK(ecode2
)) {
28619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28621 arg2
= static_cast< wxDouble
>(val2
);
28622 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28623 if (!SWIG_IsOK(ecode3
)) {
28624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28626 arg3
= static_cast< wxDouble
>(val3
);
28627 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28628 if (!SWIG_IsOK(ecode4
)) {
28629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28631 arg4
= static_cast< wxDouble
>(val4
);
28632 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28633 if (!SWIG_IsOK(ecode5
)) {
28634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28636 arg5
= static_cast< wxDouble
>(val5
);
28638 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 resultobj
= SWIG_Py_Void();
28648 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28649 PyObject
*resultobj
= 0;
28650 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28653 PyObject
*swig_obj
[1] ;
28655 if (!args
) SWIG_fail
;
28656 swig_obj
[0] = args
;
28657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28658 if (!SWIG_IsOK(res1
)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28661 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28663 (arg1
)->ResetClip();
28664 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= SWIG_Py_Void();
28673 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28674 PyObject
*resultobj
= 0;
28675 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28679 PyObject
*swig_obj
[1] ;
28681 if (!args
) SWIG_fail
;
28682 swig_obj
[0] = args
;
28683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28684 if (!SWIG_IsOK(res1
)) {
28685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28687 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28689 result
= (void *)(arg1
)->GetNativeContext();
28690 if (PyErr_Occurred()) SWIG_fail
;
28692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28699 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28700 PyObject
*resultobj
= 0;
28701 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28705 PyObject
*swig_obj
[1] ;
28707 if (!args
) SWIG_fail
;
28708 swig_obj
[0] = args
;
28709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28710 if (!SWIG_IsOK(res1
)) {
28711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28713 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28715 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= SWIG_From_int(static_cast< int >(result
));
28725 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
= 0;
28727 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28734 PyObject
* obj0
= 0 ;
28735 PyObject
* obj1
= 0 ;
28736 char * kwnames
[] = {
28737 (char *) "self",(char *) "function", NULL
28740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28742 if (!SWIG_IsOK(res1
)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28745 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28747 if (!SWIG_IsOK(ecode2
)) {
28748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28750 arg2
= static_cast< int >(val2
);
28752 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28764 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28765 PyObject
*resultobj
= 0;
28766 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28775 PyObject
* obj0
= 0 ;
28776 PyObject
* obj1
= 0 ;
28777 PyObject
* obj2
= 0 ;
28778 char * kwnames
[] = {
28779 (char *) "self",(char *) "dx",(char *) "dy", NULL
28782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28784 if (!SWIG_IsOK(res1
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28787 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28788 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28789 if (!SWIG_IsOK(ecode2
)) {
28790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28792 arg2
= static_cast< wxDouble
>(val2
);
28793 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28794 if (!SWIG_IsOK(ecode3
)) {
28795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28797 arg3
= static_cast< wxDouble
>(val3
);
28799 (arg1
)->Translate(arg2
,arg3
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_Py_Void();
28809 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
= 0;
28811 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28820 PyObject
* obj0
= 0 ;
28821 PyObject
* obj1
= 0 ;
28822 PyObject
* obj2
= 0 ;
28823 char * kwnames
[] = {
28824 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28829 if (!SWIG_IsOK(res1
)) {
28830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28832 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28833 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28834 if (!SWIG_IsOK(ecode2
)) {
28835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28837 arg2
= static_cast< wxDouble
>(val2
);
28838 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28839 if (!SWIG_IsOK(ecode3
)) {
28840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28842 arg3
= static_cast< wxDouble
>(val3
);
28844 (arg1
)->Scale(arg2
,arg3
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= SWIG_Py_Void();
28854 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
= 0;
28856 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28862 PyObject
* obj0
= 0 ;
28863 PyObject
* obj1
= 0 ;
28864 char * kwnames
[] = {
28865 (char *) "self",(char *) "angle", NULL
28868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28870 if (!SWIG_IsOK(res1
)) {
28871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28873 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28874 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28875 if (!SWIG_IsOK(ecode2
)) {
28876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28878 arg2
= static_cast< wxDouble
>(val2
);
28880 (arg1
)->Rotate(arg2
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_Py_Void();
28890 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
= 0;
28892 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28893 wxGraphicsMatrix
*arg2
= 0 ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 char * kwnames
[] = {
28901 (char *) "self",(char *) "matrix", NULL
28904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28906 if (!SWIG_IsOK(res1
)) {
28907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28909 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28911 if (!SWIG_IsOK(res2
)) {
28912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28917 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28919 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28920 if (PyErr_Occurred()) SWIG_fail
;
28922 resultobj
= SWIG_Py_Void();
28929 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28930 PyObject
*resultobj
= 0;
28931 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28932 wxGraphicsMatrix
*arg2
= 0 ;
28937 PyObject
* obj0
= 0 ;
28938 PyObject
* obj1
= 0 ;
28939 char * kwnames
[] = {
28940 (char *) "self",(char *) "matrix", NULL
28943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28945 if (!SWIG_IsOK(res1
)) {
28946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28948 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28949 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28950 if (!SWIG_IsOK(res2
)) {
28951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28956 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28958 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_Py_Void();
28968 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28969 PyObject
*resultobj
= 0;
28970 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28971 wxGraphicsMatrix result
;
28974 PyObject
*swig_obj
[1] ;
28976 if (!args
) SWIG_fail
;
28977 swig_obj
[0] = args
;
28978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28979 if (!SWIG_IsOK(res1
)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28982 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28984 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28985 if (PyErr_Occurred()) SWIG_fail
;
28987 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28994 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28995 PyObject
*resultobj
= 0;
28996 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28997 wxGraphicsPen
*arg2
= 0 ;
29003 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29005 if (!SWIG_IsOK(res1
)) {
29006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29008 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29009 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29010 if (!SWIG_IsOK(res2
)) {
29011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29016 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29018 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 resultobj
= SWIG_Py_Void();
29028 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29029 PyObject
*resultobj
= 0;
29030 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29037 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29039 if (!SWIG_IsOK(res1
)) {
29040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29042 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29043 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29044 if (!SWIG_IsOK(res2
)) {
29045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29050 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29052 (arg1
)->SetPen((wxPen
const &)*arg2
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= SWIG_Py_Void();
29062 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29066 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29071 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29072 _v
= SWIG_CheckState(res
);
29074 if (!_v
) goto check_1
;
29075 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29080 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29084 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29089 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29090 PyObject
*resultobj
= 0;
29091 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29092 wxGraphicsBrush
*arg2
= 0 ;
29098 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29100 if (!SWIG_IsOK(res1
)) {
29101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29103 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29104 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29105 if (!SWIG_IsOK(res2
)) {
29106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29111 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29113 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= SWIG_Py_Void();
29123 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29124 PyObject
*resultobj
= 0;
29125 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29126 wxBrush
*arg2
= 0 ;
29132 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29134 if (!SWIG_IsOK(res1
)) {
29135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29137 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29138 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29139 if (!SWIG_IsOK(res2
)) {
29140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29145 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29147 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= SWIG_Py_Void();
29157 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29161 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29166 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29167 _v
= SWIG_CheckState(res
);
29169 if (!_v
) goto check_1
;
29170 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29175 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29179 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29184 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29185 PyObject
*resultobj
= 0;
29186 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29187 wxGraphicsFont
*arg2
= 0 ;
29193 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29195 if (!SWIG_IsOK(res1
)) {
29196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29198 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29199 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29200 if (!SWIG_IsOK(res2
)) {
29201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29206 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29208 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_Py_Void();
29218 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29219 PyObject
*resultobj
= 0;
29220 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29222 wxColour
const &arg3_defvalue
= *wxBLACK
;
29223 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29230 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29232 if (!SWIG_IsOK(res1
)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29235 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29236 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29237 if (!SWIG_IsOK(res2
)) {
29238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29243 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29247 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29251 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= SWIG_Py_Void();
29261 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29265 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29270 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29271 _v
= SWIG_CheckState(res
);
29273 if (!_v
) goto check_1
;
29274 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29278 if ((argc
>= 2) && (argc
<= 3)) {
29279 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29283 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29288 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29289 PyObject
*resultobj
= 0;
29290 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29291 wxGraphicsPath
*arg2
= 0 ;
29296 PyObject
* obj0
= 0 ;
29297 PyObject
* obj1
= 0 ;
29298 char * kwnames
[] = {
29299 (char *) "self",(char *) "path", NULL
29302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29304 if (!SWIG_IsOK(res1
)) {
29305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29307 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29308 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29309 if (!SWIG_IsOK(res2
)) {
29310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29315 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29317 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= SWIG_Py_Void();
29327 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
= 0;
29329 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29330 wxGraphicsPath
*arg2
= 0 ;
29331 int arg3
= (int) wxODDEVEN_RULE
;
29338 PyObject
* obj0
= 0 ;
29339 PyObject
* obj1
= 0 ;
29340 PyObject
* obj2
= 0 ;
29341 char * kwnames
[] = {
29342 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29347 if (!SWIG_IsOK(res1
)) {
29348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29350 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29352 if (!SWIG_IsOK(res2
)) {
29353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29358 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29361 if (!SWIG_IsOK(ecode3
)) {
29362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29364 arg3
= static_cast< int >(val3
);
29367 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= SWIG_Py_Void();
29377 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
= 0;
29379 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29380 wxGraphicsPath
*arg2
= 0 ;
29381 int arg3
= (int) wxODDEVEN_RULE
;
29388 PyObject
* obj0
= 0 ;
29389 PyObject
* obj1
= 0 ;
29390 PyObject
* obj2
= 0 ;
29391 char * kwnames
[] = {
29392 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29397 if (!SWIG_IsOK(res1
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29400 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29402 if (!SWIG_IsOK(res2
)) {
29403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29408 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29411 if (!SWIG_IsOK(ecode3
)) {
29412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29414 arg3
= static_cast< int >(val3
);
29417 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= SWIG_Py_Void();
29427 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
= 0;
29429 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29430 wxString
*arg2
= 0 ;
29433 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29434 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29437 bool temp2
= false ;
29444 PyObject
* obj0
= 0 ;
29445 PyObject
* obj1
= 0 ;
29446 PyObject
* obj2
= 0 ;
29447 PyObject
* obj3
= 0 ;
29448 PyObject
* obj4
= 0 ;
29449 char * kwnames
[] = {
29450 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29455 if (!SWIG_IsOK(res1
)) {
29456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29458 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29460 arg2
= wxString_in_helper(obj1
);
29461 if (arg2
== NULL
) SWIG_fail
;
29464 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29465 if (!SWIG_IsOK(ecode3
)) {
29466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29468 arg3
= static_cast< wxDouble
>(val3
);
29469 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29470 if (!SWIG_IsOK(ecode4
)) {
29471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29473 arg4
= static_cast< wxDouble
>(val4
);
29475 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29476 if (!SWIG_IsOK(res5
)) {
29477 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29482 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29485 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= SWIG_Py_Void();
29503 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
= 0;
29505 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29506 wxString
*arg2
= 0 ;
29510 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29511 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29514 bool temp2
= false ;
29523 PyObject
* obj0
= 0 ;
29524 PyObject
* obj1
= 0 ;
29525 PyObject
* obj2
= 0 ;
29526 PyObject
* obj3
= 0 ;
29527 PyObject
* obj4
= 0 ;
29528 PyObject
* obj5
= 0 ;
29529 char * kwnames
[] = {
29530 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29535 if (!SWIG_IsOK(res1
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29538 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29540 arg2
= wxString_in_helper(obj1
);
29541 if (arg2
== NULL
) SWIG_fail
;
29544 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29545 if (!SWIG_IsOK(ecode3
)) {
29546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29548 arg3
= static_cast< wxDouble
>(val3
);
29549 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29550 if (!SWIG_IsOK(ecode4
)) {
29551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29553 arg4
= static_cast< wxDouble
>(val4
);
29554 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29555 if (!SWIG_IsOK(ecode5
)) {
29556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29558 arg5
= static_cast< wxDouble
>(val5
);
29560 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29561 if (!SWIG_IsOK(res6
)) {
29562 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29567 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29570 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= SWIG_Py_Void();
29588 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29589 PyObject
*resultobj
= 0;
29590 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29591 wxString
*arg2
= 0 ;
29592 wxDouble
*arg3
= (wxDouble
*) 0 ;
29593 wxDouble
*arg4
= (wxDouble
*) 0 ;
29594 wxDouble
*arg5
= (wxDouble
*) 0 ;
29595 wxDouble
*arg6
= (wxDouble
*) 0 ;
29598 bool temp2
= false ;
29600 int res3
= SWIG_TMPOBJ
;
29602 int res4
= SWIG_TMPOBJ
;
29604 int res5
= SWIG_TMPOBJ
;
29606 int res6
= SWIG_TMPOBJ
;
29607 PyObject
* obj0
= 0 ;
29608 PyObject
* obj1
= 0 ;
29609 char * kwnames
[] = {
29610 (char *) "self",(char *) "text", NULL
29617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29619 if (!SWIG_IsOK(res1
)) {
29620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29622 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29624 arg2
= wxString_in_helper(obj1
);
29625 if (arg2
== NULL
) SWIG_fail
;
29629 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29632 resultobj
= SWIG_Py_Void();
29633 if (SWIG_IsTmpObj(res3
)) {
29634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29636 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29639 if (SWIG_IsTmpObj(res4
)) {
29640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29642 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29645 if (SWIG_IsTmpObj(res5
)) {
29646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29648 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29651 if (SWIG_IsTmpObj(res6
)) {
29652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29654 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29671 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29672 PyObject
*resultobj
= 0;
29673 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29674 wxString
*arg2
= 0 ;
29675 PyObject
*result
= 0 ;
29678 bool temp2
= false ;
29679 PyObject
* obj0
= 0 ;
29680 PyObject
* obj1
= 0 ;
29681 char * kwnames
[] = {
29682 (char *) "self",(char *) "text", NULL
29685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29687 if (!SWIG_IsOK(res1
)) {
29688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29690 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29692 arg2
= wxString_in_helper(obj1
);
29693 if (arg2
== NULL
) SWIG_fail
;
29697 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29700 resultobj
= result
;
29715 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29716 PyObject
*resultobj
= 0;
29717 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29718 wxString
*arg2
= 0 ;
29719 wxArrayDouble result
;
29722 bool temp2
= false ;
29723 PyObject
* obj0
= 0 ;
29724 PyObject
* obj1
= 0 ;
29725 char * kwnames
[] = {
29726 (char *) "self",(char *) "text", NULL
29729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29731 if (!SWIG_IsOK(res1
)) {
29732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29734 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29736 arg2
= wxString_in_helper(obj1
);
29737 if (arg2
== NULL
) SWIG_fail
;
29741 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29742 if (PyErr_Occurred()) SWIG_fail
;
29745 resultobj
= wxArrayDouble2PyList_helper(result
);
29761 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29762 PyObject
*resultobj
= 0;
29763 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29764 wxBitmap
*arg2
= 0 ;
29781 PyObject
* obj0
= 0 ;
29782 PyObject
* obj1
= 0 ;
29783 PyObject
* obj2
= 0 ;
29784 PyObject
* obj3
= 0 ;
29785 PyObject
* obj4
= 0 ;
29786 PyObject
* obj5
= 0 ;
29787 char * kwnames
[] = {
29788 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29793 if (!SWIG_IsOK(res1
)) {
29794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29796 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29798 if (!SWIG_IsOK(res2
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29804 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29805 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29806 if (!SWIG_IsOK(ecode3
)) {
29807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29809 arg3
= static_cast< wxDouble
>(val3
);
29810 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29811 if (!SWIG_IsOK(ecode4
)) {
29812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29814 arg4
= static_cast< wxDouble
>(val4
);
29815 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29816 if (!SWIG_IsOK(ecode5
)) {
29817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29819 arg5
= static_cast< wxDouble
>(val5
);
29820 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29821 if (!SWIG_IsOK(ecode6
)) {
29822 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29824 arg6
= static_cast< wxDouble
>(val6
);
29826 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 resultobj
= SWIG_Py_Void();
29836 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
= 0;
29838 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 PyObject
* obj2
= 0 ;
29859 PyObject
* obj3
= 0 ;
29860 PyObject
* obj4
= 0 ;
29861 PyObject
* obj5
= 0 ;
29862 char * kwnames
[] = {
29863 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29868 if (!SWIG_IsOK(res1
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29871 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29873 if (!SWIG_IsOK(res2
)) {
29874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29879 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29880 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29881 if (!SWIG_IsOK(ecode3
)) {
29882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29884 arg3
= static_cast< wxDouble
>(val3
);
29885 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29886 if (!SWIG_IsOK(ecode4
)) {
29887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29889 arg4
= static_cast< wxDouble
>(val4
);
29890 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29891 if (!SWIG_IsOK(ecode5
)) {
29892 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29894 arg5
= static_cast< wxDouble
>(val5
);
29895 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29896 if (!SWIG_IsOK(ecode6
)) {
29897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29899 arg6
= static_cast< wxDouble
>(val6
);
29901 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= SWIG_Py_Void();
29911 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
= 0;
29913 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29928 PyObject
* obj0
= 0 ;
29929 PyObject
* obj1
= 0 ;
29930 PyObject
* obj2
= 0 ;
29931 PyObject
* obj3
= 0 ;
29932 PyObject
* obj4
= 0 ;
29933 char * kwnames
[] = {
29934 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29939 if (!SWIG_IsOK(res1
)) {
29940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29942 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29943 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29944 if (!SWIG_IsOK(ecode2
)) {
29945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29947 arg2
= static_cast< wxDouble
>(val2
);
29948 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29949 if (!SWIG_IsOK(ecode3
)) {
29950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29952 arg3
= static_cast< wxDouble
>(val3
);
29953 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29954 if (!SWIG_IsOK(ecode4
)) {
29955 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29957 arg4
= static_cast< wxDouble
>(val4
);
29958 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29959 if (!SWIG_IsOK(ecode5
)) {
29960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29962 arg5
= static_cast< wxDouble
>(val5
);
29964 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29967 resultobj
= SWIG_Py_Void();
29974 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29975 PyObject
*resultobj
= 0;
29976 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29978 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 char * kwnames
[] = {
29984 (char *) "self",(char *) "points", NULL
29987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29989 if (!SWIG_IsOK(res1
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29992 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29994 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29995 if (arg3
== NULL
) SWIG_fail
;
29998 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= SWIG_Py_Void();
30003 if (arg3
) delete [] arg3
;
30008 if (arg3
) delete [] arg3
;
30014 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30015 PyObject
*resultobj
= 0;
30016 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30017 PyObject
*arg2
= (PyObject
*) 0 ;
30018 PyObject
*arg3
= (PyObject
*) 0 ;
30021 PyObject
* obj0
= 0 ;
30022 PyObject
* obj1
= 0 ;
30023 PyObject
* obj2
= 0 ;
30024 char * kwnames
[] = {
30025 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30030 if (!SWIG_IsOK(res1
)) {
30031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30033 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30037 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= SWIG_Py_Void();
30047 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
= 0;
30049 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30051 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30052 int arg4
= (int) wxODDEVEN_RULE
;
30057 PyObject
* obj0
= 0 ;
30058 PyObject
* obj1
= 0 ;
30059 PyObject
* obj2
= 0 ;
30060 char * kwnames
[] = {
30061 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30066 if (!SWIG_IsOK(res1
)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30069 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30071 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30072 if (arg3
== NULL
) SWIG_fail
;
30075 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30076 if (!SWIG_IsOK(ecode4
)) {
30077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30079 arg4
= static_cast< int >(val4
);
30082 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30085 resultobj
= SWIG_Py_Void();
30087 if (arg3
) delete [] arg3
;
30092 if (arg3
) delete [] arg3
;
30098 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
= 0;
30100 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30115 PyObject
* obj0
= 0 ;
30116 PyObject
* obj1
= 0 ;
30117 PyObject
* obj2
= 0 ;
30118 PyObject
* obj3
= 0 ;
30119 PyObject
* obj4
= 0 ;
30120 char * kwnames
[] = {
30121 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30126 if (!SWIG_IsOK(res1
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30129 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30130 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30131 if (!SWIG_IsOK(ecode2
)) {
30132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30134 arg2
= static_cast< wxDouble
>(val2
);
30135 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30136 if (!SWIG_IsOK(ecode3
)) {
30137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30139 arg3
= static_cast< wxDouble
>(val3
);
30140 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30141 if (!SWIG_IsOK(ecode4
)) {
30142 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30144 arg4
= static_cast< wxDouble
>(val4
);
30145 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30146 if (!SWIG_IsOK(ecode5
)) {
30147 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30149 arg5
= static_cast< wxDouble
>(val5
);
30151 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30152 if (PyErr_Occurred()) SWIG_fail
;
30154 resultobj
= SWIG_Py_Void();
30161 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30162 PyObject
*resultobj
= 0;
30163 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 PyObject
* obj2
= 0 ;
30181 PyObject
* obj3
= 0 ;
30182 PyObject
* obj4
= 0 ;
30183 char * kwnames
[] = {
30184 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30189 if (!SWIG_IsOK(res1
)) {
30190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30192 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30193 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30194 if (!SWIG_IsOK(ecode2
)) {
30195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30197 arg2
= static_cast< wxDouble
>(val2
);
30198 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30199 if (!SWIG_IsOK(ecode3
)) {
30200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30202 arg3
= static_cast< wxDouble
>(val3
);
30203 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30204 if (!SWIG_IsOK(ecode4
)) {
30205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30207 arg4
= static_cast< wxDouble
>(val4
);
30208 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30209 if (!SWIG_IsOK(ecode5
)) {
30210 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30212 arg5
= static_cast< wxDouble
>(val5
);
30214 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= SWIG_Py_Void();
30224 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
= 0;
30226 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30244 PyObject
* obj0
= 0 ;
30245 PyObject
* obj1
= 0 ;
30246 PyObject
* obj2
= 0 ;
30247 PyObject
* obj3
= 0 ;
30248 PyObject
* obj4
= 0 ;
30249 PyObject
* obj5
= 0 ;
30250 char * kwnames
[] = {
30251 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30256 if (!SWIG_IsOK(res1
)) {
30257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30259 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30260 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30261 if (!SWIG_IsOK(ecode2
)) {
30262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30264 arg2
= static_cast< wxDouble
>(val2
);
30265 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30266 if (!SWIG_IsOK(ecode3
)) {
30267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30269 arg3
= static_cast< wxDouble
>(val3
);
30270 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30271 if (!SWIG_IsOK(ecode4
)) {
30272 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30274 arg4
= static_cast< wxDouble
>(val4
);
30275 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30276 if (!SWIG_IsOK(ecode5
)) {
30277 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30279 arg5
= static_cast< wxDouble
>(val5
);
30280 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30281 if (!SWIG_IsOK(ecode6
)) {
30282 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30284 arg6
= static_cast< wxDouble
>(val6
);
30286 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30289 resultobj
= SWIG_Py_Void();
30296 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30297 PyObject
*resultobj
= 0;
30298 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30302 PyObject
*swig_obj
[1] ;
30304 if (!args
) SWIG_fail
;
30305 swig_obj
[0] = args
;
30306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30307 if (!SWIG_IsOK(res1
)) {
30308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30310 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30312 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30313 if (PyErr_Occurred()) SWIG_fail
;
30316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30324 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30327 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30328 return SWIG_Py_Void();
30331 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30332 PyObject
*resultobj
= 0;
30333 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30336 PyObject
*swig_obj
[1] ;
30338 if (!args
) SWIG_fail
;
30339 swig_obj
[0] = args
;
30340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30341 if (!SWIG_IsOK(res1
)) {
30342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30344 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 resultobj
= SWIG_Py_Void();
30357 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30358 PyObject
*resultobj
= 0;
30359 wxGraphicsRenderer
*result
= 0 ;
30361 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30363 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30364 if (PyErr_Occurred()) SWIG_fail
;
30366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30373 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30374 PyObject
*resultobj
= 0;
30375 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30376 wxWindowDC
*arg2
= 0 ;
30377 wxGraphicsContext
*result
= 0 ;
30383 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30385 if (!SWIG_IsOK(res1
)) {
30386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30388 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30389 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30390 if (!SWIG_IsOK(res2
)) {
30391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30396 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30398 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30408 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30409 PyObject
*resultobj
= 0;
30410 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30411 wxWindow
*arg2
= (wxWindow
*) 0 ;
30412 wxGraphicsContext
*result
= 0 ;
30418 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30420 if (!SWIG_IsOK(res1
)) {
30421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30423 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30424 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30425 if (!SWIG_IsOK(res2
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30428 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30430 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30440 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30444 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30449 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30450 _v
= SWIG_CheckState(res
);
30452 if (!_v
) goto check_1
;
30453 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30458 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30462 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30467 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30468 PyObject
*resultobj
= 0;
30469 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30470 wxGraphicsContext
*result
= 0 ;
30473 PyObject
*swig_obj
[1] ;
30475 if (!args
) SWIG_fail
;
30476 swig_obj
[0] = args
;
30477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30478 if (!SWIG_IsOK(res1
)) {
30479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30481 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30483 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30484 if (PyErr_Occurred()) SWIG_fail
;
30486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30493 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
= 0;
30495 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30496 void *arg2
= (void *) 0 ;
30497 wxGraphicsContext
*result
= 0 ;
30501 PyObject
* obj0
= 0 ;
30502 PyObject
* obj1
= 0 ;
30503 char * kwnames
[] = {
30504 (char *) "self",(char *) "context", NULL
30507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30509 if (!SWIG_IsOK(res1
)) {
30510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30512 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30513 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30514 if (!SWIG_IsOK(res2
)) {
30515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30518 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30528 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
= 0;
30530 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30531 void *arg2
= (void *) 0 ;
30532 wxGraphicsContext
*result
= 0 ;
30536 PyObject
* obj0
= 0 ;
30537 PyObject
* obj1
= 0 ;
30538 char * kwnames
[] = {
30539 (char *) "self",(char *) "window", NULL
30542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30544 if (!SWIG_IsOK(res1
)) {
30545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30547 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30548 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30549 if (!SWIG_IsOK(res2
)) {
30550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30553 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30563 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30564 PyObject
*resultobj
= 0;
30565 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30566 wxGraphicsPath result
;
30569 PyObject
*swig_obj
[1] ;
30571 if (!args
) SWIG_fail
;
30572 swig_obj
[0] = args
;
30573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30574 if (!SWIG_IsOK(res1
)) {
30575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30577 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30579 result
= (arg1
)->CreatePath();
30580 if (PyErr_Occurred()) SWIG_fail
;
30582 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30589 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30590 PyObject
*resultobj
= 0;
30591 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30592 wxDouble arg2
= (wxDouble
) 1.0 ;
30593 wxDouble arg3
= (wxDouble
) 0.0 ;
30594 wxDouble arg4
= (wxDouble
) 0.0 ;
30595 wxDouble arg5
= (wxDouble
) 1.0 ;
30596 wxDouble arg6
= (wxDouble
) 0.0 ;
30597 wxDouble arg7
= (wxDouble
) 0.0 ;
30598 wxGraphicsMatrix result
;
30613 PyObject
* obj0
= 0 ;
30614 PyObject
* obj1
= 0 ;
30615 PyObject
* obj2
= 0 ;
30616 PyObject
* obj3
= 0 ;
30617 PyObject
* obj4
= 0 ;
30618 PyObject
* obj5
= 0 ;
30619 PyObject
* obj6
= 0 ;
30620 char * kwnames
[] = {
30621 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30626 if (!SWIG_IsOK(res1
)) {
30627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30629 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30631 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30632 if (!SWIG_IsOK(ecode2
)) {
30633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30635 arg2
= static_cast< wxDouble
>(val2
);
30638 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30639 if (!SWIG_IsOK(ecode3
)) {
30640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30642 arg3
= static_cast< wxDouble
>(val3
);
30645 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30646 if (!SWIG_IsOK(ecode4
)) {
30647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30649 arg4
= static_cast< wxDouble
>(val4
);
30652 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30653 if (!SWIG_IsOK(ecode5
)) {
30654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30656 arg5
= static_cast< wxDouble
>(val5
);
30659 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30660 if (!SWIG_IsOK(ecode6
)) {
30661 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30663 arg6
= static_cast< wxDouble
>(val6
);
30666 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30667 if (!SWIG_IsOK(ecode7
)) {
30668 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30670 arg7
= static_cast< wxDouble
>(val7
);
30673 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30674 if (PyErr_Occurred()) SWIG_fail
;
30676 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30683 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30684 PyObject
*resultobj
= 0;
30685 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30687 wxGraphicsPen result
;
30692 PyObject
* obj0
= 0 ;
30693 PyObject
* obj1
= 0 ;
30694 char * kwnames
[] = {
30695 (char *) "self",(char *) "pen", NULL
30698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30700 if (!SWIG_IsOK(res1
)) {
30701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30703 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30705 if (!SWIG_IsOK(res2
)) {
30706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30711 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30713 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30723 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30724 PyObject
*resultobj
= 0;
30725 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30726 wxBrush
*arg2
= 0 ;
30727 wxGraphicsBrush result
;
30732 PyObject
* obj0
= 0 ;
30733 PyObject
* obj1
= 0 ;
30734 char * kwnames
[] = {
30735 (char *) "self",(char *) "brush", NULL
30738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30740 if (!SWIG_IsOK(res1
)) {
30741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30743 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30745 if (!SWIG_IsOK(res2
)) {
30746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30751 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30753 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30756 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30763 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30764 PyObject
*resultobj
= 0;
30765 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30770 wxColour
*arg6
= 0 ;
30771 wxColour
*arg7
= 0 ;
30772 wxGraphicsBrush result
;
30785 PyObject
* obj0
= 0 ;
30786 PyObject
* obj1
= 0 ;
30787 PyObject
* obj2
= 0 ;
30788 PyObject
* obj3
= 0 ;
30789 PyObject
* obj4
= 0 ;
30790 PyObject
* obj5
= 0 ;
30791 PyObject
* obj6
= 0 ;
30792 char * kwnames
[] = {
30793 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30798 if (!SWIG_IsOK(res1
)) {
30799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30801 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30802 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30803 if (!SWIG_IsOK(ecode2
)) {
30804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30806 arg2
= static_cast< wxDouble
>(val2
);
30807 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30808 if (!SWIG_IsOK(ecode3
)) {
30809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30811 arg3
= static_cast< wxDouble
>(val3
);
30812 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30813 if (!SWIG_IsOK(ecode4
)) {
30814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30816 arg4
= static_cast< wxDouble
>(val4
);
30817 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30818 if (!SWIG_IsOK(ecode5
)) {
30819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30821 arg5
= static_cast< wxDouble
>(val5
);
30824 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30828 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30831 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30834 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30841 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
= 0;
30843 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30849 wxColour
*arg7
= 0 ;
30850 wxColour
*arg8
= 0 ;
30851 wxGraphicsBrush result
;
30866 PyObject
* obj0
= 0 ;
30867 PyObject
* obj1
= 0 ;
30868 PyObject
* obj2
= 0 ;
30869 PyObject
* obj3
= 0 ;
30870 PyObject
* obj4
= 0 ;
30871 PyObject
* obj5
= 0 ;
30872 PyObject
* obj6
= 0 ;
30873 PyObject
* obj7
= 0 ;
30874 char * kwnames
[] = {
30875 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30880 if (!SWIG_IsOK(res1
)) {
30881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30883 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30884 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30885 if (!SWIG_IsOK(ecode2
)) {
30886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30888 arg2
= static_cast< wxDouble
>(val2
);
30889 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30890 if (!SWIG_IsOK(ecode3
)) {
30891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30893 arg3
= static_cast< wxDouble
>(val3
);
30894 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30895 if (!SWIG_IsOK(ecode4
)) {
30896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30898 arg4
= static_cast< wxDouble
>(val4
);
30899 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30900 if (!SWIG_IsOK(ecode5
)) {
30901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30903 arg5
= static_cast< wxDouble
>(val5
);
30904 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30905 if (!SWIG_IsOK(ecode6
)) {
30906 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30908 arg6
= static_cast< wxDouble
>(val6
);
30911 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30915 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30918 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30921 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30928 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30929 PyObject
*resultobj
= 0;
30930 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30932 wxColour
const &arg3_defvalue
= *wxBLACK
;
30933 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30934 wxGraphicsFont result
;
30940 PyObject
* obj0
= 0 ;
30941 PyObject
* obj1
= 0 ;
30942 PyObject
* obj2
= 0 ;
30943 char * kwnames
[] = {
30944 (char *) "self",(char *) "font",(char *) "col", NULL
30947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30949 if (!SWIG_IsOK(res1
)) {
30950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30952 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30954 if (!SWIG_IsOK(res2
)) {
30955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30960 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30964 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30968 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30971 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30978 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30981 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30982 return SWIG_Py_Void();
30985 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30986 PyObject
*resultobj
= 0;
30987 wxWindowDC
*arg1
= 0 ;
30988 wxGCDC
*result
= 0 ;
30992 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30994 if (!SWIG_IsOK(res1
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31000 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31002 if (!wxPyCheckForApp()) SWIG_fail
;
31003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31015 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31016 PyObject
*resultobj
= 0;
31017 wxWindow
*arg1
= (wxWindow
*) 0 ;
31018 wxGCDC
*result
= 0 ;
31022 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31024 if (!SWIG_IsOK(res1
)) {
31025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31029 if (!wxPyCheckForApp()) SWIG_fail
;
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 result
= (wxGCDC
*)new wxGCDC(arg1
);
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31042 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31046 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31051 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31052 _v
= SWIG_CheckState(res
);
31054 if (!_v
) goto check_1
;
31055 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31060 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31064 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31069 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31070 PyObject
*resultobj
= 0;
31071 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31074 PyObject
*swig_obj
[1] ;
31076 if (!args
) SWIG_fail
;
31077 swig_obj
[0] = args
;
31078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31079 if (!SWIG_IsOK(res1
)) {
31080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31082 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31086 if (PyErr_Occurred()) SWIG_fail
;
31088 resultobj
= SWIG_Py_Void();
31095 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31096 PyObject
*resultobj
= 0;
31097 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31098 wxGraphicsContext
*result
= 0 ;
31101 PyObject
*swig_obj
[1] ;
31103 if (!args
) SWIG_fail
;
31104 swig_obj
[0] = args
;
31105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31106 if (!SWIG_IsOK(res1
)) {
31107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31109 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31111 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31121 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
= 0;
31123 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31124 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31129 PyObject
* obj0
= 0 ;
31130 PyObject
* obj1
= 0 ;
31131 char * kwnames
[] = {
31132 (char *) "self",(char *) "ctx", NULL
31135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31137 if (!SWIG_IsOK(res1
)) {
31138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31140 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31142 if (!SWIG_IsOK(res2
)) {
31143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31145 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31147 (arg1
)->SetGraphicsContext(arg2
);
31148 if (PyErr_Occurred()) SWIG_fail
;
31150 resultobj
= SWIG_Py_Void();
31157 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31160 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31161 return SWIG_Py_Void();
31164 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31165 return SWIG_Python_InitShadowInstance(args
);
31168 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31169 PyObject
*resultobj
= 0;
31170 wxOverlay
*result
= 0 ;
31172 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31175 result
= (wxOverlay
*)new wxOverlay();
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31186 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31187 PyObject
*resultobj
= 0;
31188 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31191 PyObject
*swig_obj
[1] ;
31193 if (!args
) SWIG_fail
;
31194 swig_obj
[0] = args
;
31195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31196 if (!SWIG_IsOK(res1
)) {
31197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31199 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 resultobj
= SWIG_Py_Void();
31214 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31215 PyObject
*resultobj
= 0;
31216 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31219 PyObject
*swig_obj
[1] ;
31221 if (!args
) SWIG_fail
;
31222 swig_obj
[0] = args
;
31223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31224 if (!SWIG_IsOK(res1
)) {
31225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31227 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31234 resultobj
= SWIG_Py_Void();
31241 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31244 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31245 return SWIG_Py_Void();
31248 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31249 return SWIG_Python_InitShadowInstance(args
);
31252 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31253 PyObject
*resultobj
= 0;
31254 wxOverlay
*arg1
= 0 ;
31255 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31260 wxDCOverlay
*result
= 0 ;
31274 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31276 if (!SWIG_IsOK(res1
)) {
31277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31282 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31283 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31284 if (!SWIG_IsOK(res2
)) {
31285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31287 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31288 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31289 if (!SWIG_IsOK(ecode3
)) {
31290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31292 arg3
= static_cast< int >(val3
);
31293 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31294 if (!SWIG_IsOK(ecode4
)) {
31295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31297 arg4
= static_cast< int >(val4
);
31298 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31299 if (!SWIG_IsOK(ecode5
)) {
31300 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31302 arg5
= static_cast< int >(val5
);
31303 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31304 if (!SWIG_IsOK(ecode6
)) {
31305 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31307 arg6
= static_cast< int >(val6
);
31309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31310 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31311 wxPyEndAllowThreads(__tstate
);
31312 if (PyErr_Occurred()) SWIG_fail
;
31314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31321 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31322 PyObject
*resultobj
= 0;
31323 wxOverlay
*arg1
= 0 ;
31324 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31325 wxDCOverlay
*result
= 0 ;
31331 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31333 if (!SWIG_IsOK(res1
)) {
31334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31339 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31340 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31341 if (!SWIG_IsOK(res2
)) {
31342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31344 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31358 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31362 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31365 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31368 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31372 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31377 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31378 PyObject
*resultobj
= 0;
31379 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31382 PyObject
*swig_obj
[1] ;
31384 if (!args
) SWIG_fail
;
31385 swig_obj
[0] = args
;
31386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31387 if (!SWIG_IsOK(res1
)) {
31388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31390 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 wxPyEndAllowThreads(__tstate
);
31396 if (PyErr_Occurred()) SWIG_fail
;
31398 resultobj
= SWIG_Py_Void();
31405 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31406 PyObject
*resultobj
= 0;
31407 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31410 PyObject
*swig_obj
[1] ;
31412 if (!args
) SWIG_fail
;
31413 swig_obj
[0] = args
;
31414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31415 if (!SWIG_IsOK(res1
)) {
31416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31418 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31422 wxPyEndAllowThreads(__tstate
);
31423 if (PyErr_Occurred()) SWIG_fail
;
31425 resultobj
= SWIG_Py_Void();
31432 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31435 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31436 return SWIG_Py_Void();
31439 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31440 return SWIG_Python_InitShadowInstance(args
);
31443 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31444 PyObject
*resultobj
= 0;
31447 int arg3
= (int) true ;
31448 int arg4
= (int) 1 ;
31449 wxImageList
*result
= 0 ;
31458 PyObject
* obj0
= 0 ;
31459 PyObject
* obj1
= 0 ;
31460 PyObject
* obj2
= 0 ;
31461 PyObject
* obj3
= 0 ;
31462 char * kwnames
[] = {
31463 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31467 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31468 if (!SWIG_IsOK(ecode1
)) {
31469 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31471 arg1
= static_cast< int >(val1
);
31472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31473 if (!SWIG_IsOK(ecode2
)) {
31474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31476 arg2
= static_cast< int >(val2
);
31478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31479 if (!SWIG_IsOK(ecode3
)) {
31480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31482 arg3
= static_cast< int >(val3
);
31485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31486 if (!SWIG_IsOK(ecode4
)) {
31487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31489 arg4
= static_cast< int >(val4
);
31492 if (!wxPyCheckForApp()) SWIG_fail
;
31493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31495 wxPyEndAllowThreads(__tstate
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31505 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31506 PyObject
*resultobj
= 0;
31507 wxImageList
*arg1
= (wxImageList
*) 0 ;
31510 PyObject
*swig_obj
[1] ;
31512 if (!args
) SWIG_fail
;
31513 swig_obj
[0] = args
;
31514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31515 if (!SWIG_IsOK(res1
)) {
31516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31518 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31523 wxPyEndAllowThreads(__tstate
);
31524 if (PyErr_Occurred()) SWIG_fail
;
31526 resultobj
= SWIG_Py_Void();
31533 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31534 PyObject
*resultobj
= 0;
31535 wxImageList
*arg1
= (wxImageList
*) 0 ;
31536 wxBitmap
*arg2
= 0 ;
31537 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31538 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31546 PyObject
* obj0
= 0 ;
31547 PyObject
* obj1
= 0 ;
31548 PyObject
* obj2
= 0 ;
31549 char * kwnames
[] = {
31550 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31555 if (!SWIG_IsOK(res1
)) {
31556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31558 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31560 if (!SWIG_IsOK(res2
)) {
31561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31566 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31568 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31569 if (!SWIG_IsOK(res3
)) {
31570 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31575 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31579 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31583 resultobj
= SWIG_From_int(static_cast< int >(result
));
31590 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
= 0;
31592 wxImageList
*arg1
= (wxImageList
*) 0 ;
31593 wxBitmap
*arg2
= 0 ;
31594 wxColour
*arg3
= 0 ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 PyObject
* obj2
= 0 ;
31604 char * kwnames
[] = {
31605 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31610 if (!SWIG_IsOK(res1
)) {
31611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31613 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31615 if (!SWIG_IsOK(res2
)) {
31616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31621 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31624 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31628 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31629 wxPyEndAllowThreads(__tstate
);
31630 if (PyErr_Occurred()) SWIG_fail
;
31632 resultobj
= SWIG_From_int(static_cast< int >(result
));
31639 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31640 PyObject
*resultobj
= 0;
31641 wxImageList
*arg1
= (wxImageList
*) 0 ;
31648 PyObject
* obj0
= 0 ;
31649 PyObject
* obj1
= 0 ;
31650 char * kwnames
[] = {
31651 (char *) "self",(char *) "icon", NULL
31654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31656 if (!SWIG_IsOK(res1
)) {
31657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31659 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31661 if (!SWIG_IsOK(res2
)) {
31662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31667 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31670 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31671 wxPyEndAllowThreads(__tstate
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31674 resultobj
= SWIG_From_int(static_cast< int >(result
));
31681 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31682 PyObject
*resultobj
= 0;
31683 wxImageList
*arg1
= (wxImageList
*) 0 ;
31685 SwigValueWrapper
<wxBitmap
> result
;
31690 PyObject
* obj0
= 0 ;
31691 PyObject
* obj1
= 0 ;
31692 char * kwnames
[] = {
31693 (char *) "self",(char *) "index", NULL
31696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31698 if (!SWIG_IsOK(res1
)) {
31699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31701 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31703 if (!SWIG_IsOK(ecode2
)) {
31704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31706 arg2
= static_cast< int >(val2
);
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31720 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
= 0;
31722 wxImageList
*arg1
= (wxImageList
*) 0 ;
31729 PyObject
* obj0
= 0 ;
31730 PyObject
* obj1
= 0 ;
31731 char * kwnames
[] = {
31732 (char *) "self",(char *) "index", NULL
31735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31737 if (!SWIG_IsOK(res1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31740 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31742 if (!SWIG_IsOK(ecode2
)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31745 arg2
= static_cast< int >(val2
);
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31752 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31759 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31760 PyObject
*resultobj
= 0;
31761 wxImageList
*arg1
= (wxImageList
*) 0 ;
31763 wxBitmap
*arg3
= 0 ;
31764 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31765 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31775 PyObject
* obj0
= 0 ;
31776 PyObject
* obj1
= 0 ;
31777 PyObject
* obj2
= 0 ;
31778 PyObject
* obj3
= 0 ;
31779 char * kwnames
[] = {
31780 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31785 if (!SWIG_IsOK(res1
)) {
31786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31788 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31790 if (!SWIG_IsOK(ecode2
)) {
31791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31793 arg2
= static_cast< int >(val2
);
31794 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31795 if (!SWIG_IsOK(res3
)) {
31796 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31801 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31803 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31804 if (!SWIG_IsOK(res4
)) {
31805 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31810 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31815 wxPyEndAllowThreads(__tstate
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31827 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31828 PyObject
*resultobj
= 0;
31829 wxImageList
*arg1
= (wxImageList
*) 0 ;
31834 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31835 bool arg7
= (bool) (bool)false ;
31851 PyObject
* obj0
= 0 ;
31852 PyObject
* obj1
= 0 ;
31853 PyObject
* obj2
= 0 ;
31854 PyObject
* obj3
= 0 ;
31855 PyObject
* obj4
= 0 ;
31856 PyObject
* obj5
= 0 ;
31857 PyObject
* obj6
= 0 ;
31858 char * kwnames
[] = {
31859 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31864 if (!SWIG_IsOK(res1
)) {
31865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31867 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31869 if (!SWIG_IsOK(ecode2
)) {
31870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31872 arg2
= static_cast< int >(val2
);
31873 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31874 if (!SWIG_IsOK(res3
)) {
31875 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31880 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31881 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31882 if (!SWIG_IsOK(ecode4
)) {
31883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31885 arg4
= static_cast< int >(val4
);
31886 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31887 if (!SWIG_IsOK(ecode5
)) {
31888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31890 arg5
= static_cast< int >(val5
);
31892 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31893 if (!SWIG_IsOK(ecode6
)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31896 arg6
= static_cast< int >(val6
);
31899 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31900 if (!SWIG_IsOK(ecode7
)) {
31901 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31903 arg7
= static_cast< bool >(val7
);
31906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31908 wxPyEndAllowThreads(__tstate
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31920 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31921 PyObject
*resultobj
= 0;
31922 wxImageList
*arg1
= (wxImageList
*) 0 ;
31926 PyObject
*swig_obj
[1] ;
31928 if (!args
) SWIG_fail
;
31929 swig_obj
[0] = args
;
31930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31931 if (!SWIG_IsOK(res1
)) {
31932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31934 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31937 result
= (int)(arg1
)->GetImageCount();
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= SWIG_From_int(static_cast< int >(result
));
31948 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
= 0;
31950 wxImageList
*arg1
= (wxImageList
*) 0 ;
31957 PyObject
* obj0
= 0 ;
31958 PyObject
* obj1
= 0 ;
31959 char * kwnames
[] = {
31960 (char *) "self",(char *) "index", NULL
31963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31965 if (!SWIG_IsOK(res1
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31968 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31970 if (!SWIG_IsOK(ecode2
)) {
31971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31973 arg2
= static_cast< int >(val2
);
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31976 result
= (bool)(arg1
)->Remove(arg2
);
31977 wxPyEndAllowThreads(__tstate
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31989 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31990 PyObject
*resultobj
= 0;
31991 wxImageList
*arg1
= (wxImageList
*) 0 ;
31995 PyObject
*swig_obj
[1] ;
31997 if (!args
) SWIG_fail
;
31998 swig_obj
[0] = args
;
31999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32000 if (!SWIG_IsOK(res1
)) {
32001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32003 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32006 result
= (bool)(arg1
)->RemoveAll();
32007 wxPyEndAllowThreads(__tstate
);
32008 if (PyErr_Occurred()) SWIG_fail
;
32011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32019 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32020 PyObject
*resultobj
= 0;
32021 wxImageList
*arg1
= (wxImageList
*) 0 ;
32030 int res3
= SWIG_TMPOBJ
;
32032 int res4
= SWIG_TMPOBJ
;
32033 PyObject
* obj0
= 0 ;
32034 PyObject
* obj1
= 0 ;
32035 char * kwnames
[] = {
32036 (char *) "self",(char *) "index", NULL
32041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32043 if (!SWIG_IsOK(res1
)) {
32044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32046 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32048 if (!SWIG_IsOK(ecode2
)) {
32049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32051 arg2
= static_cast< int >(val2
);
32053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32054 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32055 wxPyEndAllowThreads(__tstate
);
32056 if (PyErr_Occurred()) SWIG_fail
;
32058 resultobj
= SWIG_Py_Void();
32059 if (SWIG_IsTmpObj(res3
)) {
32060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32062 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32063 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32065 if (SWIG_IsTmpObj(res4
)) {
32066 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32068 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32077 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32080 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32081 return SWIG_Py_Void();
32084 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32085 return SWIG_Python_InitShadowInstance(args
);
32088 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32089 PyObject
*resultobj
= 0;
32090 wxStockGDI
*result
= 0 ;
32092 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32095 result
= (wxStockGDI
*)new wxStockGDI();
32096 wxPyEndAllowThreads(__tstate
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32106 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32107 PyObject
*resultobj
= 0;
32108 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32111 PyObject
*swig_obj
[1] ;
32113 if (!args
) SWIG_fail
;
32114 swig_obj
[0] = args
;
32115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32116 if (!SWIG_IsOK(res1
)) {
32117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32119 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32124 wxPyEndAllowThreads(__tstate
);
32125 if (PyErr_Occurred()) SWIG_fail
;
32127 resultobj
= SWIG_Py_Void();
32134 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32135 PyObject
*resultobj
= 0;
32137 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32140 wxStockGDI::DeleteAll();
32141 wxPyEndAllowThreads(__tstate
);
32142 if (PyErr_Occurred()) SWIG_fail
;
32144 resultobj
= SWIG_Py_Void();
32151 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32152 PyObject
*resultobj
= 0;
32153 wxStockGDI
*result
= 0 ;
32155 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32160 result
= (wxStockGDI
*) &_result_ref
;
32162 wxPyEndAllowThreads(__tstate
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32172 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32173 PyObject
*resultobj
= 0;
32174 wxStockGDI::Item arg1
;
32175 wxBrush
*result
= 0 ;
32178 PyObject
* obj0
= 0 ;
32179 char * kwnames
[] = {
32180 (char *) "item", NULL
32183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32184 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32185 if (!SWIG_IsOK(ecode1
)) {
32186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32188 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32191 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32192 wxPyEndAllowThreads(__tstate
);
32193 if (PyErr_Occurred()) SWIG_fail
;
32195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32202 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32203 PyObject
*resultobj
= 0;
32204 wxStockGDI::Item arg1
;
32205 wxColour
*result
= 0 ;
32208 PyObject
* obj0
= 0 ;
32209 char * kwnames
[] = {
32210 (char *) "item", NULL
32213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32214 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32215 if (!SWIG_IsOK(ecode1
)) {
32216 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32218 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32222 wxPyEndAllowThreads(__tstate
);
32223 if (PyErr_Occurred()) SWIG_fail
;
32225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32232 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32233 PyObject
*resultobj
= 0;
32234 wxStockGDI::Item arg1
;
32235 wxCursor
*result
= 0 ;
32238 PyObject
* obj0
= 0 ;
32239 char * kwnames
[] = {
32240 (char *) "item", NULL
32243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32244 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32245 if (!SWIG_IsOK(ecode1
)) {
32246 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32248 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32251 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32252 wxPyEndAllowThreads(__tstate
);
32253 if (PyErr_Occurred()) SWIG_fail
;
32255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32262 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32263 PyObject
*resultobj
= 0;
32264 wxStockGDI::Item arg1
;
32265 wxPen
*result
= 0 ;
32268 PyObject
* obj0
= 0 ;
32269 char * kwnames
[] = {
32270 (char *) "item", NULL
32273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32275 if (!SWIG_IsOK(ecode1
)) {
32276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32278 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32281 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32282 wxPyEndAllowThreads(__tstate
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32292 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32293 PyObject
*resultobj
= 0;
32294 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32295 wxStockGDI::Item arg2
;
32296 wxFont
*result
= 0 ;
32301 PyObject
* obj0
= 0 ;
32302 PyObject
* obj1
= 0 ;
32303 char * kwnames
[] = {
32304 (char *) "self",(char *) "item", NULL
32307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32309 if (!SWIG_IsOK(res1
)) {
32310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32312 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32314 if (!SWIG_IsOK(ecode2
)) {
32315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32317 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32320 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32331 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32334 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32335 return SWIG_Py_Void();
32338 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32339 return SWIG_Python_InitShadowInstance(args
);
32342 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32343 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32348 SWIGINTERN PyObject
*NullBitmap_get(void) {
32349 PyObject
*pyobj
= 0;
32351 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32356 SWIGINTERN
int NullIcon_set(PyObject
*) {
32357 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32362 SWIGINTERN PyObject
*NullIcon_get(void) {
32363 PyObject
*pyobj
= 0;
32365 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32370 SWIGINTERN
int NullCursor_set(PyObject
*) {
32371 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32376 SWIGINTERN PyObject
*NullCursor_get(void) {
32377 PyObject
*pyobj
= 0;
32379 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32384 SWIGINTERN
int NullPen_set(PyObject
*) {
32385 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32390 SWIGINTERN PyObject
*NullPen_get(void) {
32391 PyObject
*pyobj
= 0;
32393 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32398 SWIGINTERN
int NullBrush_set(PyObject
*) {
32399 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32404 SWIGINTERN PyObject
*NullBrush_get(void) {
32405 PyObject
*pyobj
= 0;
32407 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32412 SWIGINTERN
int NullPalette_set(PyObject
*) {
32413 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32418 SWIGINTERN PyObject
*NullPalette_get(void) {
32419 PyObject
*pyobj
= 0;
32421 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32426 SWIGINTERN
int NullFont_set(PyObject
*) {
32427 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32432 SWIGINTERN PyObject
*NullFont_get(void) {
32433 PyObject
*pyobj
= 0;
32435 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32440 SWIGINTERN
int NullColour_set(PyObject
*) {
32441 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32446 SWIGINTERN PyObject
*NullColour_get(void) {
32447 PyObject
*pyobj
= 0;
32449 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32454 SWIGINTERN
int NullIconBundle_set(PyObject
*) {
32455 SWIG_Error(SWIG_AttributeError
,"Variable NullIconBundle is read-only.");
32460 SWIGINTERN PyObject
*NullIconBundle_get(void) {
32461 PyObject
*pyobj
= 0;
32463 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIconBundle
), SWIGTYPE_p_wxIconBundle
, 0 );
32468 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32469 PyObject
*resultobj
= 0;
32470 wxGDIObjListBase
*result
= 0 ;
32472 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32475 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32486 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32487 PyObject
*resultobj
= 0;
32488 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32491 PyObject
*swig_obj
[1] ;
32493 if (!args
) SWIG_fail
;
32494 swig_obj
[0] = args
;
32495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32496 if (!SWIG_IsOK(res1
)) {
32497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32499 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= SWIG_Py_Void();
32514 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32517 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32518 return SWIG_Py_Void();
32521 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32522 return SWIG_Python_InitShadowInstance(args
);
32525 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32526 PyObject
*resultobj
= 0;
32527 wxPenList
*arg1
= (wxPenList
*) 0 ;
32528 wxColour
*arg2
= 0 ;
32531 wxPen
*result
= 0 ;
32539 PyObject
* obj0
= 0 ;
32540 PyObject
* obj1
= 0 ;
32541 PyObject
* obj2
= 0 ;
32542 PyObject
* obj3
= 0 ;
32543 char * kwnames
[] = {
32544 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32549 if (!SWIG_IsOK(res1
)) {
32550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32552 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32558 if (!SWIG_IsOK(ecode3
)) {
32559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32561 arg3
= static_cast< int >(val3
);
32562 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32563 if (!SWIG_IsOK(ecode4
)) {
32564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32566 arg4
= static_cast< int >(val4
);
32568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32569 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32570 wxPyEndAllowThreads(__tstate
);
32571 if (PyErr_Occurred()) SWIG_fail
;
32573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32580 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32583 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32584 return SWIG_Py_Void();
32587 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32588 PyObject
*resultobj
= 0;
32589 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32590 wxColour
*arg2
= 0 ;
32591 int arg3
= (int) wxSOLID
;
32592 wxBrush
*result
= 0 ;
32598 PyObject
* obj0
= 0 ;
32599 PyObject
* obj1
= 0 ;
32600 PyObject
* obj2
= 0 ;
32601 char * kwnames
[] = {
32602 (char *) "self",(char *) "colour",(char *) "style", NULL
32605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32607 if (!SWIG_IsOK(res1
)) {
32608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32610 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32617 if (!SWIG_IsOK(ecode3
)) {
32618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32620 arg3
= static_cast< int >(val3
);
32623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32624 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32625 wxPyEndAllowThreads(__tstate
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32635 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32638 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32639 return SWIG_Py_Void();
32642 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32643 PyObject
*resultobj
= 0;
32644 wxFontList
*arg1
= (wxFontList
*) 0 ;
32649 bool arg6
= (bool) false ;
32650 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32651 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32652 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32653 wxFont
*result
= 0 ;
32666 bool temp7
= false ;
32669 PyObject
* obj0
= 0 ;
32670 PyObject
* obj1
= 0 ;
32671 PyObject
* obj2
= 0 ;
32672 PyObject
* obj3
= 0 ;
32673 PyObject
* obj4
= 0 ;
32674 PyObject
* obj5
= 0 ;
32675 PyObject
* obj6
= 0 ;
32676 PyObject
* obj7
= 0 ;
32677 char * kwnames
[] = {
32678 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32683 if (!SWIG_IsOK(res1
)) {
32684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32686 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32688 if (!SWIG_IsOK(ecode2
)) {
32689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32691 arg2
= static_cast< int >(val2
);
32692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32693 if (!SWIG_IsOK(ecode3
)) {
32694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32696 arg3
= static_cast< int >(val3
);
32697 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32698 if (!SWIG_IsOK(ecode4
)) {
32699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32701 arg4
= static_cast< int >(val4
);
32702 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32703 if (!SWIG_IsOK(ecode5
)) {
32704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32706 arg5
= static_cast< int >(val5
);
32708 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32709 if (!SWIG_IsOK(ecode6
)) {
32710 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32712 arg6
= static_cast< bool >(val6
);
32716 arg7
= wxString_in_helper(obj6
);
32717 if (arg7
== NULL
) SWIG_fail
;
32722 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32723 if (!SWIG_IsOK(ecode8
)) {
32724 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32726 arg8
= static_cast< wxFontEncoding
>(val8
);
32729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32730 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32749 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32752 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32753 return SWIG_Py_Void();
32756 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32757 PyObject
*resultobj
= 0;
32758 wxColourDatabase
*result
= 0 ;
32760 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32762 if (!wxPyCheckForApp()) SWIG_fail
;
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 result
= (wxColourDatabase
*)new wxColourDatabase();
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32775 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32776 PyObject
*resultobj
= 0;
32777 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32780 PyObject
*swig_obj
[1] ;
32782 if (!args
) SWIG_fail
;
32783 swig_obj
[0] = args
;
32784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32785 if (!SWIG_IsOK(res1
)) {
32786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32788 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32796 resultobj
= SWIG_Py_Void();
32803 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32804 PyObject
*resultobj
= 0;
32805 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32806 wxString
*arg2
= 0 ;
32810 bool temp2
= false ;
32811 PyObject
* obj0
= 0 ;
32812 PyObject
* obj1
= 0 ;
32813 char * kwnames
[] = {
32814 (char *) "self",(char *) "name", NULL
32817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32819 if (!SWIG_IsOK(res1
)) {
32820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32822 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32824 arg2
= wxString_in_helper(obj1
);
32825 if (arg2
== NULL
) SWIG_fail
;
32829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32830 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32834 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32849 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32850 PyObject
*resultobj
= 0;
32851 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32852 wxColour
*arg2
= 0 ;
32857 PyObject
* obj0
= 0 ;
32858 PyObject
* obj1
= 0 ;
32859 char * kwnames
[] = {
32860 (char *) "self",(char *) "colour", NULL
32863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32865 if (!SWIG_IsOK(res1
)) {
32866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32868 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32871 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32875 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32876 wxPyEndAllowThreads(__tstate
);
32877 if (PyErr_Occurred()) SWIG_fail
;
32881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32892 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32893 PyObject
*resultobj
= 0;
32894 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32895 wxString
*arg2
= 0 ;
32896 wxColour
*arg3
= 0 ;
32899 bool temp2
= false ;
32901 PyObject
* obj0
= 0 ;
32902 PyObject
* obj1
= 0 ;
32903 PyObject
* obj2
= 0 ;
32904 char * kwnames
[] = {
32905 (char *) "self",(char *) "name",(char *) "colour", NULL
32908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32910 if (!SWIG_IsOK(res1
)) {
32911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32913 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32915 arg2
= wxString_in_helper(obj1
);
32916 if (arg2
== NULL
) SWIG_fail
;
32921 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32929 resultobj
= SWIG_Py_Void();
32944 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32945 PyObject
*resultobj
= 0;
32946 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32947 wxString
*arg2
= 0 ;
32953 bool temp2
= false ;
32960 PyObject
* obj0
= 0 ;
32961 PyObject
* obj1
= 0 ;
32962 PyObject
* obj2
= 0 ;
32963 PyObject
* obj3
= 0 ;
32964 PyObject
* obj4
= 0 ;
32965 char * kwnames
[] = {
32966 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32971 if (!SWIG_IsOK(res1
)) {
32972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32974 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32976 arg2
= wxString_in_helper(obj1
);
32977 if (arg2
== NULL
) SWIG_fail
;
32980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32981 if (!SWIG_IsOK(ecode3
)) {
32982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32984 arg3
= static_cast< int >(val3
);
32985 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32986 if (!SWIG_IsOK(ecode4
)) {
32987 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32989 arg4
= static_cast< int >(val4
);
32990 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32991 if (!SWIG_IsOK(ecode5
)) {
32992 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32994 arg5
= static_cast< int >(val5
);
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32998 wxPyEndAllowThreads(__tstate
);
32999 if (PyErr_Occurred()) SWIG_fail
;
33001 resultobj
= SWIG_Py_Void();
33016 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33019 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33020 return SWIG_Py_Void();
33023 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33024 return SWIG_Python_InitShadowInstance(args
);
33027 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33028 PyObject
*resultobj
= 0;
33029 wxFontList
*result
= 0 ;
33031 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33034 result
= (wxFontList
*)_wxPyInitTheFontList();
33035 wxPyEndAllowThreads(__tstate
);
33036 if (PyErr_Occurred()) SWIG_fail
;
33038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33045 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33046 PyObject
*resultobj
= 0;
33047 wxPenList
*result
= 0 ;
33049 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33052 result
= (wxPenList
*)_wxPyInitThePenList();
33053 wxPyEndAllowThreads(__tstate
);
33054 if (PyErr_Occurred()) SWIG_fail
;
33056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33063 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33064 PyObject
*resultobj
= 0;
33065 wxBrushList
*result
= 0 ;
33067 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33071 wxPyEndAllowThreads(__tstate
);
33072 if (PyErr_Occurred()) SWIG_fail
;
33074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33081 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33082 PyObject
*resultobj
= 0;
33083 wxColourDatabase
*result
= 0 ;
33085 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33088 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33099 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33100 PyObject
*resultobj
= 0;
33101 wxEffects
*result
= 0 ;
33103 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33106 result
= (wxEffects
*)new wxEffects();
33107 wxPyEndAllowThreads(__tstate
);
33108 if (PyErr_Occurred()) SWIG_fail
;
33110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33117 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33118 PyObject
*resultobj
= 0;
33119 wxEffects
*arg1
= (wxEffects
*) 0 ;
33123 PyObject
*swig_obj
[1] ;
33125 if (!args
) SWIG_fail
;
33126 swig_obj
[0] = args
;
33127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33128 if (!SWIG_IsOK(res1
)) {
33129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33131 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33135 wxPyEndAllowThreads(__tstate
);
33136 if (PyErr_Occurred()) SWIG_fail
;
33138 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33145 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33146 PyObject
*resultobj
= 0;
33147 wxEffects
*arg1
= (wxEffects
*) 0 ;
33151 PyObject
*swig_obj
[1] ;
33153 if (!args
) SWIG_fail
;
33154 swig_obj
[0] = args
;
33155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33156 if (!SWIG_IsOK(res1
)) {
33157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33159 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33173 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33174 PyObject
*resultobj
= 0;
33175 wxEffects
*arg1
= (wxEffects
*) 0 ;
33179 PyObject
*swig_obj
[1] ;
33181 if (!args
) SWIG_fail
;
33182 swig_obj
[0] = args
;
33183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33184 if (!SWIG_IsOK(res1
)) {
33185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33187 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33190 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33191 wxPyEndAllowThreads(__tstate
);
33192 if (PyErr_Occurred()) SWIG_fail
;
33194 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33201 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33202 PyObject
*resultobj
= 0;
33203 wxEffects
*arg1
= (wxEffects
*) 0 ;
33207 PyObject
*swig_obj
[1] ;
33209 if (!args
) SWIG_fail
;
33210 swig_obj
[0] = args
;
33211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33212 if (!SWIG_IsOK(res1
)) {
33213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33215 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33218 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33219 wxPyEndAllowThreads(__tstate
);
33220 if (PyErr_Occurred()) SWIG_fail
;
33222 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33229 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33230 PyObject
*resultobj
= 0;
33231 wxEffects
*arg1
= (wxEffects
*) 0 ;
33235 PyObject
*swig_obj
[1] ;
33237 if (!args
) SWIG_fail
;
33238 swig_obj
[0] = args
;
33239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33240 if (!SWIG_IsOK(res1
)) {
33241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33243 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33247 wxPyEndAllowThreads(__tstate
);
33248 if (PyErr_Occurred()) SWIG_fail
;
33250 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33257 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33258 PyObject
*resultobj
= 0;
33259 wxEffects
*arg1
= (wxEffects
*) 0 ;
33260 wxColour
*arg2
= 0 ;
33264 PyObject
* obj0
= 0 ;
33265 PyObject
* obj1
= 0 ;
33266 char * kwnames
[] = {
33267 (char *) "self",(char *) "c", NULL
33270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33272 if (!SWIG_IsOK(res1
)) {
33273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33275 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33282 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33283 wxPyEndAllowThreads(__tstate
);
33284 if (PyErr_Occurred()) SWIG_fail
;
33286 resultobj
= SWIG_Py_Void();
33293 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33294 PyObject
*resultobj
= 0;
33295 wxEffects
*arg1
= (wxEffects
*) 0 ;
33296 wxColour
*arg2
= 0 ;
33300 PyObject
* obj0
= 0 ;
33301 PyObject
* obj1
= 0 ;
33302 char * kwnames
[] = {
33303 (char *) "self",(char *) "c", NULL
33306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33308 if (!SWIG_IsOK(res1
)) {
33309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33311 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33314 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33318 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33319 wxPyEndAllowThreads(__tstate
);
33320 if (PyErr_Occurred()) SWIG_fail
;
33322 resultobj
= SWIG_Py_Void();
33329 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33330 PyObject
*resultobj
= 0;
33331 wxEffects
*arg1
= (wxEffects
*) 0 ;
33332 wxColour
*arg2
= 0 ;
33336 PyObject
* obj0
= 0 ;
33337 PyObject
* obj1
= 0 ;
33338 char * kwnames
[] = {
33339 (char *) "self",(char *) "c", NULL
33342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33344 if (!SWIG_IsOK(res1
)) {
33345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33347 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33350 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33354 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33358 resultobj
= SWIG_Py_Void();
33365 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33366 PyObject
*resultobj
= 0;
33367 wxEffects
*arg1
= (wxEffects
*) 0 ;
33368 wxColour
*arg2
= 0 ;
33372 PyObject
* obj0
= 0 ;
33373 PyObject
* obj1
= 0 ;
33374 char * kwnames
[] = {
33375 (char *) "self",(char *) "c", NULL
33378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33380 if (!SWIG_IsOK(res1
)) {
33381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33383 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33390 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33391 wxPyEndAllowThreads(__tstate
);
33392 if (PyErr_Occurred()) SWIG_fail
;
33394 resultobj
= SWIG_Py_Void();
33401 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33402 PyObject
*resultobj
= 0;
33403 wxEffects
*arg1
= (wxEffects
*) 0 ;
33404 wxColour
*arg2
= 0 ;
33408 PyObject
* obj0
= 0 ;
33409 PyObject
* obj1
= 0 ;
33410 char * kwnames
[] = {
33411 (char *) "self",(char *) "c", NULL
33414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33416 if (!SWIG_IsOK(res1
)) {
33417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33419 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33422 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33427 wxPyEndAllowThreads(__tstate
);
33428 if (PyErr_Occurred()) SWIG_fail
;
33430 resultobj
= SWIG_Py_Void();
33437 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33438 PyObject
*resultobj
= 0;
33439 wxEffects
*arg1
= (wxEffects
*) 0 ;
33440 wxColour
*arg2
= 0 ;
33441 wxColour
*arg3
= 0 ;
33442 wxColour
*arg4
= 0 ;
33443 wxColour
*arg5
= 0 ;
33444 wxColour
*arg6
= 0 ;
33452 PyObject
* obj0
= 0 ;
33453 PyObject
* obj1
= 0 ;
33454 PyObject
* obj2
= 0 ;
33455 PyObject
* obj3
= 0 ;
33456 PyObject
* obj4
= 0 ;
33457 PyObject
* obj5
= 0 ;
33458 char * kwnames
[] = {
33459 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33464 if (!SWIG_IsOK(res1
)) {
33465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33467 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33470 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33474 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33478 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33482 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33486 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33490 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33491 wxPyEndAllowThreads(__tstate
);
33492 if (PyErr_Occurred()) SWIG_fail
;
33494 resultobj
= SWIG_Py_Void();
33501 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33502 PyObject
*resultobj
= 0;
33503 wxEffects
*arg1
= (wxEffects
*) 0 ;
33506 int arg4
= (int) 1 ;
33514 PyObject
* obj0
= 0 ;
33515 PyObject
* obj1
= 0 ;
33516 PyObject
* obj2
= 0 ;
33517 PyObject
* obj3
= 0 ;
33518 char * kwnames
[] = {
33519 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33524 if (!SWIG_IsOK(res1
)) {
33525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33527 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33528 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33529 if (!SWIG_IsOK(res2
)) {
33530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33535 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33538 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33542 if (!SWIG_IsOK(ecode4
)) {
33543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33545 arg4
= static_cast< int >(val4
);
33548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33549 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33550 wxPyEndAllowThreads(__tstate
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33553 resultobj
= SWIG_Py_Void();
33560 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33561 PyObject
*resultobj
= 0;
33562 wxEffects
*arg1
= (wxEffects
*) 0 ;
33565 wxBitmap
*arg4
= 0 ;
33574 PyObject
* obj0
= 0 ;
33575 PyObject
* obj1
= 0 ;
33576 PyObject
* obj2
= 0 ;
33577 PyObject
* obj3
= 0 ;
33578 char * kwnames
[] = {
33579 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33584 if (!SWIG_IsOK(res1
)) {
33585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33587 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33590 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33592 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33593 if (!SWIG_IsOK(res3
)) {
33594 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33599 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33600 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33601 if (!SWIG_IsOK(res4
)) {
33602 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33607 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33611 wxPyEndAllowThreads(__tstate
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33623 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33626 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33627 return SWIG_Py_Void();
33630 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33631 return SWIG_Python_InitShadowInstance(args
);
33634 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33635 PyObject
*resultobj
= 0;
33639 wxSplitterRenderParams
*result
= 0 ;
33646 PyObject
* obj0
= 0 ;
33647 PyObject
* obj1
= 0 ;
33648 PyObject
* obj2
= 0 ;
33649 char * kwnames
[] = {
33650 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33654 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33655 if (!SWIG_IsOK(ecode1
)) {
33656 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33658 arg1
= static_cast< int >(val1
);
33659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33660 if (!SWIG_IsOK(ecode2
)) {
33661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33663 arg2
= static_cast< int >(val2
);
33664 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33665 if (!SWIG_IsOK(ecode3
)) {
33666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33668 arg3
= static_cast< bool >(val3
);
33670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33671 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33672 wxPyEndAllowThreads(__tstate
);
33673 if (PyErr_Occurred()) SWIG_fail
;
33675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33682 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33683 PyObject
*resultobj
= 0;
33684 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33687 PyObject
*swig_obj
[1] ;
33689 if (!args
) SWIG_fail
;
33690 swig_obj
[0] = args
;
33691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33692 if (!SWIG_IsOK(res1
)) {
33693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33695 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33700 wxPyEndAllowThreads(__tstate
);
33701 if (PyErr_Occurred()) SWIG_fail
;
33703 resultobj
= SWIG_Py_Void();
33710 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33711 PyObject
*resultobj
= 0;
33712 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33716 PyObject
*swig_obj
[1] ;
33718 if (!args
) SWIG_fail
;
33719 swig_obj
[0] = args
;
33720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33721 if (!SWIG_IsOK(res1
)) {
33722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33724 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33725 result
= (int)(int) ((arg1
)->widthSash
);
33726 resultobj
= SWIG_From_int(static_cast< int >(result
));
33733 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33734 PyObject
*resultobj
= 0;
33735 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33739 PyObject
*swig_obj
[1] ;
33741 if (!args
) SWIG_fail
;
33742 swig_obj
[0] = args
;
33743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33744 if (!SWIG_IsOK(res1
)) {
33745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33747 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33748 result
= (int)(int) ((arg1
)->border
);
33749 resultobj
= SWIG_From_int(static_cast< int >(result
));
33756 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33757 PyObject
*resultobj
= 0;
33758 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33762 PyObject
*swig_obj
[1] ;
33764 if (!args
) SWIG_fail
;
33765 swig_obj
[0] = args
;
33766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33767 if (!SWIG_IsOK(res1
)) {
33768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33770 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33771 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33772 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33779 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33782 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33783 return SWIG_Py_Void();
33786 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33787 return SWIG_Python_InitShadowInstance(args
);
33790 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33791 PyObject
*resultobj
= 0;
33792 wxHeaderButtonParams
*result
= 0 ;
33794 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33797 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33798 wxPyEndAllowThreads(__tstate
);
33799 if (PyErr_Occurred()) SWIG_fail
;
33801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33808 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33809 PyObject
*resultobj
= 0;
33810 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33813 PyObject
*swig_obj
[1] ;
33815 if (!args
) SWIG_fail
;
33816 swig_obj
[0] = args
;
33817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33818 if (!SWIG_IsOK(res1
)) {
33819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33821 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33826 wxPyEndAllowThreads(__tstate
);
33827 if (PyErr_Occurred()) SWIG_fail
;
33829 resultobj
= SWIG_Py_Void();
33836 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33837 PyObject
*resultobj
= 0;
33838 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33839 wxColour
*arg2
= (wxColour
*) 0 ;
33843 PyObject
*swig_obj
[2] ;
33845 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33847 if (!SWIG_IsOK(res1
)) {
33848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33850 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33853 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33855 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33857 resultobj
= SWIG_Py_Void();
33864 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33865 PyObject
*resultobj
= 0;
33866 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33867 wxColour
*result
= 0 ;
33870 PyObject
*swig_obj
[1] ;
33872 if (!args
) SWIG_fail
;
33873 swig_obj
[0] = args
;
33874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33875 if (!SWIG_IsOK(res1
)) {
33876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33878 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33879 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33887 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33888 PyObject
*resultobj
= 0;
33889 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33890 wxColour
*arg2
= (wxColour
*) 0 ;
33894 PyObject
*swig_obj
[2] ;
33896 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33898 if (!SWIG_IsOK(res1
)) {
33899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33901 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33904 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33906 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33908 resultobj
= SWIG_Py_Void();
33915 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33916 PyObject
*resultobj
= 0;
33917 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33918 wxColour
*result
= 0 ;
33921 PyObject
*swig_obj
[1] ;
33923 if (!args
) SWIG_fail
;
33924 swig_obj
[0] = args
;
33925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33926 if (!SWIG_IsOK(res1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33929 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33930 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33938 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33939 PyObject
*resultobj
= 0;
33940 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33941 wxString
*arg2
= (wxString
*) 0 ;
33944 bool temp2
= false ;
33945 PyObject
*swig_obj
[2] ;
33947 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33949 if (!SWIG_IsOK(res1
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33952 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33954 arg2
= wxString_in_helper(swig_obj
[1]);
33955 if (arg2
== NULL
) SWIG_fail
;
33958 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33960 resultobj
= SWIG_Py_Void();
33975 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33976 PyObject
*resultobj
= 0;
33977 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33978 wxString
*result
= 0 ;
33981 PyObject
*swig_obj
[1] ;
33983 if (!args
) SWIG_fail
;
33984 swig_obj
[0] = args
;
33985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33986 if (!SWIG_IsOK(res1
)) {
33987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33989 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33990 result
= (wxString
*)& ((arg1
)->m_labelText
);
33993 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33995 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34004 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34005 PyObject
*resultobj
= 0;
34006 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34007 wxFont
*arg2
= (wxFont
*) 0 ;
34012 PyObject
*swig_obj
[2] ;
34014 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34016 if (!SWIG_IsOK(res1
)) {
34017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34019 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34020 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34021 if (!SWIG_IsOK(res2
)) {
34022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34024 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34025 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34027 resultobj
= SWIG_Py_Void();
34034 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34035 PyObject
*resultobj
= 0;
34036 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34037 wxFont
*result
= 0 ;
34040 PyObject
*swig_obj
[1] ;
34042 if (!args
) SWIG_fail
;
34043 swig_obj
[0] = args
;
34044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34045 if (!SWIG_IsOK(res1
)) {
34046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34048 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34049 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34057 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34058 PyObject
*resultobj
= 0;
34059 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34060 wxColour
*arg2
= (wxColour
*) 0 ;
34064 PyObject
*swig_obj
[2] ;
34066 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34068 if (!SWIG_IsOK(res1
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34071 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34074 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34076 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34078 resultobj
= SWIG_Py_Void();
34085 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34086 PyObject
*resultobj
= 0;
34087 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34088 wxColour
*result
= 0 ;
34091 PyObject
*swig_obj
[1] ;
34093 if (!args
) SWIG_fail
;
34094 swig_obj
[0] = args
;
34095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34096 if (!SWIG_IsOK(res1
)) {
34097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34099 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34100 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34108 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34109 PyObject
*resultobj
= 0;
34110 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34111 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34116 PyObject
*swig_obj
[2] ;
34118 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34120 if (!SWIG_IsOK(res1
)) {
34121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34123 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34124 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34125 if (!SWIG_IsOK(res2
)) {
34126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34128 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34129 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34131 resultobj
= SWIG_Py_Void();
34138 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34139 PyObject
*resultobj
= 0;
34140 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34141 wxBitmap
*result
= 0 ;
34144 PyObject
*swig_obj
[1] ;
34146 if (!args
) SWIG_fail
;
34147 swig_obj
[0] = args
;
34148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34149 if (!SWIG_IsOK(res1
)) {
34150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34152 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34153 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34161 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34162 PyObject
*resultobj
= 0;
34163 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34169 PyObject
*swig_obj
[2] ;
34171 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34173 if (!SWIG_IsOK(res1
)) {
34174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34176 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34177 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34178 if (!SWIG_IsOK(ecode2
)) {
34179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34181 arg2
= static_cast< int >(val2
);
34182 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34184 resultobj
= SWIG_Py_Void();
34191 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34192 PyObject
*resultobj
= 0;
34193 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34197 PyObject
*swig_obj
[1] ;
34199 if (!args
) SWIG_fail
;
34200 swig_obj
[0] = args
;
34201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34202 if (!SWIG_IsOK(res1
)) {
34203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34205 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34206 result
= (int) ((arg1
)->m_labelAlignment
);
34207 resultobj
= SWIG_From_int(static_cast< int >(result
));
34214 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34217 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34218 return SWIG_Py_Void();
34221 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34222 return SWIG_Python_InitShadowInstance(args
);
34225 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34226 PyObject
*resultobj
= 0;
34229 wxRendererVersion
*result
= 0 ;
34234 PyObject
* obj0
= 0 ;
34235 PyObject
* obj1
= 0 ;
34236 char * kwnames
[] = {
34237 (char *) "version_",(char *) "age_", NULL
34240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34241 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34242 if (!SWIG_IsOK(ecode1
)) {
34243 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34245 arg1
= static_cast< int >(val1
);
34246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34247 if (!SWIG_IsOK(ecode2
)) {
34248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34250 arg2
= static_cast< int >(val2
);
34252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34253 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34254 wxPyEndAllowThreads(__tstate
);
34255 if (PyErr_Occurred()) SWIG_fail
;
34257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34264 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34265 PyObject
*resultobj
= 0;
34266 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34269 PyObject
*swig_obj
[1] ;
34271 if (!args
) SWIG_fail
;
34272 swig_obj
[0] = args
;
34273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34274 if (!SWIG_IsOK(res1
)) {
34275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34277 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 wxPyEndAllowThreads(__tstate
);
34283 if (PyErr_Occurred()) SWIG_fail
;
34285 resultobj
= SWIG_Py_Void();
34292 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34293 PyObject
*resultobj
= 0;
34294 wxRendererVersion
*arg1
= 0 ;
34298 PyObject
* obj0
= 0 ;
34299 char * kwnames
[] = {
34300 (char *) "ver", NULL
34303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34304 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34305 if (!SWIG_IsOK(res1
)) {
34306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34311 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34314 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34315 wxPyEndAllowThreads(__tstate
);
34316 if (PyErr_Occurred()) SWIG_fail
;
34319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34327 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34328 PyObject
*resultobj
= 0;
34329 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34333 PyObject
*swig_obj
[1] ;
34335 if (!args
) SWIG_fail
;
34336 swig_obj
[0] = args
;
34337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34338 if (!SWIG_IsOK(res1
)) {
34339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34341 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34342 result
= (int)(int) ((arg1
)->version
);
34343 resultobj
= SWIG_From_int(static_cast< int >(result
));
34350 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34351 PyObject
*resultobj
= 0;
34352 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34356 PyObject
*swig_obj
[1] ;
34358 if (!args
) SWIG_fail
;
34359 swig_obj
[0] = args
;
34360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34361 if (!SWIG_IsOK(res1
)) {
34362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34364 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34365 result
= (int)(int) ((arg1
)->age
);
34366 resultobj
= SWIG_From_int(static_cast< int >(result
));
34373 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34376 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34377 return SWIG_Py_Void();
34380 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34381 return SWIG_Python_InitShadowInstance(args
);
34384 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34385 PyObject
*resultobj
= 0;
34386 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34387 wxWindow
*arg2
= (wxWindow
*) 0 ;
34390 int arg5
= (int) 0 ;
34391 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34392 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34407 PyObject
* obj0
= 0 ;
34408 PyObject
* obj1
= 0 ;
34409 PyObject
* obj2
= 0 ;
34410 PyObject
* obj3
= 0 ;
34411 PyObject
* obj4
= 0 ;
34412 PyObject
* obj5
= 0 ;
34413 PyObject
* obj6
= 0 ;
34414 char * kwnames
[] = {
34415 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34420 if (!SWIG_IsOK(res1
)) {
34421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34423 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34425 if (!SWIG_IsOK(res2
)) {
34426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34428 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34429 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34430 if (!SWIG_IsOK(res3
)) {
34431 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34434 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34436 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34439 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34442 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34443 if (!SWIG_IsOK(ecode5
)) {
34444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34446 arg5
= static_cast< int >(val5
);
34449 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34450 if (!SWIG_IsOK(ecode6
)) {
34451 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34453 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34456 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34457 if (!SWIG_IsOK(res7
)) {
34458 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34460 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34464 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34465 wxPyEndAllowThreads(__tstate
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34468 resultobj
= SWIG_From_int(static_cast< int >(result
));
34475 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34476 PyObject
*resultobj
= 0;
34477 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34478 wxWindow
*arg2
= (wxWindow
*) 0 ;
34481 int arg5
= (int) 0 ;
34482 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34483 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34498 PyObject
* obj0
= 0 ;
34499 PyObject
* obj1
= 0 ;
34500 PyObject
* obj2
= 0 ;
34501 PyObject
* obj3
= 0 ;
34502 PyObject
* obj4
= 0 ;
34503 PyObject
* obj5
= 0 ;
34504 PyObject
* obj6
= 0 ;
34505 char * kwnames
[] = {
34506 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34511 if (!SWIG_IsOK(res1
)) {
34512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34514 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34516 if (!SWIG_IsOK(res2
)) {
34517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34519 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34520 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34521 if (!SWIG_IsOK(res3
)) {
34522 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34527 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34530 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34533 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34534 if (!SWIG_IsOK(ecode5
)) {
34535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34537 arg5
= static_cast< int >(val5
);
34540 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34541 if (!SWIG_IsOK(ecode6
)) {
34542 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34544 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34547 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34548 if (!SWIG_IsOK(res7
)) {
34549 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34551 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34555 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34556 wxPyEndAllowThreads(__tstate
);
34557 if (PyErr_Occurred()) SWIG_fail
;
34559 resultobj
= SWIG_From_int(static_cast< int >(result
));
34566 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34567 PyObject
*resultobj
= 0;
34568 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34569 wxWindow
*arg2
= (wxWindow
*) 0 ;
34575 PyObject
* obj0
= 0 ;
34576 PyObject
* obj1
= 0 ;
34577 char * kwnames
[] = {
34578 (char *) "self",(char *) "win", NULL
34581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34583 if (!SWIG_IsOK(res1
)) {
34584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34586 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34588 if (!SWIG_IsOK(res2
)) {
34589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34591 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34594 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34598 resultobj
= SWIG_From_int(static_cast< int >(result
));
34605 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
= 0;
34607 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34608 wxWindow
*arg2
= (wxWindow
*) 0 ;
34611 int arg5
= (int) 0 ;
34621 PyObject
* obj0
= 0 ;
34622 PyObject
* obj1
= 0 ;
34623 PyObject
* obj2
= 0 ;
34624 PyObject
* obj3
= 0 ;
34625 PyObject
* obj4
= 0 ;
34626 char * kwnames
[] = {
34627 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34632 if (!SWIG_IsOK(res1
)) {
34633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34635 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34637 if (!SWIG_IsOK(res2
)) {
34638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34640 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34641 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34642 if (!SWIG_IsOK(res3
)) {
34643 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34648 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34651 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34654 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34655 if (!SWIG_IsOK(ecode5
)) {
34656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34658 arg5
= static_cast< int >(val5
);
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34663 wxPyEndAllowThreads(__tstate
);
34664 if (PyErr_Occurred()) SWIG_fail
;
34666 resultobj
= SWIG_Py_Void();
34673 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34674 PyObject
*resultobj
= 0;
34675 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34676 wxWindow
*arg2
= (wxWindow
*) 0 ;
34679 int arg5
= (int) 0 ;
34689 PyObject
* obj0
= 0 ;
34690 PyObject
* obj1
= 0 ;
34691 PyObject
* obj2
= 0 ;
34692 PyObject
* obj3
= 0 ;
34693 PyObject
* obj4
= 0 ;
34694 char * kwnames
[] = {
34695 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34700 if (!SWIG_IsOK(res1
)) {
34701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34703 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34705 if (!SWIG_IsOK(res2
)) {
34706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34708 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34709 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34710 if (!SWIG_IsOK(res3
)) {
34711 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34716 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34719 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34722 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34723 if (!SWIG_IsOK(ecode5
)) {
34724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34726 arg5
= static_cast< int >(val5
);
34729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34730 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34731 wxPyEndAllowThreads(__tstate
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34734 resultobj
= SWIG_Py_Void();
34741 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34742 PyObject
*resultobj
= 0;
34743 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34744 wxWindow
*arg2
= (wxWindow
*) 0 ;
34748 wxOrientation arg6
;
34749 int arg7
= (int) 0 ;
34763 PyObject
* obj0
= 0 ;
34764 PyObject
* obj1
= 0 ;
34765 PyObject
* obj2
= 0 ;
34766 PyObject
* obj3
= 0 ;
34767 PyObject
* obj4
= 0 ;
34768 PyObject
* obj5
= 0 ;
34769 PyObject
* obj6
= 0 ;
34770 char * kwnames
[] = {
34771 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34776 if (!SWIG_IsOK(res1
)) {
34777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34779 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34781 if (!SWIG_IsOK(res2
)) {
34782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34784 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34785 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34786 if (!SWIG_IsOK(res3
)) {
34787 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34792 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34795 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34797 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34798 if (!SWIG_IsOK(ecode5
)) {
34799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34801 arg5
= static_cast< int >(val5
);
34802 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34803 if (!SWIG_IsOK(ecode6
)) {
34804 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34806 arg6
= static_cast< wxOrientation
>(val6
);
34808 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34809 if (!SWIG_IsOK(ecode7
)) {
34810 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34812 arg7
= static_cast< int >(val7
);
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34817 wxPyEndAllowThreads(__tstate
);
34818 if (PyErr_Occurred()) SWIG_fail
;
34820 resultobj
= SWIG_Py_Void();
34827 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
= 0;
34829 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34830 wxWindow
*arg2
= (wxWindow
*) 0 ;
34833 int arg5
= (int) 0 ;
34843 PyObject
* obj0
= 0 ;
34844 PyObject
* obj1
= 0 ;
34845 PyObject
* obj2
= 0 ;
34846 PyObject
* obj3
= 0 ;
34847 PyObject
* obj4
= 0 ;
34848 char * kwnames
[] = {
34849 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34854 if (!SWIG_IsOK(res1
)) {
34855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34857 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34859 if (!SWIG_IsOK(res2
)) {
34860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34862 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34863 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34864 if (!SWIG_IsOK(res3
)) {
34865 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34870 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34873 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34876 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34877 if (!SWIG_IsOK(ecode5
)) {
34878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34880 arg5
= static_cast< int >(val5
);
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34885 wxPyEndAllowThreads(__tstate
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34888 resultobj
= SWIG_Py_Void();
34895 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34896 PyObject
*resultobj
= 0;
34897 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34898 wxWindow
*arg2
= (wxWindow
*) 0 ;
34901 int arg5
= (int) 0 ;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 PyObject
* obj2
= 0 ;
34914 PyObject
* obj3
= 0 ;
34915 PyObject
* obj4
= 0 ;
34916 char * kwnames
[] = {
34917 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34922 if (!SWIG_IsOK(res1
)) {
34923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34925 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34926 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34927 if (!SWIG_IsOK(res2
)) {
34928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34930 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34931 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34932 if (!SWIG_IsOK(res3
)) {
34933 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34938 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34941 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34944 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34945 if (!SWIG_IsOK(ecode5
)) {
34946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34948 arg5
= static_cast< int >(val5
);
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34953 wxPyEndAllowThreads(__tstate
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34956 resultobj
= SWIG_Py_Void();
34963 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34964 PyObject
*resultobj
= 0;
34965 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34966 wxWindow
*arg2
= (wxWindow
*) 0 ;
34969 int arg5
= (int) 0 ;
34979 PyObject
* obj0
= 0 ;
34980 PyObject
* obj1
= 0 ;
34981 PyObject
* obj2
= 0 ;
34982 PyObject
* obj3
= 0 ;
34983 PyObject
* obj4
= 0 ;
34984 char * kwnames
[] = {
34985 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34990 if (!SWIG_IsOK(res1
)) {
34991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34993 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34995 if (!SWIG_IsOK(res2
)) {
34996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34999 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35000 if (!SWIG_IsOK(res3
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35006 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35009 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35012 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35013 if (!SWIG_IsOK(ecode5
)) {
35014 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35016 arg5
= static_cast< int >(val5
);
35019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35020 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35021 wxPyEndAllowThreads(__tstate
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35024 resultobj
= SWIG_Py_Void();
35031 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35032 PyObject
*resultobj
= 0;
35033 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35034 wxWindow
*arg2
= (wxWindow
*) 0 ;
35037 int arg5
= (int) 0 ;
35047 PyObject
* obj0
= 0 ;
35048 PyObject
* obj1
= 0 ;
35049 PyObject
* obj2
= 0 ;
35050 PyObject
* obj3
= 0 ;
35051 PyObject
* obj4
= 0 ;
35052 char * kwnames
[] = {
35053 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35058 if (!SWIG_IsOK(res1
)) {
35059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35061 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35063 if (!SWIG_IsOK(res2
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35066 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35067 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35068 if (!SWIG_IsOK(res3
)) {
35069 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35074 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35077 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35080 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35081 if (!SWIG_IsOK(ecode5
)) {
35082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35084 arg5
= static_cast< int >(val5
);
35087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35088 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35089 wxPyEndAllowThreads(__tstate
);
35090 if (PyErr_Occurred()) SWIG_fail
;
35092 resultobj
= SWIG_Py_Void();
35099 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35100 PyObject
*resultobj
= 0;
35101 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35102 wxWindow
*arg2
= (wxWindow
*) 0 ;
35105 int arg5
= (int) 0 ;
35115 PyObject
* obj0
= 0 ;
35116 PyObject
* obj1
= 0 ;
35117 PyObject
* obj2
= 0 ;
35118 PyObject
* obj3
= 0 ;
35119 PyObject
* obj4
= 0 ;
35120 char * kwnames
[] = {
35121 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35126 if (!SWIG_IsOK(res1
)) {
35127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35129 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35131 if (!SWIG_IsOK(res2
)) {
35132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35134 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35135 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35136 if (!SWIG_IsOK(res3
)) {
35137 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35142 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35145 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35148 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35149 if (!SWIG_IsOK(ecode5
)) {
35150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35152 arg5
= static_cast< int >(val5
);
35155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35156 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35157 wxPyEndAllowThreads(__tstate
);
35158 if (PyErr_Occurred()) SWIG_fail
;
35160 resultobj
= SWIG_Py_Void();
35167 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35168 PyObject
*resultobj
= 0;
35169 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35170 wxWindow
*arg2
= (wxWindow
*) 0 ;
35171 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35176 PyObject
* obj0
= 0 ;
35177 PyObject
* obj1
= 0 ;
35178 char * kwnames
[] = {
35179 (char *) "self",(char *) "win", NULL
35182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35184 if (!SWIG_IsOK(res1
)) {
35185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35187 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35189 if (!SWIG_IsOK(res2
)) {
35190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35192 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35195 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35196 wxPyEndAllowThreads(__tstate
);
35197 if (PyErr_Occurred()) SWIG_fail
;
35199 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35206 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35207 PyObject
*resultobj
= 0;
35208 wxRendererNative
*result
= 0 ;
35210 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35212 if (!wxPyCheckForApp()) SWIG_fail
;
35213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35215 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35216 result
= (wxRendererNative
*) &_result_ref
;
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35228 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35229 PyObject
*resultobj
= 0;
35230 wxRendererNative
*result
= 0 ;
35232 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35234 if (!wxPyCheckForApp()) SWIG_fail
;
35235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35237 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35238 result
= (wxRendererNative
*) &_result_ref
;
35240 wxPyEndAllowThreads(__tstate
);
35241 if (PyErr_Occurred()) SWIG_fail
;
35243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35250 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35251 PyObject
*resultobj
= 0;
35252 wxRendererNative
*result
= 0 ;
35254 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35256 if (!wxPyCheckForApp()) SWIG_fail
;
35257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35259 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35260 result
= (wxRendererNative
*) &_result_ref
;
35262 wxPyEndAllowThreads(__tstate
);
35263 if (PyErr_Occurred()) SWIG_fail
;
35265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35272 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35273 PyObject
*resultobj
= 0;
35274 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35275 wxRendererNative
*result
= 0 ;
35278 PyObject
* obj0
= 0 ;
35279 char * kwnames
[] = {
35280 (char *) "renderer", NULL
35283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35285 if (!SWIG_IsOK(res1
)) {
35286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35288 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35290 if (!wxPyCheckForApp()) SWIG_fail
;
35291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35292 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35293 wxPyEndAllowThreads(__tstate
);
35294 if (PyErr_Occurred()) SWIG_fail
;
35296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35303 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35304 PyObject
*resultobj
= 0;
35305 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35306 SwigValueWrapper
<wxRendererVersion
> result
;
35309 PyObject
*swig_obj
[1] ;
35311 if (!args
) SWIG_fail
;
35312 swig_obj
[0] = args
;
35313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35314 if (!SWIG_IsOK(res1
)) {
35315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35317 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35320 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35321 wxPyEndAllowThreads(__tstate
);
35322 if (PyErr_Occurred()) SWIG_fail
;
35324 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35331 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35334 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35335 return SWIG_Py_Void();
35338 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35339 PyObject
*resultobj
= 0;
35340 wxPseudoDC
*result
= 0 ;
35342 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35345 result
= (wxPseudoDC
*)new wxPseudoDC();
35346 wxPyEndAllowThreads(__tstate
);
35347 if (PyErr_Occurred()) SWIG_fail
;
35349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35356 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35357 PyObject
*resultobj
= 0;
35358 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35361 PyObject
*swig_obj
[1] ;
35363 if (!args
) SWIG_fail
;
35364 swig_obj
[0] = args
;
35365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35366 if (!SWIG_IsOK(res1
)) {
35367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35369 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35372 (arg1
)->BeginDrawing();
35373 wxPyEndAllowThreads(__tstate
);
35374 if (PyErr_Occurred()) SWIG_fail
;
35376 resultobj
= SWIG_Py_Void();
35383 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35384 PyObject
*resultobj
= 0;
35385 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35388 PyObject
*swig_obj
[1] ;
35390 if (!args
) SWIG_fail
;
35391 swig_obj
[0] = args
;
35392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35393 if (!SWIG_IsOK(res1
)) {
35394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35396 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35399 (arg1
)->EndDrawing();
35400 wxPyEndAllowThreads(__tstate
);
35401 if (PyErr_Occurred()) SWIG_fail
;
35403 resultobj
= SWIG_Py_Void();
35410 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35411 PyObject
*resultobj
= 0;
35412 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35415 PyObject
*swig_obj
[1] ;
35417 if (!args
) SWIG_fail
;
35418 swig_obj
[0] = args
;
35419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35420 if (!SWIG_IsOK(res1
)) {
35421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35423 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35428 wxPyEndAllowThreads(__tstate
);
35429 if (PyErr_Occurred()) SWIG_fail
;
35431 resultobj
= SWIG_Py_Void();
35438 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35439 PyObject
*resultobj
= 0;
35440 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35443 PyObject
*swig_obj
[1] ;
35445 if (!args
) SWIG_fail
;
35446 swig_obj
[0] = args
;
35447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35448 if (!SWIG_IsOK(res1
)) {
35449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35451 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35454 (arg1
)->RemoveAll();
35455 wxPyEndAllowThreads(__tstate
);
35456 if (PyErr_Occurred()) SWIG_fail
;
35458 resultobj
= SWIG_Py_Void();
35465 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35466 PyObject
*resultobj
= 0;
35467 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35471 PyObject
*swig_obj
[1] ;
35473 if (!args
) SWIG_fail
;
35474 swig_obj
[0] = args
;
35475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35476 if (!SWIG_IsOK(res1
)) {
35477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35479 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35482 result
= (int)(arg1
)->GetLen();
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35486 resultobj
= SWIG_From_int(static_cast< int >(result
));
35493 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35494 PyObject
*resultobj
= 0;
35495 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35501 PyObject
* obj0
= 0 ;
35502 PyObject
* obj1
= 0 ;
35503 char * kwnames
[] = {
35504 (char *) "self",(char *) "id", NULL
35507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35509 if (!SWIG_IsOK(res1
)) {
35510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35512 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35514 if (!SWIG_IsOK(ecode2
)) {
35515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35517 arg2
= static_cast< int >(val2
);
35519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35520 (arg1
)->SetId(arg2
);
35521 wxPyEndAllowThreads(__tstate
);
35522 if (PyErr_Occurred()) SWIG_fail
;
35524 resultobj
= SWIG_Py_Void();
35531 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35532 PyObject
*resultobj
= 0;
35533 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35539 PyObject
* obj0
= 0 ;
35540 PyObject
* obj1
= 0 ;
35541 char * kwnames
[] = {
35542 (char *) "self",(char *) "id", NULL
35545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35547 if (!SWIG_IsOK(res1
)) {
35548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35550 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35552 if (!SWIG_IsOK(ecode2
)) {
35553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35555 arg2
= static_cast< int >(val2
);
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35558 (arg1
)->ClearId(arg2
);
35559 wxPyEndAllowThreads(__tstate
);
35560 if (PyErr_Occurred()) SWIG_fail
;
35562 resultobj
= SWIG_Py_Void();
35569 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35570 PyObject
*resultobj
= 0;
35571 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35577 PyObject
* obj0
= 0 ;
35578 PyObject
* obj1
= 0 ;
35579 char * kwnames
[] = {
35580 (char *) "self",(char *) "id", NULL
35583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35585 if (!SWIG_IsOK(res1
)) {
35586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35588 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35590 if (!SWIG_IsOK(ecode2
)) {
35591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35593 arg2
= static_cast< int >(val2
);
35595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35596 (arg1
)->RemoveId(arg2
);
35597 wxPyEndAllowThreads(__tstate
);
35598 if (PyErr_Occurred()) SWIG_fail
;
35600 resultobj
= SWIG_Py_Void();
35607 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35608 PyObject
*resultobj
= 0;
35609 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35621 PyObject
* obj0
= 0 ;
35622 PyObject
* obj1
= 0 ;
35623 PyObject
* obj2
= 0 ;
35624 PyObject
* obj3
= 0 ;
35625 char * kwnames
[] = {
35626 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35631 if (!SWIG_IsOK(res1
)) {
35632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35634 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35636 if (!SWIG_IsOK(ecode2
)) {
35637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35639 arg2
= static_cast< int >(val2
);
35640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35641 if (!SWIG_IsOK(ecode3
)) {
35642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35644 arg3
= static_cast< int >(val3
);
35645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35646 if (!SWIG_IsOK(ecode4
)) {
35647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35649 arg4
= static_cast< int >(val4
);
35651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35652 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35653 wxPyEndAllowThreads(__tstate
);
35654 if (PyErr_Occurred()) SWIG_fail
;
35656 resultobj
= SWIG_Py_Void();
35663 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35664 PyObject
*resultobj
= 0;
35665 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35667 bool arg3
= (bool) true ;
35674 PyObject
* obj0
= 0 ;
35675 PyObject
* obj1
= 0 ;
35676 PyObject
* obj2
= 0 ;
35677 char * kwnames
[] = {
35678 (char *) "self",(char *) "id",(char *) "greyout", NULL
35681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35683 if (!SWIG_IsOK(res1
)) {
35684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35686 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35688 if (!SWIG_IsOK(ecode2
)) {
35689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35691 arg2
= static_cast< int >(val2
);
35693 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35694 if (!SWIG_IsOK(ecode3
)) {
35695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35697 arg3
= static_cast< bool >(val3
);
35700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35702 wxPyEndAllowThreads(__tstate
);
35703 if (PyErr_Occurred()) SWIG_fail
;
35705 resultobj
= SWIG_Py_Void();
35712 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35713 PyObject
*resultobj
= 0;
35714 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35721 PyObject
* obj0
= 0 ;
35722 PyObject
* obj1
= 0 ;
35723 char * kwnames
[] = {
35724 (char *) "self",(char *) "id", NULL
35727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35729 if (!SWIG_IsOK(res1
)) {
35730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35732 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35734 if (!SWIG_IsOK(ecode2
)) {
35735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35737 arg2
= static_cast< int >(val2
);
35739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35740 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35753 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35754 PyObject
*resultobj
= 0;
35755 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35758 int arg4
= (int) 1 ;
35759 wxColour
const &arg5_defvalue
= *wxWHITE
;
35760 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
35761 PyObject
*result
= 0 ;
35771 PyObject
* obj0
= 0 ;
35772 PyObject
* obj1
= 0 ;
35773 PyObject
* obj2
= 0 ;
35774 PyObject
* obj3
= 0 ;
35775 PyObject
* obj4
= 0 ;
35776 char * kwnames
[] = {
35777 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35782 if (!SWIG_IsOK(res1
)) {
35783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35785 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35787 if (!SWIG_IsOK(ecode2
)) {
35788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35790 arg2
= static_cast< int >(val2
);
35791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35792 if (!SWIG_IsOK(ecode3
)) {
35793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35795 arg3
= static_cast< int >(val3
);
35797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35798 if (!SWIG_IsOK(ecode4
)) {
35799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35801 arg4
= static_cast< int >(val4
);
35806 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
35810 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35813 resultobj
= result
;
35820 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35821 PyObject
*resultobj
= 0;
35822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35825 PyObject
*result
= 0 ;
35832 PyObject
* obj0
= 0 ;
35833 PyObject
* obj1
= 0 ;
35834 PyObject
* obj2
= 0 ;
35835 char * kwnames
[] = {
35836 (char *) "self",(char *) "x",(char *) "y", NULL
35839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35841 if (!SWIG_IsOK(res1
)) {
35842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35844 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35846 if (!SWIG_IsOK(ecode2
)) {
35847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35849 arg2
= static_cast< int >(val2
);
35850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35851 if (!SWIG_IsOK(ecode3
)) {
35852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35854 arg3
= static_cast< int >(val3
);
35856 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35857 if (PyErr_Occurred()) SWIG_fail
;
35859 resultobj
= result
;
35866 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35867 PyObject
*resultobj
= 0;
35868 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35870 wxDC
*arg3
= (wxDC
*) 0 ;
35877 PyObject
* obj0
= 0 ;
35878 PyObject
* obj1
= 0 ;
35879 PyObject
* obj2
= 0 ;
35880 char * kwnames
[] = {
35881 (char *) "self",(char *) "id",(char *) "dc", NULL
35884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35886 if (!SWIG_IsOK(res1
)) {
35887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35889 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35891 if (!SWIG_IsOK(ecode2
)) {
35892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35894 arg2
= static_cast< int >(val2
);
35895 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35896 if (!SWIG_IsOK(res3
)) {
35897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35899 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35902 (arg1
)->DrawIdToDC(arg2
,arg3
);
35903 wxPyEndAllowThreads(__tstate
);
35904 if (PyErr_Occurred()) SWIG_fail
;
35906 resultobj
= SWIG_Py_Void();
35913 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35914 PyObject
*resultobj
= 0;
35915 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35923 PyObject
* obj0
= 0 ;
35924 PyObject
* obj1
= 0 ;
35925 PyObject
* obj2
= 0 ;
35926 char * kwnames
[] = {
35927 (char *) "self",(char *) "id",(char *) "rect", NULL
35930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35932 if (!SWIG_IsOK(res1
)) {
35933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35935 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35937 if (!SWIG_IsOK(ecode2
)) {
35938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35940 arg2
= static_cast< int >(val2
);
35943 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35947 (arg1
)->SetIdBounds(arg2
,*arg3
);
35948 wxPyEndAllowThreads(__tstate
);
35949 if (PyErr_Occurred()) SWIG_fail
;
35951 resultobj
= SWIG_Py_Void();
35958 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35959 PyObject
*resultobj
= 0;
35960 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35967 PyObject
* obj0
= 0 ;
35968 PyObject
* obj1
= 0 ;
35969 char * kwnames
[] = {
35970 (char *) "self",(char *) "id", NULL
35973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35975 if (!SWIG_IsOK(res1
)) {
35976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35978 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35980 if (!SWIG_IsOK(ecode2
)) {
35981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35983 arg2
= static_cast< int >(val2
);
35985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35986 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35987 wxPyEndAllowThreads(__tstate
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35990 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35997 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35998 PyObject
*resultobj
= 0;
35999 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36000 wxDC
*arg2
= (wxDC
*) 0 ;
36007 PyObject
* obj0
= 0 ;
36008 PyObject
* obj1
= 0 ;
36009 PyObject
* obj2
= 0 ;
36010 char * kwnames
[] = {
36011 (char *) "self",(char *) "dc",(char *) "rect", NULL
36014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36016 if (!SWIG_IsOK(res1
)) {
36017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36019 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36021 if (!SWIG_IsOK(res2
)) {
36022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36024 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36027 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36031 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36032 wxPyEndAllowThreads(__tstate
);
36033 if (PyErr_Occurred()) SWIG_fail
;
36035 resultobj
= SWIG_Py_Void();
36042 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36043 PyObject
*resultobj
= 0;
36044 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36045 wxDC
*arg2
= (wxDC
*) 0 ;
36046 wxRegion
*arg3
= 0 ;
36053 PyObject
* obj0
= 0 ;
36054 PyObject
* obj1
= 0 ;
36055 PyObject
* obj2
= 0 ;
36056 char * kwnames
[] = {
36057 (char *) "self",(char *) "dc",(char *) "region", NULL
36060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36062 if (!SWIG_IsOK(res1
)) {
36063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36066 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36067 if (!SWIG_IsOK(res2
)) {
36068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36070 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36071 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36072 if (!SWIG_IsOK(res3
)) {
36073 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36078 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36081 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36082 wxPyEndAllowThreads(__tstate
);
36083 if (PyErr_Occurred()) SWIG_fail
;
36085 resultobj
= SWIG_Py_Void();
36092 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36093 PyObject
*resultobj
= 0;
36094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36095 wxDC
*arg2
= (wxDC
*) 0 ;
36100 PyObject
* obj0
= 0 ;
36101 PyObject
* obj1
= 0 ;
36102 char * kwnames
[] = {
36103 (char *) "self",(char *) "dc", NULL
36106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36108 if (!SWIG_IsOK(res1
)) {
36109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36111 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36113 if (!SWIG_IsOK(res2
)) {
36114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36116 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 (arg1
)->DrawToDC(arg2
);
36120 wxPyEndAllowThreads(__tstate
);
36121 if (PyErr_Occurred()) SWIG_fail
;
36123 resultobj
= SWIG_Py_Void();
36130 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36131 PyObject
*resultobj
= 0;
36132 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36135 wxColour
*arg4
= 0 ;
36136 int arg5
= (int) wxFLOOD_SURFACE
;
36146 PyObject
* obj0
= 0 ;
36147 PyObject
* obj1
= 0 ;
36148 PyObject
* obj2
= 0 ;
36149 PyObject
* obj3
= 0 ;
36150 PyObject
* obj4
= 0 ;
36151 char * kwnames
[] = {
36152 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36157 if (!SWIG_IsOK(res1
)) {
36158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36160 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36162 if (!SWIG_IsOK(ecode2
)) {
36163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36165 arg2
= static_cast< int >(val2
);
36166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36167 if (!SWIG_IsOK(ecode3
)) {
36168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36170 arg3
= static_cast< int >(val3
);
36173 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36177 if (!SWIG_IsOK(ecode5
)) {
36178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36180 arg5
= static_cast< int >(val5
);
36183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36184 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36185 wxPyEndAllowThreads(__tstate
);
36186 if (PyErr_Occurred()) SWIG_fail
;
36188 resultobj
= SWIG_Py_Void();
36195 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36196 PyObject
*resultobj
= 0;
36197 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36198 wxPoint
*arg2
= 0 ;
36199 wxColour
*arg3
= 0 ;
36200 int arg4
= (int) wxFLOOD_SURFACE
;
36207 PyObject
* obj0
= 0 ;
36208 PyObject
* obj1
= 0 ;
36209 PyObject
* obj2
= 0 ;
36210 PyObject
* obj3
= 0 ;
36211 char * kwnames
[] = {
36212 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36217 if (!SWIG_IsOK(res1
)) {
36218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36220 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36223 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36227 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36230 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36231 if (!SWIG_IsOK(ecode4
)) {
36232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36234 arg4
= static_cast< int >(val4
);
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36239 wxPyEndAllowThreads(__tstate
);
36240 if (PyErr_Occurred()) SWIG_fail
;
36242 resultobj
= SWIG_Py_Void();
36249 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36250 PyObject
*resultobj
= 0;
36251 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36266 PyObject
* obj0
= 0 ;
36267 PyObject
* obj1
= 0 ;
36268 PyObject
* obj2
= 0 ;
36269 PyObject
* obj3
= 0 ;
36270 PyObject
* obj4
= 0 ;
36271 char * kwnames
[] = {
36272 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36277 if (!SWIG_IsOK(res1
)) {
36278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36280 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36282 if (!SWIG_IsOK(ecode2
)) {
36283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36285 arg2
= static_cast< int >(val2
);
36286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36287 if (!SWIG_IsOK(ecode3
)) {
36288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36290 arg3
= static_cast< int >(val3
);
36291 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36292 if (!SWIG_IsOK(ecode4
)) {
36293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36295 arg4
= static_cast< int >(val4
);
36296 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36297 if (!SWIG_IsOK(ecode5
)) {
36298 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36300 arg5
= static_cast< int >(val5
);
36302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36303 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36304 wxPyEndAllowThreads(__tstate
);
36305 if (PyErr_Occurred()) SWIG_fail
;
36307 resultobj
= SWIG_Py_Void();
36314 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36315 PyObject
*resultobj
= 0;
36316 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36317 wxPoint
*arg2
= 0 ;
36318 wxPoint
*arg3
= 0 ;
36323 PyObject
* obj0
= 0 ;
36324 PyObject
* obj1
= 0 ;
36325 PyObject
* obj2
= 0 ;
36326 char * kwnames
[] = {
36327 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36332 if (!SWIG_IsOK(res1
)) {
36333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36335 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36342 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36346 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36347 wxPyEndAllowThreads(__tstate
);
36348 if (PyErr_Occurred()) SWIG_fail
;
36350 resultobj
= SWIG_Py_Void();
36357 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36358 PyObject
*resultobj
= 0;
36359 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36368 PyObject
* obj0
= 0 ;
36369 PyObject
* obj1
= 0 ;
36370 PyObject
* obj2
= 0 ;
36371 char * kwnames
[] = {
36372 (char *) "self",(char *) "x",(char *) "y", NULL
36375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36377 if (!SWIG_IsOK(res1
)) {
36378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36380 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36382 if (!SWIG_IsOK(ecode2
)) {
36383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36385 arg2
= static_cast< int >(val2
);
36386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36387 if (!SWIG_IsOK(ecode3
)) {
36388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36390 arg3
= static_cast< int >(val3
);
36392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36393 (arg1
)->CrossHair(arg2
,arg3
);
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36397 resultobj
= SWIG_Py_Void();
36404 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36405 PyObject
*resultobj
= 0;
36406 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36407 wxPoint
*arg2
= 0 ;
36411 PyObject
* obj0
= 0 ;
36412 PyObject
* obj1
= 0 ;
36413 char * kwnames
[] = {
36414 (char *) "self",(char *) "pt", NULL
36417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36419 if (!SWIG_IsOK(res1
)) {
36420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36422 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36425 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36429 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36430 wxPyEndAllowThreads(__tstate
);
36431 if (PyErr_Occurred()) SWIG_fail
;
36433 resultobj
= SWIG_Py_Void();
36440 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36441 PyObject
*resultobj
= 0;
36442 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36463 PyObject
* obj0
= 0 ;
36464 PyObject
* obj1
= 0 ;
36465 PyObject
* obj2
= 0 ;
36466 PyObject
* obj3
= 0 ;
36467 PyObject
* obj4
= 0 ;
36468 PyObject
* obj5
= 0 ;
36469 PyObject
* obj6
= 0 ;
36470 char * kwnames
[] = {
36471 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36476 if (!SWIG_IsOK(res1
)) {
36477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36479 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36481 if (!SWIG_IsOK(ecode2
)) {
36482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36484 arg2
= static_cast< int >(val2
);
36485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36486 if (!SWIG_IsOK(ecode3
)) {
36487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36489 arg3
= static_cast< int >(val3
);
36490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36491 if (!SWIG_IsOK(ecode4
)) {
36492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36494 arg4
= static_cast< int >(val4
);
36495 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36496 if (!SWIG_IsOK(ecode5
)) {
36497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36499 arg5
= static_cast< int >(val5
);
36500 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36501 if (!SWIG_IsOK(ecode6
)) {
36502 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36504 arg6
= static_cast< int >(val6
);
36505 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36506 if (!SWIG_IsOK(ecode7
)) {
36507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36509 arg7
= static_cast< int >(val7
);
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_Py_Void();
36523 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
= 0;
36525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36526 wxPoint
*arg2
= 0 ;
36527 wxPoint
*arg3
= 0 ;
36528 wxPoint
*arg4
= 0 ;
36534 PyObject
* obj0
= 0 ;
36535 PyObject
* obj1
= 0 ;
36536 PyObject
* obj2
= 0 ;
36537 PyObject
* obj3
= 0 ;
36538 char * kwnames
[] = {
36539 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36544 if (!SWIG_IsOK(res1
)) {
36545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36547 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36562 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36563 wxPyEndAllowThreads(__tstate
);
36564 if (PyErr_Occurred()) SWIG_fail
;
36566 resultobj
= SWIG_Py_Void();
36573 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36574 PyObject
*resultobj
= 0;
36575 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36590 PyObject
* obj0
= 0 ;
36591 PyObject
* obj1
= 0 ;
36592 PyObject
* obj2
= 0 ;
36593 PyObject
* obj3
= 0 ;
36594 PyObject
* obj4
= 0 ;
36595 char * kwnames
[] = {
36596 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36601 if (!SWIG_IsOK(res1
)) {
36602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36604 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36606 if (!SWIG_IsOK(ecode2
)) {
36607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36609 arg2
= static_cast< int >(val2
);
36610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36611 if (!SWIG_IsOK(ecode3
)) {
36612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36614 arg3
= static_cast< int >(val3
);
36615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36616 if (!SWIG_IsOK(ecode4
)) {
36617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36619 arg4
= static_cast< int >(val4
);
36620 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36621 if (!SWIG_IsOK(ecode5
)) {
36622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36624 arg5
= static_cast< int >(val5
);
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36627 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36628 wxPyEndAllowThreads(__tstate
);
36629 if (PyErr_Occurred()) SWIG_fail
;
36631 resultobj
= SWIG_Py_Void();
36638 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36639 PyObject
*resultobj
= 0;
36640 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36645 PyObject
* obj0
= 0 ;
36646 PyObject
* obj1
= 0 ;
36647 char * kwnames
[] = {
36648 (char *) "self",(char *) "rect", NULL
36651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36653 if (!SWIG_IsOK(res1
)) {
36654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36656 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36659 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 resultobj
= SWIG_Py_Void();
36674 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
= 0;
36676 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36697 PyObject
* obj0
= 0 ;
36698 PyObject
* obj1
= 0 ;
36699 PyObject
* obj2
= 0 ;
36700 PyObject
* obj3
= 0 ;
36701 PyObject
* obj4
= 0 ;
36702 PyObject
* obj5
= 0 ;
36703 PyObject
* obj6
= 0 ;
36704 char * kwnames
[] = {
36705 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36710 if (!SWIG_IsOK(res1
)) {
36711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36713 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36715 if (!SWIG_IsOK(ecode2
)) {
36716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36718 arg2
= static_cast< int >(val2
);
36719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36720 if (!SWIG_IsOK(ecode3
)) {
36721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36723 arg3
= static_cast< int >(val3
);
36724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36725 if (!SWIG_IsOK(ecode4
)) {
36726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36728 arg4
= static_cast< int >(val4
);
36729 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36730 if (!SWIG_IsOK(ecode5
)) {
36731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36733 arg5
= static_cast< int >(val5
);
36734 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36735 if (!SWIG_IsOK(ecode6
)) {
36736 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36738 arg6
= static_cast< double >(val6
);
36739 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36740 if (!SWIG_IsOK(ecode7
)) {
36741 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36743 arg7
= static_cast< double >(val7
);
36745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36746 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36747 wxPyEndAllowThreads(__tstate
);
36748 if (PyErr_Occurred()) SWIG_fail
;
36750 resultobj
= SWIG_Py_Void();
36757 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36758 PyObject
*resultobj
= 0;
36759 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36760 wxPoint
*arg2
= 0 ;
36772 PyObject
* obj0
= 0 ;
36773 PyObject
* obj1
= 0 ;
36774 PyObject
* obj2
= 0 ;
36775 PyObject
* obj3
= 0 ;
36776 PyObject
* obj4
= 0 ;
36777 char * kwnames
[] = {
36778 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36783 if (!SWIG_IsOK(res1
)) {
36784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36786 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36793 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36795 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36796 if (!SWIG_IsOK(ecode4
)) {
36797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36799 arg4
= static_cast< double >(val4
);
36800 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36801 if (!SWIG_IsOK(ecode5
)) {
36802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36804 arg5
= static_cast< double >(val5
);
36806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36807 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36811 resultobj
= SWIG_Py_Void();
36818 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
= 0;
36820 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36829 PyObject
* obj0
= 0 ;
36830 PyObject
* obj1
= 0 ;
36831 PyObject
* obj2
= 0 ;
36832 char * kwnames
[] = {
36833 (char *) "self",(char *) "x",(char *) "y", NULL
36836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36838 if (!SWIG_IsOK(res1
)) {
36839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36841 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36843 if (!SWIG_IsOK(ecode2
)) {
36844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36846 arg2
= static_cast< int >(val2
);
36847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36848 if (!SWIG_IsOK(ecode3
)) {
36849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36851 arg3
= static_cast< int >(val3
);
36853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36854 (arg1
)->DrawPoint(arg2
,arg3
);
36855 wxPyEndAllowThreads(__tstate
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36858 resultobj
= SWIG_Py_Void();
36865 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36866 PyObject
*resultobj
= 0;
36867 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36868 wxPoint
*arg2
= 0 ;
36872 PyObject
* obj0
= 0 ;
36873 PyObject
* obj1
= 0 ;
36874 char * kwnames
[] = {
36875 (char *) "self",(char *) "pt", NULL
36878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36880 if (!SWIG_IsOK(res1
)) {
36881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36883 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36890 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36891 wxPyEndAllowThreads(__tstate
);
36892 if (PyErr_Occurred()) SWIG_fail
;
36894 resultobj
= SWIG_Py_Void();
36901 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36902 PyObject
*resultobj
= 0;
36903 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36918 PyObject
* obj0
= 0 ;
36919 PyObject
* obj1
= 0 ;
36920 PyObject
* obj2
= 0 ;
36921 PyObject
* obj3
= 0 ;
36922 PyObject
* obj4
= 0 ;
36923 char * kwnames
[] = {
36924 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36929 if (!SWIG_IsOK(res1
)) {
36930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36932 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36934 if (!SWIG_IsOK(ecode2
)) {
36935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36937 arg2
= static_cast< int >(val2
);
36938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36939 if (!SWIG_IsOK(ecode3
)) {
36940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36942 arg3
= static_cast< int >(val3
);
36943 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36944 if (!SWIG_IsOK(ecode4
)) {
36945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36947 arg4
= static_cast< int >(val4
);
36948 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36949 if (!SWIG_IsOK(ecode5
)) {
36950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36952 arg5
= static_cast< int >(val5
);
36954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36955 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36956 wxPyEndAllowThreads(__tstate
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36959 resultobj
= SWIG_Py_Void();
36966 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36967 PyObject
*resultobj
= 0;
36968 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36973 PyObject
* obj0
= 0 ;
36974 PyObject
* obj1
= 0 ;
36975 char * kwnames
[] = {
36976 (char *) "self",(char *) "rect", NULL
36979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36981 if (!SWIG_IsOK(res1
)) {
36982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36987 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36991 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36992 wxPyEndAllowThreads(__tstate
);
36993 if (PyErr_Occurred()) SWIG_fail
;
36995 resultobj
= SWIG_Py_Void();
37002 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37003 PyObject
*resultobj
= 0;
37004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37005 wxPoint
*arg2
= 0 ;
37011 PyObject
* obj0
= 0 ;
37012 PyObject
* obj1
= 0 ;
37013 PyObject
* obj2
= 0 ;
37014 char * kwnames
[] = {
37015 (char *) "self",(char *) "pt",(char *) "sz", NULL
37018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37020 if (!SWIG_IsOK(res1
)) {
37021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37023 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37030 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37034 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37035 wxPyEndAllowThreads(__tstate
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37038 resultobj
= SWIG_Py_Void();
37045 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37046 PyObject
*resultobj
= 0;
37047 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37065 PyObject
* obj0
= 0 ;
37066 PyObject
* obj1
= 0 ;
37067 PyObject
* obj2
= 0 ;
37068 PyObject
* obj3
= 0 ;
37069 PyObject
* obj4
= 0 ;
37070 PyObject
* obj5
= 0 ;
37071 char * kwnames
[] = {
37072 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37077 if (!SWIG_IsOK(res1
)) {
37078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37080 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37082 if (!SWIG_IsOK(ecode2
)) {
37083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37085 arg2
= static_cast< int >(val2
);
37086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37087 if (!SWIG_IsOK(ecode3
)) {
37088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37090 arg3
= static_cast< int >(val3
);
37091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37092 if (!SWIG_IsOK(ecode4
)) {
37093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37095 arg4
= static_cast< int >(val4
);
37096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37097 if (!SWIG_IsOK(ecode5
)) {
37098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37100 arg5
= static_cast< int >(val5
);
37101 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37102 if (!SWIG_IsOK(ecode6
)) {
37103 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37105 arg6
= static_cast< double >(val6
);
37107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37108 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37109 wxPyEndAllowThreads(__tstate
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37112 resultobj
= SWIG_Py_Void();
37119 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37120 PyObject
*resultobj
= 0;
37121 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37129 PyObject
* obj0
= 0 ;
37130 PyObject
* obj1
= 0 ;
37131 PyObject
* obj2
= 0 ;
37132 char * kwnames
[] = {
37133 (char *) "self",(char *) "r",(char *) "radius", NULL
37136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37138 if (!SWIG_IsOK(res1
)) {
37139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37141 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37144 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37146 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37147 if (!SWIG_IsOK(ecode3
)) {
37148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37150 arg3
= static_cast< double >(val3
);
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37154 wxPyEndAllowThreads(__tstate
);
37155 if (PyErr_Occurred()) SWIG_fail
;
37157 resultobj
= SWIG_Py_Void();
37164 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37165 PyObject
*resultobj
= 0;
37166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37167 wxPoint
*arg2
= 0 ;
37176 PyObject
* obj0
= 0 ;
37177 PyObject
* obj1
= 0 ;
37178 PyObject
* obj2
= 0 ;
37179 PyObject
* obj3
= 0 ;
37180 char * kwnames
[] = {
37181 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37186 if (!SWIG_IsOK(res1
)) {
37187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37189 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37196 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37198 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37199 if (!SWIG_IsOK(ecode4
)) {
37200 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37202 arg4
= static_cast< double >(val4
);
37204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37205 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37206 wxPyEndAllowThreads(__tstate
);
37207 if (PyErr_Occurred()) SWIG_fail
;
37209 resultobj
= SWIG_Py_Void();
37216 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37217 PyObject
*resultobj
= 0;
37218 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37230 PyObject
* obj0
= 0 ;
37231 PyObject
* obj1
= 0 ;
37232 PyObject
* obj2
= 0 ;
37233 PyObject
* obj3
= 0 ;
37234 char * kwnames
[] = {
37235 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",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_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37243 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37245 if (!SWIG_IsOK(ecode2
)) {
37246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37248 arg2
= static_cast< int >(val2
);
37249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37250 if (!SWIG_IsOK(ecode3
)) {
37251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', 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_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37258 arg4
= static_cast< int >(val4
);
37260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37261 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37265 resultobj
= SWIG_Py_Void();
37272 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37273 PyObject
*resultobj
= 0;
37274 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37275 wxPoint
*arg2
= 0 ;
37282 PyObject
* obj0
= 0 ;
37283 PyObject
* obj1
= 0 ;
37284 PyObject
* obj2
= 0 ;
37285 char * kwnames
[] = {
37286 (char *) "self",(char *) "pt",(char *) "radius", NULL
37289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37291 if (!SWIG_IsOK(res1
)) {
37292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37294 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37300 if (!SWIG_IsOK(ecode3
)) {
37301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37303 arg3
= static_cast< int >(val3
);
37305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37306 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37307 wxPyEndAllowThreads(__tstate
);
37308 if (PyErr_Occurred()) SWIG_fail
;
37310 resultobj
= SWIG_Py_Void();
37317 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37318 PyObject
*resultobj
= 0;
37319 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37334 PyObject
* obj0
= 0 ;
37335 PyObject
* obj1
= 0 ;
37336 PyObject
* obj2
= 0 ;
37337 PyObject
* obj3
= 0 ;
37338 PyObject
* obj4
= 0 ;
37339 char * kwnames
[] = {
37340 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37345 if (!SWIG_IsOK(res1
)) {
37346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37348 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37350 if (!SWIG_IsOK(ecode2
)) {
37351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37353 arg2
= static_cast< int >(val2
);
37354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37355 if (!SWIG_IsOK(ecode3
)) {
37356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37358 arg3
= static_cast< int >(val3
);
37359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37360 if (!SWIG_IsOK(ecode4
)) {
37361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37363 arg4
= static_cast< int >(val4
);
37364 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37365 if (!SWIG_IsOK(ecode5
)) {
37366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37368 arg5
= static_cast< int >(val5
);
37370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37371 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37372 wxPyEndAllowThreads(__tstate
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37375 resultobj
= SWIG_Py_Void();
37382 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37383 PyObject
*resultobj
= 0;
37384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37389 PyObject
* obj0
= 0 ;
37390 PyObject
* obj1
= 0 ;
37391 char * kwnames
[] = {
37392 (char *) "self",(char *) "rect", NULL
37395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37397 if (!SWIG_IsOK(res1
)) {
37398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37403 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37407 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37408 wxPyEndAllowThreads(__tstate
);
37409 if (PyErr_Occurred()) SWIG_fail
;
37411 resultobj
= SWIG_Py_Void();
37418 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37419 PyObject
*resultobj
= 0;
37420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37421 wxPoint
*arg2
= 0 ;
37427 PyObject
* obj0
= 0 ;
37428 PyObject
* obj1
= 0 ;
37429 PyObject
* obj2
= 0 ;
37430 char * kwnames
[] = {
37431 (char *) "self",(char *) "pt",(char *) "sz", NULL
37434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37436 if (!SWIG_IsOK(res1
)) {
37437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37446 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37450 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37451 wxPyEndAllowThreads(__tstate
);
37452 if (PyErr_Occurred()) SWIG_fail
;
37454 resultobj
= SWIG_Py_Void();
37461 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37462 PyObject
*resultobj
= 0;
37463 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37475 PyObject
* obj0
= 0 ;
37476 PyObject
* obj1
= 0 ;
37477 PyObject
* obj2
= 0 ;
37478 PyObject
* obj3
= 0 ;
37479 char * kwnames
[] = {
37480 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37485 if (!SWIG_IsOK(res1
)) {
37486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37488 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37490 if (!SWIG_IsOK(res2
)) {
37491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37496 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37498 if (!SWIG_IsOK(ecode3
)) {
37499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37501 arg3
= static_cast< int >(val3
);
37502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37503 if (!SWIG_IsOK(ecode4
)) {
37504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37506 arg4
= static_cast< int >(val4
);
37508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37509 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37510 wxPyEndAllowThreads(__tstate
);
37511 if (PyErr_Occurred()) SWIG_fail
;
37513 resultobj
= SWIG_Py_Void();
37520 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37521 PyObject
*resultobj
= 0;
37522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37524 wxPoint
*arg3
= 0 ;
37530 PyObject
* obj0
= 0 ;
37531 PyObject
* obj1
= 0 ;
37532 PyObject
* obj2
= 0 ;
37533 char * kwnames
[] = {
37534 (char *) "self",(char *) "icon",(char *) "pt", NULL
37537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37539 if (!SWIG_IsOK(res1
)) {
37540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37542 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37544 if (!SWIG_IsOK(res2
)) {
37545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37550 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37553 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37557 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37558 wxPyEndAllowThreads(__tstate
);
37559 if (PyErr_Occurred()) SWIG_fail
;
37561 resultobj
= SWIG_Py_Void();
37568 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37569 PyObject
*resultobj
= 0;
37570 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37571 wxBitmap
*arg2
= 0 ;
37574 bool arg5
= (bool) false ;
37585 PyObject
* obj0
= 0 ;
37586 PyObject
* obj1
= 0 ;
37587 PyObject
* obj2
= 0 ;
37588 PyObject
* obj3
= 0 ;
37589 PyObject
* obj4
= 0 ;
37590 char * kwnames
[] = {
37591 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37596 if (!SWIG_IsOK(res1
)) {
37597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37599 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37601 if (!SWIG_IsOK(res2
)) {
37602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37607 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37609 if (!SWIG_IsOK(ecode3
)) {
37610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37612 arg3
= static_cast< int >(val3
);
37613 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37614 if (!SWIG_IsOK(ecode4
)) {
37615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37617 arg4
= static_cast< int >(val4
);
37619 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37620 if (!SWIG_IsOK(ecode5
)) {
37621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37623 arg5
= static_cast< bool >(val5
);
37626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37627 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37628 wxPyEndAllowThreads(__tstate
);
37629 if (PyErr_Occurred()) SWIG_fail
;
37631 resultobj
= SWIG_Py_Void();
37638 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37639 PyObject
*resultobj
= 0;
37640 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37641 wxBitmap
*arg2
= 0 ;
37642 wxPoint
*arg3
= 0 ;
37643 bool arg4
= (bool) false ;
37651 PyObject
* obj0
= 0 ;
37652 PyObject
* obj1
= 0 ;
37653 PyObject
* obj2
= 0 ;
37654 PyObject
* obj3
= 0 ;
37655 char * kwnames
[] = {
37656 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37661 if (!SWIG_IsOK(res1
)) {
37662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37664 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37666 if (!SWIG_IsOK(res2
)) {
37667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37672 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37678 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37679 if (!SWIG_IsOK(ecode4
)) {
37680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37682 arg4
= static_cast< bool >(val4
);
37685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37686 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37687 wxPyEndAllowThreads(__tstate
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37690 resultobj
= SWIG_Py_Void();
37697 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37698 PyObject
*resultobj
= 0;
37699 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37700 wxString
*arg2
= 0 ;
37705 bool temp2
= false ;
37710 PyObject
* obj0
= 0 ;
37711 PyObject
* obj1
= 0 ;
37712 PyObject
* obj2
= 0 ;
37713 PyObject
* obj3
= 0 ;
37714 char * kwnames
[] = {
37715 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37720 if (!SWIG_IsOK(res1
)) {
37721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37723 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37725 arg2
= wxString_in_helper(obj1
);
37726 if (arg2
== NULL
) SWIG_fail
;
37729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37730 if (!SWIG_IsOK(ecode3
)) {
37731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37733 arg3
= static_cast< int >(val3
);
37734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37735 if (!SWIG_IsOK(ecode4
)) {
37736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37738 arg4
= static_cast< int >(val4
);
37740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37741 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37742 wxPyEndAllowThreads(__tstate
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37745 resultobj
= SWIG_Py_Void();
37760 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37761 PyObject
*resultobj
= 0;
37762 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37763 wxString
*arg2
= 0 ;
37764 wxPoint
*arg3
= 0 ;
37767 bool temp2
= false ;
37769 PyObject
* obj0
= 0 ;
37770 PyObject
* obj1
= 0 ;
37771 PyObject
* obj2
= 0 ;
37772 char * kwnames
[] = {
37773 (char *) "self",(char *) "text",(char *) "pt", NULL
37776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37778 if (!SWIG_IsOK(res1
)) {
37779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37781 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37783 arg2
= wxString_in_helper(obj1
);
37784 if (arg2
== NULL
) SWIG_fail
;
37789 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37793 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37794 wxPyEndAllowThreads(__tstate
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= SWIG_Py_Void();
37812 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37813 PyObject
*resultobj
= 0;
37814 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37815 wxString
*arg2
= 0 ;
37821 bool temp2
= false ;
37828 PyObject
* obj0
= 0 ;
37829 PyObject
* obj1
= 0 ;
37830 PyObject
* obj2
= 0 ;
37831 PyObject
* obj3
= 0 ;
37832 PyObject
* obj4
= 0 ;
37833 char * kwnames
[] = {
37834 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37839 if (!SWIG_IsOK(res1
)) {
37840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37842 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37844 arg2
= wxString_in_helper(obj1
);
37845 if (arg2
== NULL
) SWIG_fail
;
37848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37849 if (!SWIG_IsOK(ecode3
)) {
37850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37852 arg3
= static_cast< int >(val3
);
37853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37854 if (!SWIG_IsOK(ecode4
)) {
37855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37857 arg4
= static_cast< int >(val4
);
37858 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37859 if (!SWIG_IsOK(ecode5
)) {
37860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37862 arg5
= static_cast< double >(val5
);
37864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37865 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37866 wxPyEndAllowThreads(__tstate
);
37867 if (PyErr_Occurred()) SWIG_fail
;
37869 resultobj
= SWIG_Py_Void();
37884 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37885 PyObject
*resultobj
= 0;
37886 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37887 wxString
*arg2
= 0 ;
37888 wxPoint
*arg3
= 0 ;
37892 bool temp2
= false ;
37896 PyObject
* obj0
= 0 ;
37897 PyObject
* obj1
= 0 ;
37898 PyObject
* obj2
= 0 ;
37899 PyObject
* obj3
= 0 ;
37900 char * kwnames
[] = {
37901 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37906 if (!SWIG_IsOK(res1
)) {
37907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37909 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37911 arg2
= wxString_in_helper(obj1
);
37912 if (arg2
== NULL
) SWIG_fail
;
37917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37919 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37920 if (!SWIG_IsOK(ecode4
)) {
37921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37923 arg4
= static_cast< double >(val4
);
37925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37926 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37927 wxPyEndAllowThreads(__tstate
);
37928 if (PyErr_Occurred()) SWIG_fail
;
37930 resultobj
= SWIG_Py_Void();
37945 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37946 PyObject
*resultobj
= 0;
37947 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37949 wxPoint
*arg3
= (wxPoint
*) 0 ;
37950 int arg4
= (int) 0 ;
37951 int arg5
= (int) 0 ;
37958 PyObject
* obj0
= 0 ;
37959 PyObject
* obj1
= 0 ;
37960 PyObject
* obj2
= 0 ;
37961 PyObject
* obj3
= 0 ;
37962 char * kwnames
[] = {
37963 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37968 if (!SWIG_IsOK(res1
)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37971 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37973 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37974 if (arg3
== NULL
) SWIG_fail
;
37977 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37978 if (!SWIG_IsOK(ecode4
)) {
37979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37981 arg4
= static_cast< int >(val4
);
37984 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37985 if (!SWIG_IsOK(ecode5
)) {
37986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37988 arg5
= static_cast< int >(val5
);
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37993 wxPyEndAllowThreads(__tstate
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37996 resultobj
= SWIG_Py_Void();
37998 if (arg3
) delete [] arg3
;
38003 if (arg3
) delete [] arg3
;
38009 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38010 PyObject
*resultobj
= 0;
38011 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38013 wxPoint
*arg3
= (wxPoint
*) 0 ;
38014 int arg4
= (int) 0 ;
38015 int arg5
= (int) 0 ;
38016 int arg6
= (int) wxODDEVEN_RULE
;
38025 PyObject
* obj0
= 0 ;
38026 PyObject
* obj1
= 0 ;
38027 PyObject
* obj2
= 0 ;
38028 PyObject
* obj3
= 0 ;
38029 PyObject
* obj4
= 0 ;
38030 char * kwnames
[] = {
38031 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38036 if (!SWIG_IsOK(res1
)) {
38037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38039 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38041 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38042 if (arg3
== NULL
) SWIG_fail
;
38045 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38046 if (!SWIG_IsOK(ecode4
)) {
38047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38049 arg4
= static_cast< int >(val4
);
38052 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38053 if (!SWIG_IsOK(ecode5
)) {
38054 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38056 arg5
= static_cast< int >(val5
);
38059 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38060 if (!SWIG_IsOK(ecode6
)) {
38061 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38063 arg6
= static_cast< int >(val6
);
38066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38067 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38068 wxPyEndAllowThreads(__tstate
);
38069 if (PyErr_Occurred()) SWIG_fail
;
38071 resultobj
= SWIG_Py_Void();
38073 if (arg3
) delete [] arg3
;
38078 if (arg3
) delete [] arg3
;
38084 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38085 PyObject
*resultobj
= 0;
38086 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38087 wxString
*arg2
= 0 ;
38089 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38090 int arg5
= (int) -1 ;
38093 bool temp2
= false ;
38099 PyObject
* obj0
= 0 ;
38100 PyObject
* obj1
= 0 ;
38101 PyObject
* obj2
= 0 ;
38102 PyObject
* obj3
= 0 ;
38103 PyObject
* obj4
= 0 ;
38104 char * kwnames
[] = {
38105 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38110 if (!SWIG_IsOK(res1
)) {
38111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38113 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38115 arg2
= wxString_in_helper(obj1
);
38116 if (arg2
== NULL
) SWIG_fail
;
38121 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38124 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38125 if (!SWIG_IsOK(ecode4
)) {
38126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38128 arg4
= static_cast< int >(val4
);
38131 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38132 if (!SWIG_IsOK(ecode5
)) {
38133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38135 arg5
= static_cast< int >(val5
);
38138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38139 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38143 resultobj
= SWIG_Py_Void();
38158 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38159 PyObject
*resultobj
= 0;
38160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38161 wxString
*arg2
= 0 ;
38162 wxBitmap
*arg3
= 0 ;
38164 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38165 int arg6
= (int) -1 ;
38168 bool temp2
= false ;
38176 PyObject
* obj0
= 0 ;
38177 PyObject
* obj1
= 0 ;
38178 PyObject
* obj2
= 0 ;
38179 PyObject
* obj3
= 0 ;
38180 PyObject
* obj4
= 0 ;
38181 PyObject
* obj5
= 0 ;
38182 char * kwnames
[] = {
38183 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38188 if (!SWIG_IsOK(res1
)) {
38189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38193 arg2
= wxString_in_helper(obj1
);
38194 if (arg2
== NULL
) SWIG_fail
;
38197 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38198 if (!SWIG_IsOK(res3
)) {
38199 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38204 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38207 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38211 if (!SWIG_IsOK(ecode5
)) {
38212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38214 arg5
= static_cast< int >(val5
);
38217 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38218 if (!SWIG_IsOK(ecode6
)) {
38219 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38221 arg6
= static_cast< int >(val6
);
38224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38225 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38226 wxPyEndAllowThreads(__tstate
);
38227 if (PyErr_Occurred()) SWIG_fail
;
38229 resultobj
= SWIG_Py_Void();
38244 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38245 PyObject
*resultobj
= 0;
38246 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38248 wxPoint
*arg3
= (wxPoint
*) 0 ;
38251 PyObject
* obj0
= 0 ;
38252 PyObject
* obj1
= 0 ;
38253 char * kwnames
[] = {
38254 (char *) "self",(char *) "points", NULL
38257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38259 if (!SWIG_IsOK(res1
)) {
38260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38264 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38265 if (arg3
== NULL
) SWIG_fail
;
38268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38269 (arg1
)->DrawSpline(arg2
,arg3
);
38270 wxPyEndAllowThreads(__tstate
);
38271 if (PyErr_Occurred()) SWIG_fail
;
38273 resultobj
= SWIG_Py_Void();
38275 if (arg3
) delete [] arg3
;
38280 if (arg3
) delete [] arg3
;
38286 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38287 PyObject
*resultobj
= 0;
38288 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38291 PyObject
*swig_obj
[1] ;
38293 if (!args
) SWIG_fail
;
38294 swig_obj
[0] = args
;
38295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38296 if (!SWIG_IsOK(res1
)) {
38297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38299 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38303 wxPyEndAllowThreads(__tstate
);
38304 if (PyErr_Occurred()) SWIG_fail
;
38306 resultobj
= SWIG_Py_Void();
38313 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38314 PyObject
*resultobj
= 0;
38315 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38321 PyObject
* obj0
= 0 ;
38322 PyObject
* obj1
= 0 ;
38323 char * kwnames
[] = {
38324 (char *) "self",(char *) "font", NULL
38327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38329 if (!SWIG_IsOK(res1
)) {
38330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38332 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38334 if (!SWIG_IsOK(res2
)) {
38335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38340 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38343 (arg1
)->SetFont((wxFont
const &)*arg2
);
38344 wxPyEndAllowThreads(__tstate
);
38345 if (PyErr_Occurred()) SWIG_fail
;
38347 resultobj
= SWIG_Py_Void();
38354 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38355 PyObject
*resultobj
= 0;
38356 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38362 PyObject
* obj0
= 0 ;
38363 PyObject
* obj1
= 0 ;
38364 char * kwnames
[] = {
38365 (char *) "self",(char *) "pen", NULL
38368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38370 if (!SWIG_IsOK(res1
)) {
38371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38373 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38375 if (!SWIG_IsOK(res2
)) {
38376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38381 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38384 (arg1
)->SetPen((wxPen
const &)*arg2
);
38385 wxPyEndAllowThreads(__tstate
);
38386 if (PyErr_Occurred()) SWIG_fail
;
38388 resultobj
= SWIG_Py_Void();
38395 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38396 PyObject
*resultobj
= 0;
38397 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38398 wxBrush
*arg2
= 0 ;
38403 PyObject
* obj0
= 0 ;
38404 PyObject
* obj1
= 0 ;
38405 char * kwnames
[] = {
38406 (char *) "self",(char *) "brush", NULL
38409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38411 if (!SWIG_IsOK(res1
)) {
38412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38414 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38416 if (!SWIG_IsOK(res2
)) {
38417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38422 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38425 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38426 wxPyEndAllowThreads(__tstate
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38429 resultobj
= SWIG_Py_Void();
38436 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38437 PyObject
*resultobj
= 0;
38438 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38439 wxBrush
*arg2
= 0 ;
38444 PyObject
* obj0
= 0 ;
38445 PyObject
* obj1
= 0 ;
38446 char * kwnames
[] = {
38447 (char *) "self",(char *) "brush", NULL
38450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38452 if (!SWIG_IsOK(res1
)) {
38453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38455 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38456 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38457 if (!SWIG_IsOK(res2
)) {
38458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38463 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38466 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38467 wxPyEndAllowThreads(__tstate
);
38468 if (PyErr_Occurred()) SWIG_fail
;
38470 resultobj
= SWIG_Py_Void();
38477 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38478 PyObject
*resultobj
= 0;
38479 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38485 PyObject
* obj0
= 0 ;
38486 PyObject
* obj1
= 0 ;
38487 char * kwnames
[] = {
38488 (char *) "self",(char *) "mode", NULL
38491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38493 if (!SWIG_IsOK(res1
)) {
38494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38496 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38498 if (!SWIG_IsOK(ecode2
)) {
38499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38501 arg2
= static_cast< int >(val2
);
38503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38504 (arg1
)->SetBackgroundMode(arg2
);
38505 wxPyEndAllowThreads(__tstate
);
38506 if (PyErr_Occurred()) SWIG_fail
;
38508 resultobj
= SWIG_Py_Void();
38515 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38516 PyObject
*resultobj
= 0;
38517 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38518 wxPalette
*arg2
= 0 ;
38523 PyObject
* obj0
= 0 ;
38524 PyObject
* obj1
= 0 ;
38525 char * kwnames
[] = {
38526 (char *) "self",(char *) "palette", NULL
38529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38531 if (!SWIG_IsOK(res1
)) {
38532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38534 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38535 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38536 if (!SWIG_IsOK(res2
)) {
38537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38542 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38545 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38546 wxPyEndAllowThreads(__tstate
);
38547 if (PyErr_Occurred()) SWIG_fail
;
38549 resultobj
= SWIG_Py_Void();
38556 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38557 PyObject
*resultobj
= 0;
38558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38559 wxColour
*arg2
= 0 ;
38563 PyObject
* obj0
= 0 ;
38564 PyObject
* obj1
= 0 ;
38565 char * kwnames
[] = {
38566 (char *) "self",(char *) "colour", NULL
38569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38571 if (!SWIG_IsOK(res1
)) {
38572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38574 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38577 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38581 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38582 wxPyEndAllowThreads(__tstate
);
38583 if (PyErr_Occurred()) SWIG_fail
;
38585 resultobj
= SWIG_Py_Void();
38592 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38593 PyObject
*resultobj
= 0;
38594 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38595 wxColour
*arg2
= 0 ;
38599 PyObject
* obj0
= 0 ;
38600 PyObject
* obj1
= 0 ;
38601 char * kwnames
[] = {
38602 (char *) "self",(char *) "colour", NULL
38605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38607 if (!SWIG_IsOK(res1
)) {
38608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38610 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38617 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38618 wxPyEndAllowThreads(__tstate
);
38619 if (PyErr_Occurred()) SWIG_fail
;
38621 resultobj
= SWIG_Py_Void();
38628 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38629 PyObject
*resultobj
= 0;
38630 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38636 PyObject
* obj0
= 0 ;
38637 PyObject
* obj1
= 0 ;
38638 char * kwnames
[] = {
38639 (char *) "self",(char *) "function", NULL
38642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38644 if (!SWIG_IsOK(res1
)) {
38645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38647 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38649 if (!SWIG_IsOK(ecode2
)) {
38650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38652 arg2
= static_cast< int >(val2
);
38654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38655 (arg1
)->SetLogicalFunction(arg2
);
38656 wxPyEndAllowThreads(__tstate
);
38657 if (PyErr_Occurred()) SWIG_fail
;
38659 resultobj
= SWIG_Py_Void();
38666 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38669 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38670 return SWIG_Py_Void();
38673 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38674 return SWIG_Python_InitShadowInstance(args
);
38677 static PyMethodDef SwigMethods
[] = {
38678 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38679 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38680 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38681 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38682 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38683 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38687 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38688 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38689 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38690 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38691 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38692 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38697 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38701 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38702 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38703 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38705 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38708 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38709 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38710 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38711 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38713 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38714 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38715 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38716 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38717 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38718 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38719 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38726 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38728 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38731 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38732 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38735 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38739 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38740 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38741 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38742 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38743 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38744 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38745 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38747 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38753 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38754 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38755 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38756 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38757 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38758 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38759 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38765 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38775 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38776 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38780 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38781 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38782 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38783 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38784 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38785 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38786 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38787 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38788 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38789 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38790 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38791 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38792 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38793 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38794 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38796 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38797 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38803 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38804 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38805 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38806 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38807 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38808 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38809 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38810 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38811 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38812 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38813 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38814 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38816 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38817 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38823 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38824 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38825 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38827 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38828 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38829 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38831 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38832 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38837 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38838 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38839 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38840 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38845 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38846 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38848 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38849 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38851 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38853 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38854 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38855 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38856 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38859 { (char *)"IconBundle_IsOk", (PyCFunction
)_wrap_IconBundle_IsOk
, METH_O
, NULL
},
38860 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"IconBundle_GetIconOfExactSize", (PyCFunction
) _wrap_IconBundle_GetIconOfExactSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"IconBundle_GetIconCount", (PyCFunction
)_wrap_IconBundle_GetIconCount
, METH_O
, NULL
},
38865 { (char *)"IconBundle_GetIconByIndex", (PyCFunction
) _wrap_IconBundle_GetIconByIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"IconBundle_IsEmpty", (PyCFunction
)_wrap_IconBundle_IsEmpty
, METH_O
, NULL
},
38867 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38868 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38869 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38871 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38874 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38875 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38876 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38881 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38882 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38888 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38892 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38903 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38906 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38907 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38909 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38910 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38911 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38912 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38913 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38914 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38915 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38916 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38917 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38918 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38919 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38920 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38921 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38922 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38923 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38924 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38925 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38927 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38928 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38929 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38930 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38931 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38932 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38933 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38942 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38943 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38945 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38946 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38947 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38948 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38949 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38950 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38951 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38952 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38953 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38955 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38956 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38957 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38960 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38961 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38962 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38965 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38971 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38976 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38977 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38979 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38985 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38988 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38989 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38990 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38991 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38992 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38993 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38994 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38995 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38996 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38997 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38998 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38999 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39000 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39003 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39005 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39012 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39013 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39014 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39016 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39017 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39019 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39020 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39021 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39022 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39026 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39027 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39029 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39030 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39031 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39032 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39033 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39034 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39035 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39036 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39037 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39039 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39042 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39043 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39044 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39045 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39046 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39047 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39048 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39049 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39059 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39060 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39061 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39063 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39067 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39068 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39069 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39070 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39071 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39072 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39078 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39079 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39080 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"DC_StretchBlit", (PyCFunction
) _wrap_DC_StretchBlit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"DC_StretchBlitPointSize", (PyCFunction
) _wrap_DC_StretchBlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39132 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39134 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39135 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39136 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39143 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39144 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39145 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39146 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39147 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39152 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39153 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39154 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39155 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39164 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39165 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39166 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39167 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39168 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39169 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39170 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39171 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39172 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39173 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39174 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39175 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39178 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39180 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39182 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39184 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39185 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39188 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39189 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39193 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39195 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39198 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39199 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39200 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39201 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39202 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39203 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39204 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39212 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39214 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39215 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39216 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39218 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39219 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39220 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39222 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39223 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39224 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39225 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39226 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39227 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39228 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39229 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39232 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39233 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39234 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39236 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39237 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39239 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39240 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39242 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39243 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39248 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39249 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39250 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39251 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39252 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39254 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39255 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39256 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39258 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39259 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39261 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39262 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39265 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39266 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39268 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39271 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39272 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39273 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39275 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39276 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39278 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39279 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39281 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39282 { (char *)"SVGFileDC_swigregister", SVGFileDC_swigregister
, METH_VARARGS
, NULL
},
39283 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39285 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39286 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39287 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39288 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39289 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39290 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39291 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39292 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39293 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39294 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39295 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39296 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39297 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39298 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39299 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39300 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39301 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39302 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39305 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39306 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39308 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39314 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39315 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39316 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39317 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39318 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39319 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39321 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39322 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39323 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39330 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39333 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39334 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39335 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39336 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39337 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39338 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39341 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39348 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39349 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39352 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39353 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39354 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39361 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39362 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39363 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39364 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39382 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39383 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39384 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39385 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39386 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39387 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39390 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39397 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39398 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39399 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39400 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39402 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39403 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39404 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39405 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39406 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39407 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39408 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39409 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39410 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39411 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39412 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39413 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39415 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39423 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39425 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39427 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39428 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39429 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39430 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39431 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39432 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39438 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39439 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39440 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39441 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39442 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39443 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39445 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39447 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39449 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39450 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39451 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39456 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39457 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39458 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39459 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39460 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39461 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39462 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39463 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39464 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39465 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39466 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39467 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39476 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39477 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39479 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39480 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39481 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39482 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39483 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39484 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39485 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39486 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39487 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39488 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39489 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39490 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39491 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39492 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39493 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39494 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39495 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39496 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39497 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39498 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39499 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39500 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39501 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39502 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39504 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39506 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39507 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39508 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39509 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39518 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39522 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39523 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39524 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39526 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39527 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39528 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39529 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39530 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39531 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39532 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39533 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39586 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39596 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39597 { NULL
, NULL
, 0, NULL
}
39601 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39603 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39604 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39606 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39607 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39609 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39610 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39612 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39613 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39615 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39616 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39618 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39619 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39621 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39622 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39624 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39625 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39627 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39628 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39630 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39631 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39633 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39634 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39636 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39637 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39639 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39640 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39642 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39643 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39645 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39646 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39648 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39649 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39651 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39652 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39654 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39655 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39657 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39658 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39660 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39661 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39663 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39664 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39666 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39667 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39669 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39670 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39672 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39673 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39675 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39676 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39678 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39679 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39681 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39682 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39684 static void *_p_wxSVGFileDCTo_p_wxDC(void *x
) {
39685 return (void *)((wxDC
*) ((wxSVGFileDC
*) x
));
39687 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39688 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39690 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39691 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39693 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39694 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39696 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39697 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39699 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39700 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39702 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39703 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39705 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39706 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39708 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39709 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39711 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39712 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39714 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39715 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39717 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39718 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39720 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39721 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39723 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39724 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39726 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39727 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39729 static void *_p_wxPenTo_p_wxObject(void *x
) {
39730 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39732 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39733 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39735 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
39736 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
39738 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39739 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39741 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39742 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39744 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39745 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39747 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39748 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39750 static void *_p_wxIconTo_p_wxObject(void *x
) {
39751 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39753 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39754 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39756 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39757 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39759 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39760 return (void *)((wxObject
*) ((wxSizer
*) x
));
39762 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39763 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39765 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39768 static void *_p_wxEventTo_p_wxObject(void *x
) {
39769 return (void *)((wxObject
*) ((wxEvent
*) x
));
39771 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39772 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39774 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39775 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39777 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39778 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39780 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39781 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39783 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39786 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39787 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39789 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39790 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39792 static void *_p_wxDCTo_p_wxObject(void *x
) {
39793 return (void *)((wxObject
*) ((wxDC
*) x
));
39795 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39796 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39798 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39799 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39801 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39802 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39804 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39805 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39807 static void *_p_wxControlTo_p_wxObject(void *x
) {
39808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39810 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39811 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39813 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39814 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39816 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39817 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39819 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39820 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39822 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39823 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39825 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39826 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39828 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39829 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39831 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39832 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39834 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39835 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39837 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39838 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39840 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39841 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39843 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39844 return (void *)((wxObject
*) ((wxEffects
*) x
));
39846 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39847 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39849 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39852 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39853 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39855 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39856 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39858 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39859 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39861 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39862 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39864 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39865 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39867 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39868 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39870 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39871 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39873 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39874 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39876 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39877 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39879 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39880 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39882 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39883 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39885 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39886 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39888 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39889 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39891 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39892 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39894 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39895 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39897 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39898 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39900 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39901 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39903 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39904 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39906 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39907 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39909 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39910 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39912 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39913 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39915 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39916 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39918 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39919 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39921 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39922 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39924 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39925 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39927 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39928 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39930 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39931 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39933 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39934 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39936 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39937 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39939 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39940 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39942 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39943 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39945 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39946 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39948 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39949 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39951 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39952 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39954 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39955 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39957 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39958 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39960 static void *_p_wxImageTo_p_wxObject(void *x
) {
39961 return (void *)((wxObject
*) ((wxImage
*) x
));
39963 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39964 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39966 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39967 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39969 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39970 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39972 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39973 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39975 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39976 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39978 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39979 return (void *)((wxObject
*) ((wxImageList
*) x
));
39981 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39982 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39984 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39985 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39987 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39988 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39990 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39991 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39993 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39994 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39996 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39997 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39999 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40000 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40002 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40003 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40005 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40006 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40008 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40009 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40011 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40014 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40015 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40017 static void *_p_wxSVGFileDCTo_p_wxObject(void *x
) {
40018 return (void *)((wxObject
*) (wxDC
*) ((wxSVGFileDC
*) x
));
40020 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40021 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40023 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40024 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40026 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40027 return (void *)((wxObject
*) ((wxMask
*) x
));
40029 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40030 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40032 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40035 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40036 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40038 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40039 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40041 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40042 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40044 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40045 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40047 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40048 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40050 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40053 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40054 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40056 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40057 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40059 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40060 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40062 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40063 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40065 static void *_p_wxFontTo_p_wxObject(void *x
) {
40066 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40068 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40069 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40071 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40072 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40074 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40077 static void *_p_wxColourTo_p_wxObject(void *x
) {
40078 return (void *)((wxObject
*) ((wxColour
*) x
));
40080 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40083 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40084 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40086 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40087 return (void *)((wxWindow
*) ((wxControl
*) x
));
40089 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40090 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40092 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40093 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40095 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40096 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40098 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40099 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40101 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40102 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40103 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40104 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};
40105 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40106 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40107 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40108 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40109 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40110 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40111 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40112 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40113 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40114 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40115 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40116 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40117 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40118 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40119 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40120 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40121 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40122 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40123 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40124 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40125 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40126 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40127 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40128 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40129 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40130 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40131 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40132 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40133 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40134 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40135 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40136 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40137 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40138 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40139 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40140 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40141 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40142 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40143 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40144 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40145 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40146 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40147 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40148 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40149 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40150 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40151 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40152 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40153 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40154 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40155 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40156 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40157 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40158 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40159 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40160 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40161 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40162 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40163 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40164 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40165 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40166 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40167 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40168 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40169 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40170 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40171 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40172 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40173 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40174 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40175 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40176 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40177 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40178 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40179 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40180 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40181 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40182 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40183 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40184 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40185 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40186 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40187 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40188 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40189 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40190 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40191 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40192 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40193 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40194 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40195 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40196 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40197 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40198 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40199 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40200 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40201 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40202 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40203 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40204 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40205 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40206 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40207 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40208 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40209 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40210 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40211 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40212 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40213 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40214 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40215 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40216 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40217 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40218 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40219 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40220 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40221 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40222 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40223 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40224 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40225 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40226 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40227 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40228 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40229 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40230 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40231 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40232 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40233 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40234 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40235 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40236 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40237 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40238 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40239 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40240 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40241 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40242 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40243 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40244 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40245 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40246 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40247 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40248 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40249 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40250 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40251 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40252 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40253 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40254 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40255 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40256 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40257 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40258 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40259 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40260 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40261 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40262 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40263 static swig_type_info _swigt__p_wxSVGFileDC
= {"_p_wxSVGFileDC", "wxSVGFileDC *", 0, 0, (void*)0, 0};
40264 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40265 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40266 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40267 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40268 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40269 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40270 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40272 static swig_type_info
*swig_type_initial
[] = {
40276 &_swigt__p_form_ops_t
,
40278 &_swigt__p_unsigned_char
,
40279 &_swigt__p_unsigned_int
,
40280 &_swigt__p_unsigned_long
,
40282 &_swigt__p_wxANIHandler
,
40283 &_swigt__p_wxAcceleratorTable
,
40284 &_swigt__p_wxActivateEvent
,
40285 &_swigt__p_wxAlphaPixelData
,
40286 &_swigt__p_wxAlphaPixelData_Accessor
,
40287 &_swigt__p_wxAutoBufferedPaintDC
,
40288 &_swigt__p_wxBMPHandler
,
40289 &_swigt__p_wxBitmap
,
40290 &_swigt__p_wxBoxSizer
,
40291 &_swigt__p_wxBrush
,
40292 &_swigt__p_wxBrushList
,
40293 &_swigt__p_wxBufferedDC
,
40294 &_swigt__p_wxBufferedPaintDC
,
40295 &_swigt__p_wxCURHandler
,
40296 &_swigt__p_wxChildFocusEvent
,
40297 &_swigt__p_wxClientDC
,
40298 &_swigt__p_wxClipboardTextEvent
,
40299 &_swigt__p_wxCloseEvent
,
40300 &_swigt__p_wxColour
,
40301 &_swigt__p_wxColourDatabase
,
40302 &_swigt__p_wxCommandEvent
,
40303 &_swigt__p_wxContextMenuEvent
,
40304 &_swigt__p_wxControl
,
40305 &_swigt__p_wxControlWithItems
,
40306 &_swigt__p_wxCursor
,
40308 &_swigt__p_wxDCBrushChanger
,
40309 &_swigt__p_wxDCClipper
,
40310 &_swigt__p_wxDCOverlay
,
40311 &_swigt__p_wxDCPenChanger
,
40312 &_swigt__p_wxDCTextColourChanger
,
40314 &_swigt__p_wxDateEvent
,
40315 &_swigt__p_wxDisplayChangedEvent
,
40316 &_swigt__p_wxDropFilesEvent
,
40317 &_swigt__p_wxDuplexMode
,
40318 &_swigt__p_wxEffects
,
40319 &_swigt__p_wxEncodingConverter
,
40320 &_swigt__p_wxEraseEvent
,
40321 &_swigt__p_wxEvent
,
40322 &_swigt__p_wxEventBlocker
,
40323 &_swigt__p_wxEvtHandler
,
40324 &_swigt__p_wxFSFile
,
40325 &_swigt__p_wxFileSystem
,
40326 &_swigt__p_wxFlexGridSizer
,
40327 &_swigt__p_wxFocusEvent
,
40329 &_swigt__p_wxFontList
,
40330 &_swigt__p_wxFontMapper
,
40331 &_swigt__p_wxGBSizerItem
,
40333 &_swigt__p_wxGDIObjListBase
,
40334 &_swigt__p_wxGDIObject
,
40335 &_swigt__p_wxGIFHandler
,
40336 &_swigt__p_wxGraphicsBrush
,
40337 &_swigt__p_wxGraphicsContext
,
40338 &_swigt__p_wxGraphicsFont
,
40339 &_swigt__p_wxGraphicsMatrix
,
40340 &_swigt__p_wxGraphicsObject
,
40341 &_swigt__p_wxGraphicsPath
,
40342 &_swigt__p_wxGraphicsPen
,
40343 &_swigt__p_wxGraphicsRenderer
,
40344 &_swigt__p_wxGridBagSizer
,
40345 &_swigt__p_wxGridSizer
,
40346 &_swigt__p_wxHeaderButtonParams
,
40347 &_swigt__p_wxICOHandler
,
40349 &_swigt__p_wxIconBundle
,
40350 &_swigt__p_wxIconLocation
,
40351 &_swigt__p_wxIconizeEvent
,
40352 &_swigt__p_wxIdleEvent
,
40353 &_swigt__p_wxImage
,
40354 &_swigt__p_wxImageHandler
,
40355 &_swigt__p_wxImageList
,
40356 &_swigt__p_wxIndividualLayoutConstraint
,
40357 &_swigt__p_wxInitDialogEvent
,
40358 &_swigt__p_wxJPEGHandler
,
40359 &_swigt__p_wxKeyEvent
,
40360 &_swigt__p_wxLanguageInfo
,
40361 &_swigt__p_wxLayoutConstraints
,
40362 &_swigt__p_wxLocale
,
40364 &_swigt__p_wxMaximizeEvent
,
40365 &_swigt__p_wxMemoryDC
,
40367 &_swigt__p_wxMenuBar
,
40368 &_swigt__p_wxMenuEvent
,
40369 &_swigt__p_wxMenuItem
,
40370 &_swigt__p_wxMetaFile
,
40371 &_swigt__p_wxMetaFileDC
,
40372 &_swigt__p_wxMirrorDC
,
40373 &_swigt__p_wxMouseCaptureChangedEvent
,
40374 &_swigt__p_wxMouseCaptureLostEvent
,
40375 &_swigt__p_wxMouseEvent
,
40376 &_swigt__p_wxMoveEvent
,
40377 &_swigt__p_wxNativeEncodingInfo
,
40378 &_swigt__p_wxNativeFontInfo
,
40379 &_swigt__p_wxNativePixelData
,
40380 &_swigt__p_wxNativePixelData_Accessor
,
40381 &_swigt__p_wxNavigationKeyEvent
,
40382 &_swigt__p_wxNcPaintEvent
,
40383 &_swigt__p_wxNotifyEvent
,
40384 &_swigt__p_wxObject
,
40385 &_swigt__p_wxOverlay
,
40386 &_swigt__p_wxPCXHandler
,
40387 &_swigt__p_wxPNGHandler
,
40388 &_swigt__p_wxPNMHandler
,
40389 &_swigt__p_wxPaintDC
,
40390 &_swigt__p_wxPaintEvent
,
40391 &_swigt__p_wxPalette
,
40392 &_swigt__p_wxPaletteChangedEvent
,
40393 &_swigt__p_wxPaperSize
,
40395 &_swigt__p_wxPenList
,
40396 &_swigt__p_wxPixelDataBase
,
40397 &_swigt__p_wxPoint
,
40398 &_swigt__p_wxPoint2D
,
40399 &_swigt__p_wxPostScriptDC
,
40400 &_swigt__p_wxPrintData
,
40401 &_swigt__p_wxPrinterDC
,
40402 &_swigt__p_wxPseudoDC
,
40403 &_swigt__p_wxPyApp
,
40404 &_swigt__p_wxPyCommandEvent
,
40405 &_swigt__p_wxPyEvent
,
40406 &_swigt__p_wxPyFontEnumerator
,
40407 &_swigt__p_wxPyImageHandler
,
40408 &_swigt__p_wxPyLocale
,
40409 &_swigt__p_wxPySizer
,
40410 &_swigt__p_wxPyValidator
,
40411 &_swigt__p_wxQueryNewPaletteEvent
,
40413 &_swigt__p_wxRect2D
,
40414 &_swigt__p_wxRegion
,
40415 &_swigt__p_wxRegionIterator
,
40416 &_swigt__p_wxRendererNative
,
40417 &_swigt__p_wxRendererVersion
,
40418 &_swigt__p_wxSVGFileDC
,
40419 &_swigt__p_wxScreenDC
,
40420 &_swigt__p_wxScrollEvent
,
40421 &_swigt__p_wxScrollWinEvent
,
40422 &_swigt__p_wxSetCursorEvent
,
40423 &_swigt__p_wxShowEvent
,
40425 &_swigt__p_wxSizeEvent
,
40426 &_swigt__p_wxSizer
,
40427 &_swigt__p_wxSizerItem
,
40428 &_swigt__p_wxSplitterRenderParams
,
40429 &_swigt__p_wxStaticBoxSizer
,
40430 &_swigt__p_wxStdDialogButtonSizer
,
40431 &_swigt__p_wxStockGDI
,
40432 &_swigt__p_wxString
,
40433 &_swigt__p_wxSysColourChangedEvent
,
40434 &_swigt__p_wxTGAHandler
,
40435 &_swigt__p_wxTIFFHandler
,
40436 &_swigt__p_wxUpdateUIEvent
,
40437 &_swigt__p_wxValidator
,
40438 &_swigt__p_wxWindow
,
40439 &_swigt__p_wxWindowCreateEvent
,
40440 &_swigt__p_wxWindowDC
,
40441 &_swigt__p_wxWindowDestroyEvent
,
40442 &_swigt__p_wxXPMHandler
,
40445 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40446 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40447 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40448 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40449 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40450 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40451 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40452 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40453 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40454 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40455 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40456 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40457 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40458 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40459 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40460 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}};
40461 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40462 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}};
40463 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40464 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40465 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40466 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxSVGFileDC
, _p_wxSVGFileDCTo_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}};
40467 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40468 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40469 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40470 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40471 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40472 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40473 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40474 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40475 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40476 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40477 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40478 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40479 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40480 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}};
40481 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}};
40482 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40483 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40484 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40485 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40486 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}};
40487 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40488 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40489 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40490 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40491 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40492 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40493 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40494 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40495 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40496 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40497 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}};
40498 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40499 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}};
40500 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40501 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40502 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40503 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40504 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40505 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40506 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40507 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40508 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
40509 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40510 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40511 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40512 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40513 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40514 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40515 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40516 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40517 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40518 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40519 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40520 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40521 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40522 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40523 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40524 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40525 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40526 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40527 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40528 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40529 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40530 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40531 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40532 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40533 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40534 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40535 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40536 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40537 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40538 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40539 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40540 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40541 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40542 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40543 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40544 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40545 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40546 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40547 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40548 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40549 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40550 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40551 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40552 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40553 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40554 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40555 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40556 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40557 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40558 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40559 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40560 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40561 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40562 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40563 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40564 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40565 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40566 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40567 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40568 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40569 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40570 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40571 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40572 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40573 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40574 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40575 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40576 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40577 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40578 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40579 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40580 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40581 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40582 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40583 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40584 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40585 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_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_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_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_wxSVGFileDC
, _p_wxSVGFileDCTo_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}};
40586 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40587 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40588 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40589 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40590 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40591 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40592 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}};
40593 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40594 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40595 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40596 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40597 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40598 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40599 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40600 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40601 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40602 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40603 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40604 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40605 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40606 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40607 static swig_cast_info _swigc__p_wxSVGFileDC
[] = { {&_swigt__p_wxSVGFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40608 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40609 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40610 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40611 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40612 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40613 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}};
40614 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}};
40616 static swig_cast_info
*swig_cast_initial
[] = {
40620 _swigc__p_form_ops_t
,
40622 _swigc__p_unsigned_char
,
40623 _swigc__p_unsigned_int
,
40624 _swigc__p_unsigned_long
,
40626 _swigc__p_wxANIHandler
,
40627 _swigc__p_wxAcceleratorTable
,
40628 _swigc__p_wxActivateEvent
,
40629 _swigc__p_wxAlphaPixelData
,
40630 _swigc__p_wxAlphaPixelData_Accessor
,
40631 _swigc__p_wxAutoBufferedPaintDC
,
40632 _swigc__p_wxBMPHandler
,
40633 _swigc__p_wxBitmap
,
40634 _swigc__p_wxBoxSizer
,
40636 _swigc__p_wxBrushList
,
40637 _swigc__p_wxBufferedDC
,
40638 _swigc__p_wxBufferedPaintDC
,
40639 _swigc__p_wxCURHandler
,
40640 _swigc__p_wxChildFocusEvent
,
40641 _swigc__p_wxClientDC
,
40642 _swigc__p_wxClipboardTextEvent
,
40643 _swigc__p_wxCloseEvent
,
40644 _swigc__p_wxColour
,
40645 _swigc__p_wxColourDatabase
,
40646 _swigc__p_wxCommandEvent
,
40647 _swigc__p_wxContextMenuEvent
,
40648 _swigc__p_wxControl
,
40649 _swigc__p_wxControlWithItems
,
40650 _swigc__p_wxCursor
,
40652 _swigc__p_wxDCBrushChanger
,
40653 _swigc__p_wxDCClipper
,
40654 _swigc__p_wxDCOverlay
,
40655 _swigc__p_wxDCPenChanger
,
40656 _swigc__p_wxDCTextColourChanger
,
40658 _swigc__p_wxDateEvent
,
40659 _swigc__p_wxDisplayChangedEvent
,
40660 _swigc__p_wxDropFilesEvent
,
40661 _swigc__p_wxDuplexMode
,
40662 _swigc__p_wxEffects
,
40663 _swigc__p_wxEncodingConverter
,
40664 _swigc__p_wxEraseEvent
,
40666 _swigc__p_wxEventBlocker
,
40667 _swigc__p_wxEvtHandler
,
40668 _swigc__p_wxFSFile
,
40669 _swigc__p_wxFileSystem
,
40670 _swigc__p_wxFlexGridSizer
,
40671 _swigc__p_wxFocusEvent
,
40673 _swigc__p_wxFontList
,
40674 _swigc__p_wxFontMapper
,
40675 _swigc__p_wxGBSizerItem
,
40677 _swigc__p_wxGDIObjListBase
,
40678 _swigc__p_wxGDIObject
,
40679 _swigc__p_wxGIFHandler
,
40680 _swigc__p_wxGraphicsBrush
,
40681 _swigc__p_wxGraphicsContext
,
40682 _swigc__p_wxGraphicsFont
,
40683 _swigc__p_wxGraphicsMatrix
,
40684 _swigc__p_wxGraphicsObject
,
40685 _swigc__p_wxGraphicsPath
,
40686 _swigc__p_wxGraphicsPen
,
40687 _swigc__p_wxGraphicsRenderer
,
40688 _swigc__p_wxGridBagSizer
,
40689 _swigc__p_wxGridSizer
,
40690 _swigc__p_wxHeaderButtonParams
,
40691 _swigc__p_wxICOHandler
,
40693 _swigc__p_wxIconBundle
,
40694 _swigc__p_wxIconLocation
,
40695 _swigc__p_wxIconizeEvent
,
40696 _swigc__p_wxIdleEvent
,
40698 _swigc__p_wxImageHandler
,
40699 _swigc__p_wxImageList
,
40700 _swigc__p_wxIndividualLayoutConstraint
,
40701 _swigc__p_wxInitDialogEvent
,
40702 _swigc__p_wxJPEGHandler
,
40703 _swigc__p_wxKeyEvent
,
40704 _swigc__p_wxLanguageInfo
,
40705 _swigc__p_wxLayoutConstraints
,
40706 _swigc__p_wxLocale
,
40708 _swigc__p_wxMaximizeEvent
,
40709 _swigc__p_wxMemoryDC
,
40711 _swigc__p_wxMenuBar
,
40712 _swigc__p_wxMenuEvent
,
40713 _swigc__p_wxMenuItem
,
40714 _swigc__p_wxMetaFile
,
40715 _swigc__p_wxMetaFileDC
,
40716 _swigc__p_wxMirrorDC
,
40717 _swigc__p_wxMouseCaptureChangedEvent
,
40718 _swigc__p_wxMouseCaptureLostEvent
,
40719 _swigc__p_wxMouseEvent
,
40720 _swigc__p_wxMoveEvent
,
40721 _swigc__p_wxNativeEncodingInfo
,
40722 _swigc__p_wxNativeFontInfo
,
40723 _swigc__p_wxNativePixelData
,
40724 _swigc__p_wxNativePixelData_Accessor
,
40725 _swigc__p_wxNavigationKeyEvent
,
40726 _swigc__p_wxNcPaintEvent
,
40727 _swigc__p_wxNotifyEvent
,
40728 _swigc__p_wxObject
,
40729 _swigc__p_wxOverlay
,
40730 _swigc__p_wxPCXHandler
,
40731 _swigc__p_wxPNGHandler
,
40732 _swigc__p_wxPNMHandler
,
40733 _swigc__p_wxPaintDC
,
40734 _swigc__p_wxPaintEvent
,
40735 _swigc__p_wxPalette
,
40736 _swigc__p_wxPaletteChangedEvent
,
40737 _swigc__p_wxPaperSize
,
40739 _swigc__p_wxPenList
,
40740 _swigc__p_wxPixelDataBase
,
40742 _swigc__p_wxPoint2D
,
40743 _swigc__p_wxPostScriptDC
,
40744 _swigc__p_wxPrintData
,
40745 _swigc__p_wxPrinterDC
,
40746 _swigc__p_wxPseudoDC
,
40748 _swigc__p_wxPyCommandEvent
,
40749 _swigc__p_wxPyEvent
,
40750 _swigc__p_wxPyFontEnumerator
,
40751 _swigc__p_wxPyImageHandler
,
40752 _swigc__p_wxPyLocale
,
40753 _swigc__p_wxPySizer
,
40754 _swigc__p_wxPyValidator
,
40755 _swigc__p_wxQueryNewPaletteEvent
,
40757 _swigc__p_wxRect2D
,
40758 _swigc__p_wxRegion
,
40759 _swigc__p_wxRegionIterator
,
40760 _swigc__p_wxRendererNative
,
40761 _swigc__p_wxRendererVersion
,
40762 _swigc__p_wxSVGFileDC
,
40763 _swigc__p_wxScreenDC
,
40764 _swigc__p_wxScrollEvent
,
40765 _swigc__p_wxScrollWinEvent
,
40766 _swigc__p_wxSetCursorEvent
,
40767 _swigc__p_wxShowEvent
,
40769 _swigc__p_wxSizeEvent
,
40771 _swigc__p_wxSizerItem
,
40772 _swigc__p_wxSplitterRenderParams
,
40773 _swigc__p_wxStaticBoxSizer
,
40774 _swigc__p_wxStdDialogButtonSizer
,
40775 _swigc__p_wxStockGDI
,
40776 _swigc__p_wxString
,
40777 _swigc__p_wxSysColourChangedEvent
,
40778 _swigc__p_wxTGAHandler
,
40779 _swigc__p_wxTIFFHandler
,
40780 _swigc__p_wxUpdateUIEvent
,
40781 _swigc__p_wxValidator
,
40782 _swigc__p_wxWindow
,
40783 _swigc__p_wxWindowCreateEvent
,
40784 _swigc__p_wxWindowDC
,
40785 _swigc__p_wxWindowDestroyEvent
,
40786 _swigc__p_wxXPMHandler
,
40790 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40792 static swig_const_info swig_const_table
[] = {
40793 {0, 0, 0, 0.0, 0, 0}};
40798 /* -----------------------------------------------------------------------------
40799 * Type initialization:
40800 * This problem is tough by the requirement that no dynamic
40801 * memory is used. Also, since swig_type_info structures store pointers to
40802 * swig_cast_info structures and swig_cast_info structures store pointers back
40803 * to swig_type_info structures, we need some lookup code at initialization.
40804 * The idea is that swig generates all the structures that are needed.
40805 * The runtime then collects these partially filled structures.
40806 * The SWIG_InitializeModule function takes these initial arrays out of
40807 * swig_module, and does all the lookup, filling in the swig_module.types
40808 * array with the correct data and linking the correct swig_cast_info
40809 * structures together.
40811 * The generated swig_type_info structures are assigned staticly to an initial
40812 * array. We just loop though that array, and handle each type individually.
40813 * First we lookup if this type has been already loaded, and if so, use the
40814 * loaded structure instead of the generated one. Then we have to fill in the
40815 * cast linked list. The cast data is initially stored in something like a
40816 * two-dimensional array. Each row corresponds to a type (there are the same
40817 * number of rows as there are in the swig_type_initial array). Each entry in
40818 * a column is one of the swig_cast_info structures for that type.
40819 * The cast_initial array is actually an array of arrays, because each row has
40820 * a variable number of columns. So to actually build the cast linked list,
40821 * we find the array of casts associated with the type, and loop through it
40822 * adding the casts to the list. The one last trick we need to do is making
40823 * sure the type pointer in the swig_cast_info struct is correct.
40825 * First off, we lookup the cast->type name to see if it is already loaded.
40826 * There are three cases to handle:
40827 * 1) If the cast->type has already been loaded AND the type we are adding
40828 * casting info to has not been loaded (it is in this module), THEN we
40829 * replace the cast->type pointer with the type pointer that has already
40831 * 2) If BOTH types (the one we are adding casting info to, and the
40832 * cast->type) are loaded, THEN the cast info has already been loaded by
40833 * the previous module so we just ignore it.
40834 * 3) Finally, if cast->type has not already been loaded, then we add that
40835 * swig_cast_info to the linked list (because the cast->type) pointer will
40837 * ----------------------------------------------------------------------------- */
40847 #define SWIGRUNTIME_DEBUG
40851 SWIG_InitializeModule(void *clientdata
) {
40853 swig_module_info
*module_head
;
40854 static int init_run
= 0;
40856 clientdata
= clientdata
;
40858 if (init_run
) return;
40861 /* Initialize the swig_module */
40862 swig_module
.type_initial
= swig_type_initial
;
40863 swig_module
.cast_initial
= swig_cast_initial
;
40865 /* Try and load any already created modules */
40866 module_head
= SWIG_GetModule(clientdata
);
40868 swig_module
.next
= module_head
->next
;
40869 module_head
->next
= &swig_module
;
40871 /* This is the first module loaded */
40872 swig_module
.next
= &swig_module
;
40873 SWIG_SetModule(clientdata
, &swig_module
);
40876 /* Now work on filling in swig_module.types */
40877 #ifdef SWIGRUNTIME_DEBUG
40878 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40880 for (i
= 0; i
< swig_module
.size
; ++i
) {
40881 swig_type_info
*type
= 0;
40882 swig_type_info
*ret
;
40883 swig_cast_info
*cast
;
40885 #ifdef SWIGRUNTIME_DEBUG
40886 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40889 /* if there is another module already loaded */
40890 if (swig_module
.next
!= &swig_module
) {
40891 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40894 /* Overwrite clientdata field */
40895 #ifdef SWIGRUNTIME_DEBUG
40896 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40898 if (swig_module
.type_initial
[i
]->clientdata
) {
40899 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40900 #ifdef SWIGRUNTIME_DEBUG
40901 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40905 type
= swig_module
.type_initial
[i
];
40908 /* Insert casting types */
40909 cast
= swig_module
.cast_initial
[i
];
40910 while (cast
->type
) {
40911 /* Don't need to add information already in the list */
40913 #ifdef SWIGRUNTIME_DEBUG
40914 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40916 if (swig_module
.next
!= &swig_module
) {
40917 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40918 #ifdef SWIGRUNTIME_DEBUG
40919 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40923 if (type
== swig_module
.type_initial
[i
]) {
40924 #ifdef SWIGRUNTIME_DEBUG
40925 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40930 /* Check for casting already in the list */
40931 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40932 #ifdef SWIGRUNTIME_DEBUG
40933 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40935 if (!ocast
) ret
= 0;
40940 #ifdef SWIGRUNTIME_DEBUG
40941 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40944 type
->cast
->prev
= cast
;
40945 cast
->next
= type
->cast
;
40951 /* Set entry in modules->types array equal to the type */
40952 swig_module
.types
[i
] = type
;
40954 swig_module
.types
[i
] = 0;
40956 #ifdef SWIGRUNTIME_DEBUG
40957 printf("**** SWIG_InitializeModule: Cast List ******\n");
40958 for (i
= 0; i
< swig_module
.size
; ++i
) {
40960 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40961 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40962 while (cast
->type
) {
40963 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40967 printf("---- Total casts: %d\n",j
);
40969 printf("**** SWIG_InitializeModule: Cast List ******\n");
40973 /* This function will propagate the clientdata field of type to
40974 * any new swig_type_info structures that have been added into the list
40975 * of equivalent types. It is like calling
40976 * SWIG_TypeClientData(type, clientdata) a second time.
40979 SWIG_PropagateClientData(void) {
40981 swig_cast_info
*equiv
;
40982 static int init_run
= 0;
40984 if (init_run
) return;
40987 for (i
= 0; i
< swig_module
.size
; i
++) {
40988 if (swig_module
.types
[i
]->clientdata
) {
40989 equiv
= swig_module
.types
[i
]->cast
;
40991 if (!equiv
->converter
) {
40992 if (equiv
->type
&& !equiv
->type
->clientdata
)
40993 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40995 equiv
= equiv
->next
;
41015 /* Python-specific SWIG API */
41016 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41017 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41018 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41020 /* -----------------------------------------------------------------------------
41021 * global variable support code.
41022 * ----------------------------------------------------------------------------- */
41024 typedef struct swig_globalvar
{
41025 char *name
; /* Name of global variable */
41026 PyObject
*(*get_attr
)(void); /* Return the current value */
41027 int (*set_attr
)(PyObject
*); /* Set the value */
41028 struct swig_globalvar
*next
;
41031 typedef struct swig_varlinkobject
{
41033 swig_globalvar
*vars
;
41034 } swig_varlinkobject
;
41036 SWIGINTERN PyObject
*
41037 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41038 return PyString_FromString("<Swig global variables>");
41041 SWIGINTERN PyObject
*
41042 swig_varlink_str(swig_varlinkobject
*v
) {
41043 PyObject
*str
= PyString_FromString("(");
41044 swig_globalvar
*var
;
41045 for (var
= v
->vars
; var
; var
=var
->next
) {
41046 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41047 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41049 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41054 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41055 PyObject
*str
= swig_varlink_str(v
);
41056 fprintf(fp
,"Swig global variables ");
41057 fprintf(fp
,"%s\n", PyString_AsString(str
));
41063 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41064 swig_globalvar
*var
= v
->vars
;
41066 swig_globalvar
*n
= var
->next
;
41073 SWIGINTERN PyObject
*
41074 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41075 PyObject
*res
= NULL
;
41076 swig_globalvar
*var
= v
->vars
;
41078 if (strcmp(var
->name
,n
) == 0) {
41079 res
= (*var
->get_attr
)();
41084 if (res
== NULL
&& !PyErr_Occurred()) {
41085 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41091 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41093 swig_globalvar
*var
= v
->vars
;
41095 if (strcmp(var
->name
,n
) == 0) {
41096 res
= (*var
->set_attr
)(p
);
41101 if (res
== 1 && !PyErr_Occurred()) {
41102 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41107 SWIGINTERN PyTypeObject
*
41108 swig_varlink_type(void) {
41109 static char varlink__doc__
[] = "Swig var link object";
41110 static PyTypeObject varlink_type
;
41111 static int type_init
= 0;
41113 const PyTypeObject tmp
41115 PyObject_HEAD_INIT(NULL
)
41116 0, /* Number of items in variable part (ob_size) */
41117 (char *)"swigvarlink", /* Type name (tp_name) */
41118 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41119 0, /* Itemsize (tp_itemsize) */
41120 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41121 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41122 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41123 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41124 0, /* tp_compare */
41125 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41126 0, /* tp_as_number */
41127 0, /* tp_as_sequence */
41128 0, /* tp_as_mapping */
41131 (reprfunc
)swig_varlink_str
, /* tp_str */
41132 0, /* tp_getattro */
41133 0, /* tp_setattro */
41134 0, /* tp_as_buffer */
41136 varlink__doc__
, /* tp_doc */
41137 0, /* tp_traverse */
41139 0, /* tp_richcompare */
41140 0, /* tp_weaklistoffset */
41141 #if PY_VERSION_HEX >= 0x02020000
41142 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41144 #if PY_VERSION_HEX >= 0x02030000
41147 #ifdef COUNT_ALLOCS
41148 0,0,0,0 /* tp_alloc -> tp_next */
41151 varlink_type
= tmp
;
41152 varlink_type
.ob_type
= &PyType_Type
;
41155 return &varlink_type
;
41158 /* Create a variable linking object for use later */
41159 SWIGINTERN PyObject
*
41160 SWIG_Python_newvarlink(void) {
41161 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41165 return ((PyObject
*) result
);
41169 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41170 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41171 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41173 size_t size
= strlen(name
)+1;
41174 gv
->name
= (char *)malloc(size
);
41176 strncpy(gv
->name
,name
,size
);
41177 gv
->get_attr
= get_attr
;
41178 gv
->set_attr
= set_attr
;
41179 gv
->next
= v
->vars
;
41185 SWIGINTERN PyObject
*
41187 static PyObject
*_SWIG_globals
= 0;
41188 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41189 return _SWIG_globals
;
41192 /* -----------------------------------------------------------------------------
41193 * constants/methods manipulation
41194 * ----------------------------------------------------------------------------- */
41196 /* Install Constants */
41198 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41201 for (i
= 0; constants
[i
].type
; ++i
) {
41202 switch(constants
[i
].type
) {
41203 case SWIG_PY_POINTER
:
41204 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41206 case SWIG_PY_BINARY
:
41207 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41214 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41220 /* -----------------------------------------------------------------------------*/
41221 /* Fix SwigMethods to carry the callback ptrs when needed */
41222 /* -----------------------------------------------------------------------------*/
41225 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41226 swig_const_info
*const_table
,
41227 swig_type_info
**types
,
41228 swig_type_info
**types_initial
) {
41230 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41231 const char *c
= methods
[i
].ml_doc
;
41232 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41234 swig_const_info
*ci
= 0;
41235 const char *name
= c
+ 10;
41236 for (j
= 0; const_table
[j
].type
; ++j
) {
41237 if (strncmp(const_table
[j
].name
, name
,
41238 strlen(const_table
[j
].name
)) == 0) {
41239 ci
= &(const_table
[j
]);
41244 size_t shift
= (ci
->ptype
) - types
;
41245 swig_type_info
*ty
= types_initial
[shift
];
41246 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41247 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41248 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41251 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41253 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41255 strncpy(buff
, "swig_ptr: ", 10);
41257 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41258 methods
[i
].ml_doc
= ndoc
;
41270 /* -----------------------------------------------------------------------------*
41271 * Partial Init method
41272 * -----------------------------------------------------------------------------*/
41277 SWIGEXPORT
void SWIG_init(void) {
41280 /* Fix SwigMethods to carry the callback ptrs when needed */
41281 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41283 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41284 d
= PyModule_GetDict(m
);
41286 SWIG_InitializeModule(0);
41287 SWIG_InstallConstants(d
,swig_const_table
);
41290 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41291 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41292 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41293 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41294 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41295 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41296 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41297 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41298 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41299 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41300 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41301 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41302 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41303 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41304 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41305 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41306 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41307 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41308 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41309 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41310 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41311 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41312 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41313 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41314 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41315 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41316 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41317 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41318 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41319 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41320 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41321 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41322 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41323 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41324 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41325 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41326 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41327 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41328 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41329 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41330 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41331 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41332 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41333 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41334 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41335 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41336 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41337 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41338 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41339 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41340 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41341 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41342 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41343 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41344 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41345 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41346 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41347 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41348 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41349 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41350 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41351 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41352 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41353 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41354 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41355 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41356 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41357 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41358 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41359 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41360 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41361 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41362 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41363 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41364 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41365 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41366 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41367 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41368 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41369 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41370 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41371 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41372 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41373 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41374 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41375 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41376 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41377 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41378 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41379 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41380 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41381 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41382 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41383 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41384 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41385 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41386 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41387 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41388 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41389 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41390 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41391 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41392 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41393 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41394 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41395 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41396 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41397 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41398 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41399 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41400 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41401 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41402 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41403 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41404 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41405 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41406 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41407 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41408 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41409 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41410 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41411 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41412 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41413 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41414 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41415 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41416 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41417 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41418 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41419 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41420 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41421 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41423 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41464 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41465 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41466 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41467 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41468 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41469 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41470 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41471 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41472 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41473 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41474 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41475 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41476 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41477 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41478 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41479 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41480 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41481 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41482 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41483 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41484 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41485 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41486 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41487 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41488 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41489 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41490 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41491 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41492 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41493 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41494 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41495 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41496 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41497 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41498 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41499 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41500 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41501 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41502 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41503 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41504 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41505 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41506 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41507 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41508 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41509 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41510 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41511 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41512 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41513 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41514 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41515 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41516 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41517 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41518 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41519 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41520 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41521 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41522 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41523 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41524 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41525 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41526 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41527 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41528 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41529 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41530 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41531 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41532 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41533 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41534 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41535 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41536 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41537 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41538 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41539 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41540 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41541 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41542 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41543 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41544 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41545 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41546 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41547 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41548 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41549 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41550 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41551 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41552 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41553 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41554 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41555 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41556 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41557 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41558 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41559 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41560 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41561 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41562 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41563 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41564 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41565 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41566 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41567 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41568 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41569 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41570 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41571 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41572 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41573 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41574 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41575 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41576 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41577 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41578 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41579 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41580 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41581 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41582 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41583 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41584 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41585 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41586 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41587 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41588 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41589 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41590 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41591 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41592 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41593 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41594 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41595 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41596 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41597 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41598 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41599 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41600 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41601 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41602 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41603 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41604 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41605 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41606 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41607 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41608 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41609 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41610 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41611 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41612 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41613 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41614 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41615 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41616 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41617 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41618 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41619 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41620 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41621 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41622 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41623 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41624 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41625 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41626 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41627 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41628 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41629 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41630 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41631 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41632 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41633 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41634 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41635 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41636 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41637 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41638 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41639 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41640 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41641 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41642 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41643 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41644 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41645 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41646 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41647 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41648 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41649 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41650 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41651 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41652 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41653 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41654 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41655 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41656 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41657 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41658 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41659 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41660 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41661 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41662 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41663 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41664 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41665 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41666 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41667 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41668 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41669 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41670 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41671 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41672 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41673 SWIG_Python_SetConstant(d
, "BUFFER_USES_SHARED_BUFFER",SWIG_From_int(static_cast< int >(wxBUFFER_USES_SHARED_BUFFER
)));
41674 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41675 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41676 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41677 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41678 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41679 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41680 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41681 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41682 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41683 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41684 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41685 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41686 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41687 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41688 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41689 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41690 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41691 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41692 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41693 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41694 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41695 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41696 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41697 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41698 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41699 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41700 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41701 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41702 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41703 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41704 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41705 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41706 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41707 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41708 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41709 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41710 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41711 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41712 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41713 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41714 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41715 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41716 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41717 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41718 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41719 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41720 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41721 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41722 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41723 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41724 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41725 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41726 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41727 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41728 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41729 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41730 SWIG_addvarlink(SWIG_globals(),(char*)"NullIconBundle",NullIconBundle_get
, NullIconBundle_set
);
41731 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41732 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41733 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41734 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41735 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41736 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41737 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41738 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41739 SWIG_Python_SetConstant(d
, "CONTROL_FLAT",SWIG_From_int(static_cast< int >(wxCONTROL_FLAT
)));
41740 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41741 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41742 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41743 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41744 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41745 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41746 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41747 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41748 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41749 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41750 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41751 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41753 // Work around a chicken/egg problem in drawlist.cpp
41754 wxPyDrawList_SetAPIPtr();