1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDCBrushChanger swig_types[36]
2503 #define SWIGTYPE_p_wxDCClipper swig_types[37]
2504 #define SWIGTYPE_p_wxDCOverlay swig_types[38]
2505 #define SWIGTYPE_p_wxDCPenChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDash swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2512 #define SWIGTYPE_p_wxEffects swig_types[46]
2513 #define SWIGTYPE_p_wxEncodingConverter swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEventBlocker swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPostScriptDC swig_types[127]
2594 #define SWIGTYPE_p_wxPrintData swig_types[128]
2595 #define SWIGTYPE_p_wxPrinterDC swig_types[129]
2596 #define SWIGTYPE_p_wxPseudoDC swig_types[130]
2597 #define SWIGTYPE_p_wxPyApp swig_types[131]
2598 #define SWIGTYPE_p_wxPyCommandEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[134]
2601 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
2602 #define SWIGTYPE_p_wxPyLocale swig_types[136]
2603 #define SWIGTYPE_p_wxPySizer swig_types[137]
2604 #define SWIGTYPE_p_wxPyValidator swig_types[138]
2605 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[139]
2606 #define SWIGTYPE_p_wxRect swig_types[140]
2607 #define SWIGTYPE_p_wxRect2D swig_types[141]
2608 #define SWIGTYPE_p_wxRegion swig_types[142]
2609 #define SWIGTYPE_p_wxRegionIterator swig_types[143]
2610 #define SWIGTYPE_p_wxRendererNative swig_types[144]
2611 #define SWIGTYPE_p_wxRendererVersion swig_types[145]
2612 #define SWIGTYPE_p_wxScreenDC swig_types[146]
2613 #define SWIGTYPE_p_wxScrollEvent swig_types[147]
2614 #define SWIGTYPE_p_wxScrollWinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSetCursorEvent swig_types[149]
2616 #define SWIGTYPE_p_wxShowEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSize swig_types[151]
2618 #define SWIGTYPE_p_wxSizeEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxSizerItem swig_types[154]
2621 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[155]
2622 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStockGDI swig_types[158]
2625 #define SWIGTYPE_p_wxString swig_types[159]
2626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTGAHandler swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2930 // appears to me that the other platforms are already doing it, so I'll just
2931 // automatically do it for wxMSW here.
2933 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2934 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2936 #define wxPy_premultiply(p, a) (p)
2937 #define wxPy_unpremultiply(p, a) (p)
2941 #include <wx/image.h>
2943 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2944 char** cArray
= NULL
;
2947 if (!PyList_Check(listOfStrings
)) {
2948 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2951 count
= PyList_Size(listOfStrings
);
2952 cArray
= new char*[count
];
2954 for(int x
=0; x
<count
; x
++) {
2955 // TODO: Need some validation and error checking here
2956 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2963 char** cArray
= NULL
;
2966 cArray
= ConvertListOfStrings(listOfStrings
);
2969 bmp
= new wxBitmap(cArray
);
2973 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2976 PyString_AsStringAndSize(bits
, &buf
, &length
);
2977 return new wxBitmap(buf
, width
, height
, depth
);
2979 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2980 wxSize
size(self
->GetWidth(), self
->GetHeight());
2983 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2984 wxMask
*mask
= new wxMask(*self
, colour
);
2985 self
->SetMask(mask
);
2987 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2988 self
->SetWidth(size
.x
);
2989 self
->SetHeight(size
.y
);
2991 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2992 int height
=self
->GetHeight();
2993 int width
=self
->GetWidth();
2995 if (DATASIZE
!= width
* height
* 3) {
2996 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2998 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3006 wxNativePixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxNativePixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 p
.Red() = *(data
++);
3011 p
.Green() = *(data
++);
3012 p
.Blue() = *(data
++);
3016 p
.OffsetY(pixData
, 1);
3019 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3020 int height
=self
->GetHeight();
3021 int width
=self
->GetWidth();
3023 if (DATASIZE
!= width
* height
* 4) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3026 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3028 // raise an exception...
3029 wxPyErr_SetString(PyExc_RuntimeError
,
3030 "Failed to gain raw access to bitmap data.");
3035 wxAlphaPixelData::Iterator
p(pixData
);
3036 for (int y
=0; y
<height
; y
++) {
3037 wxAlphaPixelData::Iterator rowStart
= p
;
3038 for (int x
=0; x
<width
; x
++) {
3040 p
.Red() = wxPy_premultiply(*(data
++), a
);
3041 p
.Green() = wxPy_premultiply(*(data
++), a
);
3042 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3043 p
.Alpha() = a
; data
++;
3047 p
.OffsetY(pixData
, 1);
3050 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3051 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3053 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3054 buffer data
, int DATASIZE
,
3055 buffer alpha
, int ALPHASIZE
)
3057 if (DATASIZE
!= width
*height
*3) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 if (ALPHASIZE
!= width
*height
) {
3063 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3067 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3068 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3070 // raise an exception...
3071 wxPyErr_SetString(PyExc_RuntimeError
,
3072 "Failed to gain raw access to bitmap data.");
3077 wxAlphaPixelData::Iterator
p(pixData
);
3078 for (int y
=0; y
<height
; y
++) {
3079 wxAlphaPixelData::Iterator rowStart
= p
;
3080 for (int x
=0; x
<width
; x
++) {
3081 byte a
= *(alpha
++);
3082 p
.Red() = wxPy_premultiply(*(data
++), a
);
3083 p
.Green() = wxPy_premultiply(*(data
++), a
);
3084 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3089 p
.OffsetY(pixData
, 1);
3094 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3096 if (DATASIZE
!= width
*height
*3) {
3097 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3101 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3102 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3104 // raise an exception...
3105 wxPyErr_SetString(PyExc_RuntimeError
,
3106 "Failed to gain raw access to bitmap data.");
3110 wxNativePixelData::Iterator
p(pixData
);
3111 for (int y
=0; y
<height
; y
++) {
3112 wxNativePixelData::Iterator rowStart
= p
;
3113 for (int x
=0; x
<width
; x
++) {
3114 p
.Red() = *(data
++);
3115 p
.Green() = *(data
++);
3116 p
.Blue() = *(data
++);
3120 p
.OffsetY(pixData
, 1);
3126 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3128 if (DATASIZE
!= width
*height
*4) {
3129 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3133 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3134 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3136 // raise an exception...
3137 wxPyErr_SetString(PyExc_RuntimeError
,
3138 "Failed to gain raw access to bitmap data.");
3143 wxAlphaPixelData::Iterator
p(pixData
);
3144 for (int y
=0; y
<height
; y
++) {
3145 wxAlphaPixelData::Iterator rowStart
= p
;
3146 for (int x
=0; x
<width
; x
++) {
3148 p
.Red() = wxPy_premultiply(*(data
++), a
);
3149 p
.Green() = wxPy_premultiply(*(data
++), a
);
3150 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3151 p
.Alpha() = a
; data
++;
3155 p
.OffsetY(pixData
, 1);
3161 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3163 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3167 self
->Green() = green
;
3168 self
->Blue() = blue
;
3170 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3171 PyObject
* rv
= PyTuple_New(3);
3172 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3173 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3174 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3178 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3180 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3183 self
->Red() = wxPy_premultiply(red
, alpha
);
3184 self
->Green() = wxPy_premultiply(green
, alpha
);
3185 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3186 self
->Alpha() = alpha
;
3188 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3189 PyObject
* rv
= PyTuple_New(4);
3190 int red
= self
->Red();
3191 int green
= self
->Green();
3192 int blue
= self
->Blue();
3193 int alpha
= self
->Alpha();
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3198 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3201 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3202 if ( !colour
.IsOk() )
3203 return new wxMask(bitmap
, *wxBLACK
);
3205 return new wxMask(bitmap
, colour
);
3208 #include <wx/iconbndl.h>
3210 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3211 wxIcon
* icon
= new wxIcon();
3212 icon
->CopyFromBitmap(bmp
);
3215 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3216 char** cArray
= NULL
;
3219 cArray
= ConvertListOfStrings(listOfStrings
);
3222 icon
= new wxIcon(cArray
);
3226 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3230 return new wxIconLocation(*filename
);
3233 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3240 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3247 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3249 wxImage
img(cursorName
, type
);
3250 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3252 return new wxCursor(img
);
3254 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3259 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3262 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3263 return self
->operator bool();
3266 #include <wx/fontutil.h>
3267 #include <wx/fontmap.h>
3268 #include <wx/fontenum.h>
3270 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3271 return self
->ToString();
3274 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3275 static wxNativeEncodingInfo info
;
3276 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3283 SWIGINTERNINLINE PyObject
*
3284 SWIG_From_size_t (size_t value
)
3286 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3290 SWIGINTERNINLINE
int
3291 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3294 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3295 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3299 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3300 wxFontEncoding alt_enc
;
3301 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3302 return PyInt_FromLong(alt_enc
);
3308 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3309 wxNativeFontInfo nfi
;
3310 nfi
.FromString(info
);
3311 return new wxFont(nfi
);
3313 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3314 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3316 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3317 return wxFontBase::New(pixelSize
, family
,
3318 style
, weight
, underlined
,
3321 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3322 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3324 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3325 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3327 class wxPyFontEnumerator
: public wxFontEnumerator
{
3329 wxPyFontEnumerator() {}
3330 ~wxPyFontEnumerator() {}
3332 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3333 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3338 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3339 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3342 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3344 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 ret
= wxArrayString2PyList_helper(arr
);
3347 wxPyEndBlockThreads(blocked
);
3350 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3352 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3353 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3354 ret
= wxArrayString2PyList_helper(arr
);
3355 wxPyEndBlockThreads(blocked
);
3361 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3364 loc
= new wxLocale();
3366 loc
= new wxLocale(language
, flags
);
3367 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3368 // for the floating point conversions and such to work right.
3369 #if PY_VERSION_HEX < 0x02040000
3370 setlocale(LC_NUMERIC
, "C");
3374 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3375 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3376 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3377 // for the floating point conversions and such to work right.
3378 #if PY_VERSION_HEX < 0x02040000
3379 setlocale(LC_NUMERIC
, "C");
3383 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3384 bool rc
= self
->Init(language
, flags
);
3385 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3386 // for the floating point conversions and such to work right.
3387 #if PY_VERSION_HEX < 0x02040000
3388 setlocale(LC_NUMERIC
, "C");
3393 class wxPyLocale
: public wxLocale
3398 wxPyLocale(const wxChar
*szName
, // name (for messages)
3399 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3400 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3401 bool bLoadDefault
= true, // preload wxstd.mo?
3402 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3404 wxPyLocale(int language
, // wxLanguage id or custom language
3405 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3409 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3410 const wxChar
*szDomain
= NULL
) const;
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szOrigString2
, size_t n
,
3413 const wxChar
*szDomain
= NULL
) const;
3415 virtual const wxChar
*GetSingularString(const wxChar
*szOrigString
,
3416 const wxChar
*szDomain
= NULL
) const;
3417 virtual const wxChar
*GetPluralString(const wxChar
*szOrigString
,
3418 const wxChar
*szOrigString2
, size_t n
,
3419 const wxChar
*szDomain
= NULL
) const;
3423 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3426 wxPyLocale::wxPyLocale() : wxLocale()
3430 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3431 const wxChar
*szShort
, // dir prefix (for msg files)
3432 const wxChar
*szLocale
, // locale (for setlocale)
3433 bool bLoadDefault
, // preload wxstd.mo?
3434 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3435 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3439 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3440 int flags
) : wxLocale(language
, flags
)
3444 wxPyLocale::~wxPyLocale()
3448 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3449 const wxChar
*szDomain
) const
3451 const wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3452 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3455 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3456 const wxChar
*szOrigString2
, size_t n
,
3457 const wxChar
*szDomain
) const
3459 const wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3460 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3463 const wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3464 const wxChar
*szDomain
) const
3467 static wxString str
;
3468 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3469 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3470 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3471 PyObject
* param1
= wx2PyString(szOrigString
);
3472 PyObject
* param2
= wx2PyString(szDomain
);
3473 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3477 str
= Py2wxString(ret
);
3481 wxPyEndBlockThreads(blocked
);
3482 return (found
? (const wxChar
*)str
.c_str() : NULL
);
3485 const wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3486 const wxChar
*szOrigString2
, size_t n
,
3487 const wxChar
*szDomain
) const
3490 static wxString str
;
3491 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3494 PyObject
* param1
= wx2PyString(szOrigString
);
3495 PyObject
* param2
= wx2PyString(szOrigString2
);
3496 PyObject
* param4
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3502 str
= Py2wxString(ret
);
3506 wxPyEndBlockThreads(blocked
);
3507 return (found
? (const wxChar
*)str
.c_str() : NULL
);
3510 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3513 loc
= new wxPyLocale();
3515 loc
= new wxPyLocale(language
, flags
);
3516 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3517 // for the floating point conversions and such to work right.
3518 #if PY_VERSION_HEX < 0x02040000
3519 setlocale(LC_NUMERIC
, "C");
3524 #include "wx/wxPython/pydrawxxx.h"
3526 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3528 self
->GetPixel(x
, y
, &col
);
3531 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3533 self
->GetPixel(pt
, &col
);
3538 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3540 if (PyNumber_Check(obj
)) {
3541 if (val
) *val
= PyFloat_AsDouble(obj
);
3544 return SWIG_TypeError
;
3547 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3549 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3552 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3554 self
->GetClippingBox(rect
);
3557 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3559 self
->GetPartialTextExtents(text
, widths
);
3563 #define SWIG_From_double PyFloat_FromDouble
3565 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3566 self
->SetLogicalOrigin(point
.x
, point
.y
);
3568 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3569 self
->SetDeviceOrigin(point
.x
, point
.y
);
3571 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3572 self
->CalcBoundingBox(point
.x
, point
.y
);
3574 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3575 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3577 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3578 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3580 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3581 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3583 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3584 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3586 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3587 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3589 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3590 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3593 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3601 #include <wx/dcbuffer.h>
3604 #include <wx/dcps.h>
3607 class wxMetaFile
: public wxObject
{
3609 wxMetaFile(const wxString
&)
3610 { wxPyRaiseNotImplemented(); }
3613 class wxMetaFileDC
: public wxClientDC
{
3615 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3616 { wxPyRaiseNotImplemented(); }
3621 class wxPrinterDC
: public wxClientDC
{
3623 wxPrinterDC(const wxPrintData
&)
3624 { wxPyRaiseNotImplemented(); }
3629 #include <wx/graphics.h>
3632 #if !wxUSE_GRAPHICS_CONTEXT
3633 // C++ stub classes for platforms or build configurations that don't have
3634 // wxGraphicsContext yet.
3636 class wxGraphicsRenderer
;
3637 class wxGraphicsMatrix
;
3640 class wxGraphicsObject
: public wxObject
3643 wxGraphicsObject() {}
3644 wxGraphicsObject( wxGraphicsRenderer
* ) {
3645 PyErr_SetString(PyExc_NotImplementedError
,
3646 "wx.GraphicsObject is not available on this platform.");
3648 wxGraphicsObject( const wxGraphicsObject
& ) {}
3649 virtual ~wxGraphicsObject() {}
3650 bool IsNull() const { return false; }
3651 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3656 class wxGraphicsPen
: public wxGraphicsObject
3660 virtual ~wxGraphicsPen() {}
3662 wxGraphicsPen wxNullGraphicsPen
;
3666 class wxGraphicsBrush
: public wxGraphicsObject
3669 wxGraphicsBrush() {}
3670 virtual ~wxGraphicsBrush() {}
3672 wxGraphicsBrush wxNullGraphicsBrush
;
3676 class wxGraphicsFont
: public wxGraphicsObject
3680 virtual ~wxGraphicsFont() {}
3682 wxGraphicsFont wxNullGraphicsFont
;
3686 class wxGraphicsPath
: public wxGraphicsObject
3689 wxGraphicsPath() { }
3690 wxGraphicsPath(wxGraphicsRenderer
* ) {
3691 PyErr_SetString(PyExc_NotImplementedError
,
3692 "wx.GraphicsPath is not available on this platform.");
3694 virtual ~wxGraphicsPath() {}
3696 void MoveToPoint( wxDouble
, wxDouble
) {}
3697 void MoveToPoint( const wxPoint2DDouble
& ) {}
3698 void AddLineToPoint( wxDouble
, wxDouble
) {}
3699 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3700 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3701 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3702 void AddPath( const wxGraphicsPath
& ) {}
3703 void CloseSubpath() {}
3704 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3705 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3706 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3707 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3709 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3710 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3712 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3714 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void * GetNativePath() const { return NULL
; }
3717 void UnGetNativePath(void *) const {}
3718 void Transform( const wxGraphicsMatrix
& ) {}
3719 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3720 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3722 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3723 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3725 wxGraphicsPath wxNullGraphicsPath
;
3728 class wxGraphicsMatrix
: public wxGraphicsObject
3731 wxGraphicsMatrix() { }
3732 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3733 PyErr_SetString(PyExc_NotImplementedError
,
3734 "wx.GraphicsMatrix is not available on this platform.");
3736 virtual ~wxGraphicsMatrix() {}
3737 virtual void Concat( const wxGraphicsMatrix
& ) {}
3738 virtual void Copy( const wxGraphicsMatrix
& ) {}
3739 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3740 wxDouble
, wxDouble
) {}
3741 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3742 wxDouble
*, wxDouble
*, wxDouble
*) {}
3743 virtual void Invert() {}
3744 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3745 virtual bool IsIdentity() const { return false; }
3746 virtual void Translate( wxDouble
, wxDouble
) {}
3747 virtual void Scale( wxDouble
, wxDouble
) {}
3748 virtual void Rotate( wxDouble
) {}
3749 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3750 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3751 virtual void * GetNativeMatrix() const { return NULL
; }
3753 wxGraphicsMatrix wxNullGraphicsMatrix
;
3756 class wxGraphicsContext
: public wxGraphicsObject
3760 wxGraphicsContext(wxGraphicsRenderer
* ) {
3761 PyErr_SetString(PyExc_NotImplementedError
,
3762 "wx.GraphicsContext is not available on this platform.");
3765 virtual ~wxGraphicsContext() {}
3767 static wxGraphicsContext
* Create() {
3768 PyErr_SetString(PyExc_NotImplementedError
,
3769 "wx.GraphicsContext is not available on this platform.");
3772 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3773 PyErr_SetString(PyExc_NotImplementedError
,
3774 "wx.GraphicsContext is not available on this platform.");
3778 static wxGraphicsContext
* CreateFromNative( void * ) {
3779 PyErr_SetString(PyExc_NotImplementedError
,
3780 "wx.GraphicsContext is not available on this platform.");
3784 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3785 PyErr_SetString(PyExc_NotImplementedError
,
3786 "wx.GraphicsContext is not available on this platform.");
3790 static wxGraphicsContext
* Create( wxWindow
* ) {
3791 PyErr_SetString(PyExc_NotImplementedError
,
3792 "wx.GraphicsContext is not available on this platform.");
3796 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3798 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3800 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3802 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3803 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3805 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3806 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3807 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3809 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3811 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3812 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3814 virtual void PushState() {}
3815 virtual void PopState() {}
3816 virtual void Clip( const wxRegion
& ) {}
3817 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3818 virtual void ResetClip() {}
3819 virtual void * GetNativeContext() { return NULL
; }
3820 virtual int GetLogicalFunction() const { return 0; }
3821 virtual bool SetLogicalFunction(int ) {}
3822 virtual void Translate( wxDouble
, wxDouble
) {}
3823 virtual void Scale( wxDouble
, wxDouble
) {}
3824 virtual void Rotate( wxDouble
) {}
3825 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3826 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3827 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3829 virtual void SetPen( const wxGraphicsPen
& ) {}
3830 void SetPen( const wxPen
& ) {}
3832 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3833 void SetBrush( const wxBrush
& ) {}
3835 virtual void SetFont( const wxGraphicsFont
& ) {}
3836 void SetFont( const wxFont
&, const wxColour
& ) {}
3838 virtual void StrokePath( const wxGraphicsPath
& ) {}
3839 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3840 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3842 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3843 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3844 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3845 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3846 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3847 wxDouble
*, wxDouble
* ) const {}
3848 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3850 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3851 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3853 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3854 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3855 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3856 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3857 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3858 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3859 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3860 virtual bool ShouldOffset() const { return false; }
3864 class wxGraphicsRenderer
: public wxObject
3867 wxGraphicsRenderer() {
3868 PyErr_SetString(PyExc_NotImplementedError
,
3869 "wx.GraphicsRenderer is not available on this platform.");
3872 virtual ~wxGraphicsRenderer() {}
3874 static wxGraphicsRenderer
* GetDefaultRenderer() {
3875 PyErr_SetString(PyExc_NotImplementedError
,
3876 "wx.GraphicsRenderer is not available on this platform.");
3880 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3881 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3882 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3883 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3884 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3886 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3888 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3889 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3891 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3892 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3893 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3894 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3895 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3896 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3897 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3902 class wxGCDC
: public wxWindowDC
3905 wxGCDC(const wxWindowDC
&) {
3906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3907 PyErr_SetString(PyExc_NotImplementedError
,
3908 "wxGCDC is not available on this platform.");
3909 wxPyEndBlockThreads(blocked
);
3912 wxGCDC(const wxWindow
*) {
3913 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3914 PyErr_SetString(PyExc_NotImplementedError
,
3915 "wxGCDC is not available on this platform.");
3916 wxPyEndBlockThreads(blocked
);
3920 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3921 PyErr_SetString(PyExc_NotImplementedError
,
3922 "wxGCDC is not available on this platform.");
3923 wxPyEndBlockThreads(blocked
);
3926 virtual ~wxGCDC() {}
3928 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3929 void SetGraphicsContext( wxGraphicsContext
* ) {}
3934 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3935 if ( !backgroundBrush
.IsNull() )
3936 self
->DrawText(str
, x
, y
, backgroundBrush
);
3938 self
->DrawText(str
, x
, y
);
3940 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3941 if ( !backgroundBrush
.IsNull() )
3942 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3944 self
->DrawText(str
, x
, y
, angle
);
3946 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3947 wxDouble width
= 0.0,
3949 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3950 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3951 PyObject
* rv
= PyTuple_New(2);
3952 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3953 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3956 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3957 wxArrayDouble widths
;
3958 self
->GetPartialTextExtents(text
, widths
);
3961 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3962 size_t c1
, c2
, count
;
3963 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3964 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3966 if ( beginP
!= NULL
&& endP
!= NULL
)
3968 count
= wxMin(c1
, c2
);
3969 self
->StrokeLines(count
, beginP
, endP
);
3975 #include "wx/dcgraph.h"
3978 #include <wx/overlay.h>
3982 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3983 self
->AddColour(name
, wxColour(red
, green
, blue
));
3986 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3987 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3988 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3989 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3992 #include <wx/effects.h>
3995 #include "wx/renderer.h"
3998 SWIGINTERNINLINE PyObject
*
3999 SWIG_From_bool (bool value
)
4001 return PyBool_FromLong(value
? 1 : 0);
4005 #include "wx/wxPython/pseudodc.h"
4007 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4009 self
->GetIdBounds(id
, rect
);
4015 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4016 PyObject
*resultobj
= 0;
4017 wxGDIObject
*result
= 0 ;
4019 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4021 if (!wxPyCheckForApp()) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (wxGDIObject
*)new wxGDIObject();
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4034 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4035 PyObject
*resultobj
= 0;
4036 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4039 PyObject
*swig_obj
[1] ;
4041 if (!args
) SWIG_fail
;
4043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4044 if (!SWIG_IsOK(res1
)) {
4045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4047 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 resultobj
= SWIG_Py_Void();
4062 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4063 PyObject
*resultobj
= 0;
4064 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4068 PyObject
*swig_obj
[1] ;
4070 if (!args
) SWIG_fail
;
4072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4073 if (!SWIG_IsOK(res1
)) {
4074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4076 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (bool)(arg1
)->IsNull();
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4092 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4095 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4096 return SWIG_Py_Void();
4099 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4100 return SWIG_Python_InitShadowInstance(args
);
4103 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
= 0;
4105 byte arg1
= (byte
) 0 ;
4106 byte arg2
= (byte
) 0 ;
4107 byte arg3
= (byte
) 0 ;
4108 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4109 wxColour
*result
= 0 ;
4110 unsigned char val1
;
4112 unsigned char val2
;
4114 unsigned char val3
;
4116 unsigned char val4
;
4118 PyObject
* obj0
= 0 ;
4119 PyObject
* obj1
= 0 ;
4120 PyObject
* obj2
= 0 ;
4121 PyObject
* obj3
= 0 ;
4122 char * kwnames
[] = {
4123 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4128 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4129 if (!SWIG_IsOK(ecode1
)) {
4130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4132 arg1
= static_cast< byte
>(val1
);
4135 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4136 if (!SWIG_IsOK(ecode2
)) {
4137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4139 arg2
= static_cast< byte
>(val2
);
4142 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4143 if (!SWIG_IsOK(ecode3
)) {
4144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4146 arg3
= static_cast< byte
>(val3
);
4149 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4150 if (!SWIG_IsOK(ecode4
)) {
4151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4153 arg4
= static_cast< byte
>(val4
);
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4168 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
= 0;
4170 wxString
*arg1
= 0 ;
4171 wxColour
*result
= 0 ;
4172 bool temp1
= false ;
4173 PyObject
* obj0
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "colorName", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4180 arg1
= wxString_in_helper(obj0
);
4181 if (arg1
== NULL
) SWIG_fail
;
4185 if (!wxPyCheckForApp()) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4206 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
= 0;
4208 unsigned long arg1
;
4209 wxColour
*result
= 0 ;
4210 unsigned long val1
;
4212 PyObject
* obj0
= 0 ;
4213 char * kwnames
[] = {
4214 (char *) "colRGB", NULL
4217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4218 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4219 if (!SWIG_IsOK(ecode1
)) {
4220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4222 arg1
= static_cast< unsigned long >(val1
);
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (wxColour
*)new wxColour(arg1
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4236 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4237 PyObject
*resultobj
= 0;
4238 wxColour
*arg1
= (wxColour
*) 0 ;
4241 PyObject
*swig_obj
[1] ;
4243 if (!args
) SWIG_fail
;
4245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4246 if (!SWIG_IsOK(res1
)) {
4247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4249 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= SWIG_Py_Void();
4264 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4265 PyObject
*resultobj
= 0;
4266 wxColour
*arg1
= (wxColour
*) 0 ;
4270 PyObject
*swig_obj
[1] ;
4272 if (!args
) SWIG_fail
;
4274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4275 if (!SWIG_IsOK(res1
)) {
4276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4278 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 result
= (byte
)(arg1
)->Red();
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4292 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4293 PyObject
*resultobj
= 0;
4294 wxColour
*arg1
= (wxColour
*) 0 ;
4298 PyObject
*swig_obj
[1] ;
4300 if (!args
) SWIG_fail
;
4302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4303 if (!SWIG_IsOK(res1
)) {
4304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4306 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4309 result
= (byte
)(arg1
)->Green();
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4320 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4321 PyObject
*resultobj
= 0;
4322 wxColour
*arg1
= (wxColour
*) 0 ;
4326 PyObject
*swig_obj
[1] ;
4328 if (!args
) SWIG_fail
;
4330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4331 if (!SWIG_IsOK(res1
)) {
4332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4334 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 result
= (byte
)(arg1
)->Blue();
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4348 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4349 PyObject
*resultobj
= 0;
4350 wxColour
*arg1
= (wxColour
*) 0 ;
4354 PyObject
*swig_obj
[1] ;
4356 if (!args
) SWIG_fail
;
4358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4359 if (!SWIG_IsOK(res1
)) {
4360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4362 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 result
= (byte
)(arg1
)->Alpha();
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4376 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4377 PyObject
*resultobj
= 0;
4378 wxColour
*arg1
= (wxColour
*) 0 ;
4382 PyObject
*swig_obj
[1] ;
4384 if (!args
) SWIG_fail
;
4386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4387 if (!SWIG_IsOK(res1
)) {
4388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4390 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 result
= (bool)(arg1
)->IsOk();
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4406 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
= 0;
4408 wxColour
*arg1
= (wxColour
*) 0 ;
4412 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4415 unsigned char val2
;
4417 unsigned char val3
;
4419 unsigned char val4
;
4421 unsigned char val5
;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4425 PyObject
* obj2
= 0 ;
4426 PyObject
* obj3
= 0 ;
4427 PyObject
* obj4
= 0 ;
4428 char * kwnames
[] = {
4429 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4434 if (!SWIG_IsOK(res1
)) {
4435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4437 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4438 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4439 if (!SWIG_IsOK(ecode2
)) {
4440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4442 arg2
= static_cast< byte
>(val2
);
4443 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4444 if (!SWIG_IsOK(ecode3
)) {
4445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4447 arg3
= static_cast< byte
>(val3
);
4448 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4449 if (!SWIG_IsOK(ecode4
)) {
4450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4452 arg4
= static_cast< byte
>(val4
);
4454 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4455 if (!SWIG_IsOK(ecode5
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4458 arg5
= static_cast< byte
>(val5
);
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= SWIG_Py_Void();
4473 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
= 0;
4475 wxColour
*arg1
= (wxColour
*) 0 ;
4476 unsigned long arg2
;
4479 unsigned long val2
;
4481 PyObject
* obj0
= 0 ;
4482 PyObject
* obj1
= 0 ;
4483 char * kwnames
[] = {
4484 (char *) "self",(char *) "colRGB", NULL
4487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4489 if (!SWIG_IsOK(res1
)) {
4490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4492 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4493 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4494 if (!SWIG_IsOK(ecode2
)) {
4495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4497 arg2
= static_cast< unsigned long >(val2
);
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= SWIG_Py_Void();
4511 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
= 0;
4513 wxColour
*arg1
= (wxColour
*) 0 ;
4514 wxString
*arg2
= 0 ;
4517 bool temp2
= false ;
4518 PyObject
* obj0
= 0 ;
4519 PyObject
* obj1
= 0 ;
4520 char * kwnames
[] = {
4521 (char *) "self",(char *) "colourName", NULL
4524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4526 if (!SWIG_IsOK(res1
)) {
4527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4529 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4531 arg2
= wxString_in_helper(obj1
);
4532 if (arg2
== NULL
) SWIG_fail
;
4536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4537 (arg1
)->Set((wxString
const &)*arg2
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 resultobj
= SWIG_Py_Void();
4556 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
*resultobj
= 0;
4558 wxColour
*arg1
= (wxColour
*) 0 ;
4559 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4565 PyObject
* obj0
= 0 ;
4566 PyObject
* obj1
= 0 ;
4567 char * kwnames
[] = {
4568 (char *) "self",(char *) "flags", NULL
4571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4573 if (!SWIG_IsOK(res1
)) {
4574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4576 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4578 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4579 if (!SWIG_IsOK(ecode2
)) {
4580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4582 arg2
= static_cast< long >(val2
);
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4603 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4604 PyObject
*resultobj
= 0;
4605 wxColour
*arg1
= (wxColour
*) 0 ;
4609 PyObject
*swig_obj
[1] ;
4611 if (!args
) SWIG_fail
;
4613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4614 if (!SWIG_IsOK(res1
)) {
4615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4617 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4621 wxPyEndAllowThreads(__tstate
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4624 resultobj
= SWIG_From_long(static_cast< long >(result
));
4631 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
*resultobj
= 0;
4633 wxColour
*arg1
= (wxColour
*) 0 ;
4634 PyObject
*arg2
= (PyObject
*) 0 ;
4638 PyObject
* obj0
= 0 ;
4639 PyObject
* obj1
= 0 ;
4640 char * kwnames
[] = {
4641 (char *) "self",(char *) "other", NULL
4644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4646 if (!SWIG_IsOK(res1
)) {
4647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4649 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4652 result
= (bool)wxColour___eq__(arg1
,arg2
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4664 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxColour
*arg1
= (wxColour
*) 0 ;
4667 PyObject
*arg2
= (PyObject
*) 0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4673 char * kwnames
[] = {
4674 (char *) "self",(char *) "other", NULL
4677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4679 if (!SWIG_IsOK(res1
)) {
4680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4682 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4685 result
= (bool)wxColour___ne__(arg1
,arg2
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4697 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
= 0;
4699 wxColour
*arg1
= (wxColour
*) 0 ;
4700 bool arg2
= (bool) false ;
4701 PyObject
*result
= 0 ;
4706 PyObject
* obj0
= 0 ;
4707 PyObject
* obj1
= 0 ;
4708 char * kwnames
[] = {
4709 (char *) "self",(char *) "includeAlpha", NULL
4712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4714 if (!SWIG_IsOK(res1
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4717 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4719 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4720 if (!SWIG_IsOK(ecode2
)) {
4721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4723 arg2
= static_cast< bool >(val2
);
4726 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4736 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4737 PyObject
*resultobj
= 0;
4738 wxColour
*arg1
= (wxColour
*) 0 ;
4739 unsigned long result
;
4742 PyObject
*swig_obj
[1] ;
4744 if (!args
) SWIG_fail
;
4746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4747 if (!SWIG_IsOK(res1
)) {
4748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4750 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4752 result
= (unsigned long)wxColour_GetRGB(arg1
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4762 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4765 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4766 return SWIG_Py_Void();
4769 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4770 return SWIG_Python_InitShadowInstance(args
);
4773 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
= 0;
4776 unsigned char *arg2
= (unsigned char *) 0 ;
4777 unsigned char *arg3
= (unsigned char *) 0 ;
4778 unsigned char *arg4
= (unsigned char *) 0 ;
4779 wxPalette
*result
= 0 ;
4788 PyObject
* obj0
= 0 ;
4789 PyObject
* obj1
= 0 ;
4790 PyObject
* obj2
= 0 ;
4791 PyObject
* obj3
= 0 ;
4792 char * kwnames
[] = {
4793 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4798 if (!SWIG_IsOK(ecode1
)) {
4799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4801 arg1
= static_cast< int >(val1
);
4802 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4803 if (!SWIG_IsOK(res2
)) {
4804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4806 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4807 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4808 if (!SWIG_IsOK(res3
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4811 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4812 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4813 if (!SWIG_IsOK(res4
)) {
4814 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4816 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4818 if (!wxPyCheckForApp()) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4831 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4832 PyObject
*resultobj
= 0;
4833 wxPalette
*arg1
= (wxPalette
*) 0 ;
4836 PyObject
*swig_obj
[1] ;
4838 if (!args
) SWIG_fail
;
4840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4841 if (!SWIG_IsOK(res1
)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4844 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_Py_Void();
4859 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
*resultobj
= 0;
4861 wxPalette
*arg1
= (wxPalette
*) 0 ;
4868 unsigned char val2
;
4870 unsigned char val3
;
4872 unsigned char val4
;
4874 PyObject
* obj0
= 0 ;
4875 PyObject
* obj1
= 0 ;
4876 PyObject
* obj2
= 0 ;
4877 PyObject
* obj3
= 0 ;
4878 char * kwnames
[] = {
4879 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4887 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4888 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4889 if (!SWIG_IsOK(ecode2
)) {
4890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4892 arg2
= static_cast< byte
>(val2
);
4893 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4894 if (!SWIG_IsOK(ecode3
)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4897 arg3
= static_cast< byte
>(val3
);
4898 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4899 if (!SWIG_IsOK(ecode4
)) {
4900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4902 arg4
= static_cast< byte
>(val4
);
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= SWIG_From_int(static_cast< int >(result
));
4916 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
= 0;
4918 wxPalette
*arg1
= (wxPalette
*) 0 ;
4920 byte
*arg3
= (byte
*) 0 ;
4921 byte
*arg4
= (byte
*) 0 ;
4922 byte
*arg5
= (byte
*) 0 ;
4929 int res3
= SWIG_TMPOBJ
;
4931 int res4
= SWIG_TMPOBJ
;
4933 int res5
= SWIG_TMPOBJ
;
4934 PyObject
* obj0
= 0 ;
4935 PyObject
* obj1
= 0 ;
4936 char * kwnames
[] = {
4937 (char *) "self",(char *) "pixel", NULL
4943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4945 if (!SWIG_IsOK(res1
)) {
4946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4948 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4950 if (!SWIG_IsOK(ecode2
)) {
4951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4953 arg2
= static_cast< int >(val2
);
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4963 if (SWIG_IsTmpObj(res3
)) {
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4966 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4969 if (SWIG_IsTmpObj(res4
)) {
4970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4972 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4975 if (SWIG_IsTmpObj(res5
)) {
4976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4978 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4987 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4988 PyObject
*resultobj
= 0;
4989 wxPalette
*arg1
= (wxPalette
*) 0 ;
4993 PyObject
*swig_obj
[1] ;
4995 if (!args
) SWIG_fail
;
4997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4998 if (!SWIG_IsOK(res1
)) {
4999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5001 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_From_int(static_cast< int >(result
));
5015 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5016 PyObject
*resultobj
= 0;
5017 wxPalette
*arg1
= (wxPalette
*) 0 ;
5021 PyObject
*swig_obj
[1] ;
5023 if (!args
) SWIG_fail
;
5025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5026 if (!SWIG_IsOK(res1
)) {
5027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5029 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (bool)(arg1
)->IsOk();
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5045 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5048 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5049 return SWIG_Py_Void();
5052 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5053 return SWIG_Python_InitShadowInstance(args
);
5056 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
= 0;
5058 wxColour
*arg1
= 0 ;
5059 int arg2
= (int) 1 ;
5060 int arg3
= (int) wxSOLID
;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5069 PyObject
* obj2
= 0 ;
5070 char * kwnames
[] = {
5071 (char *) "colour",(char *) "width",(char *) "style", NULL
5074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5077 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5081 if (!SWIG_IsOK(ecode2
)) {
5082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5084 arg2
= static_cast< int >(val2
);
5087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5088 if (!SWIG_IsOK(ecode3
)) {
5089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5091 arg3
= static_cast< int >(val3
);
5094 if (!wxPyCheckForApp()) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5107 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5108 PyObject
*resultobj
= 0;
5109 wxPen
*arg1
= (wxPen
*) 0 ;
5112 PyObject
*swig_obj
[1] ;
5114 if (!args
) SWIG_fail
;
5116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5117 if (!SWIG_IsOK(res1
)) {
5118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5120 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= SWIG_Py_Void();
5135 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5136 PyObject
*resultobj
= 0;
5137 wxPen
*arg1
= (wxPen
*) 0 ;
5141 PyObject
*swig_obj
[1] ;
5143 if (!args
) SWIG_fail
;
5145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5146 if (!SWIG_IsOK(res1
)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5149 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5152 result
= (int)(arg1
)->GetCap();
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_From_int(static_cast< int >(result
));
5163 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5164 PyObject
*resultobj
= 0;
5165 wxPen
*arg1
= (wxPen
*) 0 ;
5169 PyObject
*swig_obj
[1] ;
5171 if (!args
) SWIG_fail
;
5173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5174 if (!SWIG_IsOK(res1
)) {
5175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5177 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 result
= (arg1
)->GetColour();
5181 wxPyEndAllowThreads(__tstate
);
5182 if (PyErr_Occurred()) SWIG_fail
;
5184 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5191 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5192 PyObject
*resultobj
= 0;
5193 wxPen
*arg1
= (wxPen
*) 0 ;
5197 PyObject
*swig_obj
[1] ;
5199 if (!args
) SWIG_fail
;
5201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5202 if (!SWIG_IsOK(res1
)) {
5203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5205 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (int)(arg1
)->GetJoin();
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= SWIG_From_int(static_cast< int >(result
));
5219 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5220 PyObject
*resultobj
= 0;
5221 wxPen
*arg1
= (wxPen
*) 0 ;
5225 PyObject
*swig_obj
[1] ;
5227 if (!args
) SWIG_fail
;
5229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5230 if (!SWIG_IsOK(res1
)) {
5231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5233 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= (int)(arg1
)->GetStyle();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_From_int(static_cast< int >(result
));
5247 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5248 PyObject
*resultobj
= 0;
5249 wxPen
*arg1
= (wxPen
*) 0 ;
5253 PyObject
*swig_obj
[1] ;
5255 if (!args
) SWIG_fail
;
5257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5258 if (!SWIG_IsOK(res1
)) {
5259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5261 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (int)(arg1
)->GetWidth();
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= SWIG_From_int(static_cast< int >(result
));
5275 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5276 PyObject
*resultobj
= 0;
5277 wxPen
*arg1
= (wxPen
*) 0 ;
5281 PyObject
*swig_obj
[1] ;
5283 if (!args
) SWIG_fail
;
5285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5286 if (!SWIG_IsOK(res1
)) {
5287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5289 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 result
= (bool)(arg1
)->IsOk();
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5305 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
= 0;
5307 wxPen
*arg1
= (wxPen
*) 0 ;
5313 PyObject
* obj0
= 0 ;
5314 PyObject
* obj1
= 0 ;
5315 char * kwnames
[] = {
5316 (char *) "self",(char *) "cap_style", NULL
5319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5321 if (!SWIG_IsOK(res1
)) {
5322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5324 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5326 if (!SWIG_IsOK(ecode2
)) {
5327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5329 arg2
= static_cast< int >(val2
);
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 (arg1
)->SetCap(arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_Py_Void();
5343 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
= 0;
5345 wxPen
*arg1
= (wxPen
*) 0 ;
5346 wxColour
*arg2
= 0 ;
5350 PyObject
* obj0
= 0 ;
5351 PyObject
* obj1
= 0 ;
5352 char * kwnames
[] = {
5353 (char *) "self",(char *) "colour", NULL
5356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5358 if (!SWIG_IsOK(res1
)) {
5359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5361 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 (arg1
)->SetColour(*arg2
);
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= SWIG_Py_Void();
5379 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
= 0;
5381 wxPen
*arg1
= (wxPen
*) 0 ;
5387 PyObject
* obj0
= 0 ;
5388 PyObject
* obj1
= 0 ;
5389 char * kwnames
[] = {
5390 (char *) "self",(char *) "join_style", NULL
5393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5395 if (!SWIG_IsOK(res1
)) {
5396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5398 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5400 if (!SWIG_IsOK(ecode2
)) {
5401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5403 arg2
= static_cast< int >(val2
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 (arg1
)->SetJoin(arg2
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_Py_Void();
5417 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxPen
*arg1
= (wxPen
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5427 char * kwnames
[] = {
5428 (char *) "self",(char *) "style", NULL
5431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5433 if (!SWIG_IsOK(res1
)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5436 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5438 if (!SWIG_IsOK(ecode2
)) {
5439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5441 arg2
= static_cast< int >(val2
);
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 (arg1
)->SetStyle(arg2
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= SWIG_Py_Void();
5455 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
= 0;
5457 wxPen
*arg1
= (wxPen
*) 0 ;
5463 PyObject
* obj0
= 0 ;
5464 PyObject
* obj1
= 0 ;
5465 char * kwnames
[] = {
5466 (char *) "self",(char *) "width", NULL
5469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5471 if (!SWIG_IsOK(res1
)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5474 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5476 if (!SWIG_IsOK(ecode2
)) {
5477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5479 arg2
= static_cast< int >(val2
);
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 (arg1
)->SetWidth(arg2
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= SWIG_Py_Void();
5493 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
= 0;
5495 wxPen
*arg1
= (wxPen
*) 0 ;
5497 wxDash
*arg3
= (wxDash
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5502 char * kwnames
[] = {
5503 (char *) "self",(char *) "dashes", NULL
5506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5508 if (!SWIG_IsOK(res1
)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5511 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5513 arg2
= PyList_Size(obj1
);
5514 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5515 if (arg3
== NULL
) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 (arg1
)->SetDashes(arg2
,arg3
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 resultobj
= SWIG_Py_Void();
5525 if (arg3
) delete [] arg3
;
5530 if (arg3
) delete [] arg3
;
5536 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5537 PyObject
*resultobj
= 0;
5538 wxPen
*arg1
= (wxPen
*) 0 ;
5539 PyObject
*result
= 0 ;
5542 PyObject
*swig_obj
[1] ;
5544 if (!args
) SWIG_fail
;
5546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5547 if (!SWIG_IsOK(res1
)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5550 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5564 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
= 0;
5566 wxPen
*arg1
= (wxPen
*) 0 ;
5567 PyObject
*arg2
= (PyObject
*) 0 ;
5568 PyObject
*arg3
= (PyObject
*) 0 ;
5571 PyObject
* obj0
= 0 ;
5572 PyObject
* obj1
= 0 ;
5573 PyObject
* obj2
= 0 ;
5574 char * kwnames
[] = {
5575 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5580 if (!SWIG_IsOK(res1
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5583 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 wxPen__SetDashes(arg1
,arg2
,arg3
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= SWIG_Py_Void();
5599 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5600 PyObject
*resultobj
= 0;
5601 wxPen
*arg1
= (wxPen
*) 0 ;
5605 PyObject
*swig_obj
[1] ;
5607 if (!args
) SWIG_fail
;
5609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5610 if (!SWIG_IsOK(res1
)) {
5611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5613 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_From_int(static_cast< int >(result
));
5627 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
= 0;
5629 wxPen
*arg1
= (wxPen
*) 0 ;
5630 wxPen
*arg2
= (wxPen
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5638 char * kwnames
[] = {
5639 (char *) "self",(char *) "other", NULL
5642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5644 if (!SWIG_IsOK(res1
)) {
5645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5647 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5649 if (!SWIG_IsOK(res2
)) {
5650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5652 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5668 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
= 0;
5670 wxPen
*arg1
= (wxPen
*) 0 ;
5671 wxPen
*arg2
= (wxPen
*) 0 ;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5679 char * kwnames
[] = {
5680 (char *) "self",(char *) "other", NULL
5683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5685 if (!SWIG_IsOK(res1
)) {
5686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5688 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5690 if (!SWIG_IsOK(res2
)) {
5691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5693 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5709 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5712 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5713 return SWIG_Py_Void();
5716 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5717 return SWIG_Python_InitShadowInstance(args
);
5720 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
= 0;
5722 wxColour
*arg1
= 0 ;
5723 int arg2
= (int) wxSOLID
;
5724 wxBrush
*result
= 0 ;
5728 PyObject
* obj0
= 0 ;
5729 PyObject
* obj1
= 0 ;
5730 char * kwnames
[] = {
5731 (char *) "colour",(char *) "style", NULL
5734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5737 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5741 if (!SWIG_IsOK(ecode2
)) {
5742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5744 arg2
= static_cast< int >(val2
);
5747 if (!wxPyCheckForApp()) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5760 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
*resultobj
= 0;
5762 wxBitmap
*arg1
= 0 ;
5763 wxBrush
*result
= 0 ;
5766 PyObject
* obj0
= 0 ;
5767 char * kwnames
[] = {
5768 (char *) "stippleBitmap", NULL
5771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5772 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5773 if (!SWIG_IsOK(res1
)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5779 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5781 if (!wxPyCheckForApp()) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5794 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5795 PyObject
*resultobj
= 0;
5796 wxBrush
*arg1
= (wxBrush
*) 0 ;
5799 PyObject
*swig_obj
[1] ;
5801 if (!args
) SWIG_fail
;
5803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5804 if (!SWIG_IsOK(res1
)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5807 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= SWIG_Py_Void();
5822 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
= 0;
5824 wxBrush
*arg1
= (wxBrush
*) 0 ;
5825 wxColour
*arg2
= 0 ;
5829 PyObject
* obj0
= 0 ;
5830 PyObject
* obj1
= 0 ;
5831 char * kwnames
[] = {
5832 (char *) "self",(char *) "col", NULL
5835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5837 if (!SWIG_IsOK(res1
)) {
5838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5840 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 (arg1
)->SetColour((wxColour
const &)*arg2
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= SWIG_Py_Void();
5858 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
= 0;
5860 wxBrush
*arg1
= (wxBrush
*) 0 ;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj1
= 0 ;
5868 char * kwnames
[] = {
5869 (char *) "self",(char *) "style", NULL
5872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5874 if (!SWIG_IsOK(res1
)) {
5875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5877 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5879 if (!SWIG_IsOK(ecode2
)) {
5880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5882 arg2
= static_cast< int >(val2
);
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 (arg1
)->SetStyle(arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_Py_Void();
5896 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5897 PyObject
*resultobj
= 0;
5898 wxBrush
*arg1
= (wxBrush
*) 0 ;
5899 wxBitmap
*arg2
= 0 ;
5904 PyObject
* obj0
= 0 ;
5905 PyObject
* obj1
= 0 ;
5906 char * kwnames
[] = {
5907 (char *) "self",(char *) "stipple", NULL
5910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5912 if (!SWIG_IsOK(res1
)) {
5913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5915 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5916 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5917 if (!SWIG_IsOK(res2
)) {
5918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5923 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= SWIG_Py_Void();
5937 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5938 PyObject
*resultobj
= 0;
5939 wxBrush
*arg1
= (wxBrush
*) 0 ;
5943 PyObject
*swig_obj
[1] ;
5945 if (!args
) SWIG_fail
;
5947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5948 if (!SWIG_IsOK(res1
)) {
5949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5951 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= ((wxBrush
const *)arg1
)->GetColour();
5955 wxPyEndAllowThreads(__tstate
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5958 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5965 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5966 PyObject
*resultobj
= 0;
5967 wxBrush
*arg1
= (wxBrush
*) 0 ;
5971 PyObject
*swig_obj
[1] ;
5973 if (!args
) SWIG_fail
;
5975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5976 if (!SWIG_IsOK(res1
)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5979 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_From_int(static_cast< int >(result
));
5993 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5994 PyObject
*resultobj
= 0;
5995 wxBrush
*arg1
= (wxBrush
*) 0 ;
5996 wxBitmap
*result
= 0 ;
5999 PyObject
*swig_obj
[1] ;
6001 if (!args
) SWIG_fail
;
6003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6004 if (!SWIG_IsOK(res1
)) {
6005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6007 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6021 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6022 PyObject
*resultobj
= 0;
6023 wxBrush
*arg1
= (wxBrush
*) 0 ;
6027 PyObject
*swig_obj
[1] ;
6029 if (!args
) SWIG_fail
;
6031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6032 if (!SWIG_IsOK(res1
)) {
6033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6035 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6051 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6052 PyObject
*resultobj
= 0;
6053 wxBrush
*arg1
= (wxBrush
*) 0 ;
6057 PyObject
*swig_obj
[1] ;
6059 if (!args
) SWIG_fail
;
6061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6062 if (!SWIG_IsOK(res1
)) {
6063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6065 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (bool)(arg1
)->IsOk();
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6081 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6084 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6085 return SWIG_Py_Void();
6088 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6089 return SWIG_Python_InitShadowInstance(args
);
6092 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
*resultobj
= 0;
6094 wxString
*arg1
= 0 ;
6095 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6096 wxBitmap
*result
= 0 ;
6097 bool temp1
= false ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6102 char * kwnames
[] = {
6103 (char *) "name",(char *) "type", NULL
6106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6108 arg1
= wxString_in_helper(obj0
);
6109 if (arg1
== NULL
) SWIG_fail
;
6113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6114 if (!SWIG_IsOK(ecode2
)) {
6115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6117 arg2
= static_cast< wxBitmapType
>(val2
);
6120 if (!wxPyCheckForApp()) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6141 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6142 PyObject
*resultobj
= 0;
6143 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6146 PyObject
*swig_obj
[1] ;
6148 if (!args
) SWIG_fail
;
6150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6151 if (!SWIG_IsOK(res1
)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6154 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= SWIG_Py_Void();
6167 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
= 0;
6171 int arg3
= (int) -1 ;
6172 wxBitmap
*result
= 0 ;
6179 PyObject
* obj0
= 0 ;
6180 PyObject
* obj1
= 0 ;
6181 PyObject
* obj2
= 0 ;
6182 char * kwnames
[] = {
6183 (char *) "width",(char *) "height",(char *) "depth", NULL
6186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6187 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6188 if (!SWIG_IsOK(ecode1
)) {
6189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6191 arg1
= static_cast< int >(val1
);
6192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6193 if (!SWIG_IsOK(ecode2
)) {
6194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6196 arg2
= static_cast< int >(val2
);
6198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6199 if (!SWIG_IsOK(ecode3
)) {
6200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6202 arg3
= static_cast< int >(val3
);
6205 if (!wxPyCheckForApp()) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6218 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
= 0;
6221 wxBitmap
*result
= 0 ;
6224 PyObject
* obj0
= 0 ;
6225 char * kwnames
[] = {
6226 (char *) "icon", NULL
6229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6230 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6231 if (!SWIG_IsOK(res1
)) {
6232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6237 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6239 if (!wxPyCheckForApp()) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6252 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
= 0;
6255 int arg2
= (int) -1 ;
6256 wxBitmap
*result
= 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6263 char * kwnames
[] = {
6264 (char *) "image",(char *) "depth", NULL
6267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6268 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6269 if (!SWIG_IsOK(res1
)) {
6270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6275 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6278 if (!SWIG_IsOK(ecode2
)) {
6279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6281 arg2
= static_cast< int >(val2
);
6284 if (!wxPyCheckForApp()) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6297 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
= 0;
6299 PyObject
*arg1
= (PyObject
*) 0 ;
6300 wxBitmap
*result
= 0 ;
6301 PyObject
* obj0
= 0 ;
6302 char * kwnames
[] = {
6303 (char *) "listOfStrings", NULL
6306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6309 if (!wxPyCheckForApp()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6322 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
= 0;
6324 PyObject
*arg1
= (PyObject
*) 0 ;
6327 int arg4
= (int) 1 ;
6328 wxBitmap
*result
= 0 ;
6335 PyObject
* obj0
= 0 ;
6336 PyObject
* obj1
= 0 ;
6337 PyObject
* obj2
= 0 ;
6338 PyObject
* obj3
= 0 ;
6339 char * kwnames
[] = {
6340 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6346 if (!SWIG_IsOK(ecode2
)) {
6347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6349 arg2
= static_cast< int >(val2
);
6350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6351 if (!SWIG_IsOK(ecode3
)) {
6352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6354 arg3
= static_cast< int >(val3
);
6356 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6357 if (!SWIG_IsOK(ecode4
)) {
6358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6360 arg4
= static_cast< int >(val4
);
6363 if (!wxPyCheckForApp()) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6376 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6377 PyObject
*resultobj
= 0;
6378 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6382 PyObject
*swig_obj
[1] ;
6384 if (!args
) SWIG_fail
;
6386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6387 if (!SWIG_IsOK(res1
)) {
6388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6390 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6392 result
= (bool)(arg1
)->IsOk();
6393 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6404 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6405 PyObject
*resultobj
= 0;
6406 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6410 PyObject
*swig_obj
[1] ;
6412 if (!args
) SWIG_fail
;
6414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6415 if (!SWIG_IsOK(res1
)) {
6416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6418 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6420 result
= (int)(arg1
)->GetWidth();
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_From_int(static_cast< int >(result
));
6430 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6431 PyObject
*resultobj
= 0;
6432 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6436 PyObject
*swig_obj
[1] ;
6438 if (!args
) SWIG_fail
;
6440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6441 if (!SWIG_IsOK(res1
)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6444 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6446 result
= (int)(arg1
)->GetHeight();
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 resultobj
= SWIG_From_int(static_cast< int >(result
));
6456 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6457 PyObject
*resultobj
= 0;
6458 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6462 PyObject
*swig_obj
[1] ;
6464 if (!args
) SWIG_fail
;
6466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6467 if (!SWIG_IsOK(res1
)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6470 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6472 result
= (int)(arg1
)->GetDepth();
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= SWIG_From_int(static_cast< int >(result
));
6482 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6483 PyObject
*resultobj
= 0;
6484 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6488 PyObject
*swig_obj
[1] ;
6490 if (!args
) SWIG_fail
;
6492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6493 if (!SWIG_IsOK(res1
)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6496 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6498 result
= wxBitmap_GetSize(arg1
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6508 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6509 PyObject
*resultobj
= 0;
6510 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6511 SwigValueWrapper
<wxImage
> result
;
6514 PyObject
*swig_obj
[1] ;
6516 if (!args
) SWIG_fail
;
6518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6519 if (!SWIG_IsOK(res1
)) {
6520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6522 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6524 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6534 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6535 PyObject
*resultobj
= 0;
6536 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6537 wxMask
*result
= 0 ;
6540 PyObject
*swig_obj
[1] ;
6542 if (!args
) SWIG_fail
;
6544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6545 if (!SWIG_IsOK(res1
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6548 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6550 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6560 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
= 0;
6562 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6563 wxMask
*arg2
= (wxMask
*) 0 ;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 char * kwnames
[] = {
6570 (char *) "self",(char *) "mask", NULL
6573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6575 if (!SWIG_IsOK(res1
)) {
6576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6578 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6579 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6580 if (!SWIG_IsOK(res2
)) {
6581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6584 (arg1
)->SetMask(arg2
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= SWIG_Py_Void();
6594 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
*resultobj
= 0;
6596 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6597 wxColour
*arg2
= 0 ;
6601 PyObject
* obj0
= 0 ;
6602 PyObject
* obj1
= 0 ;
6603 char * kwnames
[] = {
6604 (char *) "self",(char *) "colour", NULL
6607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6612 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6615 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6618 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= SWIG_Py_Void();
6628 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
= 0;
6630 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6632 SwigValueWrapper
<wxBitmap
> result
;
6636 PyObject
* obj0
= 0 ;
6637 PyObject
* obj1
= 0 ;
6638 char * kwnames
[] = {
6639 (char *) "self",(char *) "rect", NULL
6642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6644 if (!SWIG_IsOK(res1
)) {
6645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6647 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6650 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6653 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6663 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
= 0;
6665 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6666 wxString
*arg2
= 0 ;
6668 wxPalette
*arg4
= (wxPalette
*) NULL
;
6672 bool temp2
= false ;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6679 PyObject
* obj2
= 0 ;
6680 PyObject
* obj3
= 0 ;
6681 char * kwnames
[] = {
6682 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6687 if (!SWIG_IsOK(res1
)) {
6688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6690 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6692 arg2
= wxString_in_helper(obj1
);
6693 if (arg2
== NULL
) SWIG_fail
;
6696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6697 if (!SWIG_IsOK(ecode3
)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6700 arg3
= static_cast< wxBitmapType
>(val3
);
6702 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6703 if (!SWIG_IsOK(res4
)) {
6704 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6706 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6709 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6729 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
= 0;
6731 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6732 wxString
*arg2
= 0 ;
6737 bool temp2
= false ;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6742 PyObject
* obj2
= 0 ;
6743 char * kwnames
[] = {
6744 (char *) "self",(char *) "name",(char *) "type", NULL
6747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6749 if (!SWIG_IsOK(res1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6752 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6754 arg2
= wxString_in_helper(obj1
);
6755 if (arg2
== NULL
) SWIG_fail
;
6758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6759 if (!SWIG_IsOK(ecode3
)) {
6760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6762 arg3
= static_cast< wxBitmapType
>(val3
);
6764 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6784 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6785 PyObject
*resultobj
= 0;
6786 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6787 wxPalette
*result
= 0 ;
6790 PyObject
*swig_obj
[1] ;
6792 if (!args
) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6798 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6800 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6810 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
= 0;
6812 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6819 PyObject
* obj0
= 0 ;
6820 PyObject
* obj1
= 0 ;
6821 char * kwnames
[] = {
6822 (char *) "self",(char *) "icon", NULL
6825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6827 if (!SWIG_IsOK(res1
)) {
6828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6830 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6832 if (!SWIG_IsOK(res2
)) {
6833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6838 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6840 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6852 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
= 0;
6854 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6862 char * kwnames
[] = {
6863 (char *) "self",(char *) "height", NULL
6866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6868 if (!SWIG_IsOK(res1
)) {
6869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6871 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6873 if (!SWIG_IsOK(ecode2
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6876 arg2
= static_cast< int >(val2
);
6878 (arg1
)->SetHeight(arg2
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= SWIG_Py_Void();
6888 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
= 0;
6890 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6898 char * kwnames
[] = {
6899 (char *) "self",(char *) "width", NULL
6902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6904 if (!SWIG_IsOK(res1
)) {
6905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6907 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6909 if (!SWIG_IsOK(ecode2
)) {
6910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6912 arg2
= static_cast< int >(val2
);
6914 (arg1
)->SetWidth(arg2
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_Py_Void();
6924 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
= 0;
6926 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 char * kwnames
[] = {
6935 (char *) "self",(char *) "depth", NULL
6938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6940 if (!SWIG_IsOK(res1
)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6943 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6945 if (!SWIG_IsOK(ecode2
)) {
6946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6948 arg2
= static_cast< int >(val2
);
6950 (arg1
)->SetDepth(arg2
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_Py_Void();
6960 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
= 0;
6962 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 char * kwnames
[] = {
6970 (char *) "self",(char *) "size", NULL
6973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6975 if (!SWIG_IsOK(res1
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6978 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6981 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6984 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_Py_Void();
6994 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
= 0;
6996 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7004 char * kwnames
[] = {
7005 (char *) "self",(char *) "data", NULL
7008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7010 if (!SWIG_IsOK(res1
)) {
7011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7013 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7015 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7019 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= SWIG_Py_Void();
7029 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
= 0;
7031 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7037 PyObject
* obj0
= 0 ;
7038 PyObject
* obj1
= 0 ;
7039 char * kwnames
[] = {
7040 (char *) "self",(char *) "data", NULL
7043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7045 if (!SWIG_IsOK(res1
)) {
7046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7048 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7050 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7054 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 resultobj
= SWIG_Py_Void();
7064 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7067 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7075 char * kwnames
[] = {
7076 (char *) "self",(char *) "other", NULL
7079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7081 if (!SWIG_IsOK(res1
)) {
7082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7084 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7086 if (!SWIG_IsOK(res2
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7089 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7091 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7103 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
= 0;
7105 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7106 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7112 PyObject
* obj0
= 0 ;
7113 PyObject
* obj1
= 0 ;
7114 char * kwnames
[] = {
7115 (char *) "self",(char *) "other", NULL
7118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7120 if (!SWIG_IsOK(res1
)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7123 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7125 if (!SWIG_IsOK(res2
)) {
7126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7128 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7130 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7142 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7145 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7146 return SWIG_Py_Void();
7149 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7150 return SWIG_Python_InitShadowInstance(args
);
7153 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
= 0;
7161 wxBitmap
*result
= 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7170 PyObject
* obj2
= 0 ;
7171 PyObject
* obj3
= 0 ;
7172 char * kwnames
[] = {
7173 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7177 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7178 if (!SWIG_IsOK(ecode1
)) {
7179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7181 arg1
= static_cast< int >(val1
);
7182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7183 if (!SWIG_IsOK(ecode2
)) {
7184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7186 arg2
= static_cast< int >(val2
);
7188 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7192 if (obj3
!= Py_None
) {
7193 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7198 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7208 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= 0;
7214 wxBitmap
*result
= 0 ;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7222 PyObject
* obj2
= 0 ;
7223 char * kwnames
[] = {
7224 (char *) "width",(char *) "height",(char *) "data", NULL
7227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7229 if (!SWIG_IsOK(ecode1
)) {
7230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7232 arg1
= static_cast< int >(val1
);
7233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7234 if (!SWIG_IsOK(ecode2
)) {
7235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7237 arg2
= static_cast< int >(val2
);
7239 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7243 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7253 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7259 wxBitmap
*result
= 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7268 char * kwnames
[] = {
7269 (char *) "width",(char *) "height",(char *) "data", NULL
7272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7273 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7274 if (!SWIG_IsOK(ecode1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7277 arg1
= static_cast< int >(val1
);
7278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7279 if (!SWIG_IsOK(ecode2
)) {
7280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7282 arg2
= static_cast< int >(val2
);
7284 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7288 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7298 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7299 PyObject
*resultobj
= 0;
7300 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7304 PyObject
*swig_obj
[1] ;
7306 if (!args
) SWIG_fail
;
7308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7309 if (!SWIG_IsOK(res1
)) {
7310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7312 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7314 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7324 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7325 PyObject
*resultobj
= 0;
7326 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7330 PyObject
*swig_obj
[1] ;
7332 if (!args
) SWIG_fail
;
7334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7335 if (!SWIG_IsOK(res1
)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7338 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7340 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= SWIG_From_int(static_cast< int >(result
));
7350 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7351 PyObject
*resultobj
= 0;
7352 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7356 PyObject
*swig_obj
[1] ;
7358 if (!args
) SWIG_fail
;
7360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7361 if (!SWIG_IsOK(res1
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7364 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7366 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 resultobj
= SWIG_From_int(static_cast< int >(result
));
7376 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7377 PyObject
*resultobj
= 0;
7378 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7382 PyObject
*swig_obj
[1] ;
7384 if (!args
) SWIG_fail
;
7386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7387 if (!SWIG_IsOK(res1
)) {
7388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7390 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7392 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7402 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7403 PyObject
*resultobj
= 0;
7404 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7408 PyObject
*swig_obj
[1] ;
7410 if (!args
) SWIG_fail
;
7412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7413 if (!SWIG_IsOK(res1
)) {
7414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7416 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7418 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= SWIG_From_int(static_cast< int >(result
));
7428 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7431 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7432 return SWIG_Py_Void();
7435 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7436 PyObject
*resultobj
= 0;
7437 wxBitmap
*arg1
= 0 ;
7438 wxNativePixelData
*result
= 0 ;
7442 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7444 if (!SWIG_IsOK(res1
)) {
7445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7450 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7452 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7462 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7463 PyObject
*resultobj
= 0;
7464 wxBitmap
*arg1
= 0 ;
7466 wxNativePixelData
*result
= 0 ;
7471 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7473 if (!SWIG_IsOK(res1
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7479 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7482 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7485 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7495 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7496 PyObject
*resultobj
= 0;
7497 wxBitmap
*arg1
= 0 ;
7500 wxNativePixelData
*result
= 0 ;
7506 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7508 if (!SWIG_IsOK(res1
)) {
7509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7514 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7517 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7521 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7524 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7534 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7538 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7541 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7544 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7547 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7551 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7556 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7557 PyObject
*resultobj
= 0;
7558 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7561 PyObject
*swig_obj
[1] ;
7563 if (!args
) SWIG_fail
;
7565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7566 if (!SWIG_IsOK(res1
)) {
7567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7569 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_Py_Void();
7582 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7583 PyObject
*resultobj
= 0;
7584 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7585 wxNativePixelData_Accessor result
;
7588 PyObject
*swig_obj
[1] ;
7590 if (!args
) SWIG_fail
;
7592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7593 if (!SWIG_IsOK(res1
)) {
7594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7596 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7598 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7608 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7609 PyObject
*resultobj
= 0;
7610 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7613 PyObject
*swig_obj
[1] ;
7615 if (!args
) SWIG_fail
;
7617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7618 if (!SWIG_IsOK(res1
)) {
7619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7621 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_Py_Void();
7633 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7634 PyObject
*resultobj
= 0;
7635 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7639 PyObject
*swig_obj
[1] ;
7641 if (!args
) SWIG_fail
;
7643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7644 if (!SWIG_IsOK(res1
)) {
7645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7647 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7649 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7661 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7664 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7665 return SWIG_Py_Void();
7668 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7669 return SWIG_Python_InitShadowInstance(args
);
7672 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7673 PyObject
*resultobj
= 0;
7674 wxNativePixelData
*arg1
= 0 ;
7675 wxNativePixelData_Accessor
*result
= 0 ;
7679 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7681 if (!SWIG_IsOK(res1
)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7687 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7689 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7699 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7700 PyObject
*resultobj
= 0;
7701 wxBitmap
*arg1
= 0 ;
7702 wxNativePixelData
*arg2
= 0 ;
7703 wxNativePixelData_Accessor
*result
= 0 ;
7709 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7711 if (!SWIG_IsOK(res1
)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7717 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7718 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7719 if (!SWIG_IsOK(res2
)) {
7720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7725 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7727 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7737 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7738 PyObject
*resultobj
= 0;
7739 wxNativePixelData_Accessor
*result
= 0 ;
7741 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7743 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7753 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7757 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7760 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7763 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7766 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7770 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7775 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7776 PyObject
*resultobj
= 0;
7777 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7780 PyObject
*swig_obj
[1] ;
7782 if (!args
) SWIG_fail
;
7784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7785 if (!SWIG_IsOK(res1
)) {
7786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7788 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_Py_Void();
7801 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
= 0;
7803 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7804 wxNativePixelData
*arg2
= 0 ;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7811 char * kwnames
[] = {
7812 (char *) "self",(char *) "data", NULL
7815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7817 if (!SWIG_IsOK(res1
)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7820 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7822 if (!SWIG_IsOK(res2
)) {
7823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7828 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7830 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_Py_Void();
7840 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7841 PyObject
*resultobj
= 0;
7842 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7846 PyObject
*swig_obj
[1] ;
7848 if (!args
) SWIG_fail
;
7850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7851 if (!SWIG_IsOK(res1
)) {
7852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7854 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7856 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7857 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7868 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7869 PyObject
*resultobj
= 0;
7870 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7873 PyObject
*swig_obj
[1] ;
7875 if (!args
) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7881 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7883 wxNativePixelData_Accessor_nextPixel(arg1
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= SWIG_Py_Void();
7893 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
= 0;
7895 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7896 wxNativePixelData
*arg2
= 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7909 PyObject
* obj2
= 0 ;
7910 PyObject
* obj3
= 0 ;
7911 char * kwnames
[] = {
7912 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7917 if (!SWIG_IsOK(res1
)) {
7918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7920 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7922 if (!SWIG_IsOK(res2
)) {
7923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7928 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7930 if (!SWIG_IsOK(ecode3
)) {
7931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7933 arg3
= static_cast< int >(val3
);
7934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7935 if (!SWIG_IsOK(ecode4
)) {
7936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7938 arg4
= static_cast< int >(val4
);
7940 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7941 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= SWIG_Py_Void();
7950 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
= 0;
7952 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7953 wxNativePixelData
*arg2
= 0 ;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7963 PyObject
* obj2
= 0 ;
7964 char * kwnames
[] = {
7965 (char *) "self",(char *) "data",(char *) "x", NULL
7968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7970 if (!SWIG_IsOK(res1
)) {
7971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7973 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7974 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7975 if (!SWIG_IsOK(res2
)) {
7976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7981 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7983 if (!SWIG_IsOK(ecode3
)) {
7984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7986 arg3
= static_cast< int >(val3
);
7988 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_Py_Void();
7998 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
= 0;
8000 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8001 wxNativePixelData
*arg2
= 0 ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8011 PyObject
* obj2
= 0 ;
8012 char * kwnames
[] = {
8013 (char *) "self",(char *) "data",(char *) "y", NULL
8016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8018 if (!SWIG_IsOK(res1
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8021 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8023 if (!SWIG_IsOK(res2
)) {
8024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8029 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8031 if (!SWIG_IsOK(ecode3
)) {
8032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8034 arg3
= static_cast< int >(val3
);
8036 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_Py_Void();
8046 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
= 0;
8048 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8049 wxNativePixelData
*arg2
= 0 ;
8060 PyObject
* obj0
= 0 ;
8061 PyObject
* obj1
= 0 ;
8062 PyObject
* obj2
= 0 ;
8063 PyObject
* obj3
= 0 ;
8064 char * kwnames
[] = {
8065 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8070 if (!SWIG_IsOK(res1
)) {
8071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8073 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8075 if (!SWIG_IsOK(res2
)) {
8076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8081 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8083 if (!SWIG_IsOK(ecode3
)) {
8084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8086 arg3
= static_cast< int >(val3
);
8087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8088 if (!SWIG_IsOK(ecode4
)) {
8089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8091 arg4
= static_cast< int >(val4
);
8093 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= SWIG_Py_Void();
8103 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
= 0;
8105 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8111 unsigned char val2
;
8113 unsigned char val3
;
8115 unsigned char val4
;
8117 PyObject
* obj0
= 0 ;
8118 PyObject
* obj1
= 0 ;
8119 PyObject
* obj2
= 0 ;
8120 PyObject
* obj3
= 0 ;
8121 char * kwnames
[] = {
8122 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8127 if (!SWIG_IsOK(res1
)) {
8128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8130 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8131 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8132 if (!SWIG_IsOK(ecode2
)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8135 arg2
= static_cast< byte
>(val2
);
8136 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8137 if (!SWIG_IsOK(ecode3
)) {
8138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8140 arg3
= static_cast< byte
>(val3
);
8141 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8142 if (!SWIG_IsOK(ecode4
)) {
8143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8145 arg4
= static_cast< byte
>(val4
);
8147 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_Py_Void();
8157 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8158 PyObject
*resultobj
= 0;
8159 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8160 PyObject
*result
= 0 ;
8163 PyObject
*swig_obj
[1] ;
8165 if (!args
) SWIG_fail
;
8167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8168 if (!SWIG_IsOK(res1
)) {
8169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8171 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8173 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8183 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8186 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8187 return SWIG_Py_Void();
8190 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8191 return SWIG_Python_InitShadowInstance(args
);
8194 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8195 PyObject
*resultobj
= 0;
8196 wxBitmap
*arg1
= 0 ;
8197 wxAlphaPixelData
*result
= 0 ;
8201 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8203 if (!SWIG_IsOK(res1
)) {
8204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8209 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8211 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8221 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8222 PyObject
*resultobj
= 0;
8223 wxBitmap
*arg1
= 0 ;
8225 wxAlphaPixelData
*result
= 0 ;
8230 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8232 if (!SWIG_IsOK(res1
)) {
8233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8238 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8241 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8244 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8254 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8255 PyObject
*resultobj
= 0;
8256 wxBitmap
*arg1
= 0 ;
8259 wxAlphaPixelData
*result
= 0 ;
8265 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8267 if (!SWIG_IsOK(res1
)) {
8268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8273 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8276 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8280 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8283 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8293 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8297 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8300 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8303 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8306 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8310 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8315 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8316 PyObject
*resultobj
= 0;
8317 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8320 PyObject
*swig_obj
[1] ;
8322 if (!args
) SWIG_fail
;
8324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8325 if (!SWIG_IsOK(res1
)) {
8326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8328 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= SWIG_Py_Void();
8341 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8342 PyObject
*resultobj
= 0;
8343 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8344 wxAlphaPixelData_Accessor result
;
8347 PyObject
*swig_obj
[1] ;
8349 if (!args
) SWIG_fail
;
8351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8352 if (!SWIG_IsOK(res1
)) {
8353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8355 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8357 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8367 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8368 PyObject
*resultobj
= 0;
8369 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8372 PyObject
*swig_obj
[1] ;
8374 if (!args
) SWIG_fail
;
8376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8377 if (!SWIG_IsOK(res1
)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8380 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= SWIG_Py_Void();
8392 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8393 PyObject
*resultobj
= 0;
8394 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8398 PyObject
*swig_obj
[1] ;
8400 if (!args
) SWIG_fail
;
8402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8403 if (!SWIG_IsOK(res1
)) {
8404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8406 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8408 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8420 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8423 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8424 return SWIG_Py_Void();
8427 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8428 return SWIG_Python_InitShadowInstance(args
);
8431 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8432 PyObject
*resultobj
= 0;
8433 wxAlphaPixelData
*arg1
= 0 ;
8434 wxAlphaPixelData_Accessor
*result
= 0 ;
8438 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8440 if (!SWIG_IsOK(res1
)) {
8441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8446 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8448 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8458 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8459 PyObject
*resultobj
= 0;
8460 wxBitmap
*arg1
= 0 ;
8461 wxAlphaPixelData
*arg2
= 0 ;
8462 wxAlphaPixelData_Accessor
*result
= 0 ;
8468 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8470 if (!SWIG_IsOK(res1
)) {
8471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8476 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8477 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8478 if (!SWIG_IsOK(res2
)) {
8479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8484 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8486 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8496 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8497 PyObject
*resultobj
= 0;
8498 wxAlphaPixelData_Accessor
*result
= 0 ;
8500 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8502 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8512 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8516 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8519 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8522 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8525 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8529 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8534 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8535 PyObject
*resultobj
= 0;
8536 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8539 PyObject
*swig_obj
[1] ;
8541 if (!args
) SWIG_fail
;
8543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8544 if (!SWIG_IsOK(res1
)) {
8545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8547 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= SWIG_Py_Void();
8560 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
= 0;
8562 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8563 wxAlphaPixelData
*arg2
= 0 ;
8568 PyObject
* obj0
= 0 ;
8569 PyObject
* obj1
= 0 ;
8570 char * kwnames
[] = {
8571 (char *) "self",(char *) "data", NULL
8574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8576 if (!SWIG_IsOK(res1
)) {
8577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8579 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8581 if (!SWIG_IsOK(res2
)) {
8582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8587 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8589 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= SWIG_Py_Void();
8599 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8600 PyObject
*resultobj
= 0;
8601 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8605 PyObject
*swig_obj
[1] ;
8607 if (!args
) SWIG_fail
;
8609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8610 if (!SWIG_IsOK(res1
)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8613 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8615 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8627 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8628 PyObject
*resultobj
= 0;
8629 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8632 PyObject
*swig_obj
[1] ;
8634 if (!args
) SWIG_fail
;
8636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8637 if (!SWIG_IsOK(res1
)) {
8638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8640 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8642 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= SWIG_Py_Void();
8652 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
= 0;
8654 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8655 wxAlphaPixelData
*arg2
= 0 ;
8666 PyObject
* obj0
= 0 ;
8667 PyObject
* obj1
= 0 ;
8668 PyObject
* obj2
= 0 ;
8669 PyObject
* obj3
= 0 ;
8670 char * kwnames
[] = {
8671 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8676 if (!SWIG_IsOK(res1
)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8679 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8681 if (!SWIG_IsOK(res2
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8687 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8689 if (!SWIG_IsOK(ecode3
)) {
8690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8692 arg3
= static_cast< int >(val3
);
8693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8694 if (!SWIG_IsOK(ecode4
)) {
8695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8697 arg4
= static_cast< int >(val4
);
8699 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= SWIG_Py_Void();
8709 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
= 0;
8711 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8712 wxAlphaPixelData
*arg2
= 0 ;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8722 PyObject
* obj2
= 0 ;
8723 char * kwnames
[] = {
8724 (char *) "self",(char *) "data",(char *) "x", NULL
8727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8732 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8734 if (!SWIG_IsOK(res2
)) {
8735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8740 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8742 if (!SWIG_IsOK(ecode3
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8745 arg3
= static_cast< int >(val3
);
8747 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= SWIG_Py_Void();
8757 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
= 0;
8759 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8760 wxAlphaPixelData
*arg2
= 0 ;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8770 PyObject
* obj2
= 0 ;
8771 char * kwnames
[] = {
8772 (char *) "self",(char *) "data",(char *) "y", NULL
8775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8777 if (!SWIG_IsOK(res1
)) {
8778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8780 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8782 if (!SWIG_IsOK(res2
)) {
8783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8788 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8790 if (!SWIG_IsOK(ecode3
)) {
8791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8793 arg3
= static_cast< int >(val3
);
8795 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= SWIG_Py_Void();
8805 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
= 0;
8807 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8808 wxAlphaPixelData
*arg2
= 0 ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8821 PyObject
* obj2
= 0 ;
8822 PyObject
* obj3
= 0 ;
8823 char * kwnames
[] = {
8824 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8829 if (!SWIG_IsOK(res1
)) {
8830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8832 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8834 if (!SWIG_IsOK(res2
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8840 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8842 if (!SWIG_IsOK(ecode3
)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8845 arg3
= static_cast< int >(val3
);
8846 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8847 if (!SWIG_IsOK(ecode4
)) {
8848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8850 arg4
= static_cast< int >(val4
);
8852 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_Py_Void();
8862 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
= 0;
8864 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8871 unsigned char val2
;
8873 unsigned char val3
;
8875 unsigned char val4
;
8877 unsigned char val5
;
8879 PyObject
* obj0
= 0 ;
8880 PyObject
* obj1
= 0 ;
8881 PyObject
* obj2
= 0 ;
8882 PyObject
* obj3
= 0 ;
8883 PyObject
* obj4
= 0 ;
8884 char * kwnames
[] = {
8885 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8890 if (!SWIG_IsOK(res1
)) {
8891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8893 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8894 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8895 if (!SWIG_IsOK(ecode2
)) {
8896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8898 arg2
= static_cast< byte
>(val2
);
8899 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8900 if (!SWIG_IsOK(ecode3
)) {
8901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8903 arg3
= static_cast< byte
>(val3
);
8904 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8905 if (!SWIG_IsOK(ecode4
)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8908 arg4
= static_cast< byte
>(val4
);
8909 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8910 if (!SWIG_IsOK(ecode5
)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8913 arg5
= static_cast< byte
>(val5
);
8915 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= SWIG_Py_Void();
8925 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8926 PyObject
*resultobj
= 0;
8927 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8928 PyObject
*result
= 0 ;
8931 PyObject
*swig_obj
[1] ;
8933 if (!args
) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8939 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8941 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8951 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8954 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8955 return SWIG_Py_Void();
8958 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8959 return SWIG_Python_InitShadowInstance(args
);
8962 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
= 0;
8964 wxBitmap
*arg1
= 0 ;
8965 wxColour
const &arg2_defvalue
= wxNullColour
;
8966 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8967 wxMask
*result
= 0 ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8973 char * kwnames
[] = {
8974 (char *) "bitmap",(char *) "colour", NULL
8977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8978 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8979 if (!SWIG_IsOK(res1
)) {
8980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8985 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8989 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8993 if (!wxPyCheckForApp()) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9006 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9007 PyObject
*resultobj
= 0;
9008 wxMask
*arg1
= (wxMask
*) 0 ;
9011 PyObject
*swig_obj
[1] ;
9013 if (!args
) SWIG_fail
;
9015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9016 if (!SWIG_IsOK(res1
)) {
9017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9019 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= SWIG_Py_Void();
9032 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9035 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9036 return SWIG_Py_Void();
9039 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9040 return SWIG_Python_InitShadowInstance(args
);
9043 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= 0;
9045 wxString
*arg1
= 0 ;
9047 int arg3
= (int) -1 ;
9048 int arg4
= (int) -1 ;
9049 wxIcon
*result
= 0 ;
9050 bool temp1
= false ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9059 PyObject
* obj2
= 0 ;
9060 PyObject
* obj3
= 0 ;
9061 char * kwnames
[] = {
9062 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9067 arg1
= wxString_in_helper(obj0
);
9068 if (arg1
== NULL
) SWIG_fail
;
9071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9072 if (!SWIG_IsOK(ecode2
)) {
9073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9075 arg2
= static_cast< wxBitmapType
>(val2
);
9077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9078 if (!SWIG_IsOK(ecode3
)) {
9079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9081 arg3
= static_cast< int >(val3
);
9084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9085 if (!SWIG_IsOK(ecode4
)) {
9086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9088 arg4
= static_cast< int >(val4
);
9091 if (!wxPyCheckForApp()) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9112 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9113 PyObject
*resultobj
= 0;
9114 wxIcon
*arg1
= (wxIcon
*) 0 ;
9117 PyObject
*swig_obj
[1] ;
9119 if (!args
) SWIG_fail
;
9121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9122 if (!SWIG_IsOK(res1
)) {
9123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9125 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_Py_Void();
9140 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9141 PyObject
*resultobj
= 0;
9142 wxIcon
*result
= 0 ;
9144 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9146 if (!wxPyCheckForApp()) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= (wxIcon
*)new wxIcon();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9159 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
= 0;
9161 wxIconLocation
*arg1
= 0 ;
9162 wxIcon
*result
= 0 ;
9165 PyObject
* obj0
= 0 ;
9166 char * kwnames
[] = {
9167 (char *) "loc", NULL
9170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9171 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9172 if (!SWIG_IsOK(res1
)) {
9173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9178 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9180 if (!wxPyCheckForApp()) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9193 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
= 0;
9195 wxBitmap
*arg1
= 0 ;
9196 wxIcon
*result
= 0 ;
9199 PyObject
* obj0
= 0 ;
9200 char * kwnames
[] = {
9201 (char *) "bmp", NULL
9204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9205 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9206 if (!SWIG_IsOK(res1
)) {
9207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9212 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9214 if (!wxPyCheckForApp()) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9227 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
= 0;
9229 PyObject
*arg1
= (PyObject
*) 0 ;
9230 wxIcon
*result
= 0 ;
9231 PyObject
* obj0
= 0 ;
9232 char * kwnames
[] = {
9233 (char *) "listOfStrings", NULL
9236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9239 if (!wxPyCheckForApp()) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (wxIcon
*)new_wxIcon(arg1
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9252 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
= 0;
9254 wxIcon
*arg1
= (wxIcon
*) 0 ;
9255 wxString
*arg2
= 0 ;
9260 bool temp2
= false ;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj1
= 0 ;
9265 PyObject
* obj2
= 0 ;
9266 char * kwnames
[] = {
9267 (char *) "self",(char *) "name",(char *) "type", NULL
9270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9272 if (!SWIG_IsOK(res1
)) {
9273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9275 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9277 arg2
= wxString_in_helper(obj1
);
9278 if (arg2
== NULL
) SWIG_fail
;
9281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9282 if (!SWIG_IsOK(ecode3
)) {
9283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9285 arg3
= static_cast< wxBitmapType
>(val3
);
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9309 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9310 PyObject
*resultobj
= 0;
9311 wxIcon
*arg1
= (wxIcon
*) 0 ;
9315 PyObject
*swig_obj
[1] ;
9317 if (!args
) SWIG_fail
;
9319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9320 if (!SWIG_IsOK(res1
)) {
9321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9323 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (bool)(arg1
)->IsOk();
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9339 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 PyObject
*resultobj
= 0;
9341 wxIcon
*arg1
= (wxIcon
*) 0 ;
9345 PyObject
*swig_obj
[1] ;
9347 if (!args
) SWIG_fail
;
9349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9350 if (!SWIG_IsOK(res1
)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9353 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (int)(arg1
)->GetWidth();
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 resultobj
= SWIG_From_int(static_cast< int >(result
));
9367 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9368 PyObject
*resultobj
= 0;
9369 wxIcon
*arg1
= (wxIcon
*) 0 ;
9373 PyObject
*swig_obj
[1] ;
9375 if (!args
) SWIG_fail
;
9377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9378 if (!SWIG_IsOK(res1
)) {
9379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9381 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (int)(arg1
)->GetHeight();
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= SWIG_From_int(static_cast< int >(result
));
9395 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9396 PyObject
*resultobj
= 0;
9397 wxIcon
*arg1
= (wxIcon
*) 0 ;
9401 PyObject
*swig_obj
[1] ;
9403 if (!args
) SWIG_fail
;
9405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9406 if (!SWIG_IsOK(res1
)) {
9407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9409 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (int)(arg1
)->GetDepth();
9413 wxPyEndAllowThreads(__tstate
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9416 resultobj
= SWIG_From_int(static_cast< int >(result
));
9423 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
= 0;
9425 wxIcon
*arg1
= (wxIcon
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9433 char * kwnames
[] = {
9434 (char *) "self",(char *) "w", NULL
9437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9439 if (!SWIG_IsOK(res1
)) {
9440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9442 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9444 if (!SWIG_IsOK(ecode2
)) {
9445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9447 arg2
= static_cast< int >(val2
);
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 (arg1
)->SetWidth(arg2
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_Py_Void();
9461 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
= 0;
9463 wxIcon
*arg1
= (wxIcon
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9470 PyObject
* obj1
= 0 ;
9471 char * kwnames
[] = {
9472 (char *) "self",(char *) "h", NULL
9475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9477 if (!SWIG_IsOK(res1
)) {
9478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9480 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9482 if (!SWIG_IsOK(ecode2
)) {
9483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9485 arg2
= static_cast< int >(val2
);
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 (arg1
)->SetHeight(arg2
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_Py_Void();
9499 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= 0;
9501 wxIcon
*arg1
= (wxIcon
*) 0 ;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "d", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9518 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9520 if (!SWIG_IsOK(ecode2
)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9523 arg2
= static_cast< int >(val2
);
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 (arg1
)->SetDepth(arg2
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_Py_Void();
9537 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
*resultobj
= 0;
9539 wxIcon
*arg1
= (wxIcon
*) 0 ;
9540 wxBitmap
*arg2
= 0 ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 char * kwnames
[] = {
9548 (char *) "self",(char *) "bmp", NULL
9551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9553 if (!SWIG_IsOK(res1
)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9556 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9558 if (!SWIG_IsOK(res2
)) {
9559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9564 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_Py_Void();
9578 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9581 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9582 return SWIG_Py_Void();
9585 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9586 return SWIG_Python_InitShadowInstance(args
);
9589 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
= 0;
9591 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9592 int arg2
= (int) 0 ;
9593 wxIconLocation
*result
= 0 ;
9594 bool temp1
= false ;
9597 PyObject
* obj0
= 0 ;
9598 PyObject
* obj1
= 0 ;
9599 char * kwnames
[] = {
9600 (char *) "filename",(char *) "num", NULL
9603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9606 arg1
= wxString_in_helper(obj0
);
9607 if (arg1
== NULL
) SWIG_fail
;
9612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9613 if (!SWIG_IsOK(ecode2
)) {
9614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9616 arg2
= static_cast< int >(val2
);
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9639 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9640 PyObject
*resultobj
= 0;
9641 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9644 PyObject
*swig_obj
[1] ;
9646 if (!args
) SWIG_fail
;
9648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9649 if (!SWIG_IsOK(res1
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9652 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= SWIG_Py_Void();
9667 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9668 PyObject
*resultobj
= 0;
9669 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9673 PyObject
*swig_obj
[1] ;
9675 if (!args
) SWIG_fail
;
9677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9678 if (!SWIG_IsOK(res1
)) {
9679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9681 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9697 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
= 0;
9699 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9700 wxString
*arg2
= 0 ;
9703 bool temp2
= false ;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9706 char * kwnames
[] = {
9707 (char *) "self",(char *) "filename", NULL
9710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9712 if (!SWIG_IsOK(res1
)) {
9713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9715 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9717 arg2
= wxString_in_helper(obj1
);
9718 if (arg2
== NULL
) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 (arg1
)->SetFileName((wxString
const &)*arg2
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_Py_Void();
9742 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9743 PyObject
*resultobj
= 0;
9744 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9745 wxString
*result
= 0 ;
9748 PyObject
*swig_obj
[1] ;
9750 if (!args
) SWIG_fail
;
9752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9753 if (!SWIG_IsOK(res1
)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9756 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9761 result
= (wxString
*) &_result_ref
;
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9770 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9779 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
= 0;
9781 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9789 char * kwnames
[] = {
9790 (char *) "self",(char *) "num", NULL
9793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9795 if (!SWIG_IsOK(res1
)) {
9796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9798 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9800 if (!SWIG_IsOK(ecode2
)) {
9801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9803 arg2
= static_cast< int >(val2
);
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 wxIconLocation_SetIndex(arg1
,arg2
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_Py_Void();
9817 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9818 PyObject
*resultobj
= 0;
9819 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9823 PyObject
*swig_obj
[1] ;
9825 if (!args
) SWIG_fail
;
9827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9828 if (!SWIG_IsOK(res1
)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9831 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (int)wxIconLocation_GetIndex(arg1
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_From_int(static_cast< int >(result
));
9845 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9847 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9848 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9849 return SWIG_Py_Void();
9852 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9853 return SWIG_Python_InitShadowInstance(args
);
9856 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9857 PyObject
*resultobj
= 0;
9858 wxIconBundle
*result
= 0 ;
9860 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= (wxIconBundle
*)new wxIconBundle();
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9874 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
= 0;
9876 wxString
*arg1
= 0 ;
9878 wxIconBundle
*result
= 0 ;
9879 bool temp1
= false ;
9882 PyObject
* obj0
= 0 ;
9883 PyObject
* obj1
= 0 ;
9884 char * kwnames
[] = {
9885 (char *) "file",(char *) "type", NULL
9888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9890 arg1
= wxString_in_helper(obj0
);
9891 if (arg1
== NULL
) SWIG_fail
;
9894 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9895 if (!SWIG_IsOK(ecode2
)) {
9896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9898 arg2
= static_cast< long >(val2
);
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9920 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
= 0;
9923 wxIconBundle
*result
= 0 ;
9926 PyObject
* obj0
= 0 ;
9927 char * kwnames
[] = {
9928 (char *) "icon", NULL
9931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9932 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9933 if (!SWIG_IsOK(res1
)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9939 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9953 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9954 PyObject
*resultobj
= 0;
9955 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9958 PyObject
*swig_obj
[1] ;
9960 if (!args
) SWIG_fail
;
9962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9963 if (!SWIG_IsOK(res1
)) {
9964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9966 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= SWIG_Py_Void();
9981 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
= 0;
9983 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9990 PyObject
* obj1
= 0 ;
9991 char * kwnames
[] = {
9992 (char *) "self",(char *) "icon", NULL
9995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9997 if (!SWIG_IsOK(res1
)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10000 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10002 if (!SWIG_IsOK(res2
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10008 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= SWIG_Py_Void();
10022 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10023 PyObject
*resultobj
= 0;
10024 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10025 wxString
*arg2
= 0 ;
10029 bool temp2
= false ;
10032 PyObject
* obj0
= 0 ;
10033 PyObject
* obj1
= 0 ;
10034 PyObject
* obj2
= 0 ;
10035 char * kwnames
[] = {
10036 (char *) "self",(char *) "file",(char *) "type", NULL
10039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10041 if (!SWIG_IsOK(res1
)) {
10042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10044 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10046 arg2
= wxString_in_helper(obj1
);
10047 if (arg2
== NULL
) SWIG_fail
;
10050 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10051 if (!SWIG_IsOK(ecode3
)) {
10052 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10054 arg3
= static_cast< long >(val3
);
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= SWIG_Py_Void();
10076 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= 0;
10078 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10080 wxIcon
*result
= 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char * kwnames
[] = {
10087 (char *) "self",(char *) "size", NULL
10090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10095 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10098 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10104 result
= (wxIcon
*) &_result_ref
;
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10110 wxIcon
* resultptr
= new wxIcon(*result
);
10111 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10119 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10122 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10123 return SWIG_Py_Void();
10126 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10127 return SWIG_Python_InitShadowInstance(args
);
10130 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
= 0;
10132 wxString
*arg1
= 0 ;
10134 int arg3
= (int) 0 ;
10135 int arg4
= (int) 0 ;
10136 wxCursor
*result
= 0 ;
10137 bool temp1
= false ;
10144 PyObject
* obj0
= 0 ;
10145 PyObject
* obj1
= 0 ;
10146 PyObject
* obj2
= 0 ;
10147 PyObject
* obj3
= 0 ;
10148 char * kwnames
[] = {
10149 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10154 arg1
= wxString_in_helper(obj0
);
10155 if (arg1
== NULL
) SWIG_fail
;
10158 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10159 if (!SWIG_IsOK(ecode2
)) {
10160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10162 arg2
= static_cast< long >(val2
);
10164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10165 if (!SWIG_IsOK(ecode3
)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10168 arg3
= static_cast< int >(val3
);
10171 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10172 if (!SWIG_IsOK(ecode4
)) {
10173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10175 arg4
= static_cast< int >(val4
);
10178 if (!wxPyCheckForApp()) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10199 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10200 PyObject
*resultobj
= 0;
10201 wxCursor
*arg1
= (wxCursor
*) 0 ;
10204 PyObject
*swig_obj
[1] ;
10206 if (!args
) SWIG_fail
;
10207 swig_obj
[0] = args
;
10208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10209 if (!SWIG_IsOK(res1
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10212 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_Py_Void();
10227 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
= 0;
10230 wxCursor
*result
= 0 ;
10233 PyObject
* obj0
= 0 ;
10234 char * kwnames
[] = {
10235 (char *) "id", NULL
10238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10240 if (!SWIG_IsOK(ecode1
)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10243 arg1
= static_cast< int >(val1
);
10245 if (!wxPyCheckForApp()) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (wxCursor
*)new wxCursor(arg1
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10258 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
= 0;
10260 wxImage
*arg1
= 0 ;
10261 wxCursor
*result
= 0 ;
10264 PyObject
* obj0
= 0 ;
10265 char * kwnames
[] = {
10266 (char *) "image", NULL
10269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10270 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10271 if (!SWIG_IsOK(res1
)) {
10272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10277 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10279 if (!wxPyCheckForApp()) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10292 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10293 PyObject
*resultobj
= 0;
10294 wxCursor
*arg1
= (wxCursor
*) 0 ;
10298 PyObject
*swig_obj
[1] ;
10300 if (!args
) SWIG_fail
;
10301 swig_obj
[0] = args
;
10302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10303 if (!SWIG_IsOK(res1
)) {
10304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10306 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (bool)(arg1
)->IsOk();
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10322 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10325 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10326 return SWIG_Py_Void();
10329 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10330 return SWIG_Python_InitShadowInstance(args
);
10333 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
= 0;
10335 int arg1
= (int) 0 ;
10336 int arg2
= (int) 0 ;
10337 int arg3
= (int) 0 ;
10338 int arg4
= (int) 0 ;
10339 wxRegion
*result
= 0 ;
10348 PyObject
* obj0
= 0 ;
10349 PyObject
* obj1
= 0 ;
10350 PyObject
* obj2
= 0 ;
10351 PyObject
* obj3
= 0 ;
10352 char * kwnames
[] = {
10353 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10359 if (!SWIG_IsOK(ecode1
)) {
10360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10362 arg1
= static_cast< int >(val1
);
10365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10366 if (!SWIG_IsOK(ecode2
)) {
10367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10369 arg2
= static_cast< int >(val2
);
10372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10373 if (!SWIG_IsOK(ecode3
)) {
10374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10376 arg3
= static_cast< int >(val3
);
10379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10380 if (!SWIG_IsOK(ecode4
)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10383 arg4
= static_cast< int >(val4
);
10386 if (!wxPyCheckForApp()) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10399 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
= 0;
10401 wxBitmap
*arg1
= 0 ;
10402 wxRegion
*result
= 0 ;
10405 PyObject
* obj0
= 0 ;
10406 char * kwnames
[] = {
10407 (char *) "bmp", NULL
10410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10411 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10412 if (!SWIG_IsOK(res1
)) {
10413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10418 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10420 if (!wxPyCheckForApp()) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10433 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
= 0;
10435 wxBitmap
*arg1
= 0 ;
10436 wxColour
*arg2
= 0 ;
10437 int arg3
= (int) 0 ;
10438 wxRegion
*result
= 0 ;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10446 PyObject
* obj2
= 0 ;
10447 char * kwnames
[] = {
10448 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10452 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10453 if (!SWIG_IsOK(res1
)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10459 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10462 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10466 if (!SWIG_IsOK(ecode3
)) {
10467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10469 arg3
= static_cast< int >(val3
);
10472 if (!wxPyCheckForApp()) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10485 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
= 0;
10488 wxPoint
*arg2
= (wxPoint
*) 0 ;
10489 int arg3
= (int) wxWINDING_RULE
;
10490 wxRegion
*result
= 0 ;
10493 PyObject
* obj0
= 0 ;
10494 PyObject
* obj1
= 0 ;
10495 char * kwnames
[] = {
10496 (char *) "points",(char *) "fillStyle", NULL
10499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10501 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10502 if (arg2
== NULL
) SWIG_fail
;
10505 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10506 if (!SWIG_IsOK(ecode3
)) {
10507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10509 arg3
= static_cast< int >(val3
);
10512 if (!wxPyCheckForApp()) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10520 if (arg2
) delete [] arg2
;
10525 if (arg2
) delete [] arg2
;
10531 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10532 PyObject
*resultobj
= 0;
10533 wxRegion
*arg1
= (wxRegion
*) 0 ;
10536 PyObject
*swig_obj
[1] ;
10538 if (!args
) SWIG_fail
;
10539 swig_obj
[0] = args
;
10540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10541 if (!SWIG_IsOK(res1
)) {
10542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10544 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 resultobj
= SWIG_Py_Void();
10559 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10560 PyObject
*resultobj
= 0;
10561 wxRegion
*arg1
= (wxRegion
*) 0 ;
10564 PyObject
*swig_obj
[1] ;
10566 if (!args
) SWIG_fail
;
10567 swig_obj
[0] = args
;
10568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10569 if (!SWIG_IsOK(res1
)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10572 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_Py_Void();
10586 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
= 0;
10588 wxRegion
*arg1
= (wxRegion
*) 0 ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 PyObject
* obj2
= 0 ;
10601 char * kwnames
[] = {
10602 (char *) "self",(char *) "x",(char *) "y", NULL
10605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10607 if (!SWIG_IsOK(res1
)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10610 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10612 if (!SWIG_IsOK(ecode2
)) {
10613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10615 arg2
= static_cast< int >(val2
);
10616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10617 if (!SWIG_IsOK(ecode3
)) {
10618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10620 arg3
= static_cast< int >(val3
);
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10636 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
= 0;
10638 wxRegion
*arg1
= (wxRegion
*) 0 ;
10641 wxRegionContain result
;
10648 PyObject
* obj0
= 0 ;
10649 PyObject
* obj1
= 0 ;
10650 PyObject
* obj2
= 0 ;
10651 char * kwnames
[] = {
10652 (char *) "self",(char *) "x",(char *) "y", NULL
10655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10657 if (!SWIG_IsOK(res1
)) {
10658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10660 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10662 if (!SWIG_IsOK(ecode2
)) {
10663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10665 arg2
= static_cast< int >(val2
);
10666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10667 if (!SWIG_IsOK(ecode3
)) {
10668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10670 arg3
= static_cast< int >(val3
);
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= SWIG_From_int(static_cast< int >(result
));
10684 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
= 0;
10686 wxRegion
*arg1
= (wxRegion
*) 0 ;
10687 wxPoint
*arg2
= 0 ;
10688 wxRegionContain result
;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 char * kwnames
[] = {
10695 (char *) "self",(char *) "pt", NULL
10698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10700 if (!SWIG_IsOK(res1
)) {
10701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10703 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10706 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= SWIG_From_int(static_cast< int >(result
));
10721 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
= 0;
10723 wxRegion
*arg1
= (wxRegion
*) 0 ;
10725 wxRegionContain result
;
10729 PyObject
* obj0
= 0 ;
10730 PyObject
* obj1
= 0 ;
10731 char * kwnames
[] = {
10732 (char *) "self",(char *) "rect", NULL
10735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10740 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10743 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 resultobj
= SWIG_From_int(static_cast< int >(result
));
10758 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
= 0;
10760 wxRegion
*arg1
= (wxRegion
*) 0 ;
10765 wxRegionContain result
;
10776 PyObject
* obj0
= 0 ;
10777 PyObject
* obj1
= 0 ;
10778 PyObject
* obj2
= 0 ;
10779 PyObject
* obj3
= 0 ;
10780 PyObject
* obj4
= 0 ;
10781 char * kwnames
[] = {
10782 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10787 if (!SWIG_IsOK(res1
)) {
10788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10790 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10792 if (!SWIG_IsOK(ecode2
)) {
10793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10795 arg2
= static_cast< int >(val2
);
10796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10797 if (!SWIG_IsOK(ecode3
)) {
10798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10800 arg3
= static_cast< int >(val3
);
10801 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10802 if (!SWIG_IsOK(ecode4
)) {
10803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10805 arg4
= static_cast< int >(val4
);
10806 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10807 if (!SWIG_IsOK(ecode5
)) {
10808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10810 arg5
= static_cast< int >(val5
);
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10814 wxPyEndAllowThreads(__tstate
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= SWIG_From_int(static_cast< int >(result
));
10824 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10825 PyObject
*resultobj
= 0;
10826 wxRegion
*arg1
= (wxRegion
*) 0 ;
10830 PyObject
*swig_obj
[1] ;
10832 if (!args
) SWIG_fail
;
10833 swig_obj
[0] = args
;
10834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10835 if (!SWIG_IsOK(res1
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10838 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (arg1
)->GetBox();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10852 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= 0;
10854 wxRegion
*arg1
= (wxRegion
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 PyObject
* obj1
= 0 ;
10872 PyObject
* obj2
= 0 ;
10873 PyObject
* obj3
= 0 ;
10874 PyObject
* obj4
= 0 ;
10875 char * kwnames
[] = {
10876 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10884 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10886 if (!SWIG_IsOK(ecode2
)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10889 arg2
= static_cast< int >(val2
);
10890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10891 if (!SWIG_IsOK(ecode3
)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10894 arg3
= static_cast< int >(val3
);
10895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10896 if (!SWIG_IsOK(ecode4
)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10899 arg4
= static_cast< int >(val4
);
10900 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10901 if (!SWIG_IsOK(ecode5
)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10904 arg5
= static_cast< int >(val5
);
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10920 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxRegion
*arg1
= (wxRegion
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char * kwnames
[] = {
10931 (char *) "self",(char *) "rect", NULL
10934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10939 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10942 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10959 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
= 0;
10961 wxRegion
*arg1
= (wxRegion
*) 0 ;
10962 wxRegion
*arg2
= 0 ;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 char * kwnames
[] = {
10971 (char *) "self",(char *) "region", NULL
10974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10976 if (!SWIG_IsOK(res1
)) {
10977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10979 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10981 if (!SWIG_IsOK(res2
)) {
10982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10987 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11004 PyObject
*resultobj
= 0;
11005 wxRegion
*arg1
= (wxRegion
*) 0 ;
11009 PyObject
*swig_obj
[1] ;
11011 if (!args
) SWIG_fail
;
11012 swig_obj
[0] = args
;
11013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11017 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (bool)(arg1
)->IsEmpty();
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11033 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
= 0;
11035 wxRegion
*arg1
= (wxRegion
*) 0 ;
11036 wxRegion
*arg2
= 0 ;
11042 PyObject
* obj0
= 0 ;
11043 PyObject
* obj1
= 0 ;
11044 char * kwnames
[] = {
11045 (char *) "self",(char *) "region", NULL
11048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11050 if (!SWIG_IsOK(res1
)) {
11051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11053 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11055 if (!SWIG_IsOK(res2
)) {
11056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11061 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11077 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
= 0;
11079 wxRegion
*arg1
= (wxRegion
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 PyObject
* obj2
= 0 ;
11098 PyObject
* obj3
= 0 ;
11099 PyObject
* obj4
= 0 ;
11100 char * kwnames
[] = {
11101 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11109 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11111 if (!SWIG_IsOK(ecode2
)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11114 arg2
= static_cast< int >(val2
);
11115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11116 if (!SWIG_IsOK(ecode3
)) {
11117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11119 arg3
= static_cast< int >(val3
);
11120 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11121 if (!SWIG_IsOK(ecode4
)) {
11122 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11124 arg4
= static_cast< int >(val4
);
11125 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11126 if (!SWIG_IsOK(ecode5
)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11129 arg5
= static_cast< int >(val5
);
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11145 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
= 0;
11147 wxRegion
*arg1
= (wxRegion
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 char * kwnames
[] = {
11156 (char *) "self",(char *) "rect", NULL
11159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11161 if (!SWIG_IsOK(res1
)) {
11162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11164 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11167 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
= 0;
11186 wxRegion
*arg1
= (wxRegion
*) 0 ;
11187 wxRegion
*arg2
= 0 ;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 char * kwnames
[] = {
11196 (char *) "self",(char *) "region", NULL
11199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11204 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11206 if (!SWIG_IsOK(res2
)) {
11207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11212 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11228 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
= 0;
11230 wxRegion
*arg1
= (wxRegion
*) 0 ;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 PyObject
* obj2
= 0 ;
11249 PyObject
* obj3
= 0 ;
11250 PyObject
* obj4
= 0 ;
11251 char * kwnames
[] = {
11252 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11260 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11262 if (!SWIG_IsOK(ecode2
)) {
11263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11265 arg2
= static_cast< int >(val2
);
11266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11267 if (!SWIG_IsOK(ecode3
)) {
11268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11270 arg3
= static_cast< int >(val3
);
11271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11272 if (!SWIG_IsOK(ecode4
)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11275 arg4
= static_cast< int >(val4
);
11276 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11277 if (!SWIG_IsOK(ecode5
)) {
11278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11280 arg5
= static_cast< int >(val5
);
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11296 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
= 0;
11298 wxRegion
*arg1
= (wxRegion
*) 0 ;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 char * kwnames
[] = {
11307 (char *) "self",(char *) "rect", NULL
11310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11312 if (!SWIG_IsOK(res1
)) {
11313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11315 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11335 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
= 0;
11337 wxRegion
*arg1
= (wxRegion
*) 0 ;
11338 wxRegion
*arg2
= 0 ;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 char * kwnames
[] = {
11347 (char *) "self",(char *) "region", NULL
11350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11352 if (!SWIG_IsOK(res1
)) {
11353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11355 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11357 if (!SWIG_IsOK(res2
)) {
11358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11363 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11379 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
= 0;
11381 wxRegion
*arg1
= (wxRegion
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 PyObject
* obj2
= 0 ;
11400 PyObject
* obj3
= 0 ;
11401 PyObject
* obj4
= 0 ;
11402 char * kwnames
[] = {
11403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11411 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11413 if (!SWIG_IsOK(ecode2
)) {
11414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11416 arg2
= static_cast< int >(val2
);
11417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11418 if (!SWIG_IsOK(ecode3
)) {
11419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11421 arg3
= static_cast< int >(val3
);
11422 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11423 if (!SWIG_IsOK(ecode4
)) {
11424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11426 arg4
= static_cast< int >(val4
);
11427 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11428 if (!SWIG_IsOK(ecode5
)) {
11429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11431 arg5
= static_cast< int >(val5
);
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11447 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
= 0;
11449 wxRegion
*arg1
= (wxRegion
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 char * kwnames
[] = {
11458 (char *) "self",(char *) "rect", NULL
11461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11463 if (!SWIG_IsOK(res1
)) {
11464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11466 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11469 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11486 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
= 0;
11488 wxRegion
*arg1
= (wxRegion
*) 0 ;
11489 wxRegion
*arg2
= 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char * kwnames
[] = {
11498 (char *) "self",(char *) "region", NULL
11501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11503 if (!SWIG_IsOK(res1
)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11506 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11508 if (!SWIG_IsOK(res2
)) {
11509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11514 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11530 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11531 PyObject
*resultobj
= 0;
11532 wxRegion
*arg1
= (wxRegion
*) 0 ;
11533 SwigValueWrapper
<wxBitmap
> result
;
11536 PyObject
*swig_obj
[1] ;
11538 if (!args
) SWIG_fail
;
11539 swig_obj
[0] = args
;
11540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11541 if (!SWIG_IsOK(res1
)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11544 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (arg1
)->ConvertToBitmap();
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11558 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
= 0;
11560 wxRegion
*arg1
= (wxRegion
*) 0 ;
11561 wxBitmap
*arg2
= 0 ;
11567 PyObject
* obj0
= 0 ;
11568 PyObject
* obj1
= 0 ;
11569 char * kwnames
[] = {
11570 (char *) "self",(char *) "bmp", NULL
11573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11575 if (!SWIG_IsOK(res1
)) {
11576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11578 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11580 if (!SWIG_IsOK(res2
)) {
11581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11586 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11602 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
= 0;
11604 wxRegion
*arg1
= (wxRegion
*) 0 ;
11605 wxBitmap
*arg2
= 0 ;
11606 wxColour
*arg3
= 0 ;
11607 int arg4
= (int) 0 ;
11616 PyObject
* obj0
= 0 ;
11617 PyObject
* obj1
= 0 ;
11618 PyObject
* obj2
= 0 ;
11619 PyObject
* obj3
= 0 ;
11620 char * kwnames
[] = {
11621 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11626 if (!SWIG_IsOK(res1
)) {
11627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11629 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11631 if (!SWIG_IsOK(res2
)) {
11632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11637 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11640 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11644 if (!SWIG_IsOK(ecode4
)) {
11645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11647 arg4
= static_cast< int >(val4
);
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11664 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11667 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11668 return SWIG_Py_Void();
11671 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11672 return SWIG_Python_InitShadowInstance(args
);
11675 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
= 0;
11677 wxRegion
*arg1
= 0 ;
11678 wxRegionIterator
*result
= 0 ;
11681 PyObject
* obj0
= 0 ;
11682 char * kwnames
[] = {
11683 (char *) "region", NULL
11686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11687 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11688 if (!SWIG_IsOK(res1
)) {
11689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11694 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11696 if (!wxPyCheckForApp()) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11709 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 PyObject
*resultobj
= 0;
11711 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11714 PyObject
*swig_obj
[1] ;
11716 if (!args
) SWIG_fail
;
11717 swig_obj
[0] = args
;
11718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11719 if (!SWIG_IsOK(res1
)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11722 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= SWIG_Py_Void();
11737 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11738 PyObject
*resultobj
= 0;
11739 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11743 PyObject
*swig_obj
[1] ;
11745 if (!args
) SWIG_fail
;
11746 swig_obj
[0] = args
;
11747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11748 if (!SWIG_IsOK(res1
)) {
11749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11751 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (int)(arg1
)->GetX();
11755 wxPyEndAllowThreads(__tstate
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11758 resultobj
= SWIG_From_int(static_cast< int >(result
));
11765 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11766 PyObject
*resultobj
= 0;
11767 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11771 PyObject
*swig_obj
[1] ;
11773 if (!args
) SWIG_fail
;
11774 swig_obj
[0] = args
;
11775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11776 if (!SWIG_IsOK(res1
)) {
11777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11779 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (int)(arg1
)->GetY();
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= SWIG_From_int(static_cast< int >(result
));
11793 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11794 PyObject
*resultobj
= 0;
11795 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11799 PyObject
*swig_obj
[1] ;
11801 if (!args
) SWIG_fail
;
11802 swig_obj
[0] = args
;
11803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11804 if (!SWIG_IsOK(res1
)) {
11805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11807 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (int)(arg1
)->GetW();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_From_int(static_cast< int >(result
));
11821 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11822 PyObject
*resultobj
= 0;
11823 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11827 PyObject
*swig_obj
[1] ;
11829 if (!args
) SWIG_fail
;
11830 swig_obj
[0] = args
;
11831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11832 if (!SWIG_IsOK(res1
)) {
11833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11835 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 result
= (int)(arg1
)->GetWidth();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= SWIG_From_int(static_cast< int >(result
));
11849 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11850 PyObject
*resultobj
= 0;
11851 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11855 PyObject
*swig_obj
[1] ;
11857 if (!args
) SWIG_fail
;
11858 swig_obj
[0] = args
;
11859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11860 if (!SWIG_IsOK(res1
)) {
11861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11863 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 result
= (int)(arg1
)->GetH();
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= SWIG_From_int(static_cast< int >(result
));
11877 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11878 PyObject
*resultobj
= 0;
11879 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11883 PyObject
*swig_obj
[1] ;
11885 if (!args
) SWIG_fail
;
11886 swig_obj
[0] = args
;
11887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11888 if (!SWIG_IsOK(res1
)) {
11889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11891 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 result
= (int)(arg1
)->GetHeight();
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_From_int(static_cast< int >(result
));
11905 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11906 PyObject
*resultobj
= 0;
11907 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11911 PyObject
*swig_obj
[1] ;
11913 if (!args
) SWIG_fail
;
11914 swig_obj
[0] = args
;
11915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11916 if (!SWIG_IsOK(res1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11919 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (arg1
)->GetRect();
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11933 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11934 PyObject
*resultobj
= 0;
11935 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11939 PyObject
*swig_obj
[1] ;
11941 if (!args
) SWIG_fail
;
11942 swig_obj
[0] = args
;
11943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11944 if (!SWIG_IsOK(res1
)) {
11945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11947 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (bool)(arg1
)->HaveRects();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11963 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11964 PyObject
*resultobj
= 0;
11965 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11968 PyObject
*swig_obj
[1] ;
11970 if (!args
) SWIG_fail
;
11971 swig_obj
[0] = args
;
11972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11973 if (!SWIG_IsOK(res1
)) {
11974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11976 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11980 wxPyEndAllowThreads(__tstate
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= SWIG_Py_Void();
11990 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11991 PyObject
*resultobj
= 0;
11992 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11995 PyObject
*swig_obj
[1] ;
11997 if (!args
) SWIG_fail
;
11998 swig_obj
[0] = args
;
11999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12000 if (!SWIG_IsOK(res1
)) {
12001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12003 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 wxRegionIterator_Next(arg1
);
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= SWIG_Py_Void();
12017 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12018 PyObject
*resultobj
= 0;
12019 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12023 PyObject
*swig_obj
[1] ;
12025 if (!args
) SWIG_fail
;
12026 swig_obj
[0] = args
;
12027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12028 if (!SWIG_IsOK(res1
)) {
12029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12031 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12047 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12050 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12051 return SWIG_Py_Void();
12054 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12055 return SWIG_Python_InitShadowInstance(args
);
12058 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12059 PyObject
*resultobj
= 0;
12060 wxNativeFontInfo
*result
= 0 ;
12062 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12076 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12077 PyObject
*resultobj
= 0;
12078 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 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_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12086 if (!SWIG_IsOK(res1
)) {
12087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12089 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= SWIG_Py_Void();
12104 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12105 PyObject
*resultobj
= 0;
12106 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 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_wxNativeFontInfo
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12117 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= SWIG_Py_Void();
12131 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
= 0;
12133 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 PyObject
* obj1
= 0 ;
12141 char * kwnames
[] = {
12142 (char *) "self",(char *) "font", NULL
12145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12147 if (!SWIG_IsOK(res1
)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12150 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12152 if (!SWIG_IsOK(res2
)) {
12153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12158 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_Py_Void();
12172 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12173 PyObject
*resultobj
= 0;
12174 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12178 PyObject
*swig_obj
[1] ;
12180 if (!args
) SWIG_fail
;
12181 swig_obj
[0] = args
;
12182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12183 if (!SWIG_IsOK(res1
)) {
12184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12186 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_From_int(static_cast< int >(result
));
12200 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12201 PyObject
*resultobj
= 0;
12202 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12203 wxFontStyle result
;
12206 PyObject
*swig_obj
[1] ;
12208 if (!args
) SWIG_fail
;
12209 swig_obj
[0] = args
;
12210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12211 if (!SWIG_IsOK(res1
)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12214 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_From_int(static_cast< int >(result
));
12228 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 PyObject
*resultobj
= 0;
12230 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12231 wxFontWeight result
;
12234 PyObject
*swig_obj
[1] ;
12236 if (!args
) SWIG_fail
;
12237 swig_obj
[0] = args
;
12238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12239 if (!SWIG_IsOK(res1
)) {
12240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12242 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= SWIG_From_int(static_cast< int >(result
));
12256 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12257 PyObject
*resultobj
= 0;
12258 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12262 PyObject
*swig_obj
[1] ;
12264 if (!args
) SWIG_fail
;
12265 swig_obj
[0] = args
;
12266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12267 if (!SWIG_IsOK(res1
)) {
12268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12270 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12286 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12287 PyObject
*resultobj
= 0;
12288 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12292 PyObject
*swig_obj
[1] ;
12294 if (!args
) SWIG_fail
;
12295 swig_obj
[0] = args
;
12296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12297 if (!SWIG_IsOK(res1
)) {
12298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12300 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12320 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12321 PyObject
*resultobj
= 0;
12322 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12323 wxFontFamily result
;
12326 PyObject
*swig_obj
[1] ;
12328 if (!args
) SWIG_fail
;
12329 swig_obj
[0] = args
;
12330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12331 if (!SWIG_IsOK(res1
)) {
12332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12334 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_From_int(static_cast< int >(result
));
12348 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12349 PyObject
*resultobj
= 0;
12350 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12351 wxFontEncoding result
;
12354 PyObject
*swig_obj
[1] ;
12356 if (!args
) SWIG_fail
;
12357 swig_obj
[0] = args
;
12358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12359 if (!SWIG_IsOK(res1
)) {
12360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12362 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_From_int(static_cast< int >(result
));
12376 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
= 0;
12378 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 char * kwnames
[] = {
12387 (char *) "self",(char *) "pointsize", NULL
12390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12392 if (!SWIG_IsOK(res1
)) {
12393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12395 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12397 if (!SWIG_IsOK(ecode2
)) {
12398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12400 arg2
= static_cast< int >(val2
);
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 (arg1
)->SetPointSize(arg2
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_Py_Void();
12414 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
= 0;
12416 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 char * kwnames
[] = {
12425 (char *) "self",(char *) "style", NULL
12428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12430 if (!SWIG_IsOK(res1
)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12433 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12435 if (!SWIG_IsOK(ecode2
)) {
12436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12438 arg2
= static_cast< wxFontStyle
>(val2
);
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 (arg1
)->SetStyle(arg2
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= SWIG_Py_Void();
12452 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
= 0;
12454 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12455 wxFontWeight arg2
;
12460 PyObject
* obj0
= 0 ;
12461 PyObject
* obj1
= 0 ;
12462 char * kwnames
[] = {
12463 (char *) "self",(char *) "weight", NULL
12466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12468 if (!SWIG_IsOK(res1
)) {
12469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12471 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12473 if (!SWIG_IsOK(ecode2
)) {
12474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12476 arg2
= static_cast< wxFontWeight
>(val2
);
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 (arg1
)->SetWeight(arg2
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= SWIG_Py_Void();
12490 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
= 0;
12492 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 PyObject
* obj1
= 0 ;
12500 char * kwnames
[] = {
12501 (char *) "self",(char *) "underlined", NULL
12504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12506 if (!SWIG_IsOK(res1
)) {
12507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12509 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12510 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12511 if (!SWIG_IsOK(ecode2
)) {
12512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12514 arg2
= static_cast< bool >(val2
);
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 (arg1
)->SetUnderlined(arg2
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= SWIG_Py_Void();
12528 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
= 0;
12530 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 char * kwnames
[] = {
12538 (char *) "self",(char *) "facename", NULL
12541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12543 if (!SWIG_IsOK(res1
)) {
12544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12546 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12548 wxString
* sptr
= wxString_in_helper(obj1
);
12549 if (sptr
== NULL
) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 result
= (bool)(arg1
)->SetFaceName(arg2
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12568 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
= 0;
12570 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12571 wxFontFamily arg2
;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 char * kwnames
[] = {
12579 (char *) "self",(char *) "family", NULL
12582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12584 if (!SWIG_IsOK(res1
)) {
12585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12587 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12589 if (!SWIG_IsOK(ecode2
)) {
12590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12592 arg2
= static_cast< wxFontFamily
>(val2
);
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 (arg1
)->SetFamily(arg2
);
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= SWIG_Py_Void();
12606 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
= 0;
12608 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12609 wxFontEncoding arg2
;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 char * kwnames
[] = {
12617 (char *) "self",(char *) "encoding", NULL
12620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12622 if (!SWIG_IsOK(res1
)) {
12623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12625 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12627 if (!SWIG_IsOK(ecode2
)) {
12628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12630 arg2
= static_cast< wxFontEncoding
>(val2
);
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 (arg1
)->SetEncoding(arg2
);
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_Py_Void();
12644 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
= 0;
12646 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12647 wxString
*arg2
= 0 ;
12651 bool temp2
= false ;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 char * kwnames
[] = {
12655 (char *) "self",(char *) "s", NULL
12658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12660 if (!SWIG_IsOK(res1
)) {
12661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12663 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12665 arg2
= wxString_in_helper(obj1
);
12666 if (arg2
== NULL
) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12692 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12693 PyObject
*resultobj
= 0;
12694 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12698 PyObject
*swig_obj
[1] ;
12700 if (!args
) SWIG_fail
;
12701 swig_obj
[0] = args
;
12702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12703 if (!SWIG_IsOK(res1
)) {
12704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12706 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12726 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12727 PyObject
*resultobj
= 0;
12728 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12732 PyObject
*swig_obj
[1] ;
12734 if (!args
) SWIG_fail
;
12735 swig_obj
[0] = args
;
12736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12737 if (!SWIG_IsOK(res1
)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12740 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= wxNativeFontInfo___str__(arg1
);
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12760 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
= 0;
12762 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12763 wxString
*arg2
= 0 ;
12767 bool temp2
= false ;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "s", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12779 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12781 arg2
= wxString_in_helper(obj1
);
12782 if (arg2
== NULL
) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12808 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12809 PyObject
*resultobj
= 0;
12810 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12814 PyObject
*swig_obj
[1] ;
12816 if (!args
) SWIG_fail
;
12817 swig_obj
[0] = args
;
12818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12819 if (!SWIG_IsOK(res1
)) {
12820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12822 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12842 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12845 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12846 return SWIG_Py_Void();
12849 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12850 return SWIG_Python_InitShadowInstance(args
);
12853 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12854 PyObject
*resultobj
= 0;
12855 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12856 wxString
*arg2
= (wxString
*) 0 ;
12859 bool temp2
= false ;
12860 PyObject
*swig_obj
[2] ;
12862 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12864 if (!SWIG_IsOK(res1
)) {
12865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12867 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12869 arg2
= wxString_in_helper(swig_obj
[1]);
12870 if (arg2
== NULL
) SWIG_fail
;
12873 if (arg1
) (arg1
)->facename
= *arg2
;
12875 resultobj
= SWIG_Py_Void();
12890 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12891 PyObject
*resultobj
= 0;
12892 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12893 wxString
*result
= 0 ;
12896 PyObject
*swig_obj
[1] ;
12898 if (!args
) SWIG_fail
;
12899 swig_obj
[0] = args
;
12900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12901 if (!SWIG_IsOK(res1
)) {
12902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12904 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12905 result
= (wxString
*)& ((arg1
)->facename
);
12908 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12910 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12919 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12920 PyObject
*resultobj
= 0;
12921 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12922 wxFontEncoding arg2
;
12927 PyObject
*swig_obj
[2] ;
12929 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12931 if (!SWIG_IsOK(res1
)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12934 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12935 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12936 if (!SWIG_IsOK(ecode2
)) {
12937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12939 arg2
= static_cast< wxFontEncoding
>(val2
);
12940 if (arg1
) (arg1
)->encoding
= arg2
;
12942 resultobj
= SWIG_Py_Void();
12949 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12950 PyObject
*resultobj
= 0;
12951 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12952 wxFontEncoding result
;
12955 PyObject
*swig_obj
[1] ;
12957 if (!args
) SWIG_fail
;
12958 swig_obj
[0] = args
;
12959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12960 if (!SWIG_IsOK(res1
)) {
12961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12963 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12964 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12965 resultobj
= SWIG_From_int(static_cast< int >(result
));
12972 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 PyObject
*resultobj
= 0;
12974 wxNativeEncodingInfo
*result
= 0 ;
12976 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12990 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12991 PyObject
*resultobj
= 0;
12992 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12995 PyObject
*swig_obj
[1] ;
12997 if (!args
) SWIG_fail
;
12998 swig_obj
[0] = args
;
12999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13000 if (!SWIG_IsOK(res1
)) {
13001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13003 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_Py_Void();
13018 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
= 0;
13020 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13021 wxString
*arg2
= 0 ;
13025 bool temp2
= false ;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char * kwnames
[] = {
13029 (char *) "self",(char *) "s", NULL
13032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13034 if (!SWIG_IsOK(res1
)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13037 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13039 arg2
= wxString_in_helper(obj1
);
13040 if (arg2
== NULL
) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13066 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13067 PyObject
*resultobj
= 0;
13068 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13072 PyObject
*swig_obj
[1] ;
13074 if (!args
) SWIG_fail
;
13075 swig_obj
[0] = args
;
13076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13077 if (!SWIG_IsOK(res1
)) {
13078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13080 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13083 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13100 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13103 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13104 return SWIG_Py_Void();
13107 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 return SWIG_Python_InitShadowInstance(args
);
13111 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= 0;
13113 wxFontEncoding arg1
;
13114 wxNativeEncodingInfo
*result
= 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char * kwnames
[] = {
13119 (char *) "encoding", NULL
13122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13123 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13124 if (!SWIG_IsOK(ecode1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13127 arg1
= static_cast< wxFontEncoding
>(val1
);
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13141 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
= 0;
13143 wxNativeEncodingInfo
*arg1
= 0 ;
13147 PyObject
* obj0
= 0 ;
13148 char * kwnames
[] = {
13149 (char *) "info", NULL
13152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13153 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13154 if (!SWIG_IsOK(res1
)) {
13155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13160 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13176 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13177 PyObject
*resultobj
= 0;
13178 wxFontMapper
*result
= 0 ;
13180 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 result
= (wxFontMapper
*)new wxFontMapper();
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13194 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13195 PyObject
*resultobj
= 0;
13196 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13199 PyObject
*swig_obj
[1] ;
13201 if (!args
) SWIG_fail
;
13202 swig_obj
[0] = args
;
13203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13204 if (!SWIG_IsOK(res1
)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13207 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_Py_Void();
13222 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13223 PyObject
*resultobj
= 0;
13224 wxFontMapper
*result
= 0 ;
13226 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (wxFontMapper
*)wxFontMapper::Get();
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13240 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
= 0;
13242 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13243 wxFontMapper
*result
= 0 ;
13246 PyObject
* obj0
= 0 ;
13247 char * kwnames
[] = {
13248 (char *) "mapper", NULL
13251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13253 if (!SWIG_IsOK(res1
)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13256 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13270 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
= 0;
13272 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13273 wxString
*arg2
= 0 ;
13274 bool arg3
= (bool) true ;
13275 wxFontEncoding result
;
13278 bool temp2
= false ;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 PyObject
* obj2
= 0 ;
13284 char * kwnames
[] = {
13285 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13290 if (!SWIG_IsOK(res1
)) {
13291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13293 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13295 arg2
= wxString_in_helper(obj1
);
13296 if (arg2
== NULL
) SWIG_fail
;
13300 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13301 if (!SWIG_IsOK(ecode3
)) {
13302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13304 arg3
= static_cast< bool >(val3
);
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= SWIG_From_int(static_cast< int >(result
));
13327 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13328 PyObject
*resultobj
= 0;
13331 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13345 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
= 0;
13348 wxFontEncoding result
;
13351 PyObject
* obj0
= 0 ;
13352 char * kwnames
[] = {
13356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13357 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13358 if (!SWIG_IsOK(ecode1
)) {
13359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13361 arg1
= static_cast< size_t >(val1
);
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= SWIG_From_int(static_cast< int >(result
));
13375 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
= 0;
13377 wxFontEncoding arg1
;
13381 PyObject
* obj0
= 0 ;
13382 char * kwnames
[] = {
13383 (char *) "encoding", NULL
13386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13387 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13388 if (!SWIG_IsOK(ecode1
)) {
13389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13391 arg1
= static_cast< wxFontEncoding
>(val1
);
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= wxFontMapper::GetEncodingName(arg1
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13411 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
= 0;
13413 wxFontEncoding arg1
;
13417 PyObject
* obj0
= 0 ;
13418 char * kwnames
[] = {
13419 (char *) "encoding", NULL
13422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13424 if (!SWIG_IsOK(ecode1
)) {
13425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13427 arg1
= static_cast< wxFontEncoding
>(val1
);
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= wxFontMapper::GetEncodingDescription(arg1
);
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13447 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
= 0;
13449 wxString
*arg1
= 0 ;
13450 wxFontEncoding result
;
13451 bool temp1
= false ;
13452 PyObject
* obj0
= 0 ;
13453 char * kwnames
[] = {
13454 (char *) "name", NULL
13457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13459 arg1
= wxString_in_helper(obj0
);
13460 if (arg1
== NULL
) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= SWIG_From_int(static_cast< int >(result
));
13484 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
= 0;
13486 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13487 wxString
*arg2
= 0 ;
13490 bool temp2
= false ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 char * kwnames
[] = {
13494 (char *) "self",(char *) "prefix", NULL
13497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13499 if (!SWIG_IsOK(res1
)) {
13500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13502 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13504 arg2
= wxString_in_helper(obj1
);
13505 if (arg2
== NULL
) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= SWIG_Py_Void();
13529 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13530 PyObject
*resultobj
= 0;
13533 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= wxFontMapper::GetDefaultConfigPath();
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13553 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
= 0;
13555 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13556 wxFontEncoding arg2
;
13557 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13558 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13559 bool arg4
= (bool) true ;
13560 PyObject
*result
= 0 ;
13565 bool temp3
= false ;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 PyObject
* obj2
= 0 ;
13571 PyObject
* obj3
= 0 ;
13572 char * kwnames
[] = {
13573 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13578 if (!SWIG_IsOK(res1
)) {
13579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13581 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13583 if (!SWIG_IsOK(ecode2
)) {
13584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13586 arg2
= static_cast< wxFontEncoding
>(val2
);
13589 arg3
= wxString_in_helper(obj2
);
13590 if (arg3
== NULL
) SWIG_fail
;
13595 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13596 if (!SWIG_IsOK(ecode4
)) {
13597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13599 arg4
= static_cast< bool >(val4
);
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= result
;
13622 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
= 0;
13624 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13625 wxFontEncoding arg2
;
13626 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13633 bool temp3
= false ;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 PyObject
* obj2
= 0 ;
13637 char * kwnames
[] = {
13638 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13643 if (!SWIG_IsOK(res1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13646 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13648 if (!SWIG_IsOK(ecode2
)) {
13649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13651 arg2
= static_cast< wxFontEncoding
>(val2
);
13654 arg3
= wxString_in_helper(obj2
);
13655 if (arg3
== NULL
) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13682 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
= 0;
13684 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13685 wxWindow
*arg2
= (wxWindow
*) 0 ;
13690 PyObject
* obj0
= 0 ;
13691 PyObject
* obj1
= 0 ;
13692 char * kwnames
[] = {
13693 (char *) "self",(char *) "parent", NULL
13696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13698 if (!SWIG_IsOK(res1
)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13701 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13702 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13703 if (!SWIG_IsOK(res2
)) {
13704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13706 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 (arg1
)->SetDialogParent(arg2
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_Py_Void();
13720 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
= 0;
13722 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13723 wxString
*arg2
= 0 ;
13726 bool temp2
= false ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 char * kwnames
[] = {
13730 (char *) "self",(char *) "title", NULL
13733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13735 if (!SWIG_IsOK(res1
)) {
13736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13738 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13740 arg2
= wxString_in_helper(obj1
);
13741 if (arg2
== NULL
) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= SWIG_Py_Void();
13765 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13768 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13769 return SWIG_Py_Void();
13772 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13773 return SWIG_Python_InitShadowInstance(args
);
13776 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
= 0;
13782 bool arg5
= (bool) false ;
13783 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13784 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13785 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13786 wxFont
*result
= 0 ;
13797 bool temp6
= false ;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 PyObject
* obj2
= 0 ;
13803 PyObject
* obj3
= 0 ;
13804 PyObject
* obj4
= 0 ;
13805 PyObject
* obj5
= 0 ;
13806 PyObject
* obj6
= 0 ;
13807 char * kwnames
[] = {
13808 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13812 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13813 if (!SWIG_IsOK(ecode1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13816 arg1
= static_cast< int >(val1
);
13817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13818 if (!SWIG_IsOK(ecode2
)) {
13819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13821 arg2
= static_cast< int >(val2
);
13822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13823 if (!SWIG_IsOK(ecode3
)) {
13824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13826 arg3
= static_cast< int >(val3
);
13827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13828 if (!SWIG_IsOK(ecode4
)) {
13829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13831 arg4
= static_cast< int >(val4
);
13833 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13834 if (!SWIG_IsOK(ecode5
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13837 arg5
= static_cast< bool >(val5
);
13841 arg6
= wxString_in_helper(obj5
);
13842 if (arg6
== NULL
) SWIG_fail
;
13847 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13848 if (!SWIG_IsOK(ecode7
)) {
13849 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13851 arg7
= static_cast< wxFontEncoding
>(val7
);
13854 if (!wxPyCheckForApp()) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13875 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13876 PyObject
*resultobj
= 0;
13877 wxFont
*arg1
= (wxFont
*) 0 ;
13880 PyObject
*swig_obj
[1] ;
13882 if (!args
) SWIG_fail
;
13883 swig_obj
[0] = args
;
13884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13885 if (!SWIG_IsOK(res1
)) {
13886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13888 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= SWIG_Py_Void();
13903 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
= 0;
13905 wxNativeFontInfo
*arg1
= 0 ;
13906 wxFont
*result
= 0 ;
13909 PyObject
* obj0
= 0 ;
13910 char * kwnames
[] = {
13911 (char *) "info", NULL
13914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13915 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13916 if (!SWIG_IsOK(res1
)) {
13917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13922 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13924 if (!wxPyCheckForApp()) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13937 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
= 0;
13939 wxString
*arg1
= 0 ;
13940 wxFont
*result
= 0 ;
13941 bool temp1
= false ;
13942 PyObject
* obj0
= 0 ;
13943 char * kwnames
[] = {
13944 (char *) "info", NULL
13947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13949 arg1
= wxString_in_helper(obj0
);
13950 if (arg1
== NULL
) SWIG_fail
;
13954 if (!wxPyCheckForApp()) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13975 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
= 0;
13978 wxFontFamily arg2
;
13979 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13980 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13981 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13982 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13983 wxFont
*result
= 0 ;
13990 bool temp4
= false ;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 PyObject
* obj2
= 0 ;
13996 PyObject
* obj3
= 0 ;
13997 PyObject
* obj4
= 0 ;
13998 char * kwnames
[] = {
13999 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14003 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14004 if (!SWIG_IsOK(ecode1
)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14007 arg1
= static_cast< int >(val1
);
14008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14009 if (!SWIG_IsOK(ecode2
)) {
14010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14012 arg2
= static_cast< wxFontFamily
>(val2
);
14014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14015 if (!SWIG_IsOK(ecode3
)) {
14016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14018 arg3
= static_cast< int >(val3
);
14022 arg4
= wxString_in_helper(obj3
);
14023 if (arg4
== NULL
) SWIG_fail
;
14028 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14029 if (!SWIG_IsOK(ecode5
)) {
14030 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14032 arg5
= static_cast< wxFontEncoding
>(val5
);
14035 if (!wxPyCheckForApp()) SWIG_fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14056 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
= 0;
14062 bool arg5
= (bool) false ;
14063 wxString
const &arg6_defvalue
= wxEmptyString
;
14064 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14065 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14066 wxFont
*result
= 0 ;
14076 bool temp6
= false ;
14079 PyObject
* obj0
= 0 ;
14080 PyObject
* obj1
= 0 ;
14081 PyObject
* obj2
= 0 ;
14082 PyObject
* obj3
= 0 ;
14083 PyObject
* obj4
= 0 ;
14084 PyObject
* obj5
= 0 ;
14085 PyObject
* obj6
= 0 ;
14086 char * kwnames
[] = {
14087 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14093 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14096 if (!SWIG_IsOK(ecode2
)) {
14097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14099 arg2
= static_cast< int >(val2
);
14100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14101 if (!SWIG_IsOK(ecode3
)) {
14102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14104 arg3
= static_cast< int >(val3
);
14105 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14106 if (!SWIG_IsOK(ecode4
)) {
14107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14109 arg4
= static_cast< int >(val4
);
14111 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14112 if (!SWIG_IsOK(ecode5
)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14115 arg5
= static_cast< bool >(val5
);
14119 arg6
= wxString_in_helper(obj5
);
14120 if (arg6
== NULL
) SWIG_fail
;
14125 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14126 if (!SWIG_IsOK(ecode7
)) {
14127 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14129 arg7
= static_cast< wxFontEncoding
>(val7
);
14132 if (!wxPyCheckForApp()) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14153 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
= 0;
14156 wxFontFamily arg2
;
14157 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14158 wxString
const &arg4_defvalue
= wxEmptyString
;
14159 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14160 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14161 wxFont
*result
= 0 ;
14167 bool temp4
= false ;
14170 PyObject
* obj0
= 0 ;
14171 PyObject
* obj1
= 0 ;
14172 PyObject
* obj2
= 0 ;
14173 PyObject
* obj3
= 0 ;
14174 PyObject
* obj4
= 0 ;
14175 char * kwnames
[] = {
14176 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14182 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14185 if (!SWIG_IsOK(ecode2
)) {
14186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14188 arg2
= static_cast< wxFontFamily
>(val2
);
14190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14191 if (!SWIG_IsOK(ecode3
)) {
14192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14194 arg3
= static_cast< int >(val3
);
14198 arg4
= wxString_in_helper(obj3
);
14199 if (arg4
== NULL
) SWIG_fail
;
14204 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14205 if (!SWIG_IsOK(ecode5
)) {
14206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14208 arg5
= static_cast< wxFontEncoding
>(val5
);
14211 if (!wxPyCheckForApp()) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14232 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14233 PyObject
*resultobj
= 0;
14234 wxFont
*arg1
= (wxFont
*) 0 ;
14238 PyObject
*swig_obj
[1] ;
14240 if (!args
) SWIG_fail
;
14241 swig_obj
[0] = args
;
14242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14243 if (!SWIG_IsOK(res1
)) {
14244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14246 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14250 wxPyEndAllowThreads(__tstate
);
14251 if (PyErr_Occurred()) SWIG_fail
;
14254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14262 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
= 0;
14264 wxFont
*arg1
= (wxFont
*) 0 ;
14265 wxFont
*arg2
= (wxFont
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 PyObject
* obj1
= 0 ;
14273 char * kwnames
[] = {
14274 (char *) "self",(char *) "other", NULL
14277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14279 if (!SWIG_IsOK(res1
)) {
14280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14282 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14284 if (!SWIG_IsOK(res2
)) {
14285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14287 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
= 0;
14305 wxFont
*arg1
= (wxFont
*) 0 ;
14306 wxFont
*arg2
= (wxFont
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 PyObject
* obj1
= 0 ;
14314 char * kwnames
[] = {
14315 (char *) "self",(char *) "other", NULL
14318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14320 if (!SWIG_IsOK(res1
)) {
14321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14323 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14324 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14325 if (!SWIG_IsOK(res2
)) {
14326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14328 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14344 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14345 PyObject
*resultobj
= 0;
14346 wxFont
*arg1
= (wxFont
*) 0 ;
14350 PyObject
*swig_obj
[1] ;
14352 if (!args
) SWIG_fail
;
14353 swig_obj
[0] = args
;
14354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14355 if (!SWIG_IsOK(res1
)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14358 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= SWIG_From_int(static_cast< int >(result
));
14372 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14373 PyObject
*resultobj
= 0;
14374 wxFont
*arg1
= (wxFont
*) 0 ;
14378 PyObject
*swig_obj
[1] ;
14380 if (!args
) SWIG_fail
;
14381 swig_obj
[0] = args
;
14382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14383 if (!SWIG_IsOK(res1
)) {
14384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14386 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14400 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14401 PyObject
*resultobj
= 0;
14402 wxFont
*arg1
= (wxFont
*) 0 ;
14406 PyObject
*swig_obj
[1] ;
14408 if (!args
) SWIG_fail
;
14409 swig_obj
[0] = args
;
14410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14411 if (!SWIG_IsOK(res1
)) {
14412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14414 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14430 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14431 PyObject
*resultobj
= 0;
14432 wxFont
*arg1
= (wxFont
*) 0 ;
14436 PyObject
*swig_obj
[1] ;
14438 if (!args
) SWIG_fail
;
14439 swig_obj
[0] = args
;
14440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14441 if (!SWIG_IsOK(res1
)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14444 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= SWIG_From_int(static_cast< int >(result
));
14458 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14459 PyObject
*resultobj
= 0;
14460 wxFont
*arg1
= (wxFont
*) 0 ;
14464 PyObject
*swig_obj
[1] ;
14466 if (!args
) SWIG_fail
;
14467 swig_obj
[0] = args
;
14468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14469 if (!SWIG_IsOK(res1
)) {
14470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14472 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= SWIG_From_int(static_cast< int >(result
));
14486 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14487 PyObject
*resultobj
= 0;
14488 wxFont
*arg1
= (wxFont
*) 0 ;
14492 PyObject
*swig_obj
[1] ;
14494 if (!args
) SWIG_fail
;
14495 swig_obj
[0] = args
;
14496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14497 if (!SWIG_IsOK(res1
)) {
14498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14500 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= SWIG_From_int(static_cast< int >(result
));
14514 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(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_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14528 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14544 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14545 PyObject
*resultobj
= 0;
14546 wxFont
*arg1
= (wxFont
*) 0 ;
14550 PyObject
*swig_obj
[1] ;
14552 if (!args
) SWIG_fail
;
14553 swig_obj
[0] = args
;
14554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14555 if (!SWIG_IsOK(res1
)) {
14556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14558 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= ((wxFont
const *)arg1
)->GetFaceName();
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14578 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14579 PyObject
*resultobj
= 0;
14580 wxFont
*arg1
= (wxFont
*) 0 ;
14581 wxFontEncoding result
;
14584 PyObject
*swig_obj
[1] ;
14586 if (!args
) SWIG_fail
;
14587 swig_obj
[0] = args
;
14588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14589 if (!SWIG_IsOK(res1
)) {
14590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14592 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14596 wxPyEndAllowThreads(__tstate
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= SWIG_From_int(static_cast< int >(result
));
14606 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14607 PyObject
*resultobj
= 0;
14608 wxFont
*arg1
= (wxFont
*) 0 ;
14609 wxNativeFontInfo
*result
= 0 ;
14612 PyObject
*swig_obj
[1] ;
14614 if (!args
) SWIG_fail
;
14615 swig_obj
[0] = args
;
14616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14617 if (!SWIG_IsOK(res1
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14620 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14634 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14635 PyObject
*resultobj
= 0;
14636 wxFont
*arg1
= (wxFont
*) 0 ;
14640 PyObject
*swig_obj
[1] ;
14642 if (!args
) SWIG_fail
;
14643 swig_obj
[0] = args
;
14644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14645 if (!SWIG_IsOK(res1
)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14648 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14664 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14665 PyObject
*resultobj
= 0;
14666 wxFont
*arg1
= (wxFont
*) 0 ;
14670 PyObject
*swig_obj
[1] ;
14672 if (!args
) SWIG_fail
;
14673 swig_obj
[0] = args
;
14674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14675 if (!SWIG_IsOK(res1
)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14678 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14698 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14699 PyObject
*resultobj
= 0;
14700 wxFont
*arg1
= (wxFont
*) 0 ;
14704 PyObject
*swig_obj
[1] ;
14706 if (!args
) SWIG_fail
;
14707 swig_obj
[0] = args
;
14708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14709 if (!SWIG_IsOK(res1
)) {
14710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14712 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14732 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
= 0;
14734 wxFont
*arg1
= (wxFont
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 char * kwnames
[] = {
14743 (char *) "self",(char *) "pointSize", NULL
14746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14748 if (!SWIG_IsOK(res1
)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14751 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14753 if (!SWIG_IsOK(ecode2
)) {
14754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14756 arg2
= static_cast< int >(val2
);
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 (arg1
)->SetPointSize(arg2
);
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14763 resultobj
= SWIG_Py_Void();
14770 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
= 0;
14772 wxFont
*arg1
= (wxFont
*) 0 ;
14777 PyObject
* obj0
= 0 ;
14778 PyObject
* obj1
= 0 ;
14779 char * kwnames
[] = {
14780 (char *) "self",(char *) "pixelSize", NULL
14783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14785 if (!SWIG_IsOK(res1
)) {
14786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14788 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14791 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_Py_Void();
14806 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
= 0;
14808 wxFont
*arg1
= (wxFont
*) 0 ;
14814 PyObject
* obj0
= 0 ;
14815 PyObject
* obj1
= 0 ;
14816 char * kwnames
[] = {
14817 (char *) "self",(char *) "family", NULL
14820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14822 if (!SWIG_IsOK(res1
)) {
14823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14825 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14827 if (!SWIG_IsOK(ecode2
)) {
14828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14830 arg2
= static_cast< int >(val2
);
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 (arg1
)->SetFamily(arg2
);
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_Py_Void();
14844 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14845 PyObject
*resultobj
= 0;
14846 wxFont
*arg1
= (wxFont
*) 0 ;
14852 PyObject
* obj0
= 0 ;
14853 PyObject
* obj1
= 0 ;
14854 char * kwnames
[] = {
14855 (char *) "self",(char *) "style", NULL
14858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14860 if (!SWIG_IsOK(res1
)) {
14861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14863 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14865 if (!SWIG_IsOK(ecode2
)) {
14866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14868 arg2
= static_cast< int >(val2
);
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 (arg1
)->SetStyle(arg2
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_Py_Void();
14882 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
= 0;
14884 wxFont
*arg1
= (wxFont
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 char * kwnames
[] = {
14893 (char *) "self",(char *) "weight", NULL
14896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14898 if (!SWIG_IsOK(res1
)) {
14899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14901 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14903 if (!SWIG_IsOK(ecode2
)) {
14904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14906 arg2
= static_cast< int >(val2
);
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 (arg1
)->SetWeight(arg2
);
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= SWIG_Py_Void();
14920 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
= 0;
14922 wxFont
*arg1
= (wxFont
*) 0 ;
14923 wxString
*arg2
= 0 ;
14927 bool temp2
= false ;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 char * kwnames
[] = {
14931 (char *) "self",(char *) "faceName", NULL
14934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14936 if (!SWIG_IsOK(res1
)) {
14937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14939 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14941 arg2
= wxString_in_helper(obj1
);
14942 if (arg2
== NULL
) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14968 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14969 PyObject
*resultobj
= 0;
14970 wxFont
*arg1
= (wxFont
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 PyObject
* obj1
= 0 ;
14978 char * kwnames
[] = {
14979 (char *) "self",(char *) "underlined", NULL
14982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14984 if (!SWIG_IsOK(res1
)) {
14985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14987 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14988 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14989 if (!SWIG_IsOK(ecode2
)) {
14990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14992 arg2
= static_cast< bool >(val2
);
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 (arg1
)->SetUnderlined(arg2
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 resultobj
= SWIG_Py_Void();
15006 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
= 0;
15008 wxFont
*arg1
= (wxFont
*) 0 ;
15009 wxFontEncoding arg2
;
15014 PyObject
* obj0
= 0 ;
15015 PyObject
* obj1
= 0 ;
15016 char * kwnames
[] = {
15017 (char *) "self",(char *) "encoding", NULL
15020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15022 if (!SWIG_IsOK(res1
)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15025 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15027 if (!SWIG_IsOK(ecode2
)) {
15028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15030 arg2
= static_cast< wxFontEncoding
>(val2
);
15032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15033 (arg1
)->SetEncoding(arg2
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= SWIG_Py_Void();
15044 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
= 0;
15046 wxFont
*arg1
= (wxFont
*) 0 ;
15047 wxNativeFontInfo
*arg2
= 0 ;
15052 PyObject
* obj0
= 0 ;
15053 PyObject
* obj1
= 0 ;
15054 char * kwnames
[] = {
15055 (char *) "self",(char *) "info", NULL
15058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15060 if (!SWIG_IsOK(res1
)) {
15061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15063 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15065 if (!SWIG_IsOK(res2
)) {
15066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15071 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= SWIG_Py_Void();
15085 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
= 0;
15087 wxFont
*arg1
= (wxFont
*) 0 ;
15088 wxString
*arg2
= 0 ;
15092 bool temp2
= false ;
15093 PyObject
* obj0
= 0 ;
15094 PyObject
* obj1
= 0 ;
15095 char * kwnames
[] = {
15096 (char *) "self",(char *) "info", NULL
15099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15101 if (!SWIG_IsOK(res1
)) {
15102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15104 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15106 arg2
= wxString_in_helper(obj1
);
15107 if (arg2
== NULL
) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15133 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
= 0;
15135 wxFont
*arg1
= (wxFont
*) 0 ;
15136 wxString
*arg2
= 0 ;
15140 bool temp2
= false ;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 char * kwnames
[] = {
15144 (char *) "self",(char *) "info", NULL
15147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15149 if (!SWIG_IsOK(res1
)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15152 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15154 arg2
= wxString_in_helper(obj1
);
15155 if (arg2
== NULL
) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15181 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15182 PyObject
*resultobj
= 0;
15183 wxFont
*arg1
= (wxFont
*) 0 ;
15187 PyObject
*swig_obj
[1] ;
15189 if (!args
) SWIG_fail
;
15190 swig_obj
[0] = args
;
15191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15192 if (!SWIG_IsOK(res1
)) {
15193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15195 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15215 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15216 PyObject
*resultobj
= 0;
15217 wxFont
*arg1
= (wxFont
*) 0 ;
15221 PyObject
*swig_obj
[1] ;
15223 if (!args
) SWIG_fail
;
15224 swig_obj
[0] = args
;
15225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15226 if (!SWIG_IsOK(res1
)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15229 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= ((wxFont
const *)arg1
)->GetStyleString();
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15249 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15250 PyObject
*resultobj
= 0;
15251 wxFont
*arg1
= (wxFont
*) 0 ;
15255 PyObject
*swig_obj
[1] ;
15257 if (!args
) SWIG_fail
;
15258 swig_obj
[0] = args
;
15259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15263 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= ((wxFont
const *)arg1
)->GetWeightString();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15283 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
= 0;
15285 wxFont
*arg1
= (wxFont
*) 0 ;
15286 bool arg2
= (bool) true ;
15291 PyObject
* obj0
= 0 ;
15292 PyObject
* obj1
= 0 ;
15293 char * kwnames
[] = {
15294 (char *) "self",(char *) "no", NULL
15297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15299 if (!SWIG_IsOK(res1
)) {
15300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15302 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15304 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15305 if (!SWIG_IsOK(ecode2
)) {
15306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15308 arg2
= static_cast< bool >(val2
);
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 (arg1
)->SetNoAntiAliasing(arg2
);
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= SWIG_Py_Void();
15323 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15324 PyObject
*resultobj
= 0;
15325 wxFont
*arg1
= (wxFont
*) 0 ;
15329 PyObject
*swig_obj
[1] ;
15331 if (!args
) SWIG_fail
;
15332 swig_obj
[0] = args
;
15333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15334 if (!SWIG_IsOK(res1
)) {
15335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15337 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15341 wxPyEndAllowThreads(__tstate
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15353 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15354 PyObject
*resultobj
= 0;
15355 wxFontEncoding result
;
15357 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15359 if (!wxPyCheckForApp()) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= SWIG_From_int(static_cast< int >(result
));
15372 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
= 0;
15374 wxFontEncoding arg1
;
15377 PyObject
* obj0
= 0 ;
15378 char * kwnames
[] = {
15379 (char *) "encoding", NULL
15382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15384 if (!SWIG_IsOK(ecode1
)) {
15385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15387 arg1
= static_cast< wxFontEncoding
>(val1
);
15389 if (!wxPyCheckForApp()) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 wxFont::SetDefaultEncoding(arg1
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= SWIG_Py_Void();
15402 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15405 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15406 return SWIG_Py_Void();
15409 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15410 return SWIG_Python_InitShadowInstance(args
);
15413 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15414 PyObject
*resultobj
= 0;
15415 wxPyFontEnumerator
*result
= 0 ;
15417 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15419 if (!wxPyCheckForApp()) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15432 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15433 PyObject
*resultobj
= 0;
15434 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15437 PyObject
*swig_obj
[1] ;
15439 if (!args
) SWIG_fail
;
15440 swig_obj
[0] = args
;
15441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15442 if (!SWIG_IsOK(res1
)) {
15443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15445 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_Py_Void();
15460 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
= 0;
15462 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15463 PyObject
*arg2
= (PyObject
*) 0 ;
15464 PyObject
*arg3
= (PyObject
*) 0 ;
15465 int arg4
= (int) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 PyObject
* obj2
= 0 ;
15473 PyObject
* obj3
= 0 ;
15474 char * kwnames
[] = {
15475 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15483 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15487 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15488 if (!SWIG_IsOK(ecode4
)) {
15489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15491 arg4
= static_cast< int >(val4
);
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 resultobj
= SWIG_Py_Void();
15506 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
= 0;
15508 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15509 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15510 bool arg3
= (bool) false ;
15518 PyObject
* obj0
= 0 ;
15519 PyObject
* obj1
= 0 ;
15520 PyObject
* obj2
= 0 ;
15521 char * kwnames
[] = {
15522 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15527 if (!SWIG_IsOK(res1
)) {
15528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15530 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15533 if (!SWIG_IsOK(ecode2
)) {
15534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15536 arg2
= static_cast< wxFontEncoding
>(val2
);
15539 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15540 if (!SWIG_IsOK(ecode3
)) {
15541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15543 arg3
= static_cast< bool >(val3
);
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15560 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
= 0;
15562 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15563 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15564 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15568 bool temp2
= false ;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char * kwnames
[] = {
15572 (char *) "self",(char *) "facename", NULL
15575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15577 if (!SWIG_IsOK(res1
)) {
15578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15580 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15583 arg2
= wxString_in_helper(obj1
);
15584 if (arg2
== NULL
) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15611 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15612 PyObject
*resultobj
= 0;
15613 PyObject
*result
= 0 ;
15615 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= result
;
15629 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15630 PyObject
*resultobj
= 0;
15631 PyObject
*result
= 0 ;
15633 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= result
;
15647 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
= 0;
15649 wxString
*arg1
= 0 ;
15651 bool temp1
= false ;
15652 PyObject
* obj0
= 0 ;
15653 char * kwnames
[] = {
15654 (char *) "str", NULL
15657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15659 arg1
= wxString_in_helper(obj0
);
15660 if (arg1
== NULL
) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15686 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15689 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15690 return SWIG_Py_Void();
15693 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15694 return SWIG_Python_InitShadowInstance(args
);
15697 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15698 PyObject
*resultobj
= 0;
15699 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15705 PyObject
*swig_obj
[2] ;
15707 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15709 if (!SWIG_IsOK(res1
)) {
15710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15712 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15713 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15714 if (!SWIG_IsOK(ecode2
)) {
15715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15717 arg2
= static_cast< int >(val2
);
15718 if (arg1
) (arg1
)->Language
= arg2
;
15720 resultobj
= SWIG_Py_Void();
15727 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15728 PyObject
*resultobj
= 0;
15729 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15733 PyObject
*swig_obj
[1] ;
15735 if (!args
) SWIG_fail
;
15736 swig_obj
[0] = args
;
15737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15738 if (!SWIG_IsOK(res1
)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15741 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15742 result
= (int) ((arg1
)->Language
);
15743 resultobj
= SWIG_From_int(static_cast< int >(result
));
15750 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15751 PyObject
*resultobj
= 0;
15752 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15753 wxString
*arg2
= (wxString
*) 0 ;
15756 bool temp2
= false ;
15757 PyObject
*swig_obj
[2] ;
15759 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15761 if (!SWIG_IsOK(res1
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15764 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15766 arg2
= wxString_in_helper(swig_obj
[1]);
15767 if (arg2
== NULL
) SWIG_fail
;
15770 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15772 resultobj
= SWIG_Py_Void();
15787 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15788 PyObject
*resultobj
= 0;
15789 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15790 wxString
*result
= 0 ;
15793 PyObject
*swig_obj
[1] ;
15795 if (!args
) SWIG_fail
;
15796 swig_obj
[0] = args
;
15797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15798 if (!SWIG_IsOK(res1
)) {
15799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15801 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15802 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15805 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15807 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15816 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15817 PyObject
*resultobj
= 0;
15818 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15819 wxString
*arg2
= (wxString
*) 0 ;
15822 bool temp2
= false ;
15823 PyObject
*swig_obj
[2] ;
15825 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15827 if (!SWIG_IsOK(res1
)) {
15828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15830 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15832 arg2
= wxString_in_helper(swig_obj
[1]);
15833 if (arg2
== NULL
) SWIG_fail
;
15836 if (arg1
) (arg1
)->Description
= *arg2
;
15838 resultobj
= SWIG_Py_Void();
15853 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15854 PyObject
*resultobj
= 0;
15855 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15856 wxString
*result
= 0 ;
15859 PyObject
*swig_obj
[1] ;
15861 if (!args
) SWIG_fail
;
15862 swig_obj
[0] = args
;
15863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15864 if (!SWIG_IsOK(res1
)) {
15865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15867 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15868 result
= (wxString
*)& ((arg1
)->Description
);
15871 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15873 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15882 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15885 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15886 return SWIG_Py_Void();
15889 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
= 0;
15891 int arg1
= (int) -1 ;
15892 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15893 wxLocale
*result
= 0 ;
15898 PyObject
* obj0
= 0 ;
15899 PyObject
* obj1
= 0 ;
15900 char * kwnames
[] = {
15901 (char *) "language",(char *) "flags", NULL
15904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15906 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15907 if (!SWIG_IsOK(ecode1
)) {
15908 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15910 arg1
= static_cast< int >(val1
);
15913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15914 if (!SWIG_IsOK(ecode2
)) {
15915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15917 arg2
= static_cast< int >(val2
);
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15932 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15933 PyObject
*resultobj
= 0;
15934 wxLocale
*arg1
= (wxLocale
*) 0 ;
15937 PyObject
*swig_obj
[1] ;
15939 if (!args
) SWIG_fail
;
15940 swig_obj
[0] = args
;
15941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15942 if (!SWIG_IsOK(res1
)) {
15943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15945 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15953 resultobj
= SWIG_Py_Void();
15960 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
= 0;
15962 wxLocale
*arg1
= (wxLocale
*) 0 ;
15963 wxString
*arg2
= 0 ;
15964 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15965 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15966 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15967 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15968 bool arg5
= (bool) true ;
15969 bool arg6
= (bool) false ;
15973 bool temp2
= false ;
15974 bool temp3
= false ;
15975 bool temp4
= false ;
15980 PyObject
* obj0
= 0 ;
15981 PyObject
* obj1
= 0 ;
15982 PyObject
* obj2
= 0 ;
15983 PyObject
* obj3
= 0 ;
15984 PyObject
* obj4
= 0 ;
15985 PyObject
* obj5
= 0 ;
15986 char * kwnames
[] = {
15987 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15992 if (!SWIG_IsOK(res1
)) {
15993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15995 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15997 arg2
= wxString_in_helper(obj1
);
15998 if (arg2
== NULL
) SWIG_fail
;
16003 arg3
= wxString_in_helper(obj2
);
16004 if (arg3
== NULL
) SWIG_fail
;
16010 arg4
= wxString_in_helper(obj3
);
16011 if (arg4
== NULL
) SWIG_fail
;
16016 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16017 if (!SWIG_IsOK(ecode5
)) {
16018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16020 arg5
= static_cast< bool >(val5
);
16023 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16024 if (!SWIG_IsOK(ecode6
)) {
16025 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16027 arg6
= static_cast< bool >(val6
);
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16068 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
= 0;
16070 wxLocale
*arg1
= (wxLocale
*) 0 ;
16071 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16072 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 PyObject
* obj2
= 0 ;
16083 char * kwnames
[] = {
16084 (char *) "self",(char *) "language",(char *) "flags", NULL
16087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16089 if (!SWIG_IsOK(res1
)) {
16090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16092 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16095 if (!SWIG_IsOK(ecode2
)) {
16096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16098 arg2
= static_cast< int >(val2
);
16101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16102 if (!SWIG_IsOK(ecode3
)) {
16103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16105 arg3
= static_cast< int >(val3
);
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16122 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16123 PyObject
*resultobj
= 0;
16126 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (int)wxLocale::GetSystemLanguage();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= SWIG_From_int(static_cast< int >(result
));
16140 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16141 PyObject
*resultobj
= 0;
16142 wxFontEncoding result
;
16144 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= SWIG_From_int(static_cast< int >(result
));
16158 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16159 PyObject
*resultobj
= 0;
16162 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= wxLocale::GetSystemEncodingName();
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16173 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16182 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16183 PyObject
*resultobj
= 0;
16184 wxLocale
*arg1
= (wxLocale
*) 0 ;
16188 PyObject
*swig_obj
[1] ;
16190 if (!args
) SWIG_fail
;
16191 swig_obj
[0] = args
;
16192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16193 if (!SWIG_IsOK(res1
)) {
16194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16196 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16212 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16213 PyObject
*resultobj
= 0;
16214 wxLocale
*arg1
= (wxLocale
*) 0 ;
16218 PyObject
*swig_obj
[1] ;
16220 if (!args
) SWIG_fail
;
16221 swig_obj
[0] = args
;
16222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16223 if (!SWIG_IsOK(res1
)) {
16224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16226 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= ((wxLocale
const *)arg1
)->GetLocale();
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16246 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16247 PyObject
*resultobj
= 0;
16248 wxLocale
*arg1
= (wxLocale
*) 0 ;
16252 PyObject
*swig_obj
[1] ;
16254 if (!args
) SWIG_fail
;
16255 swig_obj
[0] = args
;
16256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16257 if (!SWIG_IsOK(res1
)) {
16258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16260 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= SWIG_From_int(static_cast< int >(result
));
16274 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16275 PyObject
*resultobj
= 0;
16276 wxLocale
*arg1
= (wxLocale
*) 0 ;
16280 PyObject
*swig_obj
[1] ;
16282 if (!args
) SWIG_fail
;
16283 swig_obj
[0] = args
;
16284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16285 if (!SWIG_IsOK(res1
)) {
16286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16288 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= ((wxLocale
const *)arg1
)->GetSysName();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16308 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16309 PyObject
*resultobj
= 0;
16310 wxLocale
*arg1
= (wxLocale
*) 0 ;
16314 PyObject
*swig_obj
[1] ;
16316 if (!args
) SWIG_fail
;
16317 swig_obj
[0] = args
;
16318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16319 if (!SWIG_IsOK(res1
)) {
16320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16322 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16342 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
= 0;
16344 wxString
*arg1
= 0 ;
16345 bool temp1
= false ;
16346 PyObject
* obj0
= 0 ;
16347 char * kwnames
[] = {
16348 (char *) "prefix", NULL
16351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16353 arg1
= wxString_in_helper(obj0
);
16354 if (arg1
== NULL
) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= SWIG_Py_Void();
16378 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
= 0;
16380 wxLocale
*arg1
= (wxLocale
*) 0 ;
16381 wxString
*arg2
= 0 ;
16385 bool temp2
= false ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 char * kwnames
[] = {
16389 (char *) "self",(char *) "szDomain", NULL
16392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16394 if (!SWIG_IsOK(res1
)) {
16395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16397 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16399 arg2
= wxString_in_helper(obj1
);
16400 if (arg2
== NULL
) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16426 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
= 0;
16432 PyObject
* obj0
= 0 ;
16433 char * kwnames
[] = {
16434 (char *) "lang", NULL
16437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16438 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16439 if (!SWIG_IsOK(ecode1
)) {
16440 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16442 arg1
= static_cast< int >(val1
);
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (bool)wxLocale::IsAvailable(arg1
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16458 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
= 0;
16460 wxLocale
*arg1
= (wxLocale
*) 0 ;
16461 wxString
*arg2
= 0 ;
16465 bool temp2
= false ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char * kwnames
[] = {
16469 (char *) "self",(char *) "szDomain", NULL
16472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16474 if (!SWIG_IsOK(res1
)) {
16475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16477 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16479 arg2
= wxString_in_helper(obj1
);
16480 if (arg2
== NULL
) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16486 wxPyEndAllowThreads(__tstate
);
16487 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16506 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
= 0;
16509 wxLanguageInfo
*result
= 0 ;
16512 PyObject
* obj0
= 0 ;
16513 char * kwnames
[] = {
16514 (char *) "lang", NULL
16517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16518 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16519 if (!SWIG_IsOK(ecode1
)) {
16520 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16522 arg1
= static_cast< int >(val1
);
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16536 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
= 0;
16542 PyObject
* obj0
= 0 ;
16543 char * kwnames
[] = {
16544 (char *) "lang", NULL
16547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16548 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16549 if (!SWIG_IsOK(ecode1
)) {
16550 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16552 arg1
= static_cast< int >(val1
);
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= wxLocale::GetLanguageName(arg1
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16572 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
= 0;
16574 wxString
*arg1
= 0 ;
16575 wxLanguageInfo
*result
= 0 ;
16576 bool temp1
= false ;
16577 PyObject
* obj0
= 0 ;
16578 char * kwnames
[] = {
16579 (char *) "locale", NULL
16582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16584 arg1
= wxString_in_helper(obj0
);
16585 if (arg1
== NULL
) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16609 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
= 0;
16611 wxLanguageInfo
*arg1
= 0 ;
16614 PyObject
* obj0
= 0 ;
16615 char * kwnames
[] = {
16616 (char *) "info", NULL
16619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16620 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16621 if (!SWIG_IsOK(res1
)) {
16622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16627 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 resultobj
= SWIG_Py_Void();
16641 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
= 0;
16643 wxLocale
*arg1
= (wxLocale
*) 0 ;
16644 wxString
*arg2
= 0 ;
16645 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16646 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16650 bool temp2
= false ;
16651 bool temp3
= false ;
16652 PyObject
* obj0
= 0 ;
16653 PyObject
* obj1
= 0 ;
16654 PyObject
* obj2
= 0 ;
16655 char * kwnames
[] = {
16656 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16661 if (!SWIG_IsOK(res1
)) {
16662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16664 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16666 arg2
= wxString_in_helper(obj1
);
16667 if (arg2
== NULL
) SWIG_fail
;
16672 arg3
= wxString_in_helper(obj2
);
16673 if (arg3
== NULL
) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16712 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16713 PyObject
*resultobj
= 0;
16714 wxLocale
*arg1
= (wxLocale
*) 0 ;
16715 wxString
*result
= 0 ;
16718 PyObject
*swig_obj
[1] ;
16720 if (!args
) SWIG_fail
;
16721 swig_obj
[0] = args
;
16722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16723 if (!SWIG_IsOK(res1
)) {
16724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16726 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16731 result
= (wxString
*) &_result_ref
;
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16738 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16740 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16749 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16752 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16753 return SWIG_Py_Void();
16756 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16757 return SWIG_Python_InitShadowInstance(args
);
16760 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
= 0;
16762 int arg1
= (int) -1 ;
16763 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16764 wxPyLocale
*result
= 0 ;
16769 PyObject
* obj0
= 0 ;
16770 PyObject
* obj1
= 0 ;
16771 char * kwnames
[] = {
16772 (char *) "language",(char *) "flags", NULL
16775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16777 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16778 if (!SWIG_IsOK(ecode1
)) {
16779 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16781 arg1
= static_cast< int >(val1
);
16784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16785 if (!SWIG_IsOK(ecode2
)) {
16786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16788 arg2
= static_cast< int >(val2
);
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16803 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16804 PyObject
*resultobj
= 0;
16805 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16808 PyObject
*swig_obj
[1] ;
16810 if (!args
) SWIG_fail
;
16811 swig_obj
[0] = args
;
16812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16813 if (!SWIG_IsOK(res1
)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16816 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= SWIG_Py_Void();
16831 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
= 0;
16833 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16834 PyObject
*arg2
= (PyObject
*) 0 ;
16835 PyObject
*arg3
= (PyObject
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 PyObject
* obj2
= 0 ;
16841 char * kwnames
[] = {
16842 (char *) "self",(char *) "self",(char *) "_class", NULL
16845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16847 if (!SWIG_IsOK(res1
)) {
16848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16850 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= SWIG_Py_Void();
16866 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
= 0;
16868 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16869 wxChar
*arg2
= (wxChar
*) 0 ;
16870 wxChar
*arg3
= (wxChar
*) NULL
;
16871 wxChar
*result
= 0 ;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 PyObject
* obj2
= 0 ;
16881 char * kwnames
[] = {
16882 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16887 if (!SWIG_IsOK(res1
)) {
16888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16890 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16892 if (!SWIG_IsOK(res2
)) {
16893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16895 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16897 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16898 if (!SWIG_IsOK(res3
)) {
16899 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16901 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16916 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
= 0;
16918 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16919 wxChar
*arg2
= (wxChar
*) 0 ;
16920 wxChar
*arg3
= (wxChar
*) 0 ;
16922 wxChar
*arg5
= (wxChar
*) NULL
;
16923 wxChar
*result
= 0 ;
16934 PyObject
* obj0
= 0 ;
16935 PyObject
* obj1
= 0 ;
16936 PyObject
* obj2
= 0 ;
16937 PyObject
* obj3
= 0 ;
16938 PyObject
* obj4
= 0 ;
16939 char * kwnames
[] = {
16940 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16945 if (!SWIG_IsOK(res1
)) {
16946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16948 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16950 if (!SWIG_IsOK(res2
)) {
16951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16953 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16954 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16955 if (!SWIG_IsOK(res3
)) {
16956 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16958 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16959 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16960 if (!SWIG_IsOK(ecode4
)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16963 arg4
= static_cast< size_t >(val4
);
16965 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16966 if (!SWIG_IsOK(res5
)) {
16967 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16969 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16984 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16987 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16988 return SWIG_Py_Void();
16991 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16992 return SWIG_Python_InitShadowInstance(args
);
16995 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16996 PyObject
*resultobj
= 0;
16997 wxLocale
*result
= 0 ;
16999 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (wxLocale
*)wxGetLocale();
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17013 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17014 PyObject
*resultobj
= 0;
17015 wxString
*arg1
= 0 ;
17017 bool temp1
= false ;
17019 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17021 arg1
= wxString_in_helper(swig_obj
[0]);
17022 if (arg1
== NULL
) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= wxGetTranslation((wxString
const &)*arg1
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17052 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17053 PyObject
*resultobj
= 0;
17054 wxString
*arg1
= 0 ;
17055 wxString
*arg2
= 0 ;
17057 bool temp1
= false ;
17058 bool temp2
= false ;
17060 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17062 arg1
= wxString_in_helper(swig_obj
[0]);
17063 if (arg1
== NULL
) SWIG_fail
;
17067 arg2
= wxString_in_helper(swig_obj
[1]);
17068 if (arg2
== NULL
) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17106 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17107 PyObject
*resultobj
= 0;
17108 wxString
*arg1
= 0 ;
17109 wxString
*arg2
= 0 ;
17112 bool temp1
= false ;
17113 bool temp2
= false ;
17117 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17119 arg1
= wxString_in_helper(swig_obj
[0]);
17120 if (arg1
== NULL
) SWIG_fail
;
17124 arg2
= wxString_in_helper(swig_obj
[1]);
17125 if (arg2
== NULL
) SWIG_fail
;
17128 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17129 if (!SWIG_IsOK(ecode3
)) {
17130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17132 arg3
= static_cast< size_t >(val3
);
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17168 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17169 PyObject
*resultobj
= 0;
17170 wxString
*arg1
= 0 ;
17171 wxString
*arg2
= 0 ;
17173 wxString
*arg4
= 0 ;
17175 bool temp1
= false ;
17176 bool temp2
= false ;
17179 bool temp4
= false ;
17181 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17183 arg1
= wxString_in_helper(swig_obj
[0]);
17184 if (arg1
== NULL
) SWIG_fail
;
17188 arg2
= wxString_in_helper(swig_obj
[1]);
17189 if (arg2
== NULL
) SWIG_fail
;
17192 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17193 if (!SWIG_IsOK(ecode3
)) {
17194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17196 arg3
= static_cast< size_t >(val3
);
17198 arg4
= wxString_in_helper(swig_obj
[3]);
17199 if (arg4
== NULL
) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17245 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17249 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17252 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17255 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17258 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17261 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17265 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17270 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17271 PyObject
*resultobj
= 0;
17272 wxEncodingConverter
*result
= 0 ;
17274 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17288 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17289 PyObject
*resultobj
= 0;
17290 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17293 PyObject
*swig_obj
[1] ;
17295 if (!args
) SWIG_fail
;
17296 swig_obj
[0] = args
;
17297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17298 if (!SWIG_IsOK(res1
)) {
17299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17301 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 resultobj
= SWIG_Py_Void();
17316 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
= 0;
17318 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17319 wxFontEncoding arg2
;
17320 wxFontEncoding arg3
;
17321 int arg4
= (int) wxCONVERT_STRICT
;
17331 PyObject
* obj0
= 0 ;
17332 PyObject
* obj1
= 0 ;
17333 PyObject
* obj2
= 0 ;
17334 PyObject
* obj3
= 0 ;
17335 char * kwnames
[] = {
17336 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17341 if (!SWIG_IsOK(res1
)) {
17342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17344 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17346 if (!SWIG_IsOK(ecode2
)) {
17347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17349 arg2
= static_cast< wxFontEncoding
>(val2
);
17350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17351 if (!SWIG_IsOK(ecode3
)) {
17352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17354 arg3
= static_cast< wxFontEncoding
>(val3
);
17356 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17357 if (!SWIG_IsOK(ecode4
)) {
17358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17360 arg4
= static_cast< int >(val4
);
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17377 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
= 0;
17379 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17380 wxString
*arg2
= 0 ;
17384 bool temp2
= false ;
17385 PyObject
* obj0
= 0 ;
17386 PyObject
* obj1
= 0 ;
17387 char * kwnames
[] = {
17388 (char *) "self",(char *) "input", NULL
17391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17393 if (!SWIG_IsOK(res1
)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17396 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17398 arg2
= wxString_in_helper(obj1
);
17399 if (arg2
== NULL
) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17429 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17430 PyObject
*resultobj
= 0;
17431 wxFontEncoding arg1
;
17432 int arg2
= (int) wxPLATFORM_CURRENT
;
17433 wxFontEncodingArray result
;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 char * kwnames
[] = {
17441 (char *) "enc",(char *) "platform", NULL
17444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17446 if (!SWIG_IsOK(ecode1
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17449 arg1
= static_cast< wxFontEncoding
>(val1
);
17451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17452 if (!SWIG_IsOK(ecode2
)) {
17453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17455 arg2
= static_cast< int >(val2
);
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= PyList_New(0);
17465 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17466 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17467 PyList_Append(resultobj
, number
);
17477 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
= 0;
17479 wxFontEncoding arg1
;
17480 wxFontEncodingArray result
;
17483 PyObject
* obj0
= 0 ;
17484 char * kwnames
[] = {
17485 (char *) "enc", NULL
17488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17489 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17490 if (!SWIG_IsOK(ecode1
)) {
17491 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17493 arg1
= static_cast< wxFontEncoding
>(val1
);
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= PyList_New(0);
17502 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17503 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17504 PyList_Append(resultobj
, number
);
17514 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
= 0;
17516 wxFontEncoding arg1
;
17517 wxFontEncoding arg2
;
17523 PyObject
* obj0
= 0 ;
17524 PyObject
* obj1
= 0 ;
17525 char * kwnames
[] = {
17526 (char *) "encIn",(char *) "encOut", NULL
17529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17530 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17531 if (!SWIG_IsOK(ecode1
)) {
17532 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17534 arg1
= static_cast< wxFontEncoding
>(val1
);
17535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17536 if (!SWIG_IsOK(ecode2
)) {
17537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17539 arg2
= static_cast< wxFontEncoding
>(val2
);
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17555 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17558 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17559 return SWIG_Py_Void();
17562 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17563 return SWIG_Python_InitShadowInstance(args
);
17566 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17567 PyObject
*resultobj
= 0;
17568 wxDC
*arg1
= (wxDC
*) 0 ;
17571 PyObject
*swig_obj
[1] ;
17573 if (!args
) SWIG_fail
;
17574 swig_obj
[0] = args
;
17575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17576 if (!SWIG_IsOK(res1
)) {
17577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= SWIG_Py_Void();
17594 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
= 0;
17596 wxDC
*arg1
= (wxDC
*) 0 ;
17599 wxColour
*arg4
= 0 ;
17600 int arg5
= (int) wxFLOOD_SURFACE
;
17611 PyObject
* obj0
= 0 ;
17612 PyObject
* obj1
= 0 ;
17613 PyObject
* obj2
= 0 ;
17614 PyObject
* obj3
= 0 ;
17615 PyObject
* obj4
= 0 ;
17616 char * kwnames
[] = {
17617 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17622 if (!SWIG_IsOK(res1
)) {
17623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17627 if (!SWIG_IsOK(ecode2
)) {
17628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17630 arg2
= static_cast< int >(val2
);
17631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17632 if (!SWIG_IsOK(ecode3
)) {
17633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17635 arg3
= static_cast< int >(val3
);
17638 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17641 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17642 if (!SWIG_IsOK(ecode5
)) {
17643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17645 arg5
= static_cast< int >(val5
);
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17662 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
= 0;
17664 wxDC
*arg1
= (wxDC
*) 0 ;
17665 wxPoint
*arg2
= 0 ;
17666 wxColour
*arg3
= 0 ;
17667 int arg4
= (int) wxFLOOD_SURFACE
;
17675 PyObject
* obj0
= 0 ;
17676 PyObject
* obj1
= 0 ;
17677 PyObject
* obj2
= 0 ;
17678 PyObject
* obj3
= 0 ;
17679 char * kwnames
[] = {
17680 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17685 if (!SWIG_IsOK(res1
)) {
17686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17691 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17695 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17698 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17699 if (!SWIG_IsOK(ecode4
)) {
17700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17702 arg4
= static_cast< int >(val4
);
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17719 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
= 0;
17721 wxDC
*arg1
= (wxDC
*) 0 ;
17723 wxColour
*arg3
= 0 ;
17724 wxColour
*arg4
= 0 ;
17725 wxPoint
*arg5
= 0 ;
17732 PyObject
* obj0
= 0 ;
17733 PyObject
* obj1
= 0 ;
17734 PyObject
* obj2
= 0 ;
17735 PyObject
* obj3
= 0 ;
17736 PyObject
* obj4
= 0 ;
17737 char * kwnames
[] = {
17738 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17743 if (!SWIG_IsOK(res1
)) {
17744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17746 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17749 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17753 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17757 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17761 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= SWIG_Py_Void();
17776 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
= 0;
17778 wxDC
*arg1
= (wxDC
*) 0 ;
17780 wxColour
*arg3
= 0 ;
17781 wxColour
*arg4
= 0 ;
17782 wxDirection arg5
= (wxDirection
) wxEAST
;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 PyObject
* obj2
= 0 ;
17793 PyObject
* obj3
= 0 ;
17794 PyObject
* obj4
= 0 ;
17795 char * kwnames
[] = {
17796 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17801 if (!SWIG_IsOK(res1
)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17807 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17811 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17815 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17818 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17819 if (!SWIG_IsOK(ecode5
)) {
17820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17822 arg5
= static_cast< wxDirection
>(val5
);
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= SWIG_Py_Void();
17837 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
= 0;
17839 wxDC
*arg1
= (wxDC
*) 0 ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 PyObject
* obj2
= 0 ;
17852 char * kwnames
[] = {
17853 (char *) "self",(char *) "x",(char *) "y", NULL
17856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17858 if (!SWIG_IsOK(res1
)) {
17859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17863 if (!SWIG_IsOK(ecode2
)) {
17864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17866 arg2
= static_cast< int >(val2
);
17867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17868 if (!SWIG_IsOK(ecode3
)) {
17869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17871 arg3
= static_cast< int >(val3
);
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17885 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
= 0;
17887 wxDC
*arg1
= (wxDC
*) 0 ;
17888 wxPoint
*arg2
= 0 ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 char * kwnames
[] = {
17896 (char *) "self",(char *) "pt", NULL
17899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17901 if (!SWIG_IsOK(res1
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17922 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
= 0;
17924 wxDC
*arg1
= (wxDC
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 PyObject
* obj2
= 0 ;
17942 PyObject
* obj3
= 0 ;
17943 PyObject
* obj4
= 0 ;
17944 char * kwnames
[] = {
17945 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17950 if (!SWIG_IsOK(res1
)) {
17951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17955 if (!SWIG_IsOK(ecode2
)) {
17956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17958 arg2
= static_cast< int >(val2
);
17959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17960 if (!SWIG_IsOK(ecode3
)) {
17961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17963 arg3
= static_cast< int >(val3
);
17964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17965 if (!SWIG_IsOK(ecode4
)) {
17966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17968 arg4
= static_cast< int >(val4
);
17969 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17970 if (!SWIG_IsOK(ecode5
)) {
17971 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17973 arg5
= static_cast< int >(val5
);
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= SWIG_Py_Void();
17987 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
= 0;
17989 wxDC
*arg1
= (wxDC
*) 0 ;
17990 wxPoint
*arg2
= 0 ;
17991 wxPoint
*arg3
= 0 ;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 PyObject
* obj2
= 0 ;
17999 char * kwnames
[] = {
18000 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18005 if (!SWIG_IsOK(res1
)) {
18006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_Py_Void();
18030 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
= 0;
18032 wxDC
*arg1
= (wxDC
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18043 PyObject
* obj2
= 0 ;
18044 char * kwnames
[] = {
18045 (char *) "self",(char *) "x",(char *) "y", NULL
18048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18050 if (!SWIG_IsOK(res1
)) {
18051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18055 if (!SWIG_IsOK(ecode2
)) {
18056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18058 arg2
= static_cast< int >(val2
);
18059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18060 if (!SWIG_IsOK(ecode3
)) {
18061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18063 arg3
= static_cast< int >(val3
);
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 (arg1
)->CrossHair(arg2
,arg3
);
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= SWIG_Py_Void();
18077 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
= 0;
18079 wxDC
*arg1
= (wxDC
*) 0 ;
18080 wxPoint
*arg2
= 0 ;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 char * kwnames
[] = {
18087 (char *) "self",(char *) "pt", NULL
18090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18092 if (!SWIG_IsOK(res1
)) {
18093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18098 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_Py_Void();
18113 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
= 0;
18115 wxDC
*arg1
= (wxDC
*) 0 ;
18136 PyObject
* obj0
= 0 ;
18137 PyObject
* obj1
= 0 ;
18138 PyObject
* obj2
= 0 ;
18139 PyObject
* obj3
= 0 ;
18140 PyObject
* obj4
= 0 ;
18141 PyObject
* obj5
= 0 ;
18142 PyObject
* obj6
= 0 ;
18143 char * kwnames
[] = {
18144 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18149 if (!SWIG_IsOK(res1
)) {
18150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18154 if (!SWIG_IsOK(ecode2
)) {
18155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18157 arg2
= static_cast< int >(val2
);
18158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18159 if (!SWIG_IsOK(ecode3
)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18162 arg3
= static_cast< int >(val3
);
18163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18164 if (!SWIG_IsOK(ecode4
)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18167 arg4
= static_cast< int >(val4
);
18168 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18169 if (!SWIG_IsOK(ecode5
)) {
18170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18172 arg5
= static_cast< int >(val5
);
18173 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18174 if (!SWIG_IsOK(ecode6
)) {
18175 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18177 arg6
= static_cast< int >(val6
);
18178 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18179 if (!SWIG_IsOK(ecode7
)) {
18180 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18182 arg7
= static_cast< int >(val7
);
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_Py_Void();
18196 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
= 0;
18198 wxDC
*arg1
= (wxDC
*) 0 ;
18199 wxPoint
*arg2
= 0 ;
18200 wxPoint
*arg3
= 0 ;
18201 wxPoint
*arg4
= 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 PyObject
* obj3
= 0 ;
18211 char * kwnames
[] = {
18212 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18217 if (!SWIG_IsOK(res1
)) {
18218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18220 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18223 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18227 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18231 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_Py_Void();
18246 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18247 PyObject
*resultobj
= 0;
18248 wxDC
*arg1
= (wxDC
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 PyObject
* obj1
= 0 ;
18265 PyObject
* obj2
= 0 ;
18266 PyObject
* obj3
= 0 ;
18267 PyObject
* obj4
= 0 ;
18268 char * kwnames
[] = {
18269 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18274 if (!SWIG_IsOK(res1
)) {
18275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18279 if (!SWIG_IsOK(ecode2
)) {
18280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18282 arg2
= static_cast< int >(val2
);
18283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18284 if (!SWIG_IsOK(ecode3
)) {
18285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18287 arg3
= static_cast< int >(val3
);
18288 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18289 if (!SWIG_IsOK(ecode4
)) {
18290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18292 arg4
= static_cast< int >(val4
);
18293 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18294 if (!SWIG_IsOK(ecode5
)) {
18295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18297 arg5
= static_cast< int >(val5
);
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= SWIG_Py_Void();
18311 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
= 0;
18313 wxDC
*arg1
= (wxDC
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 char * kwnames
[] = {
18321 (char *) "self",(char *) "rect", NULL
18324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18326 if (!SWIG_IsOK(res1
)) {
18327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18329 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18332 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_Py_Void();
18347 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
= 0;
18349 wxDC
*arg1
= (wxDC
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 PyObject
* obj1
= 0 ;
18372 PyObject
* obj2
= 0 ;
18373 PyObject
* obj3
= 0 ;
18374 PyObject
* obj4
= 0 ;
18375 PyObject
* obj5
= 0 ;
18376 PyObject
* obj6
= 0 ;
18377 char * kwnames
[] = {
18378 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18383 if (!SWIG_IsOK(res1
)) {
18384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18388 if (!SWIG_IsOK(ecode2
)) {
18389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18391 arg2
= static_cast< int >(val2
);
18392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18393 if (!SWIG_IsOK(ecode3
)) {
18394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18396 arg3
= static_cast< int >(val3
);
18397 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18398 if (!SWIG_IsOK(ecode4
)) {
18399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18401 arg4
= static_cast< int >(val4
);
18402 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18403 if (!SWIG_IsOK(ecode5
)) {
18404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18406 arg5
= static_cast< int >(val5
);
18407 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18408 if (!SWIG_IsOK(ecode6
)) {
18409 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18411 arg6
= static_cast< double >(val6
);
18412 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18413 if (!SWIG_IsOK(ecode7
)) {
18414 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18416 arg7
= static_cast< double >(val7
);
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_Py_Void();
18430 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
= 0;
18432 wxDC
*arg1
= (wxDC
*) 0 ;
18433 wxPoint
*arg2
= 0 ;
18445 PyObject
* obj0
= 0 ;
18446 PyObject
* obj1
= 0 ;
18447 PyObject
* obj2
= 0 ;
18448 PyObject
* obj3
= 0 ;
18449 PyObject
* obj4
= 0 ;
18450 char * kwnames
[] = {
18451 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18456 if (!SWIG_IsOK(res1
)) {
18457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18466 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18468 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18469 if (!SWIG_IsOK(ecode4
)) {
18470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18472 arg4
= static_cast< double >(val4
);
18473 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18474 if (!SWIG_IsOK(ecode5
)) {
18475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18477 arg5
= static_cast< double >(val5
);
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_Py_Void();
18491 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
= 0;
18493 wxDC
*arg1
= (wxDC
*) 0 ;
18502 PyObject
* obj0
= 0 ;
18503 PyObject
* obj1
= 0 ;
18504 PyObject
* obj2
= 0 ;
18505 char * kwnames
[] = {
18506 (char *) "self",(char *) "x",(char *) "y", NULL
18509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18511 if (!SWIG_IsOK(res1
)) {
18512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18516 if (!SWIG_IsOK(ecode2
)) {
18517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18519 arg2
= static_cast< int >(val2
);
18520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18521 if (!SWIG_IsOK(ecode3
)) {
18522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18524 arg3
= static_cast< int >(val3
);
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 (arg1
)->DrawPoint(arg2
,arg3
);
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= SWIG_Py_Void();
18538 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
= 0;
18540 wxDC
*arg1
= (wxDC
*) 0 ;
18541 wxPoint
*arg2
= 0 ;
18545 PyObject
* obj0
= 0 ;
18546 PyObject
* obj1
= 0 ;
18547 char * kwnames
[] = {
18548 (char *) "self",(char *) "pt", NULL
18551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18553 if (!SWIG_IsOK(res1
)) {
18554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18556 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18563 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18564 wxPyEndAllowThreads(__tstate
);
18565 if (PyErr_Occurred()) SWIG_fail
;
18567 resultobj
= SWIG_Py_Void();
18574 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18575 PyObject
*resultobj
= 0;
18576 wxDC
*arg1
= (wxDC
*) 0 ;
18591 PyObject
* obj0
= 0 ;
18592 PyObject
* obj1
= 0 ;
18593 PyObject
* obj2
= 0 ;
18594 PyObject
* obj3
= 0 ;
18595 PyObject
* obj4
= 0 ;
18596 char * kwnames
[] = {
18597 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18602 if (!SWIG_IsOK(res1
)) {
18603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18607 if (!SWIG_IsOK(ecode2
)) {
18608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18610 arg2
= static_cast< int >(val2
);
18611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18612 if (!SWIG_IsOK(ecode3
)) {
18613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18615 arg3
= static_cast< int >(val3
);
18616 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18617 if (!SWIG_IsOK(ecode4
)) {
18618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18620 arg4
= static_cast< int >(val4
);
18621 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18622 if (!SWIG_IsOK(ecode5
)) {
18623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18625 arg5
= static_cast< int >(val5
);
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= SWIG_Py_Void();
18639 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
= 0;
18641 wxDC
*arg1
= (wxDC
*) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 PyObject
* obj1
= 0 ;
18648 char * kwnames
[] = {
18649 (char *) "self",(char *) "rect", NULL
18652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18654 if (!SWIG_IsOK(res1
)) {
18655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18660 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_Py_Void();
18675 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
= 0;
18677 wxDC
*arg1
= (wxDC
*) 0 ;
18678 wxPoint
*arg2
= 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 PyObject
* obj2
= 0 ;
18687 char * kwnames
[] = {
18688 (char *) "self",(char *) "pt",(char *) "sz", NULL
18691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18693 if (!SWIG_IsOK(res1
)) {
18694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18699 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18703 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_Py_Void();
18718 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
= 0;
18720 wxDC
*arg1
= (wxDC
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 PyObject
* obj1
= 0 ;
18740 PyObject
* obj2
= 0 ;
18741 PyObject
* obj3
= 0 ;
18742 PyObject
* obj4
= 0 ;
18743 PyObject
* obj5
= 0 ;
18744 char * kwnames
[] = {
18745 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18750 if (!SWIG_IsOK(res1
)) {
18751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18755 if (!SWIG_IsOK(ecode2
)) {
18756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18758 arg2
= static_cast< int >(val2
);
18759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18760 if (!SWIG_IsOK(ecode3
)) {
18761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18763 arg3
= static_cast< int >(val3
);
18764 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18765 if (!SWIG_IsOK(ecode4
)) {
18766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18768 arg4
= static_cast< int >(val4
);
18769 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18770 if (!SWIG_IsOK(ecode5
)) {
18771 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18773 arg5
= static_cast< int >(val5
);
18774 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18775 if (!SWIG_IsOK(ecode6
)) {
18776 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18778 arg6
= static_cast< double >(val6
);
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= SWIG_Py_Void();
18792 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
= 0;
18794 wxDC
*arg1
= (wxDC
*) 0 ;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 PyObject
* obj2
= 0 ;
18805 char * kwnames
[] = {
18806 (char *) "self",(char *) "r",(char *) "radius", NULL
18809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18811 if (!SWIG_IsOK(res1
)) {
18812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18817 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18819 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18820 if (!SWIG_IsOK(ecode3
)) {
18821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18823 arg3
= static_cast< double >(val3
);
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 resultobj
= SWIG_Py_Void();
18837 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
= 0;
18839 wxDC
*arg1
= (wxDC
*) 0 ;
18840 wxPoint
*arg2
= 0 ;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 PyObject
* obj2
= 0 ;
18852 PyObject
* obj3
= 0 ;
18853 char * kwnames
[] = {
18854 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18859 if (!SWIG_IsOK(res1
)) {
18860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18869 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18871 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18872 if (!SWIG_IsOK(ecode4
)) {
18873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18875 arg4
= static_cast< double >(val4
);
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= SWIG_Py_Void();
18889 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
= 0;
18891 wxDC
*arg1
= (wxDC
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 PyObject
* obj2
= 0 ;
18906 PyObject
* obj3
= 0 ;
18907 char * kwnames
[] = {
18908 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18913 if (!SWIG_IsOK(res1
)) {
18914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18918 if (!SWIG_IsOK(ecode2
)) {
18919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18921 arg2
= static_cast< int >(val2
);
18922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18923 if (!SWIG_IsOK(ecode3
)) {
18924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18926 arg3
= static_cast< int >(val3
);
18927 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18928 if (!SWIG_IsOK(ecode4
)) {
18929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18931 arg4
= static_cast< int >(val4
);
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 resultobj
= SWIG_Py_Void();
18945 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
= 0;
18947 wxDC
*arg1
= (wxDC
*) 0 ;
18948 wxPoint
*arg2
= 0 ;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 PyObject
* obj2
= 0 ;
18958 char * kwnames
[] = {
18959 (char *) "self",(char *) "pt",(char *) "radius", NULL
18962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18964 if (!SWIG_IsOK(res1
)) {
18965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18967 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18970 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18973 if (!SWIG_IsOK(ecode3
)) {
18974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18976 arg3
= static_cast< int >(val3
);
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= SWIG_Py_Void();
18990 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
= 0;
18992 wxDC
*arg1
= (wxDC
*) 0 ;
19007 PyObject
* obj0
= 0 ;
19008 PyObject
* obj1
= 0 ;
19009 PyObject
* obj2
= 0 ;
19010 PyObject
* obj3
= 0 ;
19011 PyObject
* obj4
= 0 ;
19012 char * kwnames
[] = {
19013 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19018 if (!SWIG_IsOK(res1
)) {
19019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19023 if (!SWIG_IsOK(ecode2
)) {
19024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19026 arg2
= static_cast< int >(val2
);
19027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19028 if (!SWIG_IsOK(ecode3
)) {
19029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19031 arg3
= static_cast< int >(val3
);
19032 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19033 if (!SWIG_IsOK(ecode4
)) {
19034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19036 arg4
= static_cast< int >(val4
);
19037 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19038 if (!SWIG_IsOK(ecode5
)) {
19039 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19041 arg5
= static_cast< int >(val5
);
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= SWIG_Py_Void();
19055 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
= 0;
19057 wxDC
*arg1
= (wxDC
*) 0 ;
19062 PyObject
* obj0
= 0 ;
19063 PyObject
* obj1
= 0 ;
19064 char * kwnames
[] = {
19065 (char *) "self",(char *) "rect", NULL
19068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19070 if (!SWIG_IsOK(res1
)) {
19071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19073 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19076 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= SWIG_Py_Void();
19091 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
= 0;
19093 wxDC
*arg1
= (wxDC
*) 0 ;
19094 wxPoint
*arg2
= 0 ;
19100 PyObject
* obj0
= 0 ;
19101 PyObject
* obj1
= 0 ;
19102 PyObject
* obj2
= 0 ;
19103 char * kwnames
[] = {
19104 (char *) "self",(char *) "pt",(char *) "sz", NULL
19107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19109 if (!SWIG_IsOK(res1
)) {
19110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19112 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19119 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_Py_Void();
19134 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
= 0;
19136 wxDC
*arg1
= (wxDC
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 PyObject
* obj2
= 0 ;
19151 PyObject
* obj3
= 0 ;
19152 char * kwnames
[] = {
19153 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19158 if (!SWIG_IsOK(res1
)) {
19159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19161 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19163 if (!SWIG_IsOK(res2
)) {
19164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19169 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19171 if (!SWIG_IsOK(ecode3
)) {
19172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19174 arg3
= static_cast< int >(val3
);
19175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19176 if (!SWIG_IsOK(ecode4
)) {
19177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19179 arg4
= static_cast< int >(val4
);
19181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19182 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= SWIG_Py_Void();
19193 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
= 0;
19195 wxDC
*arg1
= (wxDC
*) 0 ;
19197 wxPoint
*arg3
= 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 PyObject
* obj2
= 0 ;
19206 char * kwnames
[] = {
19207 (char *) "self",(char *) "icon",(char *) "pt", NULL
19210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19212 if (!SWIG_IsOK(res1
)) {
19213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19217 if (!SWIG_IsOK(res2
)) {
19218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19223 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19226 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 resultobj
= SWIG_Py_Void();
19241 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
= 0;
19243 wxDC
*arg1
= (wxDC
*) 0 ;
19244 wxBitmap
*arg2
= 0 ;
19247 bool arg5
= (bool) false ;
19258 PyObject
* obj0
= 0 ;
19259 PyObject
* obj1
= 0 ;
19260 PyObject
* obj2
= 0 ;
19261 PyObject
* obj3
= 0 ;
19262 PyObject
* obj4
= 0 ;
19263 char * kwnames
[] = {
19264 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19269 if (!SWIG_IsOK(res1
)) {
19270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19272 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19274 if (!SWIG_IsOK(res2
)) {
19275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19280 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19282 if (!SWIG_IsOK(ecode3
)) {
19283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19285 arg3
= static_cast< int >(val3
);
19286 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19287 if (!SWIG_IsOK(ecode4
)) {
19288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19290 arg4
= static_cast< int >(val4
);
19292 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19293 if (!SWIG_IsOK(ecode5
)) {
19294 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19296 arg5
= static_cast< bool >(val5
);
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19304 resultobj
= SWIG_Py_Void();
19311 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
= 0;
19313 wxDC
*arg1
= (wxDC
*) 0 ;
19314 wxBitmap
*arg2
= 0 ;
19315 wxPoint
*arg3
= 0 ;
19316 bool arg4
= (bool) false ;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 PyObject
* obj2
= 0 ;
19327 PyObject
* obj3
= 0 ;
19328 char * kwnames
[] = {
19329 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19339 if (!SWIG_IsOK(res2
)) {
19340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19345 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19348 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19351 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19352 if (!SWIG_IsOK(ecode4
)) {
19353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19355 arg4
= static_cast< bool >(val4
);
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 resultobj
= SWIG_Py_Void();
19370 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
= 0;
19372 wxDC
*arg1
= (wxDC
*) 0 ;
19373 wxString
*arg2
= 0 ;
19378 bool temp2
= false ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 PyObject
* obj2
= 0 ;
19386 PyObject
* obj3
= 0 ;
19387 char * kwnames
[] = {
19388 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19393 if (!SWIG_IsOK(res1
)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19398 arg2
= wxString_in_helper(obj1
);
19399 if (arg2
== NULL
) SWIG_fail
;
19402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19403 if (!SWIG_IsOK(ecode3
)) {
19404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19406 arg3
= static_cast< int >(val3
);
19407 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19408 if (!SWIG_IsOK(ecode4
)) {
19409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19411 arg4
= static_cast< int >(val4
);
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= SWIG_Py_Void();
19433 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
= 0;
19435 wxDC
*arg1
= (wxDC
*) 0 ;
19436 wxString
*arg2
= 0 ;
19437 wxPoint
*arg3
= 0 ;
19440 bool temp2
= false ;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 PyObject
* obj2
= 0 ;
19445 char * kwnames
[] = {
19446 (char *) "self",(char *) "text",(char *) "pt", NULL
19449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19451 if (!SWIG_IsOK(res1
)) {
19452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19456 arg2
= wxString_in_helper(obj1
);
19457 if (arg2
== NULL
) SWIG_fail
;
19462 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= SWIG_Py_Void();
19485 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
= 0;
19487 wxDC
*arg1
= (wxDC
*) 0 ;
19488 wxString
*arg2
= 0 ;
19494 bool temp2
= false ;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 PyObject
* obj2
= 0 ;
19504 PyObject
* obj3
= 0 ;
19505 PyObject
* obj4
= 0 ;
19506 char * kwnames
[] = {
19507 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19512 if (!SWIG_IsOK(res1
)) {
19513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19517 arg2
= wxString_in_helper(obj1
);
19518 if (arg2
== NULL
) SWIG_fail
;
19521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19522 if (!SWIG_IsOK(ecode3
)) {
19523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19525 arg3
= static_cast< int >(val3
);
19526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19527 if (!SWIG_IsOK(ecode4
)) {
19528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19530 arg4
= static_cast< int >(val4
);
19531 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19532 if (!SWIG_IsOK(ecode5
)) {
19533 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19535 arg5
= static_cast< double >(val5
);
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= SWIG_Py_Void();
19557 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
= 0;
19559 wxDC
*arg1
= (wxDC
*) 0 ;
19560 wxString
*arg2
= 0 ;
19561 wxPoint
*arg3
= 0 ;
19565 bool temp2
= false ;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 PyObject
* obj2
= 0 ;
19572 PyObject
* obj3
= 0 ;
19573 char * kwnames
[] = {
19574 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19579 if (!SWIG_IsOK(res1
)) {
19580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19584 arg2
= wxString_in_helper(obj1
);
19585 if (arg2
== NULL
) SWIG_fail
;
19590 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19592 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19593 if (!SWIG_IsOK(ecode4
)) {
19594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19596 arg4
= static_cast< double >(val4
);
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19603 resultobj
= SWIG_Py_Void();
19618 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
= 0;
19620 wxDC
*arg1
= (wxDC
*) 0 ;
19625 wxDC
*arg6
= (wxDC
*) 0 ;
19628 int arg9
= (int) wxCOPY
;
19629 bool arg10
= (bool) false ;
19630 int arg11
= (int) -1 ;
19631 int arg12
= (int) -1 ;
19657 PyObject
* obj0
= 0 ;
19658 PyObject
* obj1
= 0 ;
19659 PyObject
* obj2
= 0 ;
19660 PyObject
* obj3
= 0 ;
19661 PyObject
* obj4
= 0 ;
19662 PyObject
* obj5
= 0 ;
19663 PyObject
* obj6
= 0 ;
19664 PyObject
* obj7
= 0 ;
19665 PyObject
* obj8
= 0 ;
19666 PyObject
* obj9
= 0 ;
19667 PyObject
* obj10
= 0 ;
19668 PyObject
* obj11
= 0 ;
19669 char * kwnames
[] = {
19670 (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
19673 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
;
19674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19675 if (!SWIG_IsOK(res1
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19680 if (!SWIG_IsOK(ecode2
)) {
19681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19683 arg2
= static_cast< int >(val2
);
19684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19685 if (!SWIG_IsOK(ecode3
)) {
19686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19688 arg3
= static_cast< int >(val3
);
19689 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19690 if (!SWIG_IsOK(ecode4
)) {
19691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19693 arg4
= static_cast< int >(val4
);
19694 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19695 if (!SWIG_IsOK(ecode5
)) {
19696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19698 arg5
= static_cast< int >(val5
);
19699 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19700 if (!SWIG_IsOK(res6
)) {
19701 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19703 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19704 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19705 if (!SWIG_IsOK(ecode7
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19708 arg7
= static_cast< int >(val7
);
19709 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19710 if (!SWIG_IsOK(ecode8
)) {
19711 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19713 arg8
= static_cast< int >(val8
);
19715 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19716 if (!SWIG_IsOK(ecode9
)) {
19717 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19719 arg9
= static_cast< int >(val9
);
19722 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19723 if (!SWIG_IsOK(ecode10
)) {
19724 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19726 arg10
= static_cast< bool >(val10
);
19729 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19730 if (!SWIG_IsOK(ecode11
)) {
19731 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19733 arg11
= static_cast< int >(val11
);
19736 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19737 if (!SWIG_IsOK(ecode12
)) {
19738 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19740 arg12
= static_cast< int >(val12
);
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19757 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
= 0;
19759 wxDC
*arg1
= (wxDC
*) 0 ;
19760 wxPoint
*arg2
= 0 ;
19762 wxDC
*arg4
= (wxDC
*) 0 ;
19763 wxPoint
*arg5
= 0 ;
19764 int arg6
= (int) wxCOPY
;
19765 bool arg7
= (bool) false ;
19766 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19767 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 PyObject
* obj2
= 0 ;
19784 PyObject
* obj3
= 0 ;
19785 PyObject
* obj4
= 0 ;
19786 PyObject
* obj5
= 0 ;
19787 PyObject
* obj6
= 0 ;
19788 PyObject
* obj7
= 0 ;
19789 char * kwnames
[] = {
19790 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19795 if (!SWIG_IsOK(res1
)) {
19796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19801 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19805 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19807 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19808 if (!SWIG_IsOK(res4
)) {
19809 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19811 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19814 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19817 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19818 if (!SWIG_IsOK(ecode6
)) {
19819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19821 arg6
= static_cast< int >(val6
);
19824 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19825 if (!SWIG_IsOK(ecode7
)) {
19826 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19828 arg7
= static_cast< bool >(val7
);
19833 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19851 SWIGINTERN PyObject
*_wrap_DC_StretchBlit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
= 0;
19853 wxDC
*arg1
= (wxDC
*) 0 ;
19858 wxDC
*arg6
= (wxDC
*) 0 ;
19863 int arg11
= (int) wxCOPY
;
19864 bool arg12
= (bool) false ;
19865 int arg13
= (int) wxDefaultCoord
;
19866 int arg14
= (int) wxDefaultCoord
;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 PyObject
* obj2
= 0 ;
19899 PyObject
* obj3
= 0 ;
19900 PyObject
* obj4
= 0 ;
19901 PyObject
* obj5
= 0 ;
19902 PyObject
* obj6
= 0 ;
19903 PyObject
* obj7
= 0 ;
19904 PyObject
* obj8
= 0 ;
19905 PyObject
* obj9
= 0 ;
19906 PyObject
* obj10
= 0 ;
19907 PyObject
* obj11
= 0 ;
19908 PyObject
* obj12
= 0 ;
19909 PyObject
* obj13
= 0 ;
19910 char * kwnames
[] = {
19911 (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
19914 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
;
19915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19916 if (!SWIG_IsOK(res1
)) {
19917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlit" "', expected argument " "1"" of type '" "wxDC *""'");
19919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19921 if (!SWIG_IsOK(ecode2
)) {
19922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_StretchBlit" "', expected argument " "2"" of type '" "int""'");
19924 arg2
= static_cast< int >(val2
);
19925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19926 if (!SWIG_IsOK(ecode3
)) {
19927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_StretchBlit" "', expected argument " "3"" of type '" "int""'");
19929 arg3
= static_cast< int >(val3
);
19930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19931 if (!SWIG_IsOK(ecode4
)) {
19932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_StretchBlit" "', expected argument " "4"" of type '" "int""'");
19934 arg4
= static_cast< int >(val4
);
19935 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19936 if (!SWIG_IsOK(ecode5
)) {
19937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_StretchBlit" "', expected argument " "5"" of type '" "int""'");
19939 arg5
= static_cast< int >(val5
);
19940 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19941 if (!SWIG_IsOK(res6
)) {
19942 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_StretchBlit" "', expected argument " "6"" of type '" "wxDC *""'");
19944 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19945 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19946 if (!SWIG_IsOK(ecode7
)) {
19947 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlit" "', expected argument " "7"" of type '" "int""'");
19949 arg7
= static_cast< int >(val7
);
19950 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19951 if (!SWIG_IsOK(ecode8
)) {
19952 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlit" "', expected argument " "8"" of type '" "int""'");
19954 arg8
= static_cast< int >(val8
);
19955 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19956 if (!SWIG_IsOK(ecode9
)) {
19957 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_StretchBlit" "', expected argument " "9"" of type '" "int""'");
19959 arg9
= static_cast< int >(val9
);
19960 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
19961 if (!SWIG_IsOK(ecode10
)) {
19962 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_StretchBlit" "', expected argument " "10"" of type '" "int""'");
19964 arg10
= static_cast< int >(val10
);
19966 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19967 if (!SWIG_IsOK(ecode11
)) {
19968 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_StretchBlit" "', expected argument " "11"" of type '" "int""'");
19970 arg11
= static_cast< int >(val11
);
19973 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
19974 if (!SWIG_IsOK(ecode12
)) {
19975 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_StretchBlit" "', expected argument " "12"" of type '" "bool""'");
19977 arg12
= static_cast< bool >(val12
);
19980 ecode13
= SWIG_AsVal_int(obj12
, &val13
);
19981 if (!SWIG_IsOK(ecode13
)) {
19982 SWIG_exception_fail(SWIG_ArgError(ecode13
), "in method '" "DC_StretchBlit" "', expected argument " "13"" of type '" "int""'");
19984 arg13
= static_cast< int >(val13
);
19987 ecode14
= SWIG_AsVal_int(obj13
, &val14
);
19988 if (!SWIG_IsOK(ecode14
)) {
19989 SWIG_exception_fail(SWIG_ArgError(ecode14
), "in method '" "DC_StretchBlit" "', expected argument " "14"" of type '" "int""'");
19991 arg14
= static_cast< int >(val14
);
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (bool)(arg1
)->StretchBlit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
,arg13
,arg14
);
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
20000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20008 SWIGINTERN PyObject
*_wrap_DC_StretchBlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20009 PyObject
*resultobj
= 0;
20010 wxDC
*arg1
= (wxDC
*) 0 ;
20011 wxPoint
*arg2
= 0 ;
20013 wxDC
*arg4
= (wxDC
*) 0 ;
20014 wxPoint
*arg5
= 0 ;
20016 int arg7
= (int) wxCOPY
;
20017 bool arg8
= (bool) false ;
20018 wxPoint
const &arg9_defvalue
= wxDefaultPosition
;
20019 wxPoint
*arg9
= (wxPoint
*) &arg9_defvalue
;
20034 PyObject
* obj0
= 0 ;
20035 PyObject
* obj1
= 0 ;
20036 PyObject
* obj2
= 0 ;
20037 PyObject
* obj3
= 0 ;
20038 PyObject
* obj4
= 0 ;
20039 PyObject
* obj5
= 0 ;
20040 PyObject
* obj6
= 0 ;
20041 PyObject
* obj7
= 0 ;
20042 PyObject
* obj8
= 0 ;
20043 char * kwnames
[] = {
20044 (char *) "self",(char *) "dstPt",(char *) "dstSize",(char *) "source",(char *) "srcPt",(char *) "srcSize",(char *) "rop",(char *) "useMask",(char *) "srcMaskPt", NULL
20047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOO:DC_StretchBlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
20048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20049 if (!SWIG_IsOK(res1
)) {
20050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20059 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20061 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20062 if (!SWIG_IsOK(res4
)) {
20063 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20065 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20068 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20072 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20075 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20076 if (!SWIG_IsOK(ecode7
)) {
20077 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "7"" of type '" "int""'");
20079 arg7
= static_cast< int >(val7
);
20082 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
20083 if (!SWIG_IsOK(ecode8
)) {
20084 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "8"" of type '" "bool""'");
20086 arg8
= static_cast< bool >(val8
);
20091 if ( ! wxPoint_helper(obj8
, &arg9
)) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (bool)(arg1
)->StretchBlit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,(wxPoint
const &)*arg9
);
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20109 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
= 0;
20111 wxDC
*arg1
= (wxDC
*) 0 ;
20112 wxRect
*arg2
= (wxRect
*) NULL
;
20113 SwigValueWrapper
<wxBitmap
> result
;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20120 char * kwnames
[] = {
20121 (char *) "self",(char *) "subrect", NULL
20124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20126 if (!SWIG_IsOK(res1
)) {
20127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20131 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20132 if (!SWIG_IsOK(res2
)) {
20133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20135 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20140 wxPyEndAllowThreads(__tstate
);
20141 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20150 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
= 0;
20152 wxDC
*arg1
= (wxDC
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 PyObject
* obj2
= 0 ;
20170 PyObject
* obj3
= 0 ;
20171 PyObject
* obj4
= 0 ;
20172 char * kwnames
[] = {
20173 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20178 if (!SWIG_IsOK(res1
)) {
20179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20181 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20183 if (!SWIG_IsOK(ecode2
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20186 arg2
= static_cast< int >(val2
);
20187 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20188 if (!SWIG_IsOK(ecode3
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20191 arg3
= static_cast< int >(val3
);
20192 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20193 if (!SWIG_IsOK(ecode4
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20196 arg4
= static_cast< int >(val4
);
20197 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20198 if (!SWIG_IsOK(ecode5
)) {
20199 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20201 arg5
= static_cast< int >(val5
);
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20208 resultobj
= SWIG_Py_Void();
20215 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
= 0;
20217 wxDC
*arg1
= (wxDC
*) 0 ;
20218 wxPoint
*arg2
= 0 ;
20224 PyObject
* obj0
= 0 ;
20225 PyObject
* obj1
= 0 ;
20226 PyObject
* obj2
= 0 ;
20227 char * kwnames
[] = {
20228 (char *) "self",(char *) "pt",(char *) "sz", NULL
20231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20233 if (!SWIG_IsOK(res1
)) {
20234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20239 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20243 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= SWIG_Py_Void();
20258 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
= 0;
20260 wxDC
*arg1
= (wxDC
*) 0 ;
20261 wxRegion
*arg2
= 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 char * kwnames
[] = {
20269 (char *) "self",(char *) "region", NULL
20272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) 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_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20279 if (!SWIG_IsOK(res2
)) {
20280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20285 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_Py_Void();
20299 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
= 0;
20301 wxDC
*arg1
= (wxDC
*) 0 ;
20306 PyObject
* obj0
= 0 ;
20307 PyObject
* obj1
= 0 ;
20308 char * kwnames
[] = {
20309 (char *) "self",(char *) "rect", NULL
20312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20314 if (!SWIG_IsOK(res1
)) {
20315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20320 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= SWIG_Py_Void();
20335 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
= 0;
20337 wxDC
*arg1
= (wxDC
*) 0 ;
20339 wxPoint
*arg3
= (wxPoint
*) 0 ;
20340 int arg4
= (int) 0 ;
20341 int arg5
= (int) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 PyObject
* obj2
= 0 ;
20351 PyObject
* obj3
= 0 ;
20352 char * kwnames
[] = {
20353 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20358 if (!SWIG_IsOK(res1
)) {
20359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20361 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20363 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20364 if (arg3
== NULL
) SWIG_fail
;
20367 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20368 if (!SWIG_IsOK(ecode4
)) {
20369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20371 arg4
= static_cast< int >(val4
);
20374 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20375 if (!SWIG_IsOK(ecode5
)) {
20376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20378 arg5
= static_cast< int >(val5
);
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 resultobj
= SWIG_Py_Void();
20388 if (arg3
) delete [] arg3
;
20393 if (arg3
) delete [] arg3
;
20399 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
= 0;
20401 wxDC
*arg1
= (wxDC
*) 0 ;
20403 wxPoint
*arg3
= (wxPoint
*) 0 ;
20404 int arg4
= (int) 0 ;
20405 int arg5
= (int) 0 ;
20406 int arg6
= (int) wxODDEVEN_RULE
;
20415 PyObject
* obj0
= 0 ;
20416 PyObject
* obj1
= 0 ;
20417 PyObject
* obj2
= 0 ;
20418 PyObject
* obj3
= 0 ;
20419 PyObject
* obj4
= 0 ;
20420 char * kwnames
[] = {
20421 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20426 if (!SWIG_IsOK(res1
)) {
20427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20431 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20432 if (arg3
== NULL
) SWIG_fail
;
20435 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20436 if (!SWIG_IsOK(ecode4
)) {
20437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20439 arg4
= static_cast< int >(val4
);
20442 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20443 if (!SWIG_IsOK(ecode5
)) {
20444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20446 arg5
= static_cast< int >(val5
);
20449 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20450 if (!SWIG_IsOK(ecode6
)) {
20451 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20453 arg6
= static_cast< int >(val6
);
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= SWIG_Py_Void();
20463 if (arg3
) delete [] arg3
;
20468 if (arg3
) delete [] arg3
;
20474 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
= 0;
20476 wxDC
*arg1
= (wxDC
*) 0 ;
20477 wxString
*arg2
= 0 ;
20479 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20480 int arg5
= (int) -1 ;
20483 bool temp2
= false ;
20489 PyObject
* obj0
= 0 ;
20490 PyObject
* obj1
= 0 ;
20491 PyObject
* obj2
= 0 ;
20492 PyObject
* obj3
= 0 ;
20493 PyObject
* obj4
= 0 ;
20494 char * kwnames
[] = {
20495 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20500 if (!SWIG_IsOK(res1
)) {
20501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20503 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20505 arg2
= wxString_in_helper(obj1
);
20506 if (arg2
== NULL
) SWIG_fail
;
20511 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20514 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20515 if (!SWIG_IsOK(ecode4
)) {
20516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20518 arg4
= static_cast< int >(val4
);
20521 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20522 if (!SWIG_IsOK(ecode5
)) {
20523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20525 arg5
= static_cast< int >(val5
);
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= SWIG_Py_Void();
20548 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
= 0;
20550 wxDC
*arg1
= (wxDC
*) 0 ;
20551 wxString
*arg2
= 0 ;
20552 wxBitmap
*arg3
= 0 ;
20554 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20555 int arg6
= (int) -1 ;
20559 bool temp2
= false ;
20567 PyObject
* obj0
= 0 ;
20568 PyObject
* obj1
= 0 ;
20569 PyObject
* obj2
= 0 ;
20570 PyObject
* obj3
= 0 ;
20571 PyObject
* obj4
= 0 ;
20572 PyObject
* obj5
= 0 ;
20573 char * kwnames
[] = {
20574 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20579 if (!SWIG_IsOK(res1
)) {
20580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20582 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20584 arg2
= wxString_in_helper(obj1
);
20585 if (arg2
== NULL
) SWIG_fail
;
20588 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20589 if (!SWIG_IsOK(res3
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20595 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20598 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20601 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20602 if (!SWIG_IsOK(ecode5
)) {
20603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20605 arg5
= static_cast< int >(val5
);
20608 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20609 if (!SWIG_IsOK(ecode6
)) {
20610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20612 arg6
= static_cast< int >(val6
);
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20635 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
= 0;
20637 wxDC
*arg1
= (wxDC
*) 0 ;
20639 wxPoint
*arg3
= (wxPoint
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 PyObject
* obj1
= 0 ;
20644 char * kwnames
[] = {
20645 (char *) "self",(char *) "points", NULL
20648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20650 if (!SWIG_IsOK(res1
)) {
20651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20655 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20656 if (arg3
== NULL
) SWIG_fail
;
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20660 (arg1
)->DrawSpline(arg2
,arg3
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 resultobj
= SWIG_Py_Void();
20666 if (arg3
) delete [] arg3
;
20671 if (arg3
) delete [] arg3
;
20677 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20678 PyObject
*resultobj
= 0;
20679 wxDC
*arg1
= (wxDC
*) 0 ;
20682 PyObject
*swig_obj
[1] ;
20684 if (!args
) SWIG_fail
;
20685 swig_obj
[0] = args
;
20686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20687 if (!SWIG_IsOK(res1
)) {
20688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= SWIG_Py_Void();
20704 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20705 PyObject
*resultobj
= 0;
20706 wxDC
*arg1
= (wxDC
*) 0 ;
20707 wxString
*arg2
= 0 ;
20711 bool temp2
= false ;
20712 PyObject
* obj0
= 0 ;
20713 PyObject
* obj1
= 0 ;
20714 char * kwnames
[] = {
20715 (char *) "self",(char *) "message", NULL
20718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20720 if (!SWIG_IsOK(res1
)) {
20721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20723 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20725 arg2
= wxString_in_helper(obj1
);
20726 if (arg2
== NULL
) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20752 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20753 PyObject
*resultobj
= 0;
20754 wxDC
*arg1
= (wxDC
*) 0 ;
20757 PyObject
*swig_obj
[1] ;
20759 if (!args
) SWIG_fail
;
20760 swig_obj
[0] = args
;
20761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20762 if (!SWIG_IsOK(res1
)) {
20763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= SWIG_Py_Void();
20779 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20780 PyObject
*resultobj
= 0;
20781 wxDC
*arg1
= (wxDC
*) 0 ;
20784 PyObject
*swig_obj
[1] ;
20786 if (!args
) SWIG_fail
;
20787 swig_obj
[0] = args
;
20788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20789 if (!SWIG_IsOK(res1
)) {
20790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 (arg1
)->StartPage();
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20799 resultobj
= SWIG_Py_Void();
20806 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20807 PyObject
*resultobj
= 0;
20808 wxDC
*arg1
= (wxDC
*) 0 ;
20811 PyObject
*swig_obj
[1] ;
20813 if (!args
) SWIG_fail
;
20814 swig_obj
[0] = args
;
20815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20816 if (!SWIG_IsOK(res1
)) {
20817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= SWIG_Py_Void();
20833 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
= 0;
20835 wxDC
*arg1
= (wxDC
*) 0 ;
20841 PyObject
* obj0
= 0 ;
20842 PyObject
* obj1
= 0 ;
20843 char * kwnames
[] = {
20844 (char *) "self",(char *) "font", NULL
20847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20849 if (!SWIG_IsOK(res1
)) {
20850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20854 if (!SWIG_IsOK(res2
)) {
20855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20860 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20863 (arg1
)->SetFont((wxFont
const &)*arg2
);
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= SWIG_Py_Void();
20874 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
= 0;
20876 wxDC
*arg1
= (wxDC
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 PyObject
* obj1
= 0 ;
20884 char * kwnames
[] = {
20885 (char *) "self",(char *) "pen", NULL
20888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20890 if (!SWIG_IsOK(res1
)) {
20891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20893 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20895 if (!SWIG_IsOK(res2
)) {
20896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20901 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 (arg1
)->SetPen((wxPen
const &)*arg2
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= SWIG_Py_Void();
20915 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
= 0;
20917 wxDC
*arg1
= (wxDC
*) 0 ;
20918 wxBrush
*arg2
= 0 ;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20925 char * kwnames
[] = {
20926 (char *) "self",(char *) "brush", NULL
20929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20931 if (!SWIG_IsOK(res1
)) {
20932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20935 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20936 if (!SWIG_IsOK(res2
)) {
20937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20942 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= SWIG_Py_Void();
20956 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
= 0;
20958 wxDC
*arg1
= (wxDC
*) 0 ;
20959 wxBrush
*arg2
= 0 ;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj1
= 0 ;
20966 char * kwnames
[] = {
20967 (char *) "self",(char *) "brush", NULL
20970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20972 if (!SWIG_IsOK(res1
)) {
20973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20977 if (!SWIG_IsOK(res2
)) {
20978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20983 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_Py_Void();
20997 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
= 0;
20999 wxDC
*arg1
= (wxDC
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 char * kwnames
[] = {
21008 (char *) "self",(char *) "mode", NULL
21011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21013 if (!SWIG_IsOK(res1
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21018 if (!SWIG_IsOK(ecode2
)) {
21019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21021 arg2
= static_cast< int >(val2
);
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 (arg1
)->SetBackgroundMode(arg2
);
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= SWIG_Py_Void();
21035 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
= 0;
21037 wxDC
*arg1
= (wxDC
*) 0 ;
21038 wxPalette
*arg2
= 0 ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 char * kwnames
[] = {
21046 (char *) "self",(char *) "palette", NULL
21049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21051 if (!SWIG_IsOK(res1
)) {
21052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21054 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21056 if (!SWIG_IsOK(res2
)) {
21057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21062 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= SWIG_Py_Void();
21076 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21077 PyObject
*resultobj
= 0;
21078 wxDC
*arg1
= (wxDC
*) 0 ;
21081 PyObject
*swig_obj
[1] ;
21083 if (!args
) SWIG_fail
;
21084 swig_obj
[0] = args
;
21085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21086 if (!SWIG_IsOK(res1
)) {
21087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 (arg1
)->DestroyClippingRegion();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_Py_Void();
21103 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21104 PyObject
*resultobj
= 0;
21105 wxDC
*arg1
= (wxDC
*) 0 ;
21106 int *arg2
= (int *) 0 ;
21107 int *arg3
= (int *) 0 ;
21108 int *arg4
= (int *) 0 ;
21109 int *arg5
= (int *) 0 ;
21113 int res2
= SWIG_TMPOBJ
;
21115 int res3
= SWIG_TMPOBJ
;
21117 int res4
= SWIG_TMPOBJ
;
21119 int res5
= SWIG_TMPOBJ
;
21120 PyObject
*swig_obj
[1] ;
21126 if (!args
) SWIG_fail
;
21127 swig_obj
[0] = args
;
21128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21129 if (!SWIG_IsOK(res1
)) {
21130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= SWIG_Py_Void();
21140 if (SWIG_IsTmpObj(res2
)) {
21141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21143 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21146 if (SWIG_IsTmpObj(res3
)) {
21147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21149 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21152 if (SWIG_IsTmpObj(res4
)) {
21153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21155 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21158 if (SWIG_IsTmpObj(res5
)) {
21159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21161 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21170 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21171 PyObject
*resultobj
= 0;
21172 wxDC
*arg1
= (wxDC
*) 0 ;
21176 PyObject
*swig_obj
[1] ;
21178 if (!args
) SWIG_fail
;
21179 swig_obj
[0] = args
;
21180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21181 if (!SWIG_IsOK(res1
)) {
21182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21184 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 result
= wxDC_GetClippingRect(arg1
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21198 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21199 PyObject
*resultobj
= 0;
21200 wxDC
*arg1
= (wxDC
*) 0 ;
21204 PyObject
*swig_obj
[1] ;
21206 if (!args
) SWIG_fail
;
21207 swig_obj
[0] = args
;
21208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21209 if (!SWIG_IsOK(res1
)) {
21210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21212 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= SWIG_From_int(static_cast< int >(result
));
21226 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21227 PyObject
*resultobj
= 0;
21228 wxDC
*arg1
= (wxDC
*) 0 ;
21232 PyObject
*swig_obj
[1] ;
21234 if (!args
) SWIG_fail
;
21235 swig_obj
[0] = args
;
21236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21237 if (!SWIG_IsOK(res1
)) {
21238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= SWIG_From_int(static_cast< int >(result
));
21254 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
= 0;
21256 wxDC
*arg1
= (wxDC
*) 0 ;
21257 wxString
*arg2
= 0 ;
21258 int *arg3
= (int *) 0 ;
21259 int *arg4
= (int *) 0 ;
21262 bool temp2
= false ;
21264 int res3
= SWIG_TMPOBJ
;
21266 int res4
= SWIG_TMPOBJ
;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 char * kwnames
[] = {
21270 (char *) "self",(char *) "string", NULL
21275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21277 if (!SWIG_IsOK(res1
)) {
21278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21282 arg2
= wxString_in_helper(obj1
);
21283 if (arg2
== NULL
) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= SWIG_Py_Void();
21293 if (SWIG_IsTmpObj(res3
)) {
21294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21296 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21299 if (SWIG_IsTmpObj(res4
)) {
21300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21302 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21319 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
= 0;
21321 wxDC
*arg1
= (wxDC
*) 0 ;
21322 wxString
*arg2
= 0 ;
21323 int *arg3
= (int *) 0 ;
21324 int *arg4
= (int *) 0 ;
21325 int *arg5
= (int *) 0 ;
21326 int *arg6
= (int *) 0 ;
21327 wxFont
*arg7
= (wxFont
*) NULL
;
21330 bool temp2
= false ;
21332 int res3
= SWIG_TMPOBJ
;
21334 int res4
= SWIG_TMPOBJ
;
21336 int res5
= SWIG_TMPOBJ
;
21338 int res6
= SWIG_TMPOBJ
;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 PyObject
* obj2
= 0 ;
21344 char * kwnames
[] = {
21345 (char *) "self",(char *) "string",(char *) "font", NULL
21352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21354 if (!SWIG_IsOK(res1
)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21357 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21359 arg2
= wxString_in_helper(obj1
);
21360 if (arg2
== NULL
) SWIG_fail
;
21364 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21365 if (!SWIG_IsOK(res7
)) {
21366 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21368 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= SWIG_Py_Void();
21377 if (SWIG_IsTmpObj(res3
)) {
21378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21380 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21383 if (SWIG_IsTmpObj(res4
)) {
21384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21386 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21389 if (SWIG_IsTmpObj(res5
)) {
21390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21392 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21395 if (SWIG_IsTmpObj(res6
)) {
21396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21398 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21415 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
= 0;
21417 wxDC
*arg1
= (wxDC
*) 0 ;
21418 wxString
*arg2
= 0 ;
21419 int *arg3
= (int *) 0 ;
21420 int *arg4
= (int *) 0 ;
21421 int *arg5
= (int *) 0 ;
21422 wxFont
*arg6
= (wxFont
*) NULL
;
21425 bool temp2
= false ;
21427 int res3
= SWIG_TMPOBJ
;
21429 int res4
= SWIG_TMPOBJ
;
21431 int res5
= SWIG_TMPOBJ
;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 PyObject
* obj2
= 0 ;
21437 char * kwnames
[] = {
21438 (char *) "self",(char *) "text",(char *) "font", NULL
21444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21446 if (!SWIG_IsOK(res1
)) {
21447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21451 arg2
= wxString_in_helper(obj1
);
21452 if (arg2
== NULL
) SWIG_fail
;
21456 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21457 if (!SWIG_IsOK(res6
)) {
21458 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21460 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_Py_Void();
21469 if (SWIG_IsTmpObj(res3
)) {
21470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21472 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21475 if (SWIG_IsTmpObj(res4
)) {
21476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21478 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21481 if (SWIG_IsTmpObj(res5
)) {
21482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21484 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21501 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
= 0;
21503 wxDC
*arg1
= (wxDC
*) 0 ;
21504 wxString
*arg2
= 0 ;
21508 bool temp2
= false ;
21509 PyObject
* obj0
= 0 ;
21510 PyObject
* obj1
= 0 ;
21511 char * kwnames
[] = {
21512 (char *) "self",(char *) "text", NULL
21515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21517 if (!SWIG_IsOK(res1
)) {
21518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21520 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21522 arg2
= wxString_in_helper(obj1
);
21523 if (arg2
== NULL
) SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= wxArrayInt2PyList_helper(result
);
21549 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21550 PyObject
*resultobj
= 0;
21551 wxDC
*arg1
= (wxDC
*) 0 ;
21555 PyObject
*swig_obj
[1] ;
21557 if (!args
) SWIG_fail
;
21558 swig_obj
[0] = args
;
21559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21560 if (!SWIG_IsOK(res1
)) {
21561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 result
= (arg1
)->GetSize();
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21577 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21578 PyObject
*resultobj
= 0;
21579 wxDC
*arg1
= (wxDC
*) 0 ;
21580 int *arg2
= (int *) 0 ;
21581 int *arg3
= (int *) 0 ;
21585 int res2
= SWIG_TMPOBJ
;
21587 int res3
= SWIG_TMPOBJ
;
21588 PyObject
*swig_obj
[1] ;
21592 if (!args
) SWIG_fail
;
21593 swig_obj
[0] = args
;
21594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21595 if (!SWIG_IsOK(res1
)) {
21596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 (arg1
)->GetSize(arg2
,arg3
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= SWIG_Py_Void();
21606 if (SWIG_IsTmpObj(res2
)) {
21607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21609 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21612 if (SWIG_IsTmpObj(res3
)) {
21613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21615 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21624 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21625 PyObject
*resultobj
= 0;
21626 wxDC
*arg1
= (wxDC
*) 0 ;
21630 PyObject
*swig_obj
[1] ;
21632 if (!args
) SWIG_fail
;
21633 swig_obj
[0] = args
;
21634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21635 if (!SWIG_IsOK(res1
)) {
21636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21652 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21653 PyObject
*resultobj
= 0;
21654 wxDC
*arg1
= (wxDC
*) 0 ;
21655 int *arg2
= (int *) 0 ;
21656 int *arg3
= (int *) 0 ;
21660 int res2
= SWIG_TMPOBJ
;
21662 int res3
= SWIG_TMPOBJ
;
21663 PyObject
*swig_obj
[1] ;
21667 if (!args
) SWIG_fail
;
21668 swig_obj
[0] = args
;
21669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21670 if (!SWIG_IsOK(res1
)) {
21671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 resultobj
= SWIG_Py_Void();
21681 if (SWIG_IsTmpObj(res2
)) {
21682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21684 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21687 if (SWIG_IsTmpObj(res3
)) {
21688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21690 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21699 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21700 PyObject
*resultobj
= 0;
21701 wxDC
*arg1
= (wxDC
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 PyObject
* obj1
= 0 ;
21710 char * kwnames
[] = {
21711 (char *) "self",(char *) "x", NULL
21714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21716 if (!SWIG_IsOK(res1
)) {
21717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21719 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21721 if (!SWIG_IsOK(ecode2
)) {
21722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21724 arg2
= static_cast< int >(val2
);
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= SWIG_From_int(static_cast< int >(result
));
21738 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
= 0;
21740 wxDC
*arg1
= (wxDC
*) 0 ;
21747 PyObject
* obj0
= 0 ;
21748 PyObject
* obj1
= 0 ;
21749 char * kwnames
[] = {
21750 (char *) "self",(char *) "y", NULL
21753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21755 if (!SWIG_IsOK(res1
)) {
21756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21760 if (!SWIG_IsOK(ecode2
)) {
21761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21763 arg2
= static_cast< int >(val2
);
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= SWIG_From_int(static_cast< int >(result
));
21777 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
= 0;
21779 wxDC
*arg1
= (wxDC
*) 0 ;
21786 PyObject
* obj0
= 0 ;
21787 PyObject
* obj1
= 0 ;
21788 char * kwnames
[] = {
21789 (char *) "self",(char *) "x", NULL
21792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21799 if (!SWIG_IsOK(ecode2
)) {
21800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21802 arg2
= static_cast< int >(val2
);
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= SWIG_From_int(static_cast< int >(result
));
21816 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
= 0;
21818 wxDC
*arg1
= (wxDC
*) 0 ;
21825 PyObject
* obj0
= 0 ;
21826 PyObject
* obj1
= 0 ;
21827 char * kwnames
[] = {
21828 (char *) "self",(char *) "y", NULL
21831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21833 if (!SWIG_IsOK(res1
)) {
21834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21838 if (!SWIG_IsOK(ecode2
)) {
21839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21841 arg2
= static_cast< int >(val2
);
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= SWIG_From_int(static_cast< int >(result
));
21855 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
= 0;
21857 wxDC
*arg1
= (wxDC
*) 0 ;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 char * kwnames
[] = {
21867 (char *) "self",(char *) "x", NULL
21870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21872 if (!SWIG_IsOK(res1
)) {
21873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21877 if (!SWIG_IsOK(ecode2
)) {
21878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21880 arg2
= static_cast< int >(val2
);
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= SWIG_From_int(static_cast< int >(result
));
21894 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21895 PyObject
*resultobj
= 0;
21896 wxDC
*arg1
= (wxDC
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 char * kwnames
[] = {
21906 (char *) "self",(char *) "y", NULL
21909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21911 if (!SWIG_IsOK(res1
)) {
21912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21916 if (!SWIG_IsOK(ecode2
)) {
21917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21919 arg2
= static_cast< int >(val2
);
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= SWIG_From_int(static_cast< int >(result
));
21933 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
= 0;
21935 wxDC
*arg1
= (wxDC
*) 0 ;
21942 PyObject
* obj0
= 0 ;
21943 PyObject
* obj1
= 0 ;
21944 char * kwnames
[] = {
21945 (char *) "self",(char *) "x", NULL
21948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21950 if (!SWIG_IsOK(res1
)) {
21951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21955 if (!SWIG_IsOK(ecode2
)) {
21956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21958 arg2
= static_cast< int >(val2
);
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= SWIG_From_int(static_cast< int >(result
));
21972 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
= 0;
21974 wxDC
*arg1
= (wxDC
*) 0 ;
21981 PyObject
* obj0
= 0 ;
21982 PyObject
* obj1
= 0 ;
21983 char * kwnames
[] = {
21984 (char *) "self",(char *) "y", NULL
21987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21989 if (!SWIG_IsOK(res1
)) {
21990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21994 if (!SWIG_IsOK(ecode2
)) {
21995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21997 arg2
= static_cast< int >(val2
);
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= SWIG_From_int(static_cast< int >(result
));
22011 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22012 PyObject
*resultobj
= 0;
22013 wxDC
*arg1
= (wxDC
*) 0 ;
22017 PyObject
*swig_obj
[1] ;
22019 if (!args
) SWIG_fail
;
22020 swig_obj
[0] = args
;
22021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22022 if (!SWIG_IsOK(res1
)) {
22023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22041 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22042 PyObject
*resultobj
= 0;
22043 wxDC
*arg1
= (wxDC
*) 0 ;
22047 PyObject
*swig_obj
[1] ;
22049 if (!args
) SWIG_fail
;
22050 swig_obj
[0] = args
;
22051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22052 if (!SWIG_IsOK(res1
)) {
22053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22071 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22072 PyObject
*resultobj
= 0;
22073 wxDC
*arg1
= (wxDC
*) 0 ;
22077 PyObject
*swig_obj
[1] ;
22079 if (!args
) SWIG_fail
;
22080 swig_obj
[0] = args
;
22081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22082 if (!SWIG_IsOK(res1
)) {
22083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 resultobj
= SWIG_From_int(static_cast< int >(result
));
22099 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22100 PyObject
*resultobj
= 0;
22101 wxDC
*arg1
= (wxDC
*) 0 ;
22105 PyObject
*swig_obj
[1] ;
22107 if (!args
) SWIG_fail
;
22108 swig_obj
[0] = args
;
22109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22110 if (!SWIG_IsOK(res1
)) {
22111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= ((wxDC
const *)arg1
)->GetPPI();
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22127 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22128 PyObject
*resultobj
= 0;
22129 wxDC
*arg1
= (wxDC
*) 0 ;
22133 PyObject
*swig_obj
[1] ;
22135 if (!args
) SWIG_fail
;
22136 swig_obj
[0] = args
;
22137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22138 if (!SWIG_IsOK(res1
)) {
22139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22157 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22158 PyObject
*resultobj
= 0;
22159 wxDC
*arg1
= (wxDC
*) 0 ;
22163 PyObject
*swig_obj
[1] ;
22165 if (!args
) SWIG_fail
;
22166 swig_obj
[0] = args
;
22167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22168 if (!SWIG_IsOK(res1
)) {
22169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22175 wxPyEndAllowThreads(__tstate
);
22176 if (PyErr_Occurred()) SWIG_fail
;
22178 resultobj
= SWIG_From_int(static_cast< int >(result
));
22185 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22186 PyObject
*resultobj
= 0;
22187 wxDC
*arg1
= (wxDC
*) 0 ;
22188 wxBrush
*result
= 0 ;
22191 PyObject
*swig_obj
[1] ;
22193 if (!args
) SWIG_fail
;
22194 swig_obj
[0] = args
;
22195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22196 if (!SWIG_IsOK(res1
)) {
22197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22204 result
= (wxBrush
*) &_result_ref
;
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22210 wxBrush
* resultptr
= new wxBrush(*result
);
22211 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22219 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22220 PyObject
*resultobj
= 0;
22221 wxDC
*arg1
= (wxDC
*) 0 ;
22222 wxBrush
*result
= 0 ;
22225 PyObject
*swig_obj
[1] ;
22227 if (!args
) SWIG_fail
;
22228 swig_obj
[0] = args
;
22229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22230 if (!SWIG_IsOK(res1
)) {
22231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22238 result
= (wxBrush
*) &_result_ref
;
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 wxBrush
* resultptr
= new wxBrush(*result
);
22245 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22253 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22254 PyObject
*resultobj
= 0;
22255 wxDC
*arg1
= (wxDC
*) 0 ;
22256 wxFont
*result
= 0 ;
22259 PyObject
*swig_obj
[1] ;
22261 if (!args
) SWIG_fail
;
22262 swig_obj
[0] = args
;
22263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22264 if (!SWIG_IsOK(res1
)) {
22265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22272 result
= (wxFont
*) &_result_ref
;
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22278 wxFont
* resultptr
= new wxFont(*result
);
22279 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22287 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22288 PyObject
*resultobj
= 0;
22289 wxDC
*arg1
= (wxDC
*) 0 ;
22290 wxPen
*result
= 0 ;
22293 PyObject
*swig_obj
[1] ;
22295 if (!args
) SWIG_fail
;
22296 swig_obj
[0] = args
;
22297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22298 if (!SWIG_IsOK(res1
)) {
22299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22306 result
= (wxPen
*) &_result_ref
;
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22312 wxPen
* resultptr
= new wxPen(*result
);
22313 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22321 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22322 PyObject
*resultobj
= 0;
22323 wxDC
*arg1
= (wxDC
*) 0 ;
22324 wxColour
*result
= 0 ;
22327 PyObject
*swig_obj
[1] ;
22329 if (!args
) SWIG_fail
;
22330 swig_obj
[0] = args
;
22331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22332 if (!SWIG_IsOK(res1
)) {
22333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22340 result
= (wxColour
*) &_result_ref
;
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22352 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22353 PyObject
*resultobj
= 0;
22354 wxDC
*arg1
= (wxDC
*) 0 ;
22355 wxColour
*result
= 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_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22366 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22371 result
= (wxColour
*) &_result_ref
;
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22383 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
= 0;
22385 wxDC
*arg1
= (wxDC
*) 0 ;
22386 wxColour
*arg2
= 0 ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 char * kwnames
[] = {
22393 (char *) "self",(char *) "colour", NULL
22396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22398 if (!SWIG_IsOK(res1
)) {
22399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22404 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= SWIG_Py_Void();
22419 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
= 0;
22421 wxDC
*arg1
= (wxDC
*) 0 ;
22422 wxColour
*arg2
= 0 ;
22426 PyObject
* obj0
= 0 ;
22427 PyObject
* obj1
= 0 ;
22428 char * kwnames
[] = {
22429 (char *) "self",(char *) "colour", NULL
22432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22434 if (!SWIG_IsOK(res1
)) {
22435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22440 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_Py_Void();
22455 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22456 PyObject
*resultobj
= 0;
22457 wxDC
*arg1
= (wxDC
*) 0 ;
22461 PyObject
*swig_obj
[1] ;
22463 if (!args
) SWIG_fail
;
22464 swig_obj
[0] = args
;
22465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22466 if (!SWIG_IsOK(res1
)) {
22467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= SWIG_From_int(static_cast< int >(result
));
22483 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
= 0;
22485 wxDC
*arg1
= (wxDC
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 PyObject
* obj1
= 0 ;
22493 char * kwnames
[] = {
22494 (char *) "self",(char *) "mode", NULL
22497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22499 if (!SWIG_IsOK(res1
)) {
22500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22504 if (!SWIG_IsOK(ecode2
)) {
22505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22507 arg2
= static_cast< int >(val2
);
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 (arg1
)->SetMapMode(arg2
);
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 resultobj
= SWIG_Py_Void();
22521 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22522 PyObject
*resultobj
= 0;
22523 wxDC
*arg1
= (wxDC
*) 0 ;
22524 double *arg2
= (double *) 0 ;
22525 double *arg3
= (double *) 0 ;
22529 int res2
= SWIG_TMPOBJ
;
22531 int res3
= SWIG_TMPOBJ
;
22532 PyObject
*swig_obj
[1] ;
22536 if (!args
) SWIG_fail
;
22537 swig_obj
[0] = args
;
22538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22539 if (!SWIG_IsOK(res1
)) {
22540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_Py_Void();
22550 if (SWIG_IsTmpObj(res2
)) {
22551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22553 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22556 if (SWIG_IsTmpObj(res3
)) {
22557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22559 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22568 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
= 0;
22570 wxDC
*arg1
= (wxDC
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 PyObject
* obj2
= 0 ;
22582 char * kwnames
[] = {
22583 (char *) "self",(char *) "x",(char *) "y", NULL
22586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22592 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22593 if (!SWIG_IsOK(ecode2
)) {
22594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22596 arg2
= static_cast< double >(val2
);
22597 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22598 if (!SWIG_IsOK(ecode3
)) {
22599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22601 arg3
= static_cast< double >(val3
);
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->SetUserScale(arg2
,arg3
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_Py_Void();
22615 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22616 PyObject
*resultobj
= 0;
22617 wxDC
*arg1
= (wxDC
*) 0 ;
22618 double *arg2
= (double *) 0 ;
22619 double *arg3
= (double *) 0 ;
22623 int res2
= SWIG_TMPOBJ
;
22625 int res3
= SWIG_TMPOBJ
;
22626 PyObject
*swig_obj
[1] ;
22630 if (!args
) SWIG_fail
;
22631 swig_obj
[0] = args
;
22632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22633 if (!SWIG_IsOK(res1
)) {
22634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 (arg1
)->GetLogicalScale(arg2
,arg3
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 resultobj
= SWIG_Py_Void();
22644 if (SWIG_IsTmpObj(res2
)) {
22645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22647 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22650 if (SWIG_IsTmpObj(res3
)) {
22651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22653 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22662 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22663 PyObject
*resultobj
= 0;
22664 wxDC
*arg1
= (wxDC
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 PyObject
* obj2
= 0 ;
22676 char * kwnames
[] = {
22677 (char *) "self",(char *) "x",(char *) "y", NULL
22680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22682 if (!SWIG_IsOK(res1
)) {
22683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22685 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22686 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22687 if (!SWIG_IsOK(ecode2
)) {
22688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22690 arg2
= static_cast< double >(val2
);
22691 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22692 if (!SWIG_IsOK(ecode3
)) {
22693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22695 arg3
= static_cast< double >(val3
);
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 (arg1
)->SetLogicalScale(arg2
,arg3
);
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= SWIG_Py_Void();
22709 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22710 PyObject
*resultobj
= 0;
22711 wxDC
*arg1
= (wxDC
*) 0 ;
22715 PyObject
*swig_obj
[1] ;
22717 if (!args
) SWIG_fail
;
22718 swig_obj
[0] = args
;
22719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22720 if (!SWIG_IsOK(res1
)) {
22721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22723 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22737 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22738 PyObject
*resultobj
= 0;
22739 wxDC
*arg1
= (wxDC
*) 0 ;
22740 int *arg2
= (int *) 0 ;
22741 int *arg3
= (int *) 0 ;
22745 int res2
= SWIG_TMPOBJ
;
22747 int res3
= SWIG_TMPOBJ
;
22748 PyObject
*swig_obj
[1] ;
22752 if (!args
) SWIG_fail
;
22753 swig_obj
[0] = args
;
22754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22755 if (!SWIG_IsOK(res1
)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= SWIG_Py_Void();
22766 if (SWIG_IsTmpObj(res2
)) {
22767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22769 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22772 if (SWIG_IsTmpObj(res3
)) {
22773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22775 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22784 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
= 0;
22786 wxDC
*arg1
= (wxDC
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 PyObject
* obj2
= 0 ;
22798 char * kwnames
[] = {
22799 (char *) "self",(char *) "x",(char *) "y", NULL
22802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22804 if (!SWIG_IsOK(res1
)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22809 if (!SWIG_IsOK(ecode2
)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22812 arg2
= static_cast< int >(val2
);
22813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22814 if (!SWIG_IsOK(ecode3
)) {
22815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22817 arg3
= static_cast< int >(val3
);
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= SWIG_Py_Void();
22831 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
= 0;
22833 wxDC
*arg1
= (wxDC
*) 0 ;
22834 wxPoint
*arg2
= 0 ;
22838 PyObject
* obj0
= 0 ;
22839 PyObject
* obj1
= 0 ;
22840 char * kwnames
[] = {
22841 (char *) "self",(char *) "point", NULL
22844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22846 if (!SWIG_IsOK(res1
)) {
22847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22852 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 resultobj
= SWIG_Py_Void();
22867 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22868 PyObject
*resultobj
= 0;
22869 wxDC
*arg1
= (wxDC
*) 0 ;
22873 PyObject
*swig_obj
[1] ;
22875 if (!args
) SWIG_fail
;
22876 swig_obj
[0] = args
;
22877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22878 if (!SWIG_IsOK(res1
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22895 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22896 PyObject
*resultobj
= 0;
22897 wxDC
*arg1
= (wxDC
*) 0 ;
22898 int *arg2
= (int *) 0 ;
22899 int *arg3
= (int *) 0 ;
22903 int res2
= SWIG_TMPOBJ
;
22905 int res3
= SWIG_TMPOBJ
;
22906 PyObject
*swig_obj
[1] ;
22910 if (!args
) SWIG_fail
;
22911 swig_obj
[0] = args
;
22912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22913 if (!SWIG_IsOK(res1
)) {
22914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 resultobj
= SWIG_Py_Void();
22924 if (SWIG_IsTmpObj(res2
)) {
22925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22927 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22930 if (SWIG_IsTmpObj(res3
)) {
22931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22933 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22942 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
= 0;
22944 wxDC
*arg1
= (wxDC
*) 0 ;
22953 PyObject
* obj0
= 0 ;
22954 PyObject
* obj1
= 0 ;
22955 PyObject
* obj2
= 0 ;
22956 char * kwnames
[] = {
22957 (char *) "self",(char *) "x",(char *) "y", NULL
22960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22962 if (!SWIG_IsOK(res1
)) {
22963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22967 if (!SWIG_IsOK(ecode2
)) {
22968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22970 arg2
= static_cast< int >(val2
);
22971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22972 if (!SWIG_IsOK(ecode3
)) {
22973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22975 arg3
= static_cast< int >(val3
);
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_Py_Void();
22989 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
= 0;
22991 wxDC
*arg1
= (wxDC
*) 0 ;
22992 wxPoint
*arg2
= 0 ;
22996 PyObject
* obj0
= 0 ;
22997 PyObject
* obj1
= 0 ;
22998 char * kwnames
[] = {
22999 (char *) "self",(char *) "point", NULL
23002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23004 if (!SWIG_IsOK(res1
)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23010 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 resultobj
= SWIG_Py_Void();
23025 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23026 PyObject
*resultobj
= 0;
23027 wxDC
*arg1
= (wxDC
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 PyObject
* obj2
= 0 ;
23039 char * kwnames
[] = {
23040 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23045 if (!SWIG_IsOK(res1
)) {
23046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23048 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23049 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23050 if (!SWIG_IsOK(ecode2
)) {
23051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23053 arg2
= static_cast< bool >(val2
);
23054 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23055 if (!SWIG_IsOK(ecode3
)) {
23056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23058 arg3
= static_cast< bool >(val3
);
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= SWIG_Py_Void();
23072 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23073 PyObject
*resultobj
= 0;
23074 wxDC
*arg1
= (wxDC
*) 0 ;
23078 PyObject
*swig_obj
[1] ;
23080 if (!args
) SWIG_fail
;
23081 swig_obj
[0] = args
;
23082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23083 if (!SWIG_IsOK(res1
)) {
23084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= SWIG_From_int(static_cast< int >(result
));
23100 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
= 0;
23102 wxDC
*arg1
= (wxDC
*) 0 ;
23108 PyObject
* obj0
= 0 ;
23109 PyObject
* obj1
= 0 ;
23110 char * kwnames
[] = {
23111 (char *) "self",(char *) "function", NULL
23114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23116 if (!SWIG_IsOK(res1
)) {
23117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23121 if (!SWIG_IsOK(ecode2
)) {
23122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23124 arg2
= static_cast< int >(val2
);
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 (arg1
)->SetLogicalFunction(arg2
);
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_Py_Void();
23138 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23139 PyObject
*resultobj
= 0;
23140 wxDC
*arg1
= (wxDC
*) 0 ;
23143 PyObject
*swig_obj
[1] ;
23145 if (!args
) SWIG_fail
;
23146 swig_obj
[0] = args
;
23147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 (arg1
)->ComputeScaleAndOrigin();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_Py_Void();
23165 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
= 0;
23167 wxDC
*arg1
= (wxDC
*) 0 ;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 PyObject
* obj2
= 0 ;
23179 char * kwnames
[] = {
23180 (char *) "self",(char *) "x",(char *) "y", NULL
23183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23185 if (!SWIG_IsOK(res1
)) {
23186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23190 if (!SWIG_IsOK(ecode2
)) {
23191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23193 arg2
= static_cast< int >(val2
);
23194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23195 if (!SWIG_IsOK(ecode3
)) {
23196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23198 arg3
= static_cast< int >(val3
);
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= SWIG_Py_Void();
23212 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
= 0;
23214 wxDC
*arg1
= (wxDC
*) 0 ;
23215 wxPoint
*arg2
= 0 ;
23219 PyObject
* obj0
= 0 ;
23220 PyObject
* obj1
= 0 ;
23221 char * kwnames
[] = {
23222 (char *) "self",(char *) "point", NULL
23225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23227 if (!SWIG_IsOK(res1
)) {
23228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23233 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= SWIG_Py_Void();
23248 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23249 PyObject
*resultobj
= 0;
23250 wxDC
*arg1
= (wxDC
*) 0 ;
23253 PyObject
*swig_obj
[1] ;
23255 if (!args
) SWIG_fail
;
23256 swig_obj
[0] = args
;
23257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23258 if (!SWIG_IsOK(res1
)) {
23259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 (arg1
)->ResetBoundingBox();
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= SWIG_Py_Void();
23275 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23276 PyObject
*resultobj
= 0;
23277 wxDC
*arg1
= (wxDC
*) 0 ;
23281 PyObject
*swig_obj
[1] ;
23283 if (!args
) SWIG_fail
;
23284 swig_obj
[0] = args
;
23285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23286 if (!SWIG_IsOK(res1
)) {
23287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 result
= (int)((wxDC
const *)arg1
)->MinX();
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_From_int(static_cast< int >(result
));
23303 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23304 PyObject
*resultobj
= 0;
23305 wxDC
*arg1
= (wxDC
*) 0 ;
23309 PyObject
*swig_obj
[1] ;
23311 if (!args
) SWIG_fail
;
23312 swig_obj
[0] = args
;
23313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23314 if (!SWIG_IsOK(res1
)) {
23315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 result
= (int)((wxDC
const *)arg1
)->MaxX();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_From_int(static_cast< int >(result
));
23331 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23332 PyObject
*resultobj
= 0;
23333 wxDC
*arg1
= (wxDC
*) 0 ;
23337 PyObject
*swig_obj
[1] ;
23339 if (!args
) SWIG_fail
;
23340 swig_obj
[0] = args
;
23341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= (int)((wxDC
const *)arg1
)->MinY();
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_From_int(static_cast< int >(result
));
23359 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23360 PyObject
*resultobj
= 0;
23361 wxDC
*arg1
= (wxDC
*) 0 ;
23365 PyObject
*swig_obj
[1] ;
23367 if (!args
) SWIG_fail
;
23368 swig_obj
[0] = args
;
23369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23370 if (!SWIG_IsOK(res1
)) {
23371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (int)((wxDC
const *)arg1
)->MaxY();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_From_int(static_cast< int >(result
));
23387 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23388 PyObject
*resultobj
= 0;
23389 wxDC
*arg1
= (wxDC
*) 0 ;
23390 int *arg2
= (int *) 0 ;
23391 int *arg3
= (int *) 0 ;
23392 int *arg4
= (int *) 0 ;
23393 int *arg5
= (int *) 0 ;
23397 int res2
= SWIG_TMPOBJ
;
23399 int res3
= SWIG_TMPOBJ
;
23401 int res4
= SWIG_TMPOBJ
;
23403 int res5
= SWIG_TMPOBJ
;
23404 PyObject
*swig_obj
[1] ;
23410 if (!args
) SWIG_fail
;
23411 swig_obj
[0] = args
;
23412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23413 if (!SWIG_IsOK(res1
)) {
23414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_Py_Void();
23424 if (SWIG_IsTmpObj(res2
)) {
23425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23427 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23430 if (SWIG_IsTmpObj(res3
)) {
23431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23433 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23436 if (SWIG_IsTmpObj(res4
)) {
23437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23439 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23442 if (SWIG_IsTmpObj(res5
)) {
23443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23445 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23454 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23455 PyObject
*resultobj
= 0;
23456 wxDC
*arg1
= (wxDC
*) 0 ;
23457 wxLayoutDirection result
;
23460 PyObject
*swig_obj
[1] ;
23462 if (!args
) SWIG_fail
;
23463 swig_obj
[0] = args
;
23464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23465 if (!SWIG_IsOK(res1
)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 resultobj
= SWIG_From_int(static_cast< int >(result
));
23482 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
= 0;
23484 wxDC
*arg1
= (wxDC
*) 0 ;
23485 wxLayoutDirection arg2
;
23490 PyObject
* obj0
= 0 ;
23491 PyObject
* obj1
= 0 ;
23492 char * kwnames
[] = {
23493 (char *) "self",(char *) "dir", NULL
23496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23498 if (!SWIG_IsOK(res1
)) {
23499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23503 if (!SWIG_IsOK(ecode2
)) {
23504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23506 arg2
= static_cast< wxLayoutDirection
>(val2
);
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 (arg1
)->SetLayoutDirection(arg2
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 resultobj
= SWIG_Py_Void();
23520 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
= 0;
23522 wxDC
*arg1
= (wxDC
*) 0 ;
23523 PyObject
*arg2
= (PyObject
*) 0 ;
23524 PyObject
*arg3
= (PyObject
*) 0 ;
23525 PyObject
*arg4
= (PyObject
*) 0 ;
23526 PyObject
*result
= 0 ;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 PyObject
* obj2
= 0 ;
23532 PyObject
* obj3
= 0 ;
23533 char * kwnames
[] = {
23534 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23539 if (!SWIG_IsOK(res1
)) {
23540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= result
;
23559 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
= 0;
23561 wxDC
*arg1
= (wxDC
*) 0 ;
23562 PyObject
*arg2
= (PyObject
*) 0 ;
23563 PyObject
*arg3
= (PyObject
*) 0 ;
23564 PyObject
*arg4
= (PyObject
*) 0 ;
23565 PyObject
*result
= 0 ;
23568 PyObject
* obj0
= 0 ;
23569 PyObject
* obj1
= 0 ;
23570 PyObject
* obj2
= 0 ;
23571 PyObject
* obj3
= 0 ;
23572 char * kwnames
[] = {
23573 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23578 if (!SWIG_IsOK(res1
)) {
23579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= result
;
23598 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
= 0;
23600 wxDC
*arg1
= (wxDC
*) 0 ;
23601 PyObject
*arg2
= (PyObject
*) 0 ;
23602 PyObject
*arg3
= (PyObject
*) 0 ;
23603 PyObject
*arg4
= (PyObject
*) 0 ;
23604 PyObject
*result
= 0 ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 PyObject
* obj2
= 0 ;
23610 PyObject
* obj3
= 0 ;
23611 char * kwnames
[] = {
23612 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23617 if (!SWIG_IsOK(res1
)) {
23618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= result
;
23637 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
= 0;
23639 wxDC
*arg1
= (wxDC
*) 0 ;
23640 PyObject
*arg2
= (PyObject
*) 0 ;
23641 PyObject
*arg3
= (PyObject
*) 0 ;
23642 PyObject
*arg4
= (PyObject
*) 0 ;
23643 PyObject
*result
= 0 ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 PyObject
* obj2
= 0 ;
23649 PyObject
* obj3
= 0 ;
23650 char * kwnames
[] = {
23651 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23656 if (!SWIG_IsOK(res1
)) {
23657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= result
;
23676 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
= 0;
23678 wxDC
*arg1
= (wxDC
*) 0 ;
23679 PyObject
*arg2
= (PyObject
*) 0 ;
23680 PyObject
*arg3
= (PyObject
*) 0 ;
23681 PyObject
*arg4
= (PyObject
*) 0 ;
23682 PyObject
*result
= 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 PyObject
* obj2
= 0 ;
23688 PyObject
* obj3
= 0 ;
23689 char * kwnames
[] = {
23690 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23695 if (!SWIG_IsOK(res1
)) {
23696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23698 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= result
;
23715 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
= 0;
23717 wxDC
*arg1
= (wxDC
*) 0 ;
23718 PyObject
*arg2
= (PyObject
*) 0 ;
23719 PyObject
*arg3
= (PyObject
*) 0 ;
23720 PyObject
*arg4
= (PyObject
*) 0 ;
23721 PyObject
*arg5
= (PyObject
*) 0 ;
23722 PyObject
*result
= 0 ;
23725 PyObject
* obj0
= 0 ;
23726 PyObject
* obj1
= 0 ;
23727 PyObject
* obj2
= 0 ;
23728 PyObject
* obj3
= 0 ;
23729 PyObject
* obj4
= 0 ;
23730 char * kwnames
[] = {
23731 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23736 if (!SWIG_IsOK(res1
)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= result
;
23757 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23760 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23761 return SWIG_Py_Void();
23764 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
= 0;
23767 wxColour
*arg2
= 0 ;
23768 wxDCTextColourChanger
*result
= 0 ;
23772 PyObject
* obj0
= 0 ;
23773 PyObject
* obj1
= 0 ;
23774 char * kwnames
[] = {
23775 (char *) "dc",(char *) "col", NULL
23778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23779 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23780 if (!SWIG_IsOK(res1
)) {
23781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23789 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23804 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23805 PyObject
*resultobj
= 0;
23806 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23809 PyObject
*swig_obj
[1] ;
23811 if (!args
) SWIG_fail
;
23812 swig_obj
[0] = args
;
23813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23814 if (!SWIG_IsOK(res1
)) {
23815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23817 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= SWIG_Py_Void();
23832 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23835 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23836 return SWIG_Py_Void();
23839 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23840 return SWIG_Python_InitShadowInstance(args
);
23843 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
= 0;
23847 wxDCPenChanger
*result
= 0 ;
23852 PyObject
* obj0
= 0 ;
23853 PyObject
* obj1
= 0 ;
23854 char * kwnames
[] = {
23855 (char *) "dc",(char *) "pen", NULL
23858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23859 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23860 if (!SWIG_IsOK(res1
)) {
23861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23866 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23868 if (!SWIG_IsOK(res2
)) {
23869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23874 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23888 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23889 PyObject
*resultobj
= 0;
23890 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23893 PyObject
*swig_obj
[1] ;
23895 if (!args
) SWIG_fail
;
23896 swig_obj
[0] = args
;
23897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23898 if (!SWIG_IsOK(res1
)) {
23899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23901 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 resultobj
= SWIG_Py_Void();
23916 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23919 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23920 return SWIG_Py_Void();
23923 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23924 return SWIG_Python_InitShadowInstance(args
);
23927 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
= 0;
23930 wxBrush
*arg2
= 0 ;
23931 wxDCBrushChanger
*result
= 0 ;
23936 PyObject
* obj0
= 0 ;
23937 PyObject
* obj1
= 0 ;
23938 char * kwnames
[] = {
23939 (char *) "dc",(char *) "brush", NULL
23942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23943 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23944 if (!SWIG_IsOK(res1
)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23952 if (!SWIG_IsOK(res2
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23958 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23972 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23973 PyObject
*resultobj
= 0;
23974 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23977 PyObject
*swig_obj
[1] ;
23979 if (!args
) SWIG_fail
;
23980 swig_obj
[0] = args
;
23981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23982 if (!SWIG_IsOK(res1
)) {
23983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23985 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= SWIG_Py_Void();
24000 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24003 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24004 return SWIG_Py_Void();
24007 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24008 return SWIG_Python_InitShadowInstance(args
);
24011 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24012 PyObject
*resultobj
= 0;
24014 wxRegion
*arg2
= 0 ;
24015 wxDCClipper
*result
= 0 ;
24021 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24023 if (!SWIG_IsOK(res1
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24030 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24031 if (!SWIG_IsOK(res2
)) {
24032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24037 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24051 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24052 PyObject
*resultobj
= 0;
24055 wxDCClipper
*result
= 0 ;
24060 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24062 if (!SWIG_IsOK(res1
)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24071 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24076 wxPyEndAllowThreads(__tstate
);
24077 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24086 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24087 PyObject
*resultobj
= 0;
24093 wxDCClipper
*result
= 0 ;
24105 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24107 if (!SWIG_IsOK(res1
)) {
24108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24114 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24115 if (!SWIG_IsOK(ecode2
)) {
24116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24118 arg2
= static_cast< int >(val2
);
24119 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24120 if (!SWIG_IsOK(ecode3
)) {
24121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24123 arg3
= static_cast< int >(val3
);
24124 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24125 if (!SWIG_IsOK(ecode4
)) {
24126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24128 arg4
= static_cast< int >(val4
);
24129 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24130 if (!SWIG_IsOK(ecode5
)) {
24131 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24133 arg5
= static_cast< int >(val5
);
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24147 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24151 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24156 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24157 _v
= SWIG_CheckState(res
);
24159 if (!_v
) goto check_1
;
24160 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24165 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24168 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24172 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24177 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24178 PyObject
*resultobj
= 0;
24179 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24182 PyObject
*swig_obj
[1] ;
24184 if (!args
) SWIG_fail
;
24185 swig_obj
[0] = args
;
24186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24187 if (!SWIG_IsOK(res1
)) {
24188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24190 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= SWIG_Py_Void();
24205 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24208 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24209 return SWIG_Py_Void();
24212 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24213 return SWIG_Python_InitShadowInstance(args
);
24216 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24217 PyObject
*resultobj
= 0;
24218 wxScreenDC
*result
= 0 ;
24220 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24222 if (!wxPyCheckForApp()) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 result
= (wxScreenDC
*)new wxScreenDC();
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24235 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
= 0;
24237 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24238 wxWindow
*arg2
= (wxWindow
*) 0 ;
24244 PyObject
* obj0
= 0 ;
24245 PyObject
* obj1
= 0 ;
24246 char * kwnames
[] = {
24247 (char *) "self",(char *) "window", NULL
24250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24252 if (!SWIG_IsOK(res1
)) {
24253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24255 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24257 if (!SWIG_IsOK(res2
)) {
24258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24260 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24276 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
= 0;
24278 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24279 wxRect
*arg2
= (wxRect
*) NULL
;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char * kwnames
[] = {
24288 (char *) "self",(char *) "rect", NULL
24291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24293 if (!SWIG_IsOK(res1
)) {
24294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24296 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24299 if (!SWIG_IsOK(res2
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24302 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24319 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24320 PyObject
*resultobj
= 0;
24321 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24325 PyObject
*swig_obj
[1] ;
24327 if (!args
) SWIG_fail
;
24328 swig_obj
[0] = args
;
24329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24333 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 result
= (bool)(arg1
)->EndDrawingOnTop();
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24349 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24352 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24353 return SWIG_Py_Void();
24356 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24357 return SWIG_Python_InitShadowInstance(args
);
24360 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
= 0;
24362 wxWindow
*arg1
= (wxWindow
*) 0 ;
24363 wxWindowDC
*result
= 0 ;
24366 PyObject
* obj0
= 0 ;
24367 char * kwnames
[] = {
24368 (char *) "win", NULL
24371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24373 if (!SWIG_IsOK(res1
)) {
24374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24376 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24378 if (!wxPyCheckForApp()) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24391 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24394 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24395 return SWIG_Py_Void();
24398 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24399 return SWIG_Python_InitShadowInstance(args
);
24402 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
= 0;
24404 wxWindow
*arg1
= (wxWindow
*) 0 ;
24405 wxClientDC
*result
= 0 ;
24408 PyObject
* obj0
= 0 ;
24409 char * kwnames
[] = {
24410 (char *) "win", NULL
24413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24415 if (!SWIG_IsOK(res1
)) {
24416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24418 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24420 if (!wxPyCheckForApp()) SWIG_fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (wxClientDC
*)new wxClientDC(arg1
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24433 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24436 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24437 return SWIG_Py_Void();
24440 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24441 return SWIG_Python_InitShadowInstance(args
);
24444 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxWindow
*arg1
= (wxWindow
*) 0 ;
24447 wxPaintDC
*result
= 0 ;
24450 PyObject
* obj0
= 0 ;
24451 char * kwnames
[] = {
24452 (char *) "win", NULL
24455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24457 if (!SWIG_IsOK(res1
)) {
24458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24462 if (!wxPyCheckForApp()) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24475 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24478 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24479 return SWIG_Py_Void();
24482 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24483 return SWIG_Python_InitShadowInstance(args
);
24486 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
= 0;
24488 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24489 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24490 wxMemoryDC
*result
= 0 ;
24493 PyObject
* obj0
= 0 ;
24494 char * kwnames
[] = {
24495 (char *) "bitmap", NULL
24498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24500 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24501 if (!SWIG_IsOK(res1
)) {
24502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24507 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24510 if (!wxPyCheckForApp()) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24523 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
= 0;
24525 wxDC
*arg1
= (wxDC
*) 0 ;
24526 wxMemoryDC
*result
= 0 ;
24529 PyObject
* obj0
= 0 ;
24530 char * kwnames
[] = {
24531 (char *) "oldDC", NULL
24534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24541 if (!wxPyCheckForApp()) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24554 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
= 0;
24556 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24557 wxBitmap
*arg2
= 0 ;
24562 PyObject
* obj0
= 0 ;
24563 PyObject
* obj1
= 0 ;
24564 char * kwnames
[] = {
24565 (char *) "self",(char *) "bitmap", NULL
24568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24570 if (!SWIG_IsOK(res1
)) {
24571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24573 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24575 if (!SWIG_IsOK(res2
)) {
24576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24581 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 (arg1
)->SelectObject(*arg2
);
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= SWIG_Py_Void();
24595 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24596 PyObject
*resultobj
= 0;
24597 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24598 wxBitmap
*arg2
= 0 ;
24603 PyObject
* obj0
= 0 ;
24604 PyObject
* obj1
= 0 ;
24605 char * kwnames
[] = {
24606 (char *) "self",(char *) "bmp", NULL
24609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24611 if (!SWIG_IsOK(res1
)) {
24612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24614 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24615 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24616 if (!SWIG_IsOK(res2
)) {
24617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24622 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= SWIG_Py_Void();
24636 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24639 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24640 return SWIG_Py_Void();
24643 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24644 return SWIG_Python_InitShadowInstance(args
);
24647 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24648 PyObject
*resultobj
= 0;
24649 wxDC
*arg1
= (wxDC
*) 0 ;
24650 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24651 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24652 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24653 wxBufferedDC
*result
= 0 ;
24661 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24663 if (!SWIG_IsOK(res1
)) {
24664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24668 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24669 if (!SWIG_IsOK(res2
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24675 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24678 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24679 if (!SWIG_IsOK(ecode3
)) {
24680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24682 arg3
= static_cast< int >(val3
);
24685 if (!wxPyCheckForApp()) SWIG_fail
;
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24698 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24699 PyObject
*resultobj
= 0;
24700 wxDC
*arg1
= (wxDC
*) 0 ;
24702 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24703 wxBufferedDC
*result
= 0 ;
24710 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24712 if (!SWIG_IsOK(res1
)) {
24713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24718 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24721 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24722 if (!SWIG_IsOK(ecode3
)) {
24723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24725 arg3
= static_cast< int >(val3
);
24728 if (!wxPyCheckForApp()) SWIG_fail
;
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24741 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24745 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24747 if ((argc
>= 1) && (argc
<= 3)) {
24752 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24753 _v
= SWIG_CheckState(res
);
24755 if (!_v
) goto check_1
;
24757 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24761 if ((argc
>= 2) && (argc
<= 3)) {
24762 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24766 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24771 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24772 PyObject
*resultobj
= 0;
24773 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24776 PyObject
*swig_obj
[1] ;
24778 if (!args
) SWIG_fail
;
24779 swig_obj
[0] = args
;
24780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24781 if (!SWIG_IsOK(res1
)) {
24782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24784 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_Py_Void();
24799 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24800 PyObject
*resultobj
= 0;
24801 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24804 PyObject
*swig_obj
[1] ;
24806 if (!args
) SWIG_fail
;
24807 swig_obj
[0] = args
;
24808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24809 if (!SWIG_IsOK(res1
)) {
24810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24812 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= SWIG_Py_Void();
24826 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24827 PyObject
*resultobj
= 0;
24828 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 char * kwnames
[] = {
24837 (char *) "self",(char *) "style", NULL
24840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24842 if (!SWIG_IsOK(res1
)) {
24843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24845 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24847 if (!SWIG_IsOK(ecode2
)) {
24848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24850 arg2
= static_cast< int >(val2
);
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 (arg1
)->SetStyle(arg2
);
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= SWIG_Py_Void();
24864 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24865 PyObject
*resultobj
= 0;
24866 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24870 PyObject
*swig_obj
[1] ;
24872 if (!args
) SWIG_fail
;
24873 swig_obj
[0] = args
;
24874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24875 if (!SWIG_IsOK(res1
)) {
24876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24878 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= SWIG_From_int(static_cast< int >(result
));
24892 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24895 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24896 return SWIG_Py_Void();
24899 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24900 return SWIG_Python_InitShadowInstance(args
);
24903 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
= 0;
24905 wxWindow
*arg1
= (wxWindow
*) 0 ;
24906 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24907 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24908 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24909 wxBufferedPaintDC
*result
= 0 ;
24916 PyObject
* obj0
= 0 ;
24917 PyObject
* obj1
= 0 ;
24918 PyObject
* obj2
= 0 ;
24919 char * kwnames
[] = {
24920 (char *) "window",(char *) "buffer",(char *) "style", NULL
24923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24925 if (!SWIG_IsOK(res1
)) {
24926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24931 if (!SWIG_IsOK(res2
)) {
24932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24937 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24941 if (!SWIG_IsOK(ecode3
)) {
24942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24944 arg3
= static_cast< int >(val3
);
24947 if (!wxPyCheckForApp()) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24960 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24963 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24964 return SWIG_Py_Void();
24967 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24968 return SWIG_Python_InitShadowInstance(args
);
24971 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
= 0;
24973 wxWindow
*arg1
= (wxWindow
*) 0 ;
24974 wxAutoBufferedPaintDC
*result
= 0 ;
24977 PyObject
* obj0
= 0 ;
24978 char * kwnames
[] = {
24979 (char *) "win", NULL
24982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24984 if (!SWIG_IsOK(res1
)) {
24985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24987 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25001 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25004 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25005 return SWIG_Py_Void();
25008 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25009 return SWIG_Python_InitShadowInstance(args
);
25012 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
= 0;
25014 wxWindow
*arg1
= (wxWindow
*) 0 ;
25018 PyObject
* obj0
= 0 ;
25019 char * kwnames
[] = {
25020 (char *) "window", NULL
25023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25025 if (!SWIG_IsOK(res1
)) {
25026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25028 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25044 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
= 0;
25048 wxMirrorDC
*result
= 0 ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 char * kwnames
[] = {
25056 (char *) "dc",(char *) "mirror", NULL
25059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25060 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25061 if (!SWIG_IsOK(res1
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25068 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25069 if (!SWIG_IsOK(ecode2
)) {
25070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25072 arg2
= static_cast< bool >(val2
);
25074 if (!wxPyCheckForApp()) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25087 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25090 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25091 return SWIG_Py_Void();
25094 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25095 return SWIG_Python_InitShadowInstance(args
);
25098 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
= 0;
25100 wxPrintData
*arg1
= 0 ;
25101 wxPostScriptDC
*result
= 0 ;
25104 PyObject
* obj0
= 0 ;
25105 char * kwnames
[] = {
25106 (char *) "printData", NULL
25109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25110 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25111 if (!SWIG_IsOK(res1
)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25117 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25119 if (!wxPyCheckForApp()) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25132 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25133 PyObject
*resultobj
= 0;
25134 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25135 wxPrintData
*result
= 0 ;
25138 PyObject
*swig_obj
[1] ;
25140 if (!args
) SWIG_fail
;
25141 swig_obj
[0] = args
;
25142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25143 if (!SWIG_IsOK(res1
)) {
25144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25146 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25151 result
= (wxPrintData
*) &_result_ref
;
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25163 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
= 0;
25165 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25166 wxPrintData
*arg2
= 0 ;
25171 PyObject
* obj0
= 0 ;
25172 PyObject
* obj1
= 0 ;
25173 char * kwnames
[] = {
25174 (char *) "self",(char *) "data", NULL
25177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25179 if (!SWIG_IsOK(res1
)) {
25180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25182 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25183 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25184 if (!SWIG_IsOK(res2
)) {
25185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25190 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 resultobj
= SWIG_Py_Void();
25204 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25205 PyObject
*resultobj
= 0;
25209 PyObject
* obj0
= 0 ;
25210 char * kwnames
[] = {
25211 (char *) "ppi", NULL
25214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25215 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25216 if (!SWIG_IsOK(ecode1
)) {
25217 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25219 arg1
= static_cast< int >(val1
);
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 wxPostScriptDC::SetResolution(arg1
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_Py_Void();
25233 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25234 PyObject
*resultobj
= 0;
25237 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 result
= (int)wxPostScriptDC::GetResolution();
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= SWIG_From_int(static_cast< int >(result
));
25251 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25254 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25255 return SWIG_Py_Void();
25258 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25259 return SWIG_Python_InitShadowInstance(args
);
25262 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25263 PyObject
*resultobj
= 0;
25264 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25265 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25266 wxMetaFile
*result
= 0 ;
25267 bool temp1
= false ;
25268 PyObject
* obj0
= 0 ;
25269 char * kwnames
[] = {
25270 (char *) "filename", NULL
25273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25276 arg1
= wxString_in_helper(obj0
);
25277 if (arg1
== NULL
) SWIG_fail
;
25282 if (!wxPyCheckForApp()) SWIG_fail
;
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25303 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25306 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25307 return SWIG_Py_Void();
25310 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25311 return SWIG_Python_InitShadowInstance(args
);
25314 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
= 0;
25316 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25317 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25318 int arg2
= (int) 0 ;
25319 int arg3
= (int) 0 ;
25320 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25321 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25322 wxMetaFileDC
*result
= 0 ;
25323 bool temp1
= false ;
25328 bool temp4
= false ;
25329 PyObject
* obj0
= 0 ;
25330 PyObject
* obj1
= 0 ;
25331 PyObject
* obj2
= 0 ;
25332 PyObject
* obj3
= 0 ;
25333 char * kwnames
[] = {
25334 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25340 arg1
= wxString_in_helper(obj0
);
25341 if (arg1
== NULL
) SWIG_fail
;
25346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25347 if (!SWIG_IsOK(ecode2
)) {
25348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25350 arg2
= static_cast< int >(val2
);
25353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25354 if (!SWIG_IsOK(ecode3
)) {
25355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25357 arg3
= static_cast< int >(val3
);
25361 arg4
= wxString_in_helper(obj3
);
25362 if (arg4
== NULL
) SWIG_fail
;
25367 if (!wxPyCheckForApp()) SWIG_fail
;
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25396 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25399 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25400 return SWIG_Py_Void();
25403 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25404 return SWIG_Python_InitShadowInstance(args
);
25407 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
= 0;
25409 wxPrintData
*arg1
= 0 ;
25410 wxPrinterDC
*result
= 0 ;
25413 PyObject
* obj0
= 0 ;
25414 char * kwnames
[] = {
25415 (char *) "printData", NULL
25418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25419 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25420 if (!SWIG_IsOK(res1
)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25426 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25428 if (!wxPyCheckForApp()) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25441 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25443 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25444 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25445 return SWIG_Py_Void();
25448 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25449 return SWIG_Python_InitShadowInstance(args
);
25452 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
= 0;
25454 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25455 wxGraphicsObject
*result
= 0 ;
25458 PyObject
* obj0
= 0 ;
25459 char * kwnames
[] = {
25460 (char *) "renderer", NULL
25463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25469 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25472 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25482 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25483 PyObject
*resultobj
= 0;
25484 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25487 PyObject
*swig_obj
[1] ;
25489 if (!args
) SWIG_fail
;
25490 swig_obj
[0] = args
;
25491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25492 if (!SWIG_IsOK(res1
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25495 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= SWIG_Py_Void();
25508 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25509 PyObject
*resultobj
= 0;
25510 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25514 PyObject
*swig_obj
[1] ;
25516 if (!args
) SWIG_fail
;
25517 swig_obj
[0] = args
;
25518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25519 if (!SWIG_IsOK(res1
)) {
25520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25522 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25524 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25525 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25536 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25537 PyObject
*resultobj
= 0;
25538 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25539 wxGraphicsRenderer
*result
= 0 ;
25542 PyObject
*swig_obj
[1] ;
25544 if (!args
) SWIG_fail
;
25545 swig_obj
[0] = args
;
25546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25547 if (!SWIG_IsOK(res1
)) {
25548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25550 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25552 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25562 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25565 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25566 return SWIG_Py_Void();
25569 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25570 return SWIG_Python_InitShadowInstance(args
);
25573 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25574 PyObject
*resultobj
= 0;
25575 wxGraphicsPen
*result
= 0 ;
25577 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25579 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25589 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25590 PyObject
*resultobj
= 0;
25591 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25594 PyObject
*swig_obj
[1] ;
25596 if (!args
) SWIG_fail
;
25597 swig_obj
[0] = args
;
25598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25599 if (!SWIG_IsOK(res1
)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25602 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_Py_Void();
25615 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25618 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25619 return SWIG_Py_Void();
25622 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25623 return SWIG_Python_InitShadowInstance(args
);
25626 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25627 PyObject
*resultobj
= 0;
25628 wxGraphicsBrush
*result
= 0 ;
25630 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25632 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25642 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25643 PyObject
*resultobj
= 0;
25644 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25647 PyObject
*swig_obj
[1] ;
25649 if (!args
) SWIG_fail
;
25650 swig_obj
[0] = args
;
25651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25652 if (!SWIG_IsOK(res1
)) {
25653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25655 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_Py_Void();
25668 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25671 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25672 return SWIG_Py_Void();
25675 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25676 return SWIG_Python_InitShadowInstance(args
);
25679 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25680 PyObject
*resultobj
= 0;
25681 wxGraphicsFont
*result
= 0 ;
25683 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25685 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25695 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25696 PyObject
*resultobj
= 0;
25697 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25700 PyObject
*swig_obj
[1] ;
25702 if (!args
) SWIG_fail
;
25703 swig_obj
[0] = args
;
25704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25705 if (!SWIG_IsOK(res1
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25708 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_Py_Void();
25721 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25724 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25725 return SWIG_Py_Void();
25728 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25729 return SWIG_Python_InitShadowInstance(args
);
25732 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25733 PyObject
*resultobj
= 0;
25734 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25737 PyObject
*swig_obj
[1] ;
25739 if (!args
) SWIG_fail
;
25740 swig_obj
[0] = args
;
25741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25742 if (!SWIG_IsOK(res1
)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25745 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= SWIG_Py_Void();
25758 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
= 0;
25760 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25761 wxGraphicsMatrix
*arg2
= 0 ;
25766 PyObject
* obj0
= 0 ;
25767 PyObject
* obj1
= 0 ;
25768 char * kwnames
[] = {
25769 (char *) "self",(char *) "t", NULL
25772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25774 if (!SWIG_IsOK(res1
)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25777 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25779 if (!SWIG_IsOK(res2
)) {
25780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25785 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25787 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= SWIG_Py_Void();
25797 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
= 0;
25799 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25800 wxDouble arg2
= (wxDouble
) 1.0 ;
25801 wxDouble arg3
= (wxDouble
) 0.0 ;
25802 wxDouble arg4
= (wxDouble
) 0.0 ;
25803 wxDouble arg5
= (wxDouble
) 1.0 ;
25804 wxDouble arg6
= (wxDouble
) 0.0 ;
25805 wxDouble arg7
= (wxDouble
) 0.0 ;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 PyObject
* obj2
= 0 ;
25823 PyObject
* obj3
= 0 ;
25824 PyObject
* obj4
= 0 ;
25825 PyObject
* obj5
= 0 ;
25826 PyObject
* obj6
= 0 ;
25827 char * kwnames
[] = {
25828 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25833 if (!SWIG_IsOK(res1
)) {
25834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25836 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25838 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25839 if (!SWIG_IsOK(ecode2
)) {
25840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25842 arg2
= static_cast< wxDouble
>(val2
);
25845 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25846 if (!SWIG_IsOK(ecode3
)) {
25847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25849 arg3
= static_cast< wxDouble
>(val3
);
25852 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25853 if (!SWIG_IsOK(ecode4
)) {
25854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25856 arg4
= static_cast< wxDouble
>(val4
);
25859 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25860 if (!SWIG_IsOK(ecode5
)) {
25861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25863 arg5
= static_cast< wxDouble
>(val5
);
25866 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25867 if (!SWIG_IsOK(ecode6
)) {
25868 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25870 arg6
= static_cast< wxDouble
>(val6
);
25873 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25874 if (!SWIG_IsOK(ecode7
)) {
25875 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25877 arg7
= static_cast< wxDouble
>(val7
);
25880 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= SWIG_Py_Void();
25890 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25891 PyObject
*resultobj
= 0;
25892 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25893 wxDouble
*arg2
= (wxDouble
*) 0 ;
25894 wxDouble
*arg3
= (wxDouble
*) 0 ;
25895 wxDouble
*arg4
= (wxDouble
*) 0 ;
25896 wxDouble
*arg5
= (wxDouble
*) 0 ;
25897 wxDouble
*arg6
= (wxDouble
*) 0 ;
25898 wxDouble
*arg7
= (wxDouble
*) 0 ;
25902 int res2
= SWIG_TMPOBJ
;
25904 int res3
= SWIG_TMPOBJ
;
25906 int res4
= SWIG_TMPOBJ
;
25908 int res5
= SWIG_TMPOBJ
;
25910 int res6
= SWIG_TMPOBJ
;
25912 int res7
= SWIG_TMPOBJ
;
25913 PyObject
*swig_obj
[1] ;
25921 if (!args
) SWIG_fail
;
25922 swig_obj
[0] = args
;
25923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25924 if (!SWIG_IsOK(res1
)) {
25925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25927 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25929 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= SWIG_Py_Void();
25933 if (SWIG_IsTmpObj(res2
)) {
25934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25936 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25939 if (SWIG_IsTmpObj(res3
)) {
25940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25942 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25945 if (SWIG_IsTmpObj(res4
)) {
25946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25948 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25951 if (SWIG_IsTmpObj(res5
)) {
25952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25954 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25957 if (SWIG_IsTmpObj(res6
)) {
25958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25960 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25963 if (SWIG_IsTmpObj(res7
)) {
25964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
25966 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
25975 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25976 PyObject
*resultobj
= 0;
25977 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25980 PyObject
*swig_obj
[1] ;
25982 if (!args
) SWIG_fail
;
25983 swig_obj
[0] = args
;
25984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25985 if (!SWIG_IsOK(res1
)) {
25986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25988 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25993 resultobj
= SWIG_Py_Void();
26000 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
= 0;
26002 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26003 wxGraphicsMatrix
*arg2
= 0 ;
26009 PyObject
* obj0
= 0 ;
26010 PyObject
* obj1
= 0 ;
26011 char * kwnames
[] = {
26012 (char *) "self",(char *) "t", NULL
26015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26017 if (!SWIG_IsOK(res1
)) {
26018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26020 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26022 if (!SWIG_IsOK(res2
)) {
26023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26028 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26030 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26042 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26043 PyObject
*resultobj
= 0;
26044 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26048 PyObject
*swig_obj
[1] ;
26050 if (!args
) SWIG_fail
;
26051 swig_obj
[0] = args
;
26052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26053 if (!SWIG_IsOK(res1
)) {
26054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26056 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26058 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26059 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26070 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
= 0;
26072 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 PyObject
* obj2
= 0 ;
26084 char * kwnames
[] = {
26085 (char *) "self",(char *) "dx",(char *) "dy", NULL
26088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26090 if (!SWIG_IsOK(res1
)) {
26091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26093 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26094 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26095 if (!SWIG_IsOK(ecode2
)) {
26096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26098 arg2
= static_cast< wxDouble
>(val2
);
26099 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26100 if (!SWIG_IsOK(ecode3
)) {
26101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26103 arg3
= static_cast< wxDouble
>(val3
);
26105 (arg1
)->Translate(arg2
,arg3
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= SWIG_Py_Void();
26115 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
= 0;
26117 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26126 PyObject
* obj0
= 0 ;
26127 PyObject
* obj1
= 0 ;
26128 PyObject
* obj2
= 0 ;
26129 char * kwnames
[] = {
26130 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26135 if (!SWIG_IsOK(res1
)) {
26136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26138 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26139 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26140 if (!SWIG_IsOK(ecode2
)) {
26141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26143 arg2
= static_cast< wxDouble
>(val2
);
26144 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26145 if (!SWIG_IsOK(ecode3
)) {
26146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26148 arg3
= static_cast< wxDouble
>(val3
);
26150 (arg1
)->Scale(arg2
,arg3
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= SWIG_Py_Void();
26160 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26161 PyObject
*resultobj
= 0;
26162 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26168 PyObject
* obj0
= 0 ;
26169 PyObject
* obj1
= 0 ;
26170 char * kwnames
[] = {
26171 (char *) "self",(char *) "angle", NULL
26174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26176 if (!SWIG_IsOK(res1
)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26179 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26180 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26181 if (!SWIG_IsOK(ecode2
)) {
26182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26184 arg2
= static_cast< wxDouble
>(val2
);
26186 (arg1
)->Rotate(arg2
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= SWIG_Py_Void();
26196 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
= 0;
26198 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26199 wxDouble
*arg2
= (wxDouble
*) 0 ;
26200 wxDouble
*arg3
= (wxDouble
*) 0 ;
26207 PyObject
* obj0
= 0 ;
26208 PyObject
* obj1
= 0 ;
26209 PyObject
* obj2
= 0 ;
26210 char * kwnames
[] = {
26211 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26216 if (!SWIG_IsOK(res1
)) {
26217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26219 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26220 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26222 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26223 if (!SWIG_IsOK(ecode
)) {
26224 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26226 temp2
= static_cast< wxDouble
>(val
);
26228 res2
= SWIG_AddTmpMask(ecode
);
26230 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26232 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26233 if (!SWIG_IsOK(ecode
)) {
26234 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26236 temp3
= static_cast< wxDouble
>(val
);
26238 res3
= SWIG_AddTmpMask(ecode
);
26241 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= SWIG_Py_Void();
26245 if (SWIG_IsTmpObj(res2
)) {
26246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26248 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26251 if (SWIG_IsTmpObj(res3
)) {
26252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26254 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26263 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
= 0;
26265 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26266 wxDouble
*arg2
= (wxDouble
*) 0 ;
26267 wxDouble
*arg3
= (wxDouble
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 PyObject
* obj2
= 0 ;
26277 char * kwnames
[] = {
26278 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26286 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26287 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26289 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26290 if (!SWIG_IsOK(ecode
)) {
26291 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26293 temp2
= static_cast< wxDouble
>(val
);
26295 res2
= SWIG_AddTmpMask(ecode
);
26297 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26299 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26300 if (!SWIG_IsOK(ecode
)) {
26301 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26303 temp3
= static_cast< wxDouble
>(val
);
26305 res3
= SWIG_AddTmpMask(ecode
);
26308 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 resultobj
= SWIG_Py_Void();
26312 if (SWIG_IsTmpObj(res2
)) {
26313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26315 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26318 if (SWIG_IsTmpObj(res3
)) {
26319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26321 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26330 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26331 PyObject
*resultobj
= 0;
26332 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26336 PyObject
*swig_obj
[1] ;
26338 if (!args
) SWIG_fail
;
26339 swig_obj
[0] = args
;
26340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26341 if (!SWIG_IsOK(res1
)) {
26342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26344 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26346 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26356 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26359 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26360 return SWIG_Py_Void();
26363 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26364 PyObject
*resultobj
= 0;
26365 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26368 PyObject
*swig_obj
[1] ;
26370 if (!args
) SWIG_fail
;
26371 swig_obj
[0] = args
;
26372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26373 if (!SWIG_IsOK(res1
)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26376 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= SWIG_Py_Void();
26389 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26390 PyObject
*resultobj
= 0;
26391 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26401 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26403 if (!SWIG_IsOK(res1
)) {
26404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26406 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26407 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26408 if (!SWIG_IsOK(ecode2
)) {
26409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26411 arg2
= static_cast< wxDouble
>(val2
);
26412 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26413 if (!SWIG_IsOK(ecode3
)) {
26414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26416 arg3
= static_cast< wxDouble
>(val3
);
26418 (arg1
)->MoveToPoint(arg2
,arg3
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= SWIG_Py_Void();
26428 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26429 PyObject
*resultobj
= 0;
26430 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26431 wxPoint2D
*arg2
= 0 ;
26436 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26438 if (!SWIG_IsOK(res1
)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26441 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26444 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26447 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_Py_Void();
26457 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26461 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26464 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26467 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26471 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26476 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26477 PyObject
*resultobj
= 0;
26478 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26488 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26490 if (!SWIG_IsOK(res1
)) {
26491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26493 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26494 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26495 if (!SWIG_IsOK(ecode2
)) {
26496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26498 arg2
= static_cast< wxDouble
>(val2
);
26499 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26500 if (!SWIG_IsOK(ecode3
)) {
26501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26503 arg3
= static_cast< wxDouble
>(val3
);
26505 (arg1
)->AddLineToPoint(arg2
,arg3
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 resultobj
= SWIG_Py_Void();
26515 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26516 PyObject
*resultobj
= 0;
26517 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26518 wxPoint2D
*arg2
= 0 ;
26523 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26528 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26531 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26534 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26537 resultobj
= SWIG_Py_Void();
26544 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26548 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26551 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26554 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26558 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26563 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26564 PyObject
*resultobj
= 0;
26565 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26587 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26589 if (!SWIG_IsOK(res1
)) {
26590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26592 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26593 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26594 if (!SWIG_IsOK(ecode2
)) {
26595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26597 arg2
= static_cast< wxDouble
>(val2
);
26598 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26599 if (!SWIG_IsOK(ecode3
)) {
26600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26602 arg3
= static_cast< wxDouble
>(val3
);
26603 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26604 if (!SWIG_IsOK(ecode4
)) {
26605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26607 arg4
= static_cast< wxDouble
>(val4
);
26608 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26609 if (!SWIG_IsOK(ecode5
)) {
26610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26612 arg5
= static_cast< wxDouble
>(val5
);
26613 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26614 if (!SWIG_IsOK(ecode6
)) {
26615 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26617 arg6
= static_cast< wxDouble
>(val6
);
26618 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26619 if (!SWIG_IsOK(ecode7
)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26622 arg7
= static_cast< wxDouble
>(val7
);
26624 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 resultobj
= SWIG_Py_Void();
26634 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26635 PyObject
*resultobj
= 0;
26636 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26637 wxPoint2D
*arg2
= 0 ;
26638 wxPoint2D
*arg3
= 0 ;
26639 wxPoint2D
*arg4
= 0 ;
26646 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26648 if (!SWIG_IsOK(res1
)) {
26649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26651 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26654 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26658 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26662 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26665 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= SWIG_Py_Void();
26675 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26679 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26682 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26685 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26689 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26694 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26695 PyObject
*resultobj
= 0;
26696 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26697 wxGraphicsPath
*arg2
= 0 ;
26702 PyObject
* obj0
= 0 ;
26703 PyObject
* obj1
= 0 ;
26704 char * kwnames
[] = {
26705 (char *) "self",(char *) "path", NULL
26708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26710 if (!SWIG_IsOK(res1
)) {
26711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26713 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26715 if (!SWIG_IsOK(res2
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26721 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26723 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_Py_Void();
26733 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26734 PyObject
*resultobj
= 0;
26735 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26738 PyObject
*swig_obj
[1] ;
26740 if (!args
) SWIG_fail
;
26741 swig_obj
[0] = args
;
26742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26743 if (!SWIG_IsOK(res1
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26746 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26748 (arg1
)->CloseSubpath();
26749 if (PyErr_Occurred()) SWIG_fail
;
26751 resultobj
= SWIG_Py_Void();
26758 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26759 PyObject
*resultobj
= 0;
26760 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26764 PyObject
*swig_obj
[1] ;
26766 if (!args
) SWIG_fail
;
26767 swig_obj
[0] = args
;
26768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26769 if (!SWIG_IsOK(res1
)) {
26770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26772 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26774 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26784 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26785 PyObject
*resultobj
= 0;
26786 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26792 bool arg7
= (bool) true ;
26808 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
26809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26810 if (!SWIG_IsOK(res1
)) {
26811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26813 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26814 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26815 if (!SWIG_IsOK(ecode2
)) {
26816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26818 arg2
= static_cast< wxDouble
>(val2
);
26819 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26820 if (!SWIG_IsOK(ecode3
)) {
26821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26823 arg3
= static_cast< wxDouble
>(val3
);
26824 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26825 if (!SWIG_IsOK(ecode4
)) {
26826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26828 arg4
= static_cast< wxDouble
>(val4
);
26829 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26830 if (!SWIG_IsOK(ecode5
)) {
26831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26833 arg5
= static_cast< wxDouble
>(val5
);
26834 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26835 if (!SWIG_IsOK(ecode6
)) {
26836 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26838 arg6
= static_cast< wxDouble
>(val6
);
26840 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26841 if (!SWIG_IsOK(ecode7
)) {
26842 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26844 arg7
= static_cast< bool >(val7
);
26847 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= SWIG_Py_Void();
26857 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26858 PyObject
*resultobj
= 0;
26859 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26860 wxPoint2D
*arg2
= 0 ;
26864 bool arg6
= (bool) true ;
26877 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
26878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26879 if (!SWIG_IsOK(res1
)) {
26880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26882 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26885 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26887 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26888 if (!SWIG_IsOK(ecode3
)) {
26889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26891 arg3
= static_cast< wxDouble
>(val3
);
26892 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26893 if (!SWIG_IsOK(ecode4
)) {
26894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26896 arg4
= static_cast< wxDouble
>(val4
);
26897 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26898 if (!SWIG_IsOK(ecode5
)) {
26899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26901 arg5
= static_cast< wxDouble
>(val5
);
26903 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26904 if (!SWIG_IsOK(ecode6
)) {
26905 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26907 arg6
= static_cast< bool >(val6
);
26910 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 resultobj
= SWIG_Py_Void();
26920 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26924 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26926 if ((argc
>= 5) && (argc
<= 6)) {
26930 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
26933 if (!_v
) goto check_1
;
26937 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
26938 _v
= SWIG_CheckState(res
);
26941 if (!_v
) goto check_1
;
26943 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26947 if ((argc
>= 6) && (argc
<= 7)) {
26948 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26952 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26957 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
= 0;
26959 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 PyObject
* obj2
= 0 ;
26977 PyObject
* obj3
= 0 ;
26978 PyObject
* obj4
= 0 ;
26979 char * kwnames
[] = {
26980 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26985 if (!SWIG_IsOK(res1
)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26988 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26989 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26990 if (!SWIG_IsOK(ecode2
)) {
26991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26993 arg2
= static_cast< wxDouble
>(val2
);
26994 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26995 if (!SWIG_IsOK(ecode3
)) {
26996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26998 arg3
= static_cast< wxDouble
>(val3
);
26999 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27000 if (!SWIG_IsOK(ecode4
)) {
27001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27003 arg4
= static_cast< wxDouble
>(val4
);
27004 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27005 if (!SWIG_IsOK(ecode5
)) {
27006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27008 arg5
= static_cast< wxDouble
>(val5
);
27010 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= SWIG_Py_Void();
27020 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
= 0;
27022 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27037 PyObject
* obj0
= 0 ;
27038 PyObject
* obj1
= 0 ;
27039 PyObject
* obj2
= 0 ;
27040 PyObject
* obj3
= 0 ;
27041 PyObject
* obj4
= 0 ;
27042 char * kwnames
[] = {
27043 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27051 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27052 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27053 if (!SWIG_IsOK(ecode2
)) {
27054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27056 arg2
= static_cast< wxDouble
>(val2
);
27057 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27058 if (!SWIG_IsOK(ecode3
)) {
27059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27061 arg3
= static_cast< wxDouble
>(val3
);
27062 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27063 if (!SWIG_IsOK(ecode4
)) {
27064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27066 arg4
= static_cast< wxDouble
>(val4
);
27067 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27068 if (!SWIG_IsOK(ecode5
)) {
27069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27071 arg5
= static_cast< wxDouble
>(val5
);
27073 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_Py_Void();
27083 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
= 0;
27085 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 PyObject
* obj2
= 0 ;
27100 PyObject
* obj3
= 0 ;
27101 char * kwnames
[] = {
27102 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27107 if (!SWIG_IsOK(res1
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27110 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27111 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27112 if (!SWIG_IsOK(ecode2
)) {
27113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27115 arg2
= static_cast< wxDouble
>(val2
);
27116 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27117 if (!SWIG_IsOK(ecode3
)) {
27118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27120 arg3
= static_cast< wxDouble
>(val3
);
27121 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27122 if (!SWIG_IsOK(ecode4
)) {
27123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27125 arg4
= static_cast< wxDouble
>(val4
);
27127 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 resultobj
= SWIG_Py_Void();
27137 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
= 0;
27139 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 PyObject
* obj2
= 0 ;
27160 PyObject
* obj3
= 0 ;
27161 PyObject
* obj4
= 0 ;
27162 PyObject
* obj5
= 0 ;
27163 char * kwnames
[] = {
27164 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27169 if (!SWIG_IsOK(res1
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27172 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27173 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27174 if (!SWIG_IsOK(ecode2
)) {
27175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27177 arg2
= static_cast< wxDouble
>(val2
);
27178 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27179 if (!SWIG_IsOK(ecode3
)) {
27180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27182 arg3
= static_cast< wxDouble
>(val3
);
27183 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27184 if (!SWIG_IsOK(ecode4
)) {
27185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27187 arg4
= static_cast< wxDouble
>(val4
);
27188 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27189 if (!SWIG_IsOK(ecode5
)) {
27190 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27192 arg5
= static_cast< wxDouble
>(val5
);
27193 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27194 if (!SWIG_IsOK(ecode6
)) {
27195 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27197 arg6
= static_cast< wxDouble
>(val6
);
27199 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27202 resultobj
= SWIG_Py_Void();
27209 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
= 0;
27211 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 PyObject
* obj2
= 0 ;
27229 PyObject
* obj3
= 0 ;
27230 PyObject
* obj4
= 0 ;
27231 char * kwnames
[] = {
27232 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27237 if (!SWIG_IsOK(res1
)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27240 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27241 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27242 if (!SWIG_IsOK(ecode2
)) {
27243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27245 arg2
= static_cast< wxDouble
>(val2
);
27246 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27247 if (!SWIG_IsOK(ecode3
)) {
27248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27250 arg3
= static_cast< wxDouble
>(val3
);
27251 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27252 if (!SWIG_IsOK(ecode4
)) {
27253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27255 arg4
= static_cast< wxDouble
>(val4
);
27256 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27257 if (!SWIG_IsOK(ecode5
)) {
27258 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27260 arg5
= static_cast< wxDouble
>(val5
);
27262 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= SWIG_Py_Void();
27272 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27273 PyObject
*resultobj
= 0;
27274 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 PyObject
* obj2
= 0 ;
27295 PyObject
* obj3
= 0 ;
27296 PyObject
* obj4
= 0 ;
27297 PyObject
* obj5
= 0 ;
27298 char * kwnames
[] = {
27299 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27304 if (!SWIG_IsOK(res1
)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27307 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27308 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27309 if (!SWIG_IsOK(ecode2
)) {
27310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27312 arg2
= static_cast< wxDouble
>(val2
);
27313 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27314 if (!SWIG_IsOK(ecode3
)) {
27315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27317 arg3
= static_cast< wxDouble
>(val3
);
27318 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27319 if (!SWIG_IsOK(ecode4
)) {
27320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27322 arg4
= static_cast< wxDouble
>(val4
);
27323 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27324 if (!SWIG_IsOK(ecode5
)) {
27325 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27327 arg5
= static_cast< wxDouble
>(val5
);
27328 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27329 if (!SWIG_IsOK(ecode6
)) {
27330 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27332 arg6
= static_cast< wxDouble
>(val6
);
27334 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= SWIG_Py_Void();
27344 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27345 PyObject
*resultobj
= 0;
27346 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27350 PyObject
*swig_obj
[1] ;
27352 if (!args
) SWIG_fail
;
27353 swig_obj
[0] = args
;
27354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27355 if (!SWIG_IsOK(res1
)) {
27356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27358 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27360 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27361 if (PyErr_Occurred()) SWIG_fail
;
27363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27370 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
= 0;
27372 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27373 void *arg2
= (void *) 0 ;
27377 PyObject
* obj0
= 0 ;
27378 PyObject
* obj1
= 0 ;
27379 char * kwnames
[] = {
27380 (char *) "self",(char *) "p", NULL
27383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27385 if (!SWIG_IsOK(res1
)) {
27386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27388 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27389 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27390 if (!SWIG_IsOK(res2
)) {
27391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27394 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_Py_Void();
27404 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
= 0;
27406 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27407 wxGraphicsMatrix
*arg2
= 0 ;
27412 PyObject
* obj0
= 0 ;
27413 PyObject
* obj1
= 0 ;
27414 char * kwnames
[] = {
27415 (char *) "self",(char *) "matrix", NULL
27418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27420 if (!SWIG_IsOK(res1
)) {
27421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27423 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27424 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27425 if (!SWIG_IsOK(res2
)) {
27426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27431 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27433 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27436 resultobj
= SWIG_Py_Void();
27443 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27444 PyObject
*resultobj
= 0;
27445 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27449 PyObject
*swig_obj
[1] ;
27451 if (!args
) SWIG_fail
;
27452 swig_obj
[0] = args
;
27453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27454 if (!SWIG_IsOK(res1
)) {
27455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27457 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27459 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27460 if (PyErr_Occurred()) SWIG_fail
;
27462 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27469 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27470 PyObject
*resultobj
= 0;
27471 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27474 int arg4
= (int) wxODDEVEN_RULE
;
27485 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27487 if (!SWIG_IsOK(res1
)) {
27488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27490 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27491 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27492 if (!SWIG_IsOK(ecode2
)) {
27493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27495 arg2
= static_cast< wxDouble
>(val2
);
27496 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27497 if (!SWIG_IsOK(ecode3
)) {
27498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27500 arg3
= static_cast< wxDouble
>(val3
);
27502 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27503 if (!SWIG_IsOK(ecode4
)) {
27504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27506 arg4
= static_cast< int >(val4
);
27509 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27521 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27522 PyObject
*resultobj
= 0;
27523 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27524 wxPoint2D
*arg2
= 0 ;
27525 int arg3
= (int) wxODDEVEN_RULE
;
27533 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27535 if (!SWIG_IsOK(res1
)) {
27536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27538 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27541 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27544 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27545 if (!SWIG_IsOK(ecode3
)) {
27546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27548 arg3
= static_cast< int >(val3
);
27551 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27563 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27567 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27569 if ((argc
>= 2) && (argc
<= 3)) {
27573 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27576 if (!_v
) goto check_1
;
27580 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27581 _v
= SWIG_CheckState(res
);
27584 if (!_v
) goto check_1
;
27586 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27590 if ((argc
>= 3) && (argc
<= 4)) {
27591 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27595 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27600 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27603 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27604 return SWIG_Py_Void();
27607 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27608 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27613 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27614 PyObject
*pyobj
= 0;
27616 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27621 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27622 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27627 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27628 PyObject
*pyobj
= 0;
27630 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27635 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27636 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27641 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27642 PyObject
*pyobj
= 0;
27644 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27649 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27650 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27655 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27656 PyObject
*pyobj
= 0;
27658 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27663 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27664 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27669 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27670 PyObject
*pyobj
= 0;
27672 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27677 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27678 PyObject
*resultobj
= 0;
27679 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27682 PyObject
*swig_obj
[1] ;
27684 if (!args
) SWIG_fail
;
27685 swig_obj
[0] = args
;
27686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27687 if (!SWIG_IsOK(res1
)) {
27688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27690 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= SWIG_Py_Void();
27703 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27704 PyObject
*resultobj
= 0;
27705 wxWindowDC
*arg1
= 0 ;
27706 wxGraphicsContext
*result
= 0 ;
27710 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27712 if (!SWIG_IsOK(res1
)) {
27713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27718 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27720 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27730 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27731 PyObject
*resultobj
= 0;
27732 wxWindow
*arg1
= (wxWindow
*) 0 ;
27733 wxGraphicsContext
*result
= 0 ;
27737 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27739 if (!SWIG_IsOK(res1
)) {
27740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27742 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27744 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27754 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27758 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27763 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27764 _v
= SWIG_CheckState(res
);
27766 if (!_v
) goto check_1
;
27767 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27772 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27776 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27781 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27782 PyObject
*resultobj
= 0;
27783 wxGraphicsContext
*result
= 0 ;
27785 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27787 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27788 if (PyErr_Occurred()) SWIG_fail
;
27790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27797 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27798 PyObject
*resultobj
= 0;
27799 void *arg1
= (void *) 0 ;
27800 wxGraphicsContext
*result
= 0 ;
27802 PyObject
* obj0
= 0 ;
27803 char * kwnames
[] = {
27804 (char *) "context", NULL
27807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27808 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27809 if (!SWIG_IsOK(res1
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27813 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27823 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27824 PyObject
*resultobj
= 0;
27825 void *arg1
= (void *) 0 ;
27826 wxGraphicsContext
*result
= 0 ;
27828 PyObject
* obj0
= 0 ;
27829 char * kwnames
[] = {
27830 (char *) "window", NULL
27833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27834 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27835 if (!SWIG_IsOK(res1
)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27839 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27840 if (PyErr_Occurred()) SWIG_fail
;
27842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27849 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27850 PyObject
*resultobj
= 0;
27851 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27852 wxGraphicsPath result
;
27855 PyObject
*swig_obj
[1] ;
27857 if (!args
) SWIG_fail
;
27858 swig_obj
[0] = args
;
27859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27860 if (!SWIG_IsOK(res1
)) {
27861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27863 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27865 result
= (arg1
)->CreatePath();
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27875 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
= 0;
27877 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27879 wxGraphicsPen result
;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 char * kwnames
[] = {
27887 (char *) "self",(char *) "pen", NULL
27890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27895 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27897 if (!SWIG_IsOK(res2
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27903 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27905 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27915 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27916 PyObject
*resultobj
= 0;
27917 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27918 wxBrush
*arg2
= 0 ;
27919 wxGraphicsBrush result
;
27924 PyObject
* obj0
= 0 ;
27925 PyObject
* obj1
= 0 ;
27926 char * kwnames
[] = {
27927 (char *) "self",(char *) "brush", NULL
27930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27932 if (!SWIG_IsOK(res1
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27935 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27937 if (!SWIG_IsOK(res2
)) {
27938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27943 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27945 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27948 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27955 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
= 0;
27957 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27962 wxColour
*arg6
= 0 ;
27963 wxColour
*arg7
= 0 ;
27964 wxGraphicsBrush result
;
27977 PyObject
* obj0
= 0 ;
27978 PyObject
* obj1
= 0 ;
27979 PyObject
* obj2
= 0 ;
27980 PyObject
* obj3
= 0 ;
27981 PyObject
* obj4
= 0 ;
27982 PyObject
* obj5
= 0 ;
27983 PyObject
* obj6
= 0 ;
27984 char * kwnames
[] = {
27985 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27990 if (!SWIG_IsOK(res1
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27993 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27994 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27995 if (!SWIG_IsOK(ecode2
)) {
27996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27998 arg2
= static_cast< wxDouble
>(val2
);
27999 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28000 if (!SWIG_IsOK(ecode3
)) {
28001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28003 arg3
= static_cast< wxDouble
>(val3
);
28004 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28005 if (!SWIG_IsOK(ecode4
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28008 arg4
= static_cast< wxDouble
>(val4
);
28009 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28010 if (!SWIG_IsOK(ecode5
)) {
28011 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28013 arg5
= static_cast< wxDouble
>(val5
);
28016 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28020 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28023 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28033 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
= 0;
28035 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28041 wxColour
*arg7
= 0 ;
28042 wxColour
*arg8
= 0 ;
28043 wxGraphicsBrush result
;
28058 PyObject
* obj0
= 0 ;
28059 PyObject
* obj1
= 0 ;
28060 PyObject
* obj2
= 0 ;
28061 PyObject
* obj3
= 0 ;
28062 PyObject
* obj4
= 0 ;
28063 PyObject
* obj5
= 0 ;
28064 PyObject
* obj6
= 0 ;
28065 PyObject
* obj7
= 0 ;
28066 char * kwnames
[] = {
28067 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28072 if (!SWIG_IsOK(res1
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28075 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28076 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28077 if (!SWIG_IsOK(ecode2
)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28080 arg2
= static_cast< wxDouble
>(val2
);
28081 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28082 if (!SWIG_IsOK(ecode3
)) {
28083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28085 arg3
= static_cast< wxDouble
>(val3
);
28086 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28087 if (!SWIG_IsOK(ecode4
)) {
28088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28090 arg4
= static_cast< wxDouble
>(val4
);
28091 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28092 if (!SWIG_IsOK(ecode5
)) {
28093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28095 arg5
= static_cast< wxDouble
>(val5
);
28096 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28097 if (!SWIG_IsOK(ecode6
)) {
28098 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28100 arg6
= static_cast< wxDouble
>(val6
);
28103 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28107 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28110 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28120 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
= 0;
28122 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28124 wxColour
const &arg3_defvalue
= *wxBLACK
;
28125 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28126 wxGraphicsFont result
;
28132 PyObject
* obj0
= 0 ;
28133 PyObject
* obj1
= 0 ;
28134 PyObject
* obj2
= 0 ;
28135 char * kwnames
[] = {
28136 (char *) "self",(char *) "font",(char *) "col", NULL
28139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28141 if (!SWIG_IsOK(res1
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28144 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28146 if (!SWIG_IsOK(res2
)) {
28147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28152 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28156 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28160 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28170 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
= 0;
28172 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28173 wxDouble arg2
= (wxDouble
) 1.0 ;
28174 wxDouble arg3
= (wxDouble
) 0.0 ;
28175 wxDouble arg4
= (wxDouble
) 0.0 ;
28176 wxDouble arg5
= (wxDouble
) 1.0 ;
28177 wxDouble arg6
= (wxDouble
) 0.0 ;
28178 wxDouble arg7
= (wxDouble
) 0.0 ;
28179 wxGraphicsMatrix result
;
28194 PyObject
* obj0
= 0 ;
28195 PyObject
* obj1
= 0 ;
28196 PyObject
* obj2
= 0 ;
28197 PyObject
* obj3
= 0 ;
28198 PyObject
* obj4
= 0 ;
28199 PyObject
* obj5
= 0 ;
28200 PyObject
* obj6
= 0 ;
28201 char * kwnames
[] = {
28202 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28207 if (!SWIG_IsOK(res1
)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28210 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28212 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28213 if (!SWIG_IsOK(ecode2
)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28216 arg2
= static_cast< wxDouble
>(val2
);
28219 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28220 if (!SWIG_IsOK(ecode3
)) {
28221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28223 arg3
= static_cast< wxDouble
>(val3
);
28226 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28227 if (!SWIG_IsOK(ecode4
)) {
28228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28230 arg4
= static_cast< wxDouble
>(val4
);
28233 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28234 if (!SWIG_IsOK(ecode5
)) {
28235 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28237 arg5
= static_cast< wxDouble
>(val5
);
28240 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28241 if (!SWIG_IsOK(ecode6
)) {
28242 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28244 arg6
= static_cast< wxDouble
>(val6
);
28247 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28248 if (!SWIG_IsOK(ecode7
)) {
28249 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28251 arg7
= static_cast< wxDouble
>(val7
);
28254 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28264 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28265 PyObject
*resultobj
= 0;
28266 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28269 PyObject
*swig_obj
[1] ;
28271 if (!args
) SWIG_fail
;
28272 swig_obj
[0] = args
;
28273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28274 if (!SWIG_IsOK(res1
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28277 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28279 (arg1
)->PushState();
28280 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= SWIG_Py_Void();
28289 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28290 PyObject
*resultobj
= 0;
28291 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28294 PyObject
*swig_obj
[1] ;
28296 if (!args
) SWIG_fail
;
28297 swig_obj
[0] = args
;
28298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28302 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28304 (arg1
)->PopState();
28305 if (PyErr_Occurred()) SWIG_fail
;
28307 resultobj
= SWIG_Py_Void();
28314 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28315 PyObject
*resultobj
= 0;
28316 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28317 wxRegion
*arg2
= 0 ;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 char * kwnames
[] = {
28325 (char *) "self",(char *) "region", NULL
28328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28330 if (!SWIG_IsOK(res1
)) {
28331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28333 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28334 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28335 if (!SWIG_IsOK(res2
)) {
28336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28341 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28343 (arg1
)->Clip((wxRegion
const &)*arg2
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_Py_Void();
28353 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
= 0;
28355 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28370 PyObject
* obj0
= 0 ;
28371 PyObject
* obj1
= 0 ;
28372 PyObject
* obj2
= 0 ;
28373 PyObject
* obj3
= 0 ;
28374 PyObject
* obj4
= 0 ;
28375 char * kwnames
[] = {
28376 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28384 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28385 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28386 if (!SWIG_IsOK(ecode2
)) {
28387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28389 arg2
= static_cast< wxDouble
>(val2
);
28390 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28391 if (!SWIG_IsOK(ecode3
)) {
28392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28394 arg3
= static_cast< wxDouble
>(val3
);
28395 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28396 if (!SWIG_IsOK(ecode4
)) {
28397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28399 arg4
= static_cast< wxDouble
>(val4
);
28400 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28401 if (!SWIG_IsOK(ecode5
)) {
28402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28404 arg5
= static_cast< wxDouble
>(val5
);
28406 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28409 resultobj
= SWIG_Py_Void();
28416 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28417 PyObject
*resultobj
= 0;
28418 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28421 PyObject
*swig_obj
[1] ;
28423 if (!args
) SWIG_fail
;
28424 swig_obj
[0] = args
;
28425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28426 if (!SWIG_IsOK(res1
)) {
28427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28429 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28431 (arg1
)->ResetClip();
28432 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= SWIG_Py_Void();
28441 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28442 PyObject
*resultobj
= 0;
28443 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28447 PyObject
*swig_obj
[1] ;
28449 if (!args
) SWIG_fail
;
28450 swig_obj
[0] = args
;
28451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28452 if (!SWIG_IsOK(res1
)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28455 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28457 result
= (void *)(arg1
)->GetNativeContext();
28458 if (PyErr_Occurred()) SWIG_fail
;
28460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28467 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28468 PyObject
*resultobj
= 0;
28469 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28473 PyObject
*swig_obj
[1] ;
28475 if (!args
) SWIG_fail
;
28476 swig_obj
[0] = args
;
28477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28478 if (!SWIG_IsOK(res1
)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28481 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28483 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= SWIG_From_int(static_cast< int >(result
));
28493 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
= 0;
28495 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28502 PyObject
* obj0
= 0 ;
28503 PyObject
* obj1
= 0 ;
28504 char * kwnames
[] = {
28505 (char *) "self",(char *) "function", NULL
28508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28510 if (!SWIG_IsOK(res1
)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28513 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28515 if (!SWIG_IsOK(ecode2
)) {
28516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28518 arg2
= static_cast< int >(val2
);
28520 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28532 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
= 0;
28534 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28543 PyObject
* obj0
= 0 ;
28544 PyObject
* obj1
= 0 ;
28545 PyObject
* obj2
= 0 ;
28546 char * kwnames
[] = {
28547 (char *) "self",(char *) "dx",(char *) "dy", NULL
28550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28552 if (!SWIG_IsOK(res1
)) {
28553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28555 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28556 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28557 if (!SWIG_IsOK(ecode2
)) {
28558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28560 arg2
= static_cast< wxDouble
>(val2
);
28561 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28562 if (!SWIG_IsOK(ecode3
)) {
28563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28565 arg3
= static_cast< wxDouble
>(val3
);
28567 (arg1
)->Translate(arg2
,arg3
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= SWIG_Py_Void();
28577 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28578 PyObject
*resultobj
= 0;
28579 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28588 PyObject
* obj0
= 0 ;
28589 PyObject
* obj1
= 0 ;
28590 PyObject
* obj2
= 0 ;
28591 char * kwnames
[] = {
28592 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28597 if (!SWIG_IsOK(res1
)) {
28598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28600 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28601 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28602 if (!SWIG_IsOK(ecode2
)) {
28603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28605 arg2
= static_cast< wxDouble
>(val2
);
28606 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28607 if (!SWIG_IsOK(ecode3
)) {
28608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28610 arg3
= static_cast< wxDouble
>(val3
);
28612 (arg1
)->Scale(arg2
,arg3
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28615 resultobj
= SWIG_Py_Void();
28622 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28623 PyObject
*resultobj
= 0;
28624 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28630 PyObject
* obj0
= 0 ;
28631 PyObject
* obj1
= 0 ;
28632 char * kwnames
[] = {
28633 (char *) "self",(char *) "angle", NULL
28636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28638 if (!SWIG_IsOK(res1
)) {
28639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28641 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28642 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28643 if (!SWIG_IsOK(ecode2
)) {
28644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28646 arg2
= static_cast< wxDouble
>(val2
);
28648 (arg1
)->Rotate(arg2
);
28649 if (PyErr_Occurred()) SWIG_fail
;
28651 resultobj
= SWIG_Py_Void();
28658 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
= 0;
28660 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28661 wxGraphicsMatrix
*arg2
= 0 ;
28666 PyObject
* obj0
= 0 ;
28667 PyObject
* obj1
= 0 ;
28668 char * kwnames
[] = {
28669 (char *) "self",(char *) "matrix", NULL
28672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28674 if (!SWIG_IsOK(res1
)) {
28675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28677 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28679 if (!SWIG_IsOK(res2
)) {
28680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28685 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28687 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28690 resultobj
= SWIG_Py_Void();
28697 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28698 PyObject
*resultobj
= 0;
28699 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28700 wxGraphicsMatrix
*arg2
= 0 ;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 char * kwnames
[] = {
28708 (char *) "self",(char *) "matrix", NULL
28711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28713 if (!SWIG_IsOK(res1
)) {
28714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28716 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28718 if (!SWIG_IsOK(res2
)) {
28719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28724 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28726 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28729 resultobj
= SWIG_Py_Void();
28736 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28737 PyObject
*resultobj
= 0;
28738 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28739 wxGraphicsMatrix result
;
28742 PyObject
*swig_obj
[1] ;
28744 if (!args
) SWIG_fail
;
28745 swig_obj
[0] = args
;
28746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28747 if (!SWIG_IsOK(res1
)) {
28748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28750 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28752 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28762 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28763 PyObject
*resultobj
= 0;
28764 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28765 wxGraphicsPen
*arg2
= 0 ;
28771 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28773 if (!SWIG_IsOK(res1
)) {
28774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28776 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28777 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28778 if (!SWIG_IsOK(res2
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28784 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28786 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= SWIG_Py_Void();
28796 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28797 PyObject
*resultobj
= 0;
28798 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28805 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28807 if (!SWIG_IsOK(res1
)) {
28808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28810 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28811 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28812 if (!SWIG_IsOK(res2
)) {
28813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28818 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28820 (arg1
)->SetPen((wxPen
const &)*arg2
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28823 resultobj
= SWIG_Py_Void();
28830 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28834 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28839 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28840 _v
= SWIG_CheckState(res
);
28842 if (!_v
) goto check_1
;
28843 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28848 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28852 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28857 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28858 PyObject
*resultobj
= 0;
28859 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28860 wxGraphicsBrush
*arg2
= 0 ;
28866 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28868 if (!SWIG_IsOK(res1
)) {
28869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28871 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28872 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28873 if (!SWIG_IsOK(res2
)) {
28874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28879 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28881 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28884 resultobj
= SWIG_Py_Void();
28891 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28892 PyObject
*resultobj
= 0;
28893 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28894 wxBrush
*arg2
= 0 ;
28900 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28902 if (!SWIG_IsOK(res1
)) {
28903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28905 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28906 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28907 if (!SWIG_IsOK(res2
)) {
28908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28913 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28915 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28916 if (PyErr_Occurred()) SWIG_fail
;
28918 resultobj
= SWIG_Py_Void();
28925 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28929 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28934 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28935 _v
= SWIG_CheckState(res
);
28937 if (!_v
) goto check_1
;
28938 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28943 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28947 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28952 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28953 PyObject
*resultobj
= 0;
28954 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28955 wxGraphicsFont
*arg2
= 0 ;
28961 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28963 if (!SWIG_IsOK(res1
)) {
28964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28966 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28967 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28968 if (!SWIG_IsOK(res2
)) {
28969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28974 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28976 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28977 if (PyErr_Occurred()) SWIG_fail
;
28979 resultobj
= SWIG_Py_Void();
28986 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28987 PyObject
*resultobj
= 0;
28988 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28990 wxColour
const &arg3_defvalue
= *wxBLACK
;
28991 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28998 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29000 if (!SWIG_IsOK(res1
)) {
29001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29003 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29004 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29005 if (!SWIG_IsOK(res2
)) {
29006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29011 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29015 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29019 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= SWIG_Py_Void();
29029 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29033 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29038 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29039 _v
= SWIG_CheckState(res
);
29041 if (!_v
) goto check_1
;
29042 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29046 if ((argc
>= 2) && (argc
<= 3)) {
29047 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29051 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29056 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
= 0;
29058 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29059 wxGraphicsPath
*arg2
= 0 ;
29064 PyObject
* obj0
= 0 ;
29065 PyObject
* obj1
= 0 ;
29066 char * kwnames
[] = {
29067 (char *) "self",(char *) "path", NULL
29070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29072 if (!SWIG_IsOK(res1
)) {
29073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29075 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29077 if (!SWIG_IsOK(res2
)) {
29078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29083 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29085 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29088 resultobj
= SWIG_Py_Void();
29095 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29096 PyObject
*resultobj
= 0;
29097 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29098 wxGraphicsPath
*arg2
= 0 ;
29099 int arg3
= (int) wxODDEVEN_RULE
;
29106 PyObject
* obj0
= 0 ;
29107 PyObject
* obj1
= 0 ;
29108 PyObject
* obj2
= 0 ;
29109 char * kwnames
[] = {
29110 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29118 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29120 if (!SWIG_IsOK(res2
)) {
29121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29126 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29129 if (!SWIG_IsOK(ecode3
)) {
29130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29132 arg3
= static_cast< int >(val3
);
29135 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29138 resultobj
= SWIG_Py_Void();
29145 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29146 PyObject
*resultobj
= 0;
29147 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29148 wxGraphicsPath
*arg2
= 0 ;
29149 int arg3
= (int) wxODDEVEN_RULE
;
29156 PyObject
* obj0
= 0 ;
29157 PyObject
* obj1
= 0 ;
29158 PyObject
* obj2
= 0 ;
29159 char * kwnames
[] = {
29160 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29165 if (!SWIG_IsOK(res1
)) {
29166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29168 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29170 if (!SWIG_IsOK(res2
)) {
29171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29176 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29179 if (!SWIG_IsOK(ecode3
)) {
29180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29182 arg3
= static_cast< int >(val3
);
29185 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29188 resultobj
= SWIG_Py_Void();
29195 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
= 0;
29197 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29198 wxString
*arg2
= 0 ;
29201 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29202 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29205 bool temp2
= false ;
29212 PyObject
* obj0
= 0 ;
29213 PyObject
* obj1
= 0 ;
29214 PyObject
* obj2
= 0 ;
29215 PyObject
* obj3
= 0 ;
29216 PyObject
* obj4
= 0 ;
29217 char * kwnames
[] = {
29218 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29223 if (!SWIG_IsOK(res1
)) {
29224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29226 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29228 arg2
= wxString_in_helper(obj1
);
29229 if (arg2
== NULL
) SWIG_fail
;
29232 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29233 if (!SWIG_IsOK(ecode3
)) {
29234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29236 arg3
= static_cast< wxDouble
>(val3
);
29237 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29238 if (!SWIG_IsOK(ecode4
)) {
29239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29241 arg4
= static_cast< wxDouble
>(val4
);
29243 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29244 if (!SWIG_IsOK(res5
)) {
29245 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29250 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29253 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29256 resultobj
= SWIG_Py_Void();
29271 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
= 0;
29273 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29274 wxString
*arg2
= 0 ;
29278 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29279 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29282 bool temp2
= false ;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 PyObject
* obj2
= 0 ;
29294 PyObject
* obj3
= 0 ;
29295 PyObject
* obj4
= 0 ;
29296 PyObject
* obj5
= 0 ;
29297 char * kwnames
[] = {
29298 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29303 if (!SWIG_IsOK(res1
)) {
29304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29306 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29308 arg2
= wxString_in_helper(obj1
);
29309 if (arg2
== NULL
) SWIG_fail
;
29312 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29313 if (!SWIG_IsOK(ecode3
)) {
29314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29316 arg3
= static_cast< wxDouble
>(val3
);
29317 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29318 if (!SWIG_IsOK(ecode4
)) {
29319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29321 arg4
= static_cast< wxDouble
>(val4
);
29322 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29323 if (!SWIG_IsOK(ecode5
)) {
29324 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29326 arg5
= static_cast< wxDouble
>(val5
);
29328 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29329 if (!SWIG_IsOK(res6
)) {
29330 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29335 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29338 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29341 resultobj
= SWIG_Py_Void();
29356 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
= 0;
29358 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29359 wxString
*arg2
= 0 ;
29360 wxDouble
*arg3
= (wxDouble
*) 0 ;
29361 wxDouble
*arg4
= (wxDouble
*) 0 ;
29362 wxDouble
*arg5
= (wxDouble
*) 0 ;
29363 wxDouble
*arg6
= (wxDouble
*) 0 ;
29366 bool temp2
= false ;
29368 int res3
= SWIG_TMPOBJ
;
29370 int res4
= SWIG_TMPOBJ
;
29372 int res5
= SWIG_TMPOBJ
;
29374 int res6
= SWIG_TMPOBJ
;
29375 PyObject
* obj0
= 0 ;
29376 PyObject
* obj1
= 0 ;
29377 char * kwnames
[] = {
29378 (char *) "self",(char *) "text", NULL
29385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29387 if (!SWIG_IsOK(res1
)) {
29388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29390 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29392 arg2
= wxString_in_helper(obj1
);
29393 if (arg2
== NULL
) SWIG_fail
;
29397 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= SWIG_Py_Void();
29401 if (SWIG_IsTmpObj(res3
)) {
29402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29404 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29407 if (SWIG_IsTmpObj(res4
)) {
29408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29410 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29413 if (SWIG_IsTmpObj(res5
)) {
29414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29416 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29419 if (SWIG_IsTmpObj(res6
)) {
29420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29422 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29439 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29440 PyObject
*resultobj
= 0;
29441 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29442 wxString
*arg2
= 0 ;
29443 PyObject
*result
= 0 ;
29446 bool temp2
= false ;
29447 PyObject
* obj0
= 0 ;
29448 PyObject
* obj1
= 0 ;
29449 char * kwnames
[] = {
29450 (char *) "self",(char *) "text", NULL
29453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) 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_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29458 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29460 arg2
= wxString_in_helper(obj1
);
29461 if (arg2
== NULL
) SWIG_fail
;
29465 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= result
;
29483 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29484 PyObject
*resultobj
= 0;
29485 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29486 wxString
*arg2
= 0 ;
29487 wxArrayDouble result
;
29490 bool temp2
= false ;
29491 PyObject
* obj0
= 0 ;
29492 PyObject
* obj1
= 0 ;
29493 char * kwnames
[] = {
29494 (char *) "self",(char *) "text", NULL
29497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29499 if (!SWIG_IsOK(res1
)) {
29500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29502 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29504 arg2
= wxString_in_helper(obj1
);
29505 if (arg2
== NULL
) SWIG_fail
;
29509 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= wxArrayDouble2PyList_helper(result
);
29529 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29530 PyObject
*resultobj
= 0;
29531 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29532 wxBitmap
*arg2
= 0 ;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 PyObject
* obj2
= 0 ;
29552 PyObject
* obj3
= 0 ;
29553 PyObject
* obj4
= 0 ;
29554 PyObject
* obj5
= 0 ;
29555 char * kwnames
[] = {
29556 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29561 if (!SWIG_IsOK(res1
)) {
29562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29564 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29566 if (!SWIG_IsOK(res2
)) {
29567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29572 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29573 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29574 if (!SWIG_IsOK(ecode3
)) {
29575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29577 arg3
= static_cast< wxDouble
>(val3
);
29578 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29579 if (!SWIG_IsOK(ecode4
)) {
29580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29582 arg4
= static_cast< wxDouble
>(val4
);
29583 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29584 if (!SWIG_IsOK(ecode5
)) {
29585 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29587 arg5
= static_cast< wxDouble
>(val5
);
29588 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29589 if (!SWIG_IsOK(ecode6
)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29592 arg6
= static_cast< wxDouble
>(val6
);
29594 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 resultobj
= SWIG_Py_Void();
29604 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
= 0;
29606 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 PyObject
* obj2
= 0 ;
29627 PyObject
* obj3
= 0 ;
29628 PyObject
* obj4
= 0 ;
29629 PyObject
* obj5
= 0 ;
29630 char * kwnames
[] = {
29631 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29636 if (!SWIG_IsOK(res1
)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29639 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29641 if (!SWIG_IsOK(res2
)) {
29642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29647 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29648 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29649 if (!SWIG_IsOK(ecode3
)) {
29650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29652 arg3
= static_cast< wxDouble
>(val3
);
29653 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29654 if (!SWIG_IsOK(ecode4
)) {
29655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29657 arg4
= static_cast< wxDouble
>(val4
);
29658 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29659 if (!SWIG_IsOK(ecode5
)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29662 arg5
= static_cast< wxDouble
>(val5
);
29663 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29664 if (!SWIG_IsOK(ecode6
)) {
29665 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29667 arg6
= static_cast< wxDouble
>(val6
);
29669 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= SWIG_Py_Void();
29679 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
= 0;
29681 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29696 PyObject
* obj0
= 0 ;
29697 PyObject
* obj1
= 0 ;
29698 PyObject
* obj2
= 0 ;
29699 PyObject
* obj3
= 0 ;
29700 PyObject
* obj4
= 0 ;
29701 char * kwnames
[] = {
29702 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29707 if (!SWIG_IsOK(res1
)) {
29708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29710 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29711 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29712 if (!SWIG_IsOK(ecode2
)) {
29713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29715 arg2
= static_cast< wxDouble
>(val2
);
29716 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29717 if (!SWIG_IsOK(ecode3
)) {
29718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29720 arg3
= static_cast< wxDouble
>(val3
);
29721 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29722 if (!SWIG_IsOK(ecode4
)) {
29723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29725 arg4
= static_cast< wxDouble
>(val4
);
29726 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29727 if (!SWIG_IsOK(ecode5
)) {
29728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29730 arg5
= static_cast< wxDouble
>(val5
);
29732 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29735 resultobj
= SWIG_Py_Void();
29742 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29743 PyObject
*resultobj
= 0;
29744 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29746 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29749 PyObject
* obj0
= 0 ;
29750 PyObject
* obj1
= 0 ;
29751 char * kwnames
[] = {
29752 (char *) "self",(char *) "points", NULL
29755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29757 if (!SWIG_IsOK(res1
)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29760 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29762 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29763 if (arg3
== NULL
) SWIG_fail
;
29766 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29769 resultobj
= SWIG_Py_Void();
29771 if (arg3
) delete [] arg3
;
29776 if (arg3
) delete [] arg3
;
29782 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29783 PyObject
*resultobj
= 0;
29784 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29785 PyObject
*arg2
= (PyObject
*) 0 ;
29786 PyObject
*arg3
= (PyObject
*) 0 ;
29789 PyObject
* obj0
= 0 ;
29790 PyObject
* obj1
= 0 ;
29791 PyObject
* obj2
= 0 ;
29792 char * kwnames
[] = {
29793 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29798 if (!SWIG_IsOK(res1
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29801 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29805 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29808 resultobj
= SWIG_Py_Void();
29815 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29816 PyObject
*resultobj
= 0;
29817 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29819 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29820 int arg4
= (int) wxODDEVEN_RULE
;
29825 PyObject
* obj0
= 0 ;
29826 PyObject
* obj1
= 0 ;
29827 PyObject
* obj2
= 0 ;
29828 char * kwnames
[] = {
29829 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29834 if (!SWIG_IsOK(res1
)) {
29835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29837 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29839 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29840 if (arg3
== NULL
) SWIG_fail
;
29843 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29844 if (!SWIG_IsOK(ecode4
)) {
29845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29847 arg4
= static_cast< int >(val4
);
29850 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= SWIG_Py_Void();
29855 if (arg3
) delete [] arg3
;
29860 if (arg3
) delete [] arg3
;
29866 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29867 PyObject
*resultobj
= 0;
29868 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29883 PyObject
* obj0
= 0 ;
29884 PyObject
* obj1
= 0 ;
29885 PyObject
* obj2
= 0 ;
29886 PyObject
* obj3
= 0 ;
29887 PyObject
* obj4
= 0 ;
29888 char * kwnames
[] = {
29889 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29897 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29898 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29899 if (!SWIG_IsOK(ecode2
)) {
29900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29902 arg2
= static_cast< wxDouble
>(val2
);
29903 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29904 if (!SWIG_IsOK(ecode3
)) {
29905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29907 arg3
= static_cast< wxDouble
>(val3
);
29908 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29909 if (!SWIG_IsOK(ecode4
)) {
29910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29912 arg4
= static_cast< wxDouble
>(val4
);
29913 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29914 if (!SWIG_IsOK(ecode5
)) {
29915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29917 arg5
= static_cast< wxDouble
>(val5
);
29919 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= SWIG_Py_Void();
29929 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
= 0;
29931 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29946 PyObject
* obj0
= 0 ;
29947 PyObject
* obj1
= 0 ;
29948 PyObject
* obj2
= 0 ;
29949 PyObject
* obj3
= 0 ;
29950 PyObject
* obj4
= 0 ;
29951 char * kwnames
[] = {
29952 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29957 if (!SWIG_IsOK(res1
)) {
29958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29960 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29961 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29962 if (!SWIG_IsOK(ecode2
)) {
29963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29965 arg2
= static_cast< wxDouble
>(val2
);
29966 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29967 if (!SWIG_IsOK(ecode3
)) {
29968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29970 arg3
= static_cast< wxDouble
>(val3
);
29971 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29972 if (!SWIG_IsOK(ecode4
)) {
29973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29975 arg4
= static_cast< wxDouble
>(val4
);
29976 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29977 if (!SWIG_IsOK(ecode5
)) {
29978 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29980 arg5
= static_cast< wxDouble
>(val5
);
29982 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= SWIG_Py_Void();
29992 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29993 PyObject
*resultobj
= 0;
29994 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30012 PyObject
* obj0
= 0 ;
30013 PyObject
* obj1
= 0 ;
30014 PyObject
* obj2
= 0 ;
30015 PyObject
* obj3
= 0 ;
30016 PyObject
* obj4
= 0 ;
30017 PyObject
* obj5
= 0 ;
30018 char * kwnames
[] = {
30019 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30024 if (!SWIG_IsOK(res1
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30027 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30028 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30029 if (!SWIG_IsOK(ecode2
)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30032 arg2
= static_cast< wxDouble
>(val2
);
30033 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30034 if (!SWIG_IsOK(ecode3
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30037 arg3
= static_cast< wxDouble
>(val3
);
30038 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30039 if (!SWIG_IsOK(ecode4
)) {
30040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30042 arg4
= static_cast< wxDouble
>(val4
);
30043 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30044 if (!SWIG_IsOK(ecode5
)) {
30045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30047 arg5
= static_cast< wxDouble
>(val5
);
30048 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30049 if (!SWIG_IsOK(ecode6
)) {
30050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30052 arg6
= static_cast< wxDouble
>(val6
);
30054 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30055 if (PyErr_Occurred()) SWIG_fail
;
30057 resultobj
= SWIG_Py_Void();
30064 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30065 PyObject
*resultobj
= 0;
30066 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30070 PyObject
*swig_obj
[1] ;
30072 if (!args
) SWIG_fail
;
30073 swig_obj
[0] = args
;
30074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30075 if (!SWIG_IsOK(res1
)) {
30076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30078 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30080 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30081 if (PyErr_Occurred()) SWIG_fail
;
30084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30092 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30095 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30096 return SWIG_Py_Void();
30099 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30100 PyObject
*resultobj
= 0;
30101 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30104 PyObject
*swig_obj
[1] ;
30106 if (!args
) SWIG_fail
;
30107 swig_obj
[0] = args
;
30108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30109 if (!SWIG_IsOK(res1
)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30112 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30118 resultobj
= SWIG_Py_Void();
30125 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30126 PyObject
*resultobj
= 0;
30127 wxGraphicsRenderer
*result
= 0 ;
30129 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30131 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30132 if (PyErr_Occurred()) SWIG_fail
;
30134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30141 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30142 PyObject
*resultobj
= 0;
30143 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30144 wxWindowDC
*arg2
= 0 ;
30145 wxGraphicsContext
*result
= 0 ;
30151 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30153 if (!SWIG_IsOK(res1
)) {
30154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30156 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30157 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30158 if (!SWIG_IsOK(res2
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30164 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30166 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30176 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30177 PyObject
*resultobj
= 0;
30178 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30179 wxWindow
*arg2
= (wxWindow
*) 0 ;
30180 wxGraphicsContext
*result
= 0 ;
30186 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30188 if (!SWIG_IsOK(res1
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30191 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30192 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30193 if (!SWIG_IsOK(res2
)) {
30194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30198 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30208 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30212 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30217 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30218 _v
= SWIG_CheckState(res
);
30220 if (!_v
) goto check_1
;
30221 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30226 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30230 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30235 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30236 PyObject
*resultobj
= 0;
30237 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30238 wxGraphicsContext
*result
= 0 ;
30241 PyObject
*swig_obj
[1] ;
30243 if (!args
) SWIG_fail
;
30244 swig_obj
[0] = args
;
30245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30246 if (!SWIG_IsOK(res1
)) {
30247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30249 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30251 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30252 if (PyErr_Occurred()) SWIG_fail
;
30254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30261 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30262 PyObject
*resultobj
= 0;
30263 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30264 void *arg2
= (void *) 0 ;
30265 wxGraphicsContext
*result
= 0 ;
30269 PyObject
* obj0
= 0 ;
30270 PyObject
* obj1
= 0 ;
30271 char * kwnames
[] = {
30272 (char *) "self",(char *) "context", NULL
30275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30277 if (!SWIG_IsOK(res1
)) {
30278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30280 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30281 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30282 if (!SWIG_IsOK(res2
)) {
30283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30286 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30287 if (PyErr_Occurred()) SWIG_fail
;
30289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30296 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30297 PyObject
*resultobj
= 0;
30298 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30299 void *arg2
= (void *) 0 ;
30300 wxGraphicsContext
*result
= 0 ;
30304 PyObject
* obj0
= 0 ;
30305 PyObject
* obj1
= 0 ;
30306 char * kwnames
[] = {
30307 (char *) "self",(char *) "window", NULL
30310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30312 if (!SWIG_IsOK(res1
)) {
30313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30315 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30316 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30317 if (!SWIG_IsOK(res2
)) {
30318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30321 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30331 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30332 PyObject
*resultobj
= 0;
30333 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30334 wxGraphicsPath result
;
30337 PyObject
*swig_obj
[1] ;
30339 if (!args
) SWIG_fail
;
30340 swig_obj
[0] = args
;
30341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30342 if (!SWIG_IsOK(res1
)) {
30343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30345 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30347 result
= (arg1
)->CreatePath();
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30357 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30358 PyObject
*resultobj
= 0;
30359 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30360 wxDouble arg2
= (wxDouble
) 1.0 ;
30361 wxDouble arg3
= (wxDouble
) 0.0 ;
30362 wxDouble arg4
= (wxDouble
) 0.0 ;
30363 wxDouble arg5
= (wxDouble
) 1.0 ;
30364 wxDouble arg6
= (wxDouble
) 0.0 ;
30365 wxDouble arg7
= (wxDouble
) 0.0 ;
30366 wxGraphicsMatrix result
;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 PyObject
* obj2
= 0 ;
30384 PyObject
* obj3
= 0 ;
30385 PyObject
* obj4
= 0 ;
30386 PyObject
* obj5
= 0 ;
30387 PyObject
* obj6
= 0 ;
30388 char * kwnames
[] = {
30389 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30394 if (!SWIG_IsOK(res1
)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30397 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30399 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30400 if (!SWIG_IsOK(ecode2
)) {
30401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30403 arg2
= static_cast< wxDouble
>(val2
);
30406 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30407 if (!SWIG_IsOK(ecode3
)) {
30408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30410 arg3
= static_cast< wxDouble
>(val3
);
30413 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30414 if (!SWIG_IsOK(ecode4
)) {
30415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30417 arg4
= static_cast< wxDouble
>(val4
);
30420 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30421 if (!SWIG_IsOK(ecode5
)) {
30422 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30424 arg5
= static_cast< wxDouble
>(val5
);
30427 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30428 if (!SWIG_IsOK(ecode6
)) {
30429 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30431 arg6
= static_cast< wxDouble
>(val6
);
30434 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30435 if (!SWIG_IsOK(ecode7
)) {
30436 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30438 arg7
= static_cast< wxDouble
>(val7
);
30441 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30444 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30451 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
= 0;
30453 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30455 wxGraphicsPen result
;
30460 PyObject
* obj0
= 0 ;
30461 PyObject
* obj1
= 0 ;
30462 char * kwnames
[] = {
30463 (char *) "self",(char *) "pen", NULL
30466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30468 if (!SWIG_IsOK(res1
)) {
30469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30471 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30473 if (!SWIG_IsOK(res2
)) {
30474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30479 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30481 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30491 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30492 PyObject
*resultobj
= 0;
30493 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30494 wxBrush
*arg2
= 0 ;
30495 wxGraphicsBrush result
;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 char * kwnames
[] = {
30503 (char *) "self",(char *) "brush", NULL
30506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30508 if (!SWIG_IsOK(res1
)) {
30509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30511 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30513 if (!SWIG_IsOK(res2
)) {
30514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30519 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30521 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30524 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30531 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30532 PyObject
*resultobj
= 0;
30533 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30538 wxColour
*arg6
= 0 ;
30539 wxColour
*arg7
= 0 ;
30540 wxGraphicsBrush result
;
30553 PyObject
* obj0
= 0 ;
30554 PyObject
* obj1
= 0 ;
30555 PyObject
* obj2
= 0 ;
30556 PyObject
* obj3
= 0 ;
30557 PyObject
* obj4
= 0 ;
30558 PyObject
* obj5
= 0 ;
30559 PyObject
* obj6
= 0 ;
30560 char * kwnames
[] = {
30561 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30569 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30570 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30571 if (!SWIG_IsOK(ecode2
)) {
30572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30574 arg2
= static_cast< wxDouble
>(val2
);
30575 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30576 if (!SWIG_IsOK(ecode3
)) {
30577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30579 arg3
= static_cast< wxDouble
>(val3
);
30580 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30581 if (!SWIG_IsOK(ecode4
)) {
30582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30584 arg4
= static_cast< wxDouble
>(val4
);
30585 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30586 if (!SWIG_IsOK(ecode5
)) {
30587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30589 arg5
= static_cast< wxDouble
>(val5
);
30592 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30596 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30599 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30602 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30609 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30610 PyObject
*resultobj
= 0;
30611 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30617 wxColour
*arg7
= 0 ;
30618 wxColour
*arg8
= 0 ;
30619 wxGraphicsBrush result
;
30634 PyObject
* obj0
= 0 ;
30635 PyObject
* obj1
= 0 ;
30636 PyObject
* obj2
= 0 ;
30637 PyObject
* obj3
= 0 ;
30638 PyObject
* obj4
= 0 ;
30639 PyObject
* obj5
= 0 ;
30640 PyObject
* obj6
= 0 ;
30641 PyObject
* obj7
= 0 ;
30642 char * kwnames
[] = {
30643 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30648 if (!SWIG_IsOK(res1
)) {
30649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30651 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30652 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30653 if (!SWIG_IsOK(ecode2
)) {
30654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30656 arg2
= static_cast< wxDouble
>(val2
);
30657 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30658 if (!SWIG_IsOK(ecode3
)) {
30659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30661 arg3
= static_cast< wxDouble
>(val3
);
30662 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30663 if (!SWIG_IsOK(ecode4
)) {
30664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30666 arg4
= static_cast< wxDouble
>(val4
);
30667 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30668 if (!SWIG_IsOK(ecode5
)) {
30669 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30671 arg5
= static_cast< wxDouble
>(val5
);
30672 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30673 if (!SWIG_IsOK(ecode6
)) {
30674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30676 arg6
= static_cast< wxDouble
>(val6
);
30679 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30683 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30686 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30696 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
= 0;
30698 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30700 wxColour
const &arg3_defvalue
= *wxBLACK
;
30701 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30702 wxGraphicsFont result
;
30708 PyObject
* obj0
= 0 ;
30709 PyObject
* obj1
= 0 ;
30710 PyObject
* obj2
= 0 ;
30711 char * kwnames
[] = {
30712 (char *) "self",(char *) "font",(char *) "col", NULL
30715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30717 if (!SWIG_IsOK(res1
)) {
30718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30720 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30722 if (!SWIG_IsOK(res2
)) {
30723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30728 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30732 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30736 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30746 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30749 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30750 return SWIG_Py_Void();
30753 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30754 PyObject
*resultobj
= 0;
30755 wxWindowDC
*arg1
= 0 ;
30756 wxGCDC
*result
= 0 ;
30760 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30762 if (!SWIG_IsOK(res1
)) {
30763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30768 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30770 if (!wxPyCheckForApp()) SWIG_fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30783 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30784 PyObject
*resultobj
= 0;
30785 wxWindow
*arg1
= (wxWindow
*) 0 ;
30786 wxGCDC
*result
= 0 ;
30790 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30792 if (!SWIG_IsOK(res1
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30797 if (!wxPyCheckForApp()) SWIG_fail
;
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 result
= (wxGCDC
*)new wxGCDC(arg1
);
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30810 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30814 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30819 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30820 _v
= SWIG_CheckState(res
);
30822 if (!_v
) goto check_1
;
30823 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30828 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30832 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30837 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30838 PyObject
*resultobj
= 0;
30839 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30842 PyObject
*swig_obj
[1] ;
30844 if (!args
) SWIG_fail
;
30845 swig_obj
[0] = args
;
30846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30850 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= SWIG_Py_Void();
30863 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30864 PyObject
*resultobj
= 0;
30865 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30866 wxGraphicsContext
*result
= 0 ;
30869 PyObject
*swig_obj
[1] ;
30871 if (!args
) SWIG_fail
;
30872 swig_obj
[0] = args
;
30873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30874 if (!SWIG_IsOK(res1
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30877 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30879 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30880 if (PyErr_Occurred()) SWIG_fail
;
30882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30889 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30890 PyObject
*resultobj
= 0;
30891 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30892 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30897 PyObject
* obj0
= 0 ;
30898 PyObject
* obj1
= 0 ;
30899 char * kwnames
[] = {
30900 (char *) "self",(char *) "ctx", NULL
30903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30905 if (!SWIG_IsOK(res1
)) {
30906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30908 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30909 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30910 if (!SWIG_IsOK(res2
)) {
30911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30913 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30915 (arg1
)->SetGraphicsContext(arg2
);
30916 if (PyErr_Occurred()) SWIG_fail
;
30918 resultobj
= SWIG_Py_Void();
30925 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30928 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30929 return SWIG_Py_Void();
30932 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30933 return SWIG_Python_InitShadowInstance(args
);
30936 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30937 PyObject
*resultobj
= 0;
30938 wxOverlay
*result
= 0 ;
30940 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 result
= (wxOverlay
*)new wxOverlay();
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30954 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30955 PyObject
*resultobj
= 0;
30956 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30959 PyObject
*swig_obj
[1] ;
30961 if (!args
) SWIG_fail
;
30962 swig_obj
[0] = args
;
30963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30964 if (!SWIG_IsOK(res1
)) {
30965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30967 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30975 resultobj
= SWIG_Py_Void();
30982 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30983 PyObject
*resultobj
= 0;
30984 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30987 PyObject
*swig_obj
[1] ;
30989 if (!args
) SWIG_fail
;
30990 swig_obj
[0] = args
;
30991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30992 if (!SWIG_IsOK(res1
)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30995 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30999 wxPyEndAllowThreads(__tstate
);
31000 if (PyErr_Occurred()) SWIG_fail
;
31002 resultobj
= SWIG_Py_Void();
31009 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31012 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31013 return SWIG_Py_Void();
31016 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31017 return SWIG_Python_InitShadowInstance(args
);
31020 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31021 PyObject
*resultobj
= 0;
31022 wxOverlay
*arg1
= 0 ;
31023 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31028 wxDCOverlay
*result
= 0 ;
31042 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31044 if (!SWIG_IsOK(res1
)) {
31045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31050 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31051 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31052 if (!SWIG_IsOK(res2
)) {
31053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31055 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31056 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31057 if (!SWIG_IsOK(ecode3
)) {
31058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31060 arg3
= static_cast< int >(val3
);
31061 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31062 if (!SWIG_IsOK(ecode4
)) {
31063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31065 arg4
= static_cast< int >(val4
);
31066 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31067 if (!SWIG_IsOK(ecode5
)) {
31068 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31070 arg5
= static_cast< int >(val5
);
31071 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31072 if (!SWIG_IsOK(ecode6
)) {
31073 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31075 arg6
= static_cast< int >(val6
);
31077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31078 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31079 wxPyEndAllowThreads(__tstate
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31089 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31090 PyObject
*resultobj
= 0;
31091 wxOverlay
*arg1
= 0 ;
31092 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31093 wxDCOverlay
*result
= 0 ;
31099 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31101 if (!SWIG_IsOK(res1
)) {
31102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31107 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31108 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31109 if (!SWIG_IsOK(res2
)) {
31110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31112 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31115 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31126 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31130 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31133 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31136 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31140 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31145 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31146 PyObject
*resultobj
= 0;
31147 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31150 PyObject
*swig_obj
[1] ;
31152 if (!args
) SWIG_fail
;
31153 swig_obj
[0] = args
;
31154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31155 if (!SWIG_IsOK(res1
)) {
31156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31158 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= SWIG_Py_Void();
31173 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31174 PyObject
*resultobj
= 0;
31175 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31178 PyObject
*swig_obj
[1] ;
31180 if (!args
) SWIG_fail
;
31181 swig_obj
[0] = args
;
31182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31183 if (!SWIG_IsOK(res1
)) {
31184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31186 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31190 wxPyEndAllowThreads(__tstate
);
31191 if (PyErr_Occurred()) SWIG_fail
;
31193 resultobj
= SWIG_Py_Void();
31200 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31203 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31204 return SWIG_Py_Void();
31207 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31208 return SWIG_Python_InitShadowInstance(args
);
31211 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31212 PyObject
*resultobj
= 0;
31215 int arg3
= (int) true ;
31216 int arg4
= (int) 1 ;
31217 wxImageList
*result
= 0 ;
31226 PyObject
* obj0
= 0 ;
31227 PyObject
* obj1
= 0 ;
31228 PyObject
* obj2
= 0 ;
31229 PyObject
* obj3
= 0 ;
31230 char * kwnames
[] = {
31231 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31235 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31236 if (!SWIG_IsOK(ecode1
)) {
31237 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31239 arg1
= static_cast< int >(val1
);
31240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31241 if (!SWIG_IsOK(ecode2
)) {
31242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31244 arg2
= static_cast< int >(val2
);
31246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31247 if (!SWIG_IsOK(ecode3
)) {
31248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31250 arg3
= static_cast< int >(val3
);
31253 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31254 if (!SWIG_IsOK(ecode4
)) {
31255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31257 arg4
= static_cast< int >(val4
);
31260 if (!wxPyCheckForApp()) SWIG_fail
;
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31262 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31263 wxPyEndAllowThreads(__tstate
);
31264 if (PyErr_Occurred()) SWIG_fail
;
31266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31273 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31274 PyObject
*resultobj
= 0;
31275 wxImageList
*arg1
= (wxImageList
*) 0 ;
31278 PyObject
*swig_obj
[1] ;
31280 if (!args
) SWIG_fail
;
31281 swig_obj
[0] = args
;
31282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31283 if (!SWIG_IsOK(res1
)) {
31284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31286 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31291 wxPyEndAllowThreads(__tstate
);
31292 if (PyErr_Occurred()) SWIG_fail
;
31294 resultobj
= SWIG_Py_Void();
31301 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31302 PyObject
*resultobj
= 0;
31303 wxImageList
*arg1
= (wxImageList
*) 0 ;
31304 wxBitmap
*arg2
= 0 ;
31305 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31306 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31314 PyObject
* obj0
= 0 ;
31315 PyObject
* obj1
= 0 ;
31316 PyObject
* obj2
= 0 ;
31317 char * kwnames
[] = {
31318 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31323 if (!SWIG_IsOK(res1
)) {
31324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31326 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31328 if (!SWIG_IsOK(res2
)) {
31329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31334 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31336 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31337 if (!SWIG_IsOK(res3
)) {
31338 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31343 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= SWIG_From_int(static_cast< int >(result
));
31358 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
= 0;
31360 wxImageList
*arg1
= (wxImageList
*) 0 ;
31361 wxBitmap
*arg2
= 0 ;
31362 wxColour
*arg3
= 0 ;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 PyObject
* obj2
= 0 ;
31372 char * kwnames
[] = {
31373 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31378 if (!SWIG_IsOK(res1
)) {
31379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31381 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31383 if (!SWIG_IsOK(res2
)) {
31384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31389 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31392 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31400 resultobj
= SWIG_From_int(static_cast< int >(result
));
31407 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31408 PyObject
*resultobj
= 0;
31409 wxImageList
*arg1
= (wxImageList
*) 0 ;
31416 PyObject
* obj0
= 0 ;
31417 PyObject
* obj1
= 0 ;
31418 char * kwnames
[] = {
31419 (char *) "self",(char *) "icon", NULL
31422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31424 if (!SWIG_IsOK(res1
)) {
31425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31427 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31428 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31429 if (!SWIG_IsOK(res2
)) {
31430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31433 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31435 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31438 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31439 wxPyEndAllowThreads(__tstate
);
31440 if (PyErr_Occurred()) SWIG_fail
;
31442 resultobj
= SWIG_From_int(static_cast< int >(result
));
31449 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
= 0;
31451 wxImageList
*arg1
= (wxImageList
*) 0 ;
31453 SwigValueWrapper
<wxBitmap
> result
;
31458 PyObject
* obj0
= 0 ;
31459 PyObject
* obj1
= 0 ;
31460 char * kwnames
[] = {
31461 (char *) "self",(char *) "index", NULL
31464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31466 if (!SWIG_IsOK(res1
)) {
31467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31469 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31471 if (!SWIG_IsOK(ecode2
)) {
31472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31474 arg2
= static_cast< int >(val2
);
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31478 wxPyEndAllowThreads(__tstate
);
31479 if (PyErr_Occurred()) SWIG_fail
;
31481 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31488 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31489 PyObject
*resultobj
= 0;
31490 wxImageList
*arg1
= (wxImageList
*) 0 ;
31497 PyObject
* obj0
= 0 ;
31498 PyObject
* obj1
= 0 ;
31499 char * kwnames
[] = {
31500 (char *) "self",(char *) "index", NULL
31503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31505 if (!SWIG_IsOK(res1
)) {
31506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31508 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31510 if (!SWIG_IsOK(ecode2
)) {
31511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31513 arg2
= static_cast< int >(val2
);
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31527 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
= 0;
31529 wxImageList
*arg1
= (wxImageList
*) 0 ;
31531 wxBitmap
*arg3
= 0 ;
31532 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31533 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31543 PyObject
* obj0
= 0 ;
31544 PyObject
* obj1
= 0 ;
31545 PyObject
* obj2
= 0 ;
31546 PyObject
* obj3
= 0 ;
31547 char * kwnames
[] = {
31548 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31553 if (!SWIG_IsOK(res1
)) {
31554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31556 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31558 if (!SWIG_IsOK(ecode2
)) {
31559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31561 arg2
= static_cast< int >(val2
);
31562 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31563 if (!SWIG_IsOK(res3
)) {
31564 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31569 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31571 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31572 if (!SWIG_IsOK(res4
)) {
31573 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31578 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31583 wxPyEndAllowThreads(__tstate
);
31584 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31595 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31596 PyObject
*resultobj
= 0;
31597 wxImageList
*arg1
= (wxImageList
*) 0 ;
31602 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31603 bool arg7
= (bool) (bool)false ;
31619 PyObject
* obj0
= 0 ;
31620 PyObject
* obj1
= 0 ;
31621 PyObject
* obj2
= 0 ;
31622 PyObject
* obj3
= 0 ;
31623 PyObject
* obj4
= 0 ;
31624 PyObject
* obj5
= 0 ;
31625 PyObject
* obj6
= 0 ;
31626 char * kwnames
[] = {
31627 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31632 if (!SWIG_IsOK(res1
)) {
31633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31635 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31637 if (!SWIG_IsOK(ecode2
)) {
31638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31640 arg2
= static_cast< int >(val2
);
31641 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31642 if (!SWIG_IsOK(res3
)) {
31643 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31648 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31649 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31650 if (!SWIG_IsOK(ecode4
)) {
31651 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31653 arg4
= static_cast< int >(val4
);
31654 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31655 if (!SWIG_IsOK(ecode5
)) {
31656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31658 arg5
= static_cast< int >(val5
);
31660 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31661 if (!SWIG_IsOK(ecode6
)) {
31662 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31664 arg6
= static_cast< int >(val6
);
31667 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31668 if (!SWIG_IsOK(ecode7
)) {
31669 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31671 arg7
= static_cast< bool >(val7
);
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31688 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31689 PyObject
*resultobj
= 0;
31690 wxImageList
*arg1
= (wxImageList
*) 0 ;
31694 PyObject
*swig_obj
[1] ;
31696 if (!args
) SWIG_fail
;
31697 swig_obj
[0] = args
;
31698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31699 if (!SWIG_IsOK(res1
)) {
31700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31702 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 result
= (int)(arg1
)->GetImageCount();
31706 wxPyEndAllowThreads(__tstate
);
31707 if (PyErr_Occurred()) SWIG_fail
;
31709 resultobj
= SWIG_From_int(static_cast< int >(result
));
31716 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31717 PyObject
*resultobj
= 0;
31718 wxImageList
*arg1
= (wxImageList
*) 0 ;
31725 PyObject
* obj0
= 0 ;
31726 PyObject
* obj1
= 0 ;
31727 char * kwnames
[] = {
31728 (char *) "self",(char *) "index", NULL
31731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31733 if (!SWIG_IsOK(res1
)) {
31734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31736 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31738 if (!SWIG_IsOK(ecode2
)) {
31739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31741 arg2
= static_cast< int >(val2
);
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= (bool)(arg1
)->Remove(arg2
);
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31757 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31758 PyObject
*resultobj
= 0;
31759 wxImageList
*arg1
= (wxImageList
*) 0 ;
31763 PyObject
*swig_obj
[1] ;
31765 if (!args
) SWIG_fail
;
31766 swig_obj
[0] = args
;
31767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31768 if (!SWIG_IsOK(res1
)) {
31769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31771 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31774 result
= (bool)(arg1
)->RemoveAll();
31775 wxPyEndAllowThreads(__tstate
);
31776 if (PyErr_Occurred()) SWIG_fail
;
31779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31787 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
= 0;
31789 wxImageList
*arg1
= (wxImageList
*) 0 ;
31798 int res3
= SWIG_TMPOBJ
;
31800 int res4
= SWIG_TMPOBJ
;
31801 PyObject
* obj0
= 0 ;
31802 PyObject
* obj1
= 0 ;
31803 char * kwnames
[] = {
31804 (char *) "self",(char *) "index", NULL
31809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31811 if (!SWIG_IsOK(res1
)) {
31812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31814 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31816 if (!SWIG_IsOK(ecode2
)) {
31817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31819 arg2
= static_cast< int >(val2
);
31821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31822 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31823 wxPyEndAllowThreads(__tstate
);
31824 if (PyErr_Occurred()) SWIG_fail
;
31826 resultobj
= SWIG_Py_Void();
31827 if (SWIG_IsTmpObj(res3
)) {
31828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31830 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31833 if (SWIG_IsTmpObj(res4
)) {
31834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31836 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31845 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31847 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31848 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31849 return SWIG_Py_Void();
31852 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31853 return SWIG_Python_InitShadowInstance(args
);
31856 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31857 PyObject
*resultobj
= 0;
31858 wxStockGDI
*result
= 0 ;
31860 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31863 result
= (wxStockGDI
*)new wxStockGDI();
31864 wxPyEndAllowThreads(__tstate
);
31865 if (PyErr_Occurred()) SWIG_fail
;
31867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31874 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31875 PyObject
*resultobj
= 0;
31876 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31879 PyObject
*swig_obj
[1] ;
31881 if (!args
) SWIG_fail
;
31882 swig_obj
[0] = args
;
31883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31884 if (!SWIG_IsOK(res1
)) {
31885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31887 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31892 wxPyEndAllowThreads(__tstate
);
31893 if (PyErr_Occurred()) SWIG_fail
;
31895 resultobj
= SWIG_Py_Void();
31902 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31903 PyObject
*resultobj
= 0;
31905 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 wxStockGDI::DeleteAll();
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= SWIG_Py_Void();
31919 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31920 PyObject
*resultobj
= 0;
31921 wxStockGDI
*result
= 0 ;
31923 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31927 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31928 result
= (wxStockGDI
*) &_result_ref
;
31930 wxPyEndAllowThreads(__tstate
);
31931 if (PyErr_Occurred()) SWIG_fail
;
31933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31940 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31941 PyObject
*resultobj
= 0;
31942 wxStockGDI::Item arg1
;
31943 wxBrush
*result
= 0 ;
31946 PyObject
* obj0
= 0 ;
31947 char * kwnames
[] = {
31948 (char *) "item", NULL
31951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31953 if (!SWIG_IsOK(ecode1
)) {
31954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31956 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31959 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31970 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
= 0;
31972 wxStockGDI::Item arg1
;
31973 wxColour
*result
= 0 ;
31976 PyObject
* obj0
= 0 ;
31977 char * kwnames
[] = {
31978 (char *) "item", NULL
31981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31983 if (!SWIG_IsOK(ecode1
)) {
31984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31986 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31989 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31990 wxPyEndAllowThreads(__tstate
);
31991 if (PyErr_Occurred()) SWIG_fail
;
31993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32000 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32001 PyObject
*resultobj
= 0;
32002 wxStockGDI::Item arg1
;
32003 wxCursor
*result
= 0 ;
32006 PyObject
* obj0
= 0 ;
32007 char * kwnames
[] = {
32008 (char *) "item", NULL
32011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32013 if (!SWIG_IsOK(ecode1
)) {
32014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32016 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32019 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32020 wxPyEndAllowThreads(__tstate
);
32021 if (PyErr_Occurred()) SWIG_fail
;
32023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32030 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32031 PyObject
*resultobj
= 0;
32032 wxStockGDI::Item arg1
;
32033 wxPen
*result
= 0 ;
32036 PyObject
* obj0
= 0 ;
32037 char * kwnames
[] = {
32038 (char *) "item", NULL
32041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32042 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32043 if (!SWIG_IsOK(ecode1
)) {
32044 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32046 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32049 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32050 wxPyEndAllowThreads(__tstate
);
32051 if (PyErr_Occurred()) SWIG_fail
;
32053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32060 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32061 PyObject
*resultobj
= 0;
32062 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32063 wxStockGDI::Item arg2
;
32064 wxFont
*result
= 0 ;
32069 PyObject
* obj0
= 0 ;
32070 PyObject
* obj1
= 0 ;
32071 char * kwnames
[] = {
32072 (char *) "self",(char *) "item", NULL
32075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32077 if (!SWIG_IsOK(res1
)) {
32078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32080 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32082 if (!SWIG_IsOK(ecode2
)) {
32083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32085 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32088 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32089 wxPyEndAllowThreads(__tstate
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32099 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32102 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32103 return SWIG_Py_Void();
32106 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32107 return SWIG_Python_InitShadowInstance(args
);
32110 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32111 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32116 SWIGINTERN PyObject
*NullBitmap_get(void) {
32117 PyObject
*pyobj
= 0;
32119 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32124 SWIGINTERN
int NullIcon_set(PyObject
*) {
32125 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32130 SWIGINTERN PyObject
*NullIcon_get(void) {
32131 PyObject
*pyobj
= 0;
32133 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32138 SWIGINTERN
int NullCursor_set(PyObject
*) {
32139 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32144 SWIGINTERN PyObject
*NullCursor_get(void) {
32145 PyObject
*pyobj
= 0;
32147 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32152 SWIGINTERN
int NullPen_set(PyObject
*) {
32153 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32158 SWIGINTERN PyObject
*NullPen_get(void) {
32159 PyObject
*pyobj
= 0;
32161 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32166 SWIGINTERN
int NullBrush_set(PyObject
*) {
32167 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32172 SWIGINTERN PyObject
*NullBrush_get(void) {
32173 PyObject
*pyobj
= 0;
32175 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32180 SWIGINTERN
int NullPalette_set(PyObject
*) {
32181 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32186 SWIGINTERN PyObject
*NullPalette_get(void) {
32187 PyObject
*pyobj
= 0;
32189 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32194 SWIGINTERN
int NullFont_set(PyObject
*) {
32195 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32200 SWIGINTERN PyObject
*NullFont_get(void) {
32201 PyObject
*pyobj
= 0;
32203 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32208 SWIGINTERN
int NullColour_set(PyObject
*) {
32209 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32214 SWIGINTERN PyObject
*NullColour_get(void) {
32215 PyObject
*pyobj
= 0;
32217 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32222 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32223 PyObject
*resultobj
= 0;
32224 wxGDIObjListBase
*result
= 0 ;
32226 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32230 wxPyEndAllowThreads(__tstate
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32240 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32241 PyObject
*resultobj
= 0;
32242 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32245 PyObject
*swig_obj
[1] ;
32247 if (!args
) SWIG_fail
;
32248 swig_obj
[0] = args
;
32249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32250 if (!SWIG_IsOK(res1
)) {
32251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32253 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32258 wxPyEndAllowThreads(__tstate
);
32259 if (PyErr_Occurred()) SWIG_fail
;
32261 resultobj
= SWIG_Py_Void();
32268 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32271 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32272 return SWIG_Py_Void();
32275 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32276 return SWIG_Python_InitShadowInstance(args
);
32279 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32280 PyObject
*resultobj
= 0;
32281 wxPenList
*arg1
= (wxPenList
*) 0 ;
32282 wxColour
*arg2
= 0 ;
32285 wxPen
*result
= 0 ;
32293 PyObject
* obj0
= 0 ;
32294 PyObject
* obj1
= 0 ;
32295 PyObject
* obj2
= 0 ;
32296 PyObject
* obj3
= 0 ;
32297 char * kwnames
[] = {
32298 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32303 if (!SWIG_IsOK(res1
)) {
32304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32306 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32309 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32312 if (!SWIG_IsOK(ecode3
)) {
32313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32315 arg3
= static_cast< int >(val3
);
32316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32317 if (!SWIG_IsOK(ecode4
)) {
32318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32320 arg4
= static_cast< int >(val4
);
32322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32323 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32334 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32337 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32338 return SWIG_Py_Void();
32341 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
= 0;
32343 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32344 wxColour
*arg2
= 0 ;
32345 int arg3
= (int) wxSOLID
;
32346 wxBrush
*result
= 0 ;
32352 PyObject
* obj0
= 0 ;
32353 PyObject
* obj1
= 0 ;
32354 PyObject
* obj2
= 0 ;
32355 char * kwnames
[] = {
32356 (char *) "self",(char *) "colour",(char *) "style", NULL
32359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32361 if (!SWIG_IsOK(res1
)) {
32362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32364 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32371 if (!SWIG_IsOK(ecode3
)) {
32372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32374 arg3
= static_cast< int >(val3
);
32377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32378 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32379 wxPyEndAllowThreads(__tstate
);
32380 if (PyErr_Occurred()) SWIG_fail
;
32382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32389 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32392 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32393 return SWIG_Py_Void();
32396 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32397 PyObject
*resultobj
= 0;
32398 wxFontList
*arg1
= (wxFontList
*) 0 ;
32403 bool arg6
= (bool) false ;
32404 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32406 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32407 wxFont
*result
= 0 ;
32420 bool temp7
= false ;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 PyObject
* obj2
= 0 ;
32426 PyObject
* obj3
= 0 ;
32427 PyObject
* obj4
= 0 ;
32428 PyObject
* obj5
= 0 ;
32429 PyObject
* obj6
= 0 ;
32430 PyObject
* obj7
= 0 ;
32431 char * kwnames
[] = {
32432 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32437 if (!SWIG_IsOK(res1
)) {
32438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32440 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32442 if (!SWIG_IsOK(ecode2
)) {
32443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32445 arg2
= static_cast< int >(val2
);
32446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32447 if (!SWIG_IsOK(ecode3
)) {
32448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32450 arg3
= static_cast< int >(val3
);
32451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32452 if (!SWIG_IsOK(ecode4
)) {
32453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32455 arg4
= static_cast< int >(val4
);
32456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32457 if (!SWIG_IsOK(ecode5
)) {
32458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32460 arg5
= static_cast< int >(val5
);
32462 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32463 if (!SWIG_IsOK(ecode6
)) {
32464 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32466 arg6
= static_cast< bool >(val6
);
32470 arg7
= wxString_in_helper(obj6
);
32471 if (arg7
== NULL
) SWIG_fail
;
32476 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32477 if (!SWIG_IsOK(ecode8
)) {
32478 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32480 arg8
= static_cast< wxFontEncoding
>(val8
);
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32503 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32506 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32507 return SWIG_Py_Void();
32510 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32511 PyObject
*resultobj
= 0;
32512 wxColourDatabase
*result
= 0 ;
32514 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32516 if (!wxPyCheckForApp()) SWIG_fail
;
32517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32518 result
= (wxColourDatabase
*)new wxColourDatabase();
32519 wxPyEndAllowThreads(__tstate
);
32520 if (PyErr_Occurred()) SWIG_fail
;
32522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32529 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32530 PyObject
*resultobj
= 0;
32531 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32534 PyObject
*swig_obj
[1] ;
32536 if (!args
) SWIG_fail
;
32537 swig_obj
[0] = args
;
32538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32539 if (!SWIG_IsOK(res1
)) {
32540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32542 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32547 wxPyEndAllowThreads(__tstate
);
32548 if (PyErr_Occurred()) SWIG_fail
;
32550 resultobj
= SWIG_Py_Void();
32557 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32558 PyObject
*resultobj
= 0;
32559 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32560 wxString
*arg2
= 0 ;
32564 bool temp2
= false ;
32565 PyObject
* obj0
= 0 ;
32566 PyObject
* obj1
= 0 ;
32567 char * kwnames
[] = {
32568 (char *) "self",(char *) "name", NULL
32571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32573 if (!SWIG_IsOK(res1
)) {
32574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32576 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32578 arg2
= wxString_in_helper(obj1
);
32579 if (arg2
== NULL
) SWIG_fail
;
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32603 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32604 PyObject
*resultobj
= 0;
32605 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32606 wxColour
*arg2
= 0 ;
32611 PyObject
* obj0
= 0 ;
32612 PyObject
* obj1
= 0 ;
32613 char * kwnames
[] = {
32614 (char *) "self",(char *) "colour", NULL
32617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32619 if (!SWIG_IsOK(res1
)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32622 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32625 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32629 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32630 wxPyEndAllowThreads(__tstate
);
32631 if (PyErr_Occurred()) SWIG_fail
;
32635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32646 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32647 PyObject
*resultobj
= 0;
32648 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32649 wxString
*arg2
= 0 ;
32650 wxColour
*arg3
= 0 ;
32653 bool temp2
= false ;
32655 PyObject
* obj0
= 0 ;
32656 PyObject
* obj1
= 0 ;
32657 PyObject
* obj2
= 0 ;
32658 char * kwnames
[] = {
32659 (char *) "self",(char *) "name",(char *) "colour", NULL
32662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32664 if (!SWIG_IsOK(res1
)) {
32665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32667 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32669 arg2
= wxString_in_helper(obj1
);
32670 if (arg2
== NULL
) SWIG_fail
;
32675 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32680 wxPyEndAllowThreads(__tstate
);
32681 if (PyErr_Occurred()) SWIG_fail
;
32683 resultobj
= SWIG_Py_Void();
32698 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32699 PyObject
*resultobj
= 0;
32700 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32701 wxString
*arg2
= 0 ;
32707 bool temp2
= false ;
32714 PyObject
* obj0
= 0 ;
32715 PyObject
* obj1
= 0 ;
32716 PyObject
* obj2
= 0 ;
32717 PyObject
* obj3
= 0 ;
32718 PyObject
* obj4
= 0 ;
32719 char * kwnames
[] = {
32720 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32725 if (!SWIG_IsOK(res1
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32728 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32730 arg2
= wxString_in_helper(obj1
);
32731 if (arg2
== NULL
) SWIG_fail
;
32734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32735 if (!SWIG_IsOK(ecode3
)) {
32736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32738 arg3
= static_cast< int >(val3
);
32739 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32740 if (!SWIG_IsOK(ecode4
)) {
32741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32743 arg4
= static_cast< int >(val4
);
32744 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32745 if (!SWIG_IsOK(ecode5
)) {
32746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32748 arg5
= static_cast< int >(val5
);
32750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32751 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32755 resultobj
= SWIG_Py_Void();
32770 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32773 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32774 return SWIG_Py_Void();
32777 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32778 return SWIG_Python_InitShadowInstance(args
);
32781 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32782 PyObject
*resultobj
= 0;
32783 wxFontList
*result
= 0 ;
32785 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32788 result
= (wxFontList
*)_wxPyInitTheFontList();
32789 wxPyEndAllowThreads(__tstate
);
32790 if (PyErr_Occurred()) SWIG_fail
;
32792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32799 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32800 PyObject
*resultobj
= 0;
32801 wxPenList
*result
= 0 ;
32803 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32806 result
= (wxPenList
*)_wxPyInitThePenList();
32807 wxPyEndAllowThreads(__tstate
);
32808 if (PyErr_Occurred()) SWIG_fail
;
32810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32817 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32818 PyObject
*resultobj
= 0;
32819 wxBrushList
*result
= 0 ;
32821 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32824 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32825 wxPyEndAllowThreads(__tstate
);
32826 if (PyErr_Occurred()) SWIG_fail
;
32828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32835 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32836 PyObject
*resultobj
= 0;
32837 wxColourDatabase
*result
= 0 ;
32839 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32842 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32843 wxPyEndAllowThreads(__tstate
);
32844 if (PyErr_Occurred()) SWIG_fail
;
32846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32853 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32854 PyObject
*resultobj
= 0;
32855 wxEffects
*result
= 0 ;
32857 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 result
= (wxEffects
*)new wxEffects();
32861 wxPyEndAllowThreads(__tstate
);
32862 if (PyErr_Occurred()) SWIG_fail
;
32864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32871 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32872 PyObject
*resultobj
= 0;
32873 wxEffects
*arg1
= (wxEffects
*) 0 ;
32877 PyObject
*swig_obj
[1] ;
32879 if (!args
) SWIG_fail
;
32880 swig_obj
[0] = args
;
32881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32882 if (!SWIG_IsOK(res1
)) {
32883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32885 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32888 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32889 wxPyEndAllowThreads(__tstate
);
32890 if (PyErr_Occurred()) SWIG_fail
;
32892 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32899 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32900 PyObject
*resultobj
= 0;
32901 wxEffects
*arg1
= (wxEffects
*) 0 ;
32905 PyObject
*swig_obj
[1] ;
32907 if (!args
) SWIG_fail
;
32908 swig_obj
[0] = args
;
32909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32910 if (!SWIG_IsOK(res1
)) {
32911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32913 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32916 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32917 wxPyEndAllowThreads(__tstate
);
32918 if (PyErr_Occurred()) SWIG_fail
;
32920 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32927 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32928 PyObject
*resultobj
= 0;
32929 wxEffects
*arg1
= (wxEffects
*) 0 ;
32933 PyObject
*swig_obj
[1] ;
32935 if (!args
) SWIG_fail
;
32936 swig_obj
[0] = args
;
32937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32938 if (!SWIG_IsOK(res1
)) {
32939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32941 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32944 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32945 wxPyEndAllowThreads(__tstate
);
32946 if (PyErr_Occurred()) SWIG_fail
;
32948 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32955 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32956 PyObject
*resultobj
= 0;
32957 wxEffects
*arg1
= (wxEffects
*) 0 ;
32961 PyObject
*swig_obj
[1] ;
32963 if (!args
) SWIG_fail
;
32964 swig_obj
[0] = args
;
32965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32966 if (!SWIG_IsOK(res1
)) {
32967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32969 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32972 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32983 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32984 PyObject
*resultobj
= 0;
32985 wxEffects
*arg1
= (wxEffects
*) 0 ;
32989 PyObject
*swig_obj
[1] ;
32991 if (!args
) SWIG_fail
;
32992 swig_obj
[0] = args
;
32993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32994 if (!SWIG_IsOK(res1
)) {
32995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32997 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33000 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33001 wxPyEndAllowThreads(__tstate
);
33002 if (PyErr_Occurred()) SWIG_fail
;
33004 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33011 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
= 0;
33013 wxEffects
*arg1
= (wxEffects
*) 0 ;
33014 wxColour
*arg2
= 0 ;
33018 PyObject
* obj0
= 0 ;
33019 PyObject
* obj1
= 0 ;
33020 char * kwnames
[] = {
33021 (char *) "self",(char *) "c", NULL
33024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33026 if (!SWIG_IsOK(res1
)) {
33027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33029 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33036 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33037 wxPyEndAllowThreads(__tstate
);
33038 if (PyErr_Occurred()) SWIG_fail
;
33040 resultobj
= SWIG_Py_Void();
33047 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33048 PyObject
*resultobj
= 0;
33049 wxEffects
*arg1
= (wxEffects
*) 0 ;
33050 wxColour
*arg2
= 0 ;
33054 PyObject
* obj0
= 0 ;
33055 PyObject
* obj1
= 0 ;
33056 char * kwnames
[] = {
33057 (char *) "self",(char *) "c", NULL
33060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33062 if (!SWIG_IsOK(res1
)) {
33063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33065 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33068 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33072 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33073 wxPyEndAllowThreads(__tstate
);
33074 if (PyErr_Occurred()) SWIG_fail
;
33076 resultobj
= SWIG_Py_Void();
33083 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33084 PyObject
*resultobj
= 0;
33085 wxEffects
*arg1
= (wxEffects
*) 0 ;
33086 wxColour
*arg2
= 0 ;
33090 PyObject
* obj0
= 0 ;
33091 PyObject
* obj1
= 0 ;
33092 char * kwnames
[] = {
33093 (char *) "self",(char *) "c", NULL
33096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33098 if (!SWIG_IsOK(res1
)) {
33099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33101 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33104 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33109 wxPyEndAllowThreads(__tstate
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33112 resultobj
= SWIG_Py_Void();
33119 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33120 PyObject
*resultobj
= 0;
33121 wxEffects
*arg1
= (wxEffects
*) 0 ;
33122 wxColour
*arg2
= 0 ;
33126 PyObject
* obj0
= 0 ;
33127 PyObject
* obj1
= 0 ;
33128 char * kwnames
[] = {
33129 (char *) "self",(char *) "c", NULL
33132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33134 if (!SWIG_IsOK(res1
)) {
33135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33137 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33140 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33144 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33145 wxPyEndAllowThreads(__tstate
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33148 resultobj
= SWIG_Py_Void();
33155 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33156 PyObject
*resultobj
= 0;
33157 wxEffects
*arg1
= (wxEffects
*) 0 ;
33158 wxColour
*arg2
= 0 ;
33162 PyObject
* obj0
= 0 ;
33163 PyObject
* obj1
= 0 ;
33164 char * kwnames
[] = {
33165 (char *) "self",(char *) "c", NULL
33168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33170 if (!SWIG_IsOK(res1
)) {
33171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33173 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33176 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33180 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33181 wxPyEndAllowThreads(__tstate
);
33182 if (PyErr_Occurred()) SWIG_fail
;
33184 resultobj
= SWIG_Py_Void();
33191 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33192 PyObject
*resultobj
= 0;
33193 wxEffects
*arg1
= (wxEffects
*) 0 ;
33194 wxColour
*arg2
= 0 ;
33195 wxColour
*arg3
= 0 ;
33196 wxColour
*arg4
= 0 ;
33197 wxColour
*arg5
= 0 ;
33198 wxColour
*arg6
= 0 ;
33206 PyObject
* obj0
= 0 ;
33207 PyObject
* obj1
= 0 ;
33208 PyObject
* obj2
= 0 ;
33209 PyObject
* obj3
= 0 ;
33210 PyObject
* obj4
= 0 ;
33211 PyObject
* obj5
= 0 ;
33212 char * kwnames
[] = {
33213 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33218 if (!SWIG_IsOK(res1
)) {
33219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33221 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33224 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33228 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33232 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33236 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33240 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33244 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33245 wxPyEndAllowThreads(__tstate
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33248 resultobj
= SWIG_Py_Void();
33255 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33256 PyObject
*resultobj
= 0;
33257 wxEffects
*arg1
= (wxEffects
*) 0 ;
33260 int arg4
= (int) 1 ;
33268 PyObject
* obj0
= 0 ;
33269 PyObject
* obj1
= 0 ;
33270 PyObject
* obj2
= 0 ;
33271 PyObject
* obj3
= 0 ;
33272 char * kwnames
[] = {
33273 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33278 if (!SWIG_IsOK(res1
)) {
33279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33281 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33283 if (!SWIG_IsOK(res2
)) {
33284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33289 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33292 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33295 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33296 if (!SWIG_IsOK(ecode4
)) {
33297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33299 arg4
= static_cast< int >(val4
);
33302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33303 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33304 wxPyEndAllowThreads(__tstate
);
33305 if (PyErr_Occurred()) SWIG_fail
;
33307 resultobj
= SWIG_Py_Void();
33314 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33315 PyObject
*resultobj
= 0;
33316 wxEffects
*arg1
= (wxEffects
*) 0 ;
33319 wxBitmap
*arg4
= 0 ;
33328 PyObject
* obj0
= 0 ;
33329 PyObject
* obj1
= 0 ;
33330 PyObject
* obj2
= 0 ;
33331 PyObject
* obj3
= 0 ;
33332 char * kwnames
[] = {
33333 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33338 if (!SWIG_IsOK(res1
)) {
33339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33341 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33344 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33346 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33347 if (!SWIG_IsOK(res3
)) {
33348 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33353 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33354 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33355 if (!SWIG_IsOK(res4
)) {
33356 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33361 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33364 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33365 wxPyEndAllowThreads(__tstate
);
33366 if (PyErr_Occurred()) SWIG_fail
;
33369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33377 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33380 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33381 return SWIG_Py_Void();
33384 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33385 return SWIG_Python_InitShadowInstance(args
);
33388 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33389 PyObject
*resultobj
= 0;
33393 wxSplitterRenderParams
*result
= 0 ;
33400 PyObject
* obj0
= 0 ;
33401 PyObject
* obj1
= 0 ;
33402 PyObject
* obj2
= 0 ;
33403 char * kwnames
[] = {
33404 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33408 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33409 if (!SWIG_IsOK(ecode1
)) {
33410 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33412 arg1
= static_cast< int >(val1
);
33413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33414 if (!SWIG_IsOK(ecode2
)) {
33415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33417 arg2
= static_cast< int >(val2
);
33418 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33419 if (!SWIG_IsOK(ecode3
)) {
33420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33422 arg3
= static_cast< bool >(val3
);
33424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33425 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33426 wxPyEndAllowThreads(__tstate
);
33427 if (PyErr_Occurred()) SWIG_fail
;
33429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33436 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33437 PyObject
*resultobj
= 0;
33438 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33441 PyObject
*swig_obj
[1] ;
33443 if (!args
) SWIG_fail
;
33444 swig_obj
[0] = args
;
33445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33446 if (!SWIG_IsOK(res1
)) {
33447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33449 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 wxPyEndAllowThreads(__tstate
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33457 resultobj
= SWIG_Py_Void();
33464 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33465 PyObject
*resultobj
= 0;
33466 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33470 PyObject
*swig_obj
[1] ;
33472 if (!args
) SWIG_fail
;
33473 swig_obj
[0] = args
;
33474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33475 if (!SWIG_IsOK(res1
)) {
33476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33478 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33479 result
= (int)(int) ((arg1
)->widthSash
);
33480 resultobj
= SWIG_From_int(static_cast< int >(result
));
33487 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33488 PyObject
*resultobj
= 0;
33489 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33493 PyObject
*swig_obj
[1] ;
33495 if (!args
) SWIG_fail
;
33496 swig_obj
[0] = args
;
33497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33498 if (!SWIG_IsOK(res1
)) {
33499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33501 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33502 result
= (int)(int) ((arg1
)->border
);
33503 resultobj
= SWIG_From_int(static_cast< int >(result
));
33510 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33511 PyObject
*resultobj
= 0;
33512 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33516 PyObject
*swig_obj
[1] ;
33518 if (!args
) SWIG_fail
;
33519 swig_obj
[0] = args
;
33520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33521 if (!SWIG_IsOK(res1
)) {
33522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33524 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33525 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33526 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33533 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33536 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33537 return SWIG_Py_Void();
33540 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33541 return SWIG_Python_InitShadowInstance(args
);
33544 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33545 PyObject
*resultobj
= 0;
33546 wxHeaderButtonParams
*result
= 0 ;
33548 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33562 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33563 PyObject
*resultobj
= 0;
33564 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33567 PyObject
*swig_obj
[1] ;
33569 if (!args
) SWIG_fail
;
33570 swig_obj
[0] = args
;
33571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33572 if (!SWIG_IsOK(res1
)) {
33573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33575 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33580 wxPyEndAllowThreads(__tstate
);
33581 if (PyErr_Occurred()) SWIG_fail
;
33583 resultobj
= SWIG_Py_Void();
33590 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33591 PyObject
*resultobj
= 0;
33592 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33593 wxColour
*arg2
= (wxColour
*) 0 ;
33597 PyObject
*swig_obj
[2] ;
33599 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33601 if (!SWIG_IsOK(res1
)) {
33602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33604 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33607 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33609 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33611 resultobj
= SWIG_Py_Void();
33618 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33619 PyObject
*resultobj
= 0;
33620 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33621 wxColour
*result
= 0 ;
33624 PyObject
*swig_obj
[1] ;
33626 if (!args
) SWIG_fail
;
33627 swig_obj
[0] = args
;
33628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33629 if (!SWIG_IsOK(res1
)) {
33630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33632 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33633 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33641 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33642 PyObject
*resultobj
= 0;
33643 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33644 wxColour
*arg2
= (wxColour
*) 0 ;
33648 PyObject
*swig_obj
[2] ;
33650 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33652 if (!SWIG_IsOK(res1
)) {
33653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33655 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33658 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33660 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33662 resultobj
= SWIG_Py_Void();
33669 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33670 PyObject
*resultobj
= 0;
33671 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33672 wxColour
*result
= 0 ;
33675 PyObject
*swig_obj
[1] ;
33677 if (!args
) SWIG_fail
;
33678 swig_obj
[0] = args
;
33679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33680 if (!SWIG_IsOK(res1
)) {
33681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33683 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33684 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33692 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33693 PyObject
*resultobj
= 0;
33694 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33695 wxString
*arg2
= (wxString
*) 0 ;
33698 bool temp2
= false ;
33699 PyObject
*swig_obj
[2] ;
33701 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33703 if (!SWIG_IsOK(res1
)) {
33704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33706 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33708 arg2
= wxString_in_helper(swig_obj
[1]);
33709 if (arg2
== NULL
) SWIG_fail
;
33712 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33714 resultobj
= SWIG_Py_Void();
33729 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33730 PyObject
*resultobj
= 0;
33731 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33732 wxString
*result
= 0 ;
33735 PyObject
*swig_obj
[1] ;
33737 if (!args
) SWIG_fail
;
33738 swig_obj
[0] = args
;
33739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33740 if (!SWIG_IsOK(res1
)) {
33741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33743 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33744 result
= (wxString
*)& ((arg1
)->m_labelText
);
33747 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33749 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33758 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33759 PyObject
*resultobj
= 0;
33760 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33761 wxFont
*arg2
= (wxFont
*) 0 ;
33766 PyObject
*swig_obj
[2] ;
33768 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33770 if (!SWIG_IsOK(res1
)) {
33771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33773 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33774 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33775 if (!SWIG_IsOK(res2
)) {
33776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33778 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33779 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33781 resultobj
= SWIG_Py_Void();
33788 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33789 PyObject
*resultobj
= 0;
33790 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33791 wxFont
*result
= 0 ;
33794 PyObject
*swig_obj
[1] ;
33796 if (!args
) SWIG_fail
;
33797 swig_obj
[0] = args
;
33798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33799 if (!SWIG_IsOK(res1
)) {
33800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33802 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33803 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33811 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33812 PyObject
*resultobj
= 0;
33813 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33814 wxColour
*arg2
= (wxColour
*) 0 ;
33818 PyObject
*swig_obj
[2] ;
33820 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33822 if (!SWIG_IsOK(res1
)) {
33823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33825 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33828 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33830 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33832 resultobj
= SWIG_Py_Void();
33839 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33840 PyObject
*resultobj
= 0;
33841 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33842 wxColour
*result
= 0 ;
33845 PyObject
*swig_obj
[1] ;
33847 if (!args
) SWIG_fail
;
33848 swig_obj
[0] = args
;
33849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33850 if (!SWIG_IsOK(res1
)) {
33851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33853 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33854 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33862 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33863 PyObject
*resultobj
= 0;
33864 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33865 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33870 PyObject
*swig_obj
[2] ;
33872 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33874 if (!SWIG_IsOK(res1
)) {
33875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33877 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33878 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33879 if (!SWIG_IsOK(res2
)) {
33880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33882 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33883 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33885 resultobj
= SWIG_Py_Void();
33892 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33893 PyObject
*resultobj
= 0;
33894 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33895 wxBitmap
*result
= 0 ;
33898 PyObject
*swig_obj
[1] ;
33900 if (!args
) SWIG_fail
;
33901 swig_obj
[0] = args
;
33902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33903 if (!SWIG_IsOK(res1
)) {
33904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33906 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33907 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33915 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33916 PyObject
*resultobj
= 0;
33917 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33923 PyObject
*swig_obj
[2] ;
33925 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33927 if (!SWIG_IsOK(res1
)) {
33928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33930 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33931 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33932 if (!SWIG_IsOK(ecode2
)) {
33933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33935 arg2
= static_cast< int >(val2
);
33936 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33938 resultobj
= SWIG_Py_Void();
33945 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33946 PyObject
*resultobj
= 0;
33947 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33951 PyObject
*swig_obj
[1] ;
33953 if (!args
) SWIG_fail
;
33954 swig_obj
[0] = args
;
33955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33956 if (!SWIG_IsOK(res1
)) {
33957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33959 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33960 result
= (int) ((arg1
)->m_labelAlignment
);
33961 resultobj
= SWIG_From_int(static_cast< int >(result
));
33968 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33971 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33972 return SWIG_Py_Void();
33975 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33976 return SWIG_Python_InitShadowInstance(args
);
33979 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33980 PyObject
*resultobj
= 0;
33983 wxRendererVersion
*result
= 0 ;
33988 PyObject
* obj0
= 0 ;
33989 PyObject
* obj1
= 0 ;
33990 char * kwnames
[] = {
33991 (char *) "version_",(char *) "age_", NULL
33994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33995 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33996 if (!SWIG_IsOK(ecode1
)) {
33997 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33999 arg1
= static_cast< int >(val1
);
34000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34001 if (!SWIG_IsOK(ecode2
)) {
34002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34004 arg2
= static_cast< int >(val2
);
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34007 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34018 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34019 PyObject
*resultobj
= 0;
34020 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34023 PyObject
*swig_obj
[1] ;
34025 if (!args
) SWIG_fail
;
34026 swig_obj
[0] = args
;
34027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34028 if (!SWIG_IsOK(res1
)) {
34029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34031 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34039 resultobj
= SWIG_Py_Void();
34046 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34047 PyObject
*resultobj
= 0;
34048 wxRendererVersion
*arg1
= 0 ;
34052 PyObject
* obj0
= 0 ;
34053 char * kwnames
[] = {
34054 (char *) "ver", NULL
34057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34058 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34059 if (!SWIG_IsOK(res1
)) {
34060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34065 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34081 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34082 PyObject
*resultobj
= 0;
34083 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34087 PyObject
*swig_obj
[1] ;
34089 if (!args
) SWIG_fail
;
34090 swig_obj
[0] = args
;
34091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34092 if (!SWIG_IsOK(res1
)) {
34093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34095 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34096 result
= (int)(int) ((arg1
)->version
);
34097 resultobj
= SWIG_From_int(static_cast< int >(result
));
34104 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34105 PyObject
*resultobj
= 0;
34106 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34110 PyObject
*swig_obj
[1] ;
34112 if (!args
) SWIG_fail
;
34113 swig_obj
[0] = args
;
34114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34115 if (!SWIG_IsOK(res1
)) {
34116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34118 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34119 result
= (int)(int) ((arg1
)->age
);
34120 resultobj
= SWIG_From_int(static_cast< int >(result
));
34127 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34130 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34131 return SWIG_Py_Void();
34134 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34135 return SWIG_Python_InitShadowInstance(args
);
34138 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
= 0;
34140 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34141 wxWindow
*arg2
= (wxWindow
*) 0 ;
34144 int arg5
= (int) 0 ;
34145 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34146 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34161 PyObject
* obj0
= 0 ;
34162 PyObject
* obj1
= 0 ;
34163 PyObject
* obj2
= 0 ;
34164 PyObject
* obj3
= 0 ;
34165 PyObject
* obj4
= 0 ;
34166 PyObject
* obj5
= 0 ;
34167 PyObject
* obj6
= 0 ;
34168 char * kwnames
[] = {
34169 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34174 if (!SWIG_IsOK(res1
)) {
34175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34177 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34179 if (!SWIG_IsOK(res2
)) {
34180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34182 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34183 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34184 if (!SWIG_IsOK(res3
)) {
34185 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34190 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34193 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34196 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34197 if (!SWIG_IsOK(ecode5
)) {
34198 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34200 arg5
= static_cast< int >(val5
);
34203 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34204 if (!SWIG_IsOK(ecode6
)) {
34205 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34207 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34210 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34211 if (!SWIG_IsOK(res7
)) {
34212 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34214 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34218 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34219 wxPyEndAllowThreads(__tstate
);
34220 if (PyErr_Occurred()) SWIG_fail
;
34222 resultobj
= SWIG_From_int(static_cast< int >(result
));
34229 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34230 PyObject
*resultobj
= 0;
34231 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34232 wxWindow
*arg2
= (wxWindow
*) 0 ;
34235 int arg5
= (int) 0 ;
34236 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34237 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34252 PyObject
* obj0
= 0 ;
34253 PyObject
* obj1
= 0 ;
34254 PyObject
* obj2
= 0 ;
34255 PyObject
* obj3
= 0 ;
34256 PyObject
* obj4
= 0 ;
34257 PyObject
* obj5
= 0 ;
34258 PyObject
* obj6
= 0 ;
34259 char * kwnames
[] = {
34260 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34265 if (!SWIG_IsOK(res1
)) {
34266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34268 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34270 if (!SWIG_IsOK(res2
)) {
34271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34273 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34274 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34275 if (!SWIG_IsOK(res3
)) {
34276 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34281 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34284 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34287 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34288 if (!SWIG_IsOK(ecode5
)) {
34289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34291 arg5
= static_cast< int >(val5
);
34294 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34295 if (!SWIG_IsOK(ecode6
)) {
34296 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34298 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34301 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34302 if (!SWIG_IsOK(res7
)) {
34303 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34305 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34309 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34310 wxPyEndAllowThreads(__tstate
);
34311 if (PyErr_Occurred()) SWIG_fail
;
34313 resultobj
= SWIG_From_int(static_cast< int >(result
));
34320 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34321 PyObject
*resultobj
= 0;
34322 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34323 wxWindow
*arg2
= (wxWindow
*) 0 ;
34329 PyObject
* obj0
= 0 ;
34330 PyObject
* obj1
= 0 ;
34331 char * kwnames
[] = {
34332 (char *) "self",(char *) "win", NULL
34335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34337 if (!SWIG_IsOK(res1
)) {
34338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34340 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34341 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34342 if (!SWIG_IsOK(res2
)) {
34343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34345 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34348 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34349 wxPyEndAllowThreads(__tstate
);
34350 if (PyErr_Occurred()) SWIG_fail
;
34352 resultobj
= SWIG_From_int(static_cast< int >(result
));
34359 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34360 PyObject
*resultobj
= 0;
34361 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34362 wxWindow
*arg2
= (wxWindow
*) 0 ;
34365 int arg5
= (int) 0 ;
34375 PyObject
* obj0
= 0 ;
34376 PyObject
* obj1
= 0 ;
34377 PyObject
* obj2
= 0 ;
34378 PyObject
* obj3
= 0 ;
34379 PyObject
* obj4
= 0 ;
34380 char * kwnames
[] = {
34381 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34386 if (!SWIG_IsOK(res1
)) {
34387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34389 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34391 if (!SWIG_IsOK(res2
)) {
34392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34394 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34395 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34396 if (!SWIG_IsOK(res3
)) {
34397 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34402 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34405 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34408 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34409 if (!SWIG_IsOK(ecode5
)) {
34410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34412 arg5
= static_cast< int >(val5
);
34415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34417 wxPyEndAllowThreads(__tstate
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34420 resultobj
= SWIG_Py_Void();
34427 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34428 PyObject
*resultobj
= 0;
34429 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34430 wxWindow
*arg2
= (wxWindow
*) 0 ;
34433 int arg5
= (int) 0 ;
34443 PyObject
* obj0
= 0 ;
34444 PyObject
* obj1
= 0 ;
34445 PyObject
* obj2
= 0 ;
34446 PyObject
* obj3
= 0 ;
34447 PyObject
* obj4
= 0 ;
34448 char * kwnames
[] = {
34449 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34454 if (!SWIG_IsOK(res1
)) {
34455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34457 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34459 if (!SWIG_IsOK(res2
)) {
34460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34462 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34463 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34464 if (!SWIG_IsOK(res3
)) {
34465 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34470 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34473 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34476 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34477 if (!SWIG_IsOK(ecode5
)) {
34478 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34480 arg5
= static_cast< int >(val5
);
34483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34484 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34485 wxPyEndAllowThreads(__tstate
);
34486 if (PyErr_Occurred()) SWIG_fail
;
34488 resultobj
= SWIG_Py_Void();
34495 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34496 PyObject
*resultobj
= 0;
34497 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34498 wxWindow
*arg2
= (wxWindow
*) 0 ;
34502 wxOrientation arg6
;
34503 int arg7
= (int) 0 ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 PyObject
* obj2
= 0 ;
34520 PyObject
* obj3
= 0 ;
34521 PyObject
* obj4
= 0 ;
34522 PyObject
* obj5
= 0 ;
34523 PyObject
* obj6
= 0 ;
34524 char * kwnames
[] = {
34525 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34530 if (!SWIG_IsOK(res1
)) {
34531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34533 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34535 if (!SWIG_IsOK(res2
)) {
34536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34538 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34539 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34540 if (!SWIG_IsOK(res3
)) {
34541 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34546 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34549 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34551 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34552 if (!SWIG_IsOK(ecode5
)) {
34553 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34555 arg5
= static_cast< int >(val5
);
34556 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34557 if (!SWIG_IsOK(ecode6
)) {
34558 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34560 arg6
= static_cast< wxOrientation
>(val6
);
34562 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34563 if (!SWIG_IsOK(ecode7
)) {
34564 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34566 arg7
= static_cast< int >(val7
);
34569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34570 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34571 wxPyEndAllowThreads(__tstate
);
34572 if (PyErr_Occurred()) SWIG_fail
;
34574 resultobj
= SWIG_Py_Void();
34581 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34582 PyObject
*resultobj
= 0;
34583 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34584 wxWindow
*arg2
= (wxWindow
*) 0 ;
34587 int arg5
= (int) 0 ;
34597 PyObject
* obj0
= 0 ;
34598 PyObject
* obj1
= 0 ;
34599 PyObject
* obj2
= 0 ;
34600 PyObject
* obj3
= 0 ;
34601 PyObject
* obj4
= 0 ;
34602 char * kwnames
[] = {
34603 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34608 if (!SWIG_IsOK(res1
)) {
34609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34611 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34612 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34613 if (!SWIG_IsOK(res2
)) {
34614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34616 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34617 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34618 if (!SWIG_IsOK(res3
)) {
34619 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34624 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34627 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34630 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34631 if (!SWIG_IsOK(ecode5
)) {
34632 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34634 arg5
= static_cast< int >(val5
);
34637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34638 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34639 wxPyEndAllowThreads(__tstate
);
34640 if (PyErr_Occurred()) SWIG_fail
;
34642 resultobj
= SWIG_Py_Void();
34649 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34650 PyObject
*resultobj
= 0;
34651 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34652 wxWindow
*arg2
= (wxWindow
*) 0 ;
34655 int arg5
= (int) 0 ;
34665 PyObject
* obj0
= 0 ;
34666 PyObject
* obj1
= 0 ;
34667 PyObject
* obj2
= 0 ;
34668 PyObject
* obj3
= 0 ;
34669 PyObject
* obj4
= 0 ;
34670 char * kwnames
[] = {
34671 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34676 if (!SWIG_IsOK(res1
)) {
34677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34679 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34681 if (!SWIG_IsOK(res2
)) {
34682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34684 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34685 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34686 if (!SWIG_IsOK(res3
)) {
34687 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34692 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34695 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34698 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34699 if (!SWIG_IsOK(ecode5
)) {
34700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34702 arg5
= static_cast< int >(val5
);
34705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34706 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34707 wxPyEndAllowThreads(__tstate
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34710 resultobj
= SWIG_Py_Void();
34717 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34718 PyObject
*resultobj
= 0;
34719 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34720 wxWindow
*arg2
= (wxWindow
*) 0 ;
34723 int arg5
= (int) 0 ;
34733 PyObject
* obj0
= 0 ;
34734 PyObject
* obj1
= 0 ;
34735 PyObject
* obj2
= 0 ;
34736 PyObject
* obj3
= 0 ;
34737 PyObject
* obj4
= 0 ;
34738 char * kwnames
[] = {
34739 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34744 if (!SWIG_IsOK(res1
)) {
34745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34747 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34749 if (!SWIG_IsOK(res2
)) {
34750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34752 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34753 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34754 if (!SWIG_IsOK(res3
)) {
34755 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34760 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34763 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34766 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34767 if (!SWIG_IsOK(ecode5
)) {
34768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34770 arg5
= static_cast< int >(val5
);
34773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34774 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34775 wxPyEndAllowThreads(__tstate
);
34776 if (PyErr_Occurred()) SWIG_fail
;
34778 resultobj
= SWIG_Py_Void();
34785 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34786 PyObject
*resultobj
= 0;
34787 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34788 wxWindow
*arg2
= (wxWindow
*) 0 ;
34791 int arg5
= (int) 0 ;
34801 PyObject
* obj0
= 0 ;
34802 PyObject
* obj1
= 0 ;
34803 PyObject
* obj2
= 0 ;
34804 PyObject
* obj3
= 0 ;
34805 PyObject
* obj4
= 0 ;
34806 char * kwnames
[] = {
34807 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34812 if (!SWIG_IsOK(res1
)) {
34813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34815 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34817 if (!SWIG_IsOK(res2
)) {
34818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34820 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34821 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34822 if (!SWIG_IsOK(res3
)) {
34823 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34828 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34831 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34834 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34835 if (!SWIG_IsOK(ecode5
)) {
34836 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34838 arg5
= static_cast< int >(val5
);
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34843 wxPyEndAllowThreads(__tstate
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34846 resultobj
= SWIG_Py_Void();
34853 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34854 PyObject
*resultobj
= 0;
34855 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34856 wxWindow
*arg2
= (wxWindow
*) 0 ;
34859 int arg5
= (int) 0 ;
34869 PyObject
* obj0
= 0 ;
34870 PyObject
* obj1
= 0 ;
34871 PyObject
* obj2
= 0 ;
34872 PyObject
* obj3
= 0 ;
34873 PyObject
* obj4
= 0 ;
34874 char * kwnames
[] = {
34875 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34880 if (!SWIG_IsOK(res1
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34883 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34884 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34885 if (!SWIG_IsOK(res2
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34888 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34889 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34890 if (!SWIG_IsOK(res3
)) {
34891 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34896 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34899 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34902 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34903 if (!SWIG_IsOK(ecode5
)) {
34904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34906 arg5
= static_cast< int >(val5
);
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 resultobj
= SWIG_Py_Void();
34921 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
= 0;
34923 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34924 wxWindow
*arg2
= (wxWindow
*) 0 ;
34925 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34930 PyObject
* obj0
= 0 ;
34931 PyObject
* obj1
= 0 ;
34932 char * kwnames
[] = {
34933 (char *) "self",(char *) "win", NULL
34936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34938 if (!SWIG_IsOK(res1
)) {
34939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34941 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34943 if (!SWIG_IsOK(res2
)) {
34944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34946 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34949 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34950 wxPyEndAllowThreads(__tstate
);
34951 if (PyErr_Occurred()) SWIG_fail
;
34953 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34960 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34961 PyObject
*resultobj
= 0;
34962 wxRendererNative
*result
= 0 ;
34964 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34966 if (!wxPyCheckForApp()) SWIG_fail
;
34967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34970 result
= (wxRendererNative
*) &_result_ref
;
34972 wxPyEndAllowThreads(__tstate
);
34973 if (PyErr_Occurred()) SWIG_fail
;
34975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34982 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34983 PyObject
*resultobj
= 0;
34984 wxRendererNative
*result
= 0 ;
34986 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34988 if (!wxPyCheckForApp()) SWIG_fail
;
34989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34991 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34992 result
= (wxRendererNative
*) &_result_ref
;
34994 wxPyEndAllowThreads(__tstate
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35004 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35005 PyObject
*resultobj
= 0;
35006 wxRendererNative
*result
= 0 ;
35008 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35010 if (!wxPyCheckForApp()) SWIG_fail
;
35011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35013 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35014 result
= (wxRendererNative
*) &_result_ref
;
35016 wxPyEndAllowThreads(__tstate
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35026 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35027 PyObject
*resultobj
= 0;
35028 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35029 wxRendererNative
*result
= 0 ;
35032 PyObject
* obj0
= 0 ;
35033 char * kwnames
[] = {
35034 (char *) "renderer", NULL
35037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35039 if (!SWIG_IsOK(res1
)) {
35040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35042 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35044 if (!wxPyCheckForApp()) SWIG_fail
;
35045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35046 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35047 wxPyEndAllowThreads(__tstate
);
35048 if (PyErr_Occurred()) SWIG_fail
;
35050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35057 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35058 PyObject
*resultobj
= 0;
35059 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35060 SwigValueWrapper
<wxRendererVersion
> result
;
35063 PyObject
*swig_obj
[1] ;
35065 if (!args
) SWIG_fail
;
35066 swig_obj
[0] = args
;
35067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35068 if (!SWIG_IsOK(res1
)) {
35069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35071 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35074 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35075 wxPyEndAllowThreads(__tstate
);
35076 if (PyErr_Occurred()) SWIG_fail
;
35078 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35085 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35088 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35089 return SWIG_Py_Void();
35092 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35093 PyObject
*resultobj
= 0;
35094 wxPseudoDC
*result
= 0 ;
35096 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 result
= (wxPseudoDC
*)new wxPseudoDC();
35100 wxPyEndAllowThreads(__tstate
);
35101 if (PyErr_Occurred()) SWIG_fail
;
35103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35110 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35111 PyObject
*resultobj
= 0;
35112 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35115 PyObject
*swig_obj
[1] ;
35117 if (!args
) SWIG_fail
;
35118 swig_obj
[0] = args
;
35119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35120 if (!SWIG_IsOK(res1
)) {
35121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35123 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35126 (arg1
)->BeginDrawing();
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35130 resultobj
= SWIG_Py_Void();
35137 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35138 PyObject
*resultobj
= 0;
35139 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35142 PyObject
*swig_obj
[1] ;
35144 if (!args
) SWIG_fail
;
35145 swig_obj
[0] = args
;
35146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35147 if (!SWIG_IsOK(res1
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35150 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35153 (arg1
)->EndDrawing();
35154 wxPyEndAllowThreads(__tstate
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35157 resultobj
= SWIG_Py_Void();
35164 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35165 PyObject
*resultobj
= 0;
35166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35169 PyObject
*swig_obj
[1] ;
35171 if (!args
) SWIG_fail
;
35172 swig_obj
[0] = args
;
35173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35174 if (!SWIG_IsOK(res1
)) {
35175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35177 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35182 wxPyEndAllowThreads(__tstate
);
35183 if (PyErr_Occurred()) SWIG_fail
;
35185 resultobj
= SWIG_Py_Void();
35192 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35193 PyObject
*resultobj
= 0;
35194 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35197 PyObject
*swig_obj
[1] ;
35199 if (!args
) SWIG_fail
;
35200 swig_obj
[0] = args
;
35201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35202 if (!SWIG_IsOK(res1
)) {
35203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35205 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35208 (arg1
)->RemoveAll();
35209 wxPyEndAllowThreads(__tstate
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 resultobj
= SWIG_Py_Void();
35219 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35220 PyObject
*resultobj
= 0;
35221 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35225 PyObject
*swig_obj
[1] ;
35227 if (!args
) SWIG_fail
;
35228 swig_obj
[0] = args
;
35229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35230 if (!SWIG_IsOK(res1
)) {
35231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35233 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35236 result
= (int)(arg1
)->GetLen();
35237 wxPyEndAllowThreads(__tstate
);
35238 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= SWIG_From_int(static_cast< int >(result
));
35247 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35248 PyObject
*resultobj
= 0;
35249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35255 PyObject
* obj0
= 0 ;
35256 PyObject
* obj1
= 0 ;
35257 char * kwnames
[] = {
35258 (char *) "self",(char *) "id", NULL
35261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35263 if (!SWIG_IsOK(res1
)) {
35264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35266 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35268 if (!SWIG_IsOK(ecode2
)) {
35269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35271 arg2
= static_cast< int >(val2
);
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 (arg1
)->SetId(arg2
);
35275 wxPyEndAllowThreads(__tstate
);
35276 if (PyErr_Occurred()) SWIG_fail
;
35278 resultobj
= SWIG_Py_Void();
35285 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35286 PyObject
*resultobj
= 0;
35287 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35293 PyObject
* obj0
= 0 ;
35294 PyObject
* obj1
= 0 ;
35295 char * kwnames
[] = {
35296 (char *) "self",(char *) "id", NULL
35299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35301 if (!SWIG_IsOK(res1
)) {
35302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35304 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35306 if (!SWIG_IsOK(ecode2
)) {
35307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35309 arg2
= static_cast< int >(val2
);
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 (arg1
)->ClearId(arg2
);
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= SWIG_Py_Void();
35323 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35324 PyObject
*resultobj
= 0;
35325 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35331 PyObject
* obj0
= 0 ;
35332 PyObject
* obj1
= 0 ;
35333 char * kwnames
[] = {
35334 (char *) "self",(char *) "id", NULL
35337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35339 if (!SWIG_IsOK(res1
)) {
35340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35342 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35344 if (!SWIG_IsOK(ecode2
)) {
35345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35347 arg2
= static_cast< int >(val2
);
35349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35350 (arg1
)->RemoveId(arg2
);
35351 wxPyEndAllowThreads(__tstate
);
35352 if (PyErr_Occurred()) SWIG_fail
;
35354 resultobj
= SWIG_Py_Void();
35361 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35362 PyObject
*resultobj
= 0;
35363 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35375 PyObject
* obj0
= 0 ;
35376 PyObject
* obj1
= 0 ;
35377 PyObject
* obj2
= 0 ;
35378 PyObject
* obj3
= 0 ;
35379 char * kwnames
[] = {
35380 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35385 if (!SWIG_IsOK(res1
)) {
35386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35388 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35390 if (!SWIG_IsOK(ecode2
)) {
35391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35393 arg2
= static_cast< int >(val2
);
35394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35395 if (!SWIG_IsOK(ecode3
)) {
35396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35398 arg3
= static_cast< int >(val3
);
35399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35400 if (!SWIG_IsOK(ecode4
)) {
35401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35403 arg4
= static_cast< int >(val4
);
35405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35406 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35407 wxPyEndAllowThreads(__tstate
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35410 resultobj
= SWIG_Py_Void();
35417 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35418 PyObject
*resultobj
= 0;
35419 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35421 bool arg3
= (bool) true ;
35428 PyObject
* obj0
= 0 ;
35429 PyObject
* obj1
= 0 ;
35430 PyObject
* obj2
= 0 ;
35431 char * kwnames
[] = {
35432 (char *) "self",(char *) "id",(char *) "greyout", NULL
35435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35437 if (!SWIG_IsOK(res1
)) {
35438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35440 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35442 if (!SWIG_IsOK(ecode2
)) {
35443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35445 arg2
= static_cast< int >(val2
);
35447 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35448 if (!SWIG_IsOK(ecode3
)) {
35449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35451 arg3
= static_cast< bool >(val3
);
35454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35455 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35456 wxPyEndAllowThreads(__tstate
);
35457 if (PyErr_Occurred()) SWIG_fail
;
35459 resultobj
= SWIG_Py_Void();
35466 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35467 PyObject
*resultobj
= 0;
35468 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35475 PyObject
* obj0
= 0 ;
35476 PyObject
* obj1
= 0 ;
35477 char * kwnames
[] = {
35478 (char *) "self",(char *) "id", NULL
35481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35483 if (!SWIG_IsOK(res1
)) {
35484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35486 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35488 if (!SWIG_IsOK(ecode2
)) {
35489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35491 arg2
= static_cast< int >(val2
);
35493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35494 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35495 wxPyEndAllowThreads(__tstate
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35507 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35508 PyObject
*resultobj
= 0;
35509 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35512 int arg4
= (int) 1 ;
35513 wxColour
const &arg5_defvalue
= *wxWHITE
;
35514 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
35515 PyObject
*result
= 0 ;
35525 PyObject
* obj0
= 0 ;
35526 PyObject
* obj1
= 0 ;
35527 PyObject
* obj2
= 0 ;
35528 PyObject
* obj3
= 0 ;
35529 PyObject
* obj4
= 0 ;
35530 char * kwnames
[] = {
35531 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35536 if (!SWIG_IsOK(res1
)) {
35537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35539 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35541 if (!SWIG_IsOK(ecode2
)) {
35542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35544 arg2
= static_cast< int >(val2
);
35545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35546 if (!SWIG_IsOK(ecode3
)) {
35547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35549 arg3
= static_cast< int >(val3
);
35551 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35552 if (!SWIG_IsOK(ecode4
)) {
35553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35555 arg4
= static_cast< int >(val4
);
35560 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
35564 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
35565 if (PyErr_Occurred()) SWIG_fail
;
35567 resultobj
= result
;
35574 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35575 PyObject
*resultobj
= 0;
35576 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35579 PyObject
*result
= 0 ;
35586 PyObject
* obj0
= 0 ;
35587 PyObject
* obj1
= 0 ;
35588 PyObject
* obj2
= 0 ;
35589 char * kwnames
[] = {
35590 (char *) "self",(char *) "x",(char *) "y", NULL
35593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35595 if (!SWIG_IsOK(res1
)) {
35596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35598 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35600 if (!SWIG_IsOK(ecode2
)) {
35601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35603 arg2
= static_cast< int >(val2
);
35604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35605 if (!SWIG_IsOK(ecode3
)) {
35606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35608 arg3
= static_cast< int >(val3
);
35610 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35613 resultobj
= result
;
35620 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35621 PyObject
*resultobj
= 0;
35622 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35624 wxDC
*arg3
= (wxDC
*) 0 ;
35631 PyObject
* obj0
= 0 ;
35632 PyObject
* obj1
= 0 ;
35633 PyObject
* obj2
= 0 ;
35634 char * kwnames
[] = {
35635 (char *) "self",(char *) "id",(char *) "dc", NULL
35638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35640 if (!SWIG_IsOK(res1
)) {
35641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35643 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35645 if (!SWIG_IsOK(ecode2
)) {
35646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35648 arg2
= static_cast< int >(val2
);
35649 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35650 if (!SWIG_IsOK(res3
)) {
35651 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35653 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35656 (arg1
)->DrawIdToDC(arg2
,arg3
);
35657 wxPyEndAllowThreads(__tstate
);
35658 if (PyErr_Occurred()) SWIG_fail
;
35660 resultobj
= SWIG_Py_Void();
35667 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35668 PyObject
*resultobj
= 0;
35669 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35677 PyObject
* obj0
= 0 ;
35678 PyObject
* obj1
= 0 ;
35679 PyObject
* obj2
= 0 ;
35680 char * kwnames
[] = {
35681 (char *) "self",(char *) "id",(char *) "rect", NULL
35684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35686 if (!SWIG_IsOK(res1
)) {
35687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35689 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35691 if (!SWIG_IsOK(ecode2
)) {
35692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35694 arg2
= static_cast< int >(val2
);
35697 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 (arg1
)->SetIdBounds(arg2
,*arg3
);
35702 wxPyEndAllowThreads(__tstate
);
35703 if (PyErr_Occurred()) SWIG_fail
;
35705 resultobj
= SWIG_Py_Void();
35712 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(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_GetIdBounds",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_GetIdBounds" "', 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_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35737 arg2
= static_cast< int >(val2
);
35739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35740 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35751 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
= 0;
35753 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35754 wxDC
*arg2
= (wxDC
*) 0 ;
35761 PyObject
* obj0
= 0 ;
35762 PyObject
* obj1
= 0 ;
35763 PyObject
* obj2
= 0 ;
35764 char * kwnames
[] = {
35765 (char *) "self",(char *) "dc",(char *) "rect", NULL
35768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35770 if (!SWIG_IsOK(res1
)) {
35771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35773 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35774 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35775 if (!SWIG_IsOK(res2
)) {
35776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35778 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35781 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35785 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35786 wxPyEndAllowThreads(__tstate
);
35787 if (PyErr_Occurred()) SWIG_fail
;
35789 resultobj
= SWIG_Py_Void();
35796 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35797 PyObject
*resultobj
= 0;
35798 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35799 wxDC
*arg2
= (wxDC
*) 0 ;
35800 wxRegion
*arg3
= 0 ;
35807 PyObject
* obj0
= 0 ;
35808 PyObject
* obj1
= 0 ;
35809 PyObject
* obj2
= 0 ;
35810 char * kwnames
[] = {
35811 (char *) "self",(char *) "dc",(char *) "region", NULL
35814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35816 if (!SWIG_IsOK(res1
)) {
35817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35819 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35820 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35821 if (!SWIG_IsOK(res2
)) {
35822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35824 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35825 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35826 if (!SWIG_IsOK(res3
)) {
35827 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35832 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35835 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35836 wxPyEndAllowThreads(__tstate
);
35837 if (PyErr_Occurred()) SWIG_fail
;
35839 resultobj
= SWIG_Py_Void();
35846 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35847 PyObject
*resultobj
= 0;
35848 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35849 wxDC
*arg2
= (wxDC
*) 0 ;
35854 PyObject
* obj0
= 0 ;
35855 PyObject
* obj1
= 0 ;
35856 char * kwnames
[] = {
35857 (char *) "self",(char *) "dc", NULL
35860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35862 if (!SWIG_IsOK(res1
)) {
35863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35865 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35866 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35867 if (!SWIG_IsOK(res2
)) {
35868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35870 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35873 (arg1
)->DrawToDC(arg2
);
35874 wxPyEndAllowThreads(__tstate
);
35875 if (PyErr_Occurred()) SWIG_fail
;
35877 resultobj
= SWIG_Py_Void();
35884 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35885 PyObject
*resultobj
= 0;
35886 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35889 wxColour
*arg4
= 0 ;
35890 int arg5
= (int) wxFLOOD_SURFACE
;
35900 PyObject
* obj0
= 0 ;
35901 PyObject
* obj1
= 0 ;
35902 PyObject
* obj2
= 0 ;
35903 PyObject
* obj3
= 0 ;
35904 PyObject
* obj4
= 0 ;
35905 char * kwnames
[] = {
35906 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35911 if (!SWIG_IsOK(res1
)) {
35912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35914 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35916 if (!SWIG_IsOK(ecode2
)) {
35917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35919 arg2
= static_cast< int >(val2
);
35920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35921 if (!SWIG_IsOK(ecode3
)) {
35922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35924 arg3
= static_cast< int >(val3
);
35927 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35930 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35931 if (!SWIG_IsOK(ecode5
)) {
35932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35934 arg5
= static_cast< int >(val5
);
35937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35938 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35939 wxPyEndAllowThreads(__tstate
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35942 resultobj
= SWIG_Py_Void();
35949 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35950 PyObject
*resultobj
= 0;
35951 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35952 wxPoint
*arg2
= 0 ;
35953 wxColour
*arg3
= 0 ;
35954 int arg4
= (int) wxFLOOD_SURFACE
;
35961 PyObject
* obj0
= 0 ;
35962 PyObject
* obj1
= 0 ;
35963 PyObject
* obj2
= 0 ;
35964 PyObject
* obj3
= 0 ;
35965 char * kwnames
[] = {
35966 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35971 if (!SWIG_IsOK(res1
)) {
35972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35974 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35981 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35984 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35985 if (!SWIG_IsOK(ecode4
)) {
35986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35988 arg4
= static_cast< int >(val4
);
35991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35992 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35993 wxPyEndAllowThreads(__tstate
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35996 resultobj
= SWIG_Py_Void();
36003 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36004 PyObject
*resultobj
= 0;
36005 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36020 PyObject
* obj0
= 0 ;
36021 PyObject
* obj1
= 0 ;
36022 PyObject
* obj2
= 0 ;
36023 PyObject
* obj3
= 0 ;
36024 PyObject
* obj4
= 0 ;
36025 char * kwnames
[] = {
36026 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36031 if (!SWIG_IsOK(res1
)) {
36032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36034 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36036 if (!SWIG_IsOK(ecode2
)) {
36037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36039 arg2
= static_cast< int >(val2
);
36040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36041 if (!SWIG_IsOK(ecode3
)) {
36042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36044 arg3
= static_cast< int >(val3
);
36045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36046 if (!SWIG_IsOK(ecode4
)) {
36047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36049 arg4
= static_cast< int >(val4
);
36050 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36051 if (!SWIG_IsOK(ecode5
)) {
36052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36054 arg5
= static_cast< int >(val5
);
36056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36057 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36058 wxPyEndAllowThreads(__tstate
);
36059 if (PyErr_Occurred()) SWIG_fail
;
36061 resultobj
= SWIG_Py_Void();
36068 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36069 PyObject
*resultobj
= 0;
36070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36071 wxPoint
*arg2
= 0 ;
36072 wxPoint
*arg3
= 0 ;
36077 PyObject
* obj0
= 0 ;
36078 PyObject
* obj1
= 0 ;
36079 PyObject
* obj2
= 0 ;
36080 char * kwnames
[] = {
36081 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36086 if (!SWIG_IsOK(res1
)) {
36087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36089 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36101 wxPyEndAllowThreads(__tstate
);
36102 if (PyErr_Occurred()) SWIG_fail
;
36104 resultobj
= SWIG_Py_Void();
36111 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
= 0;
36113 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36122 PyObject
* obj0
= 0 ;
36123 PyObject
* obj1
= 0 ;
36124 PyObject
* obj2
= 0 ;
36125 char * kwnames
[] = {
36126 (char *) "self",(char *) "x",(char *) "y", NULL
36129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36131 if (!SWIG_IsOK(res1
)) {
36132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36136 if (!SWIG_IsOK(ecode2
)) {
36137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36139 arg2
= static_cast< int >(val2
);
36140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36141 if (!SWIG_IsOK(ecode3
)) {
36142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36144 arg3
= static_cast< int >(val3
);
36146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36147 (arg1
)->CrossHair(arg2
,arg3
);
36148 wxPyEndAllowThreads(__tstate
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36151 resultobj
= SWIG_Py_Void();
36158 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36159 PyObject
*resultobj
= 0;
36160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36161 wxPoint
*arg2
= 0 ;
36165 PyObject
* obj0
= 0 ;
36166 PyObject
* obj1
= 0 ;
36167 char * kwnames
[] = {
36168 (char *) "self",(char *) "pt", NULL
36171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36173 if (!SWIG_IsOK(res1
)) {
36174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36176 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36183 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36184 wxPyEndAllowThreads(__tstate
);
36185 if (PyErr_Occurred()) SWIG_fail
;
36187 resultobj
= SWIG_Py_Void();
36194 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36195 PyObject
*resultobj
= 0;
36196 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36217 PyObject
* obj0
= 0 ;
36218 PyObject
* obj1
= 0 ;
36219 PyObject
* obj2
= 0 ;
36220 PyObject
* obj3
= 0 ;
36221 PyObject
* obj4
= 0 ;
36222 PyObject
* obj5
= 0 ;
36223 PyObject
* obj6
= 0 ;
36224 char * kwnames
[] = {
36225 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36230 if (!SWIG_IsOK(res1
)) {
36231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36233 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36235 if (!SWIG_IsOK(ecode2
)) {
36236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36238 arg2
= static_cast< int >(val2
);
36239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36240 if (!SWIG_IsOK(ecode3
)) {
36241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36243 arg3
= static_cast< int >(val3
);
36244 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36245 if (!SWIG_IsOK(ecode4
)) {
36246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36248 arg4
= static_cast< int >(val4
);
36249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36250 if (!SWIG_IsOK(ecode5
)) {
36251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36253 arg5
= static_cast< int >(val5
);
36254 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36255 if (!SWIG_IsOK(ecode6
)) {
36256 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36258 arg6
= static_cast< int >(val6
);
36259 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36260 if (!SWIG_IsOK(ecode7
)) {
36261 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36263 arg7
= static_cast< int >(val7
);
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36267 wxPyEndAllowThreads(__tstate
);
36268 if (PyErr_Occurred()) SWIG_fail
;
36270 resultobj
= SWIG_Py_Void();
36277 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36278 PyObject
*resultobj
= 0;
36279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36280 wxPoint
*arg2
= 0 ;
36281 wxPoint
*arg3
= 0 ;
36282 wxPoint
*arg4
= 0 ;
36288 PyObject
* obj0
= 0 ;
36289 PyObject
* obj1
= 0 ;
36290 PyObject
* obj2
= 0 ;
36291 PyObject
* obj3
= 0 ;
36292 char * kwnames
[] = {
36293 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36298 if (!SWIG_IsOK(res1
)) {
36299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36308 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36316 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36317 wxPyEndAllowThreads(__tstate
);
36318 if (PyErr_Occurred()) SWIG_fail
;
36320 resultobj
= SWIG_Py_Void();
36327 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36328 PyObject
*resultobj
= 0;
36329 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36344 PyObject
* obj0
= 0 ;
36345 PyObject
* obj1
= 0 ;
36346 PyObject
* obj2
= 0 ;
36347 PyObject
* obj3
= 0 ;
36348 PyObject
* obj4
= 0 ;
36349 char * kwnames
[] = {
36350 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36355 if (!SWIG_IsOK(res1
)) {
36356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36360 if (!SWIG_IsOK(ecode2
)) {
36361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36363 arg2
= static_cast< int >(val2
);
36364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36365 if (!SWIG_IsOK(ecode3
)) {
36366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36368 arg3
= static_cast< int >(val3
);
36369 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36370 if (!SWIG_IsOK(ecode4
)) {
36371 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36373 arg4
= static_cast< int >(val4
);
36374 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36375 if (!SWIG_IsOK(ecode5
)) {
36376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36378 arg5
= static_cast< int >(val5
);
36380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36381 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36382 wxPyEndAllowThreads(__tstate
);
36383 if (PyErr_Occurred()) SWIG_fail
;
36385 resultobj
= SWIG_Py_Void();
36392 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36393 PyObject
*resultobj
= 0;
36394 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36399 PyObject
* obj0
= 0 ;
36400 PyObject
* obj1
= 0 ;
36401 char * kwnames
[] = {
36402 (char *) "self",(char *) "rect", NULL
36405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36407 if (!SWIG_IsOK(res1
)) {
36408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36410 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36413 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 resultobj
= SWIG_Py_Void();
36428 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36429 PyObject
*resultobj
= 0;
36430 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36451 PyObject
* obj0
= 0 ;
36452 PyObject
* obj1
= 0 ;
36453 PyObject
* obj2
= 0 ;
36454 PyObject
* obj3
= 0 ;
36455 PyObject
* obj4
= 0 ;
36456 PyObject
* obj5
= 0 ;
36457 PyObject
* obj6
= 0 ;
36458 char * kwnames
[] = {
36459 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36464 if (!SWIG_IsOK(res1
)) {
36465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36467 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36469 if (!SWIG_IsOK(ecode2
)) {
36470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36472 arg2
= static_cast< int >(val2
);
36473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36474 if (!SWIG_IsOK(ecode3
)) {
36475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36477 arg3
= static_cast< int >(val3
);
36478 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36479 if (!SWIG_IsOK(ecode4
)) {
36480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36482 arg4
= static_cast< int >(val4
);
36483 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36484 if (!SWIG_IsOK(ecode5
)) {
36485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36487 arg5
= static_cast< int >(val5
);
36488 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36489 if (!SWIG_IsOK(ecode6
)) {
36490 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36492 arg6
= static_cast< double >(val6
);
36493 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36494 if (!SWIG_IsOK(ecode7
)) {
36495 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36497 arg7
= static_cast< double >(val7
);
36499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36500 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36501 wxPyEndAllowThreads(__tstate
);
36502 if (PyErr_Occurred()) SWIG_fail
;
36504 resultobj
= SWIG_Py_Void();
36511 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36512 PyObject
*resultobj
= 0;
36513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36514 wxPoint
*arg2
= 0 ;
36526 PyObject
* obj0
= 0 ;
36527 PyObject
* obj1
= 0 ;
36528 PyObject
* obj2
= 0 ;
36529 PyObject
* obj3
= 0 ;
36530 PyObject
* obj4
= 0 ;
36531 char * kwnames
[] = {
36532 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36537 if (!SWIG_IsOK(res1
)) {
36538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36540 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36547 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36549 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36550 if (!SWIG_IsOK(ecode4
)) {
36551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36553 arg4
= static_cast< double >(val4
);
36554 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36555 if (!SWIG_IsOK(ecode5
)) {
36556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36558 arg5
= static_cast< double >(val5
);
36560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36561 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36562 wxPyEndAllowThreads(__tstate
);
36563 if (PyErr_Occurred()) SWIG_fail
;
36565 resultobj
= SWIG_Py_Void();
36572 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36573 PyObject
*resultobj
= 0;
36574 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36583 PyObject
* obj0
= 0 ;
36584 PyObject
* obj1
= 0 ;
36585 PyObject
* obj2
= 0 ;
36586 char * kwnames
[] = {
36587 (char *) "self",(char *) "x",(char *) "y", NULL
36590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36595 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36597 if (!SWIG_IsOK(ecode2
)) {
36598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36600 arg2
= static_cast< int >(val2
);
36601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36602 if (!SWIG_IsOK(ecode3
)) {
36603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36605 arg3
= static_cast< int >(val3
);
36607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36608 (arg1
)->DrawPoint(arg2
,arg3
);
36609 wxPyEndAllowThreads(__tstate
);
36610 if (PyErr_Occurred()) SWIG_fail
;
36612 resultobj
= SWIG_Py_Void();
36619 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36620 PyObject
*resultobj
= 0;
36621 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36622 wxPoint
*arg2
= 0 ;
36626 PyObject
* obj0
= 0 ;
36627 PyObject
* obj1
= 0 ;
36628 char * kwnames
[] = {
36629 (char *) "self",(char *) "pt", NULL
36632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36634 if (!SWIG_IsOK(res1
)) {
36635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36637 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36644 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36645 wxPyEndAllowThreads(__tstate
);
36646 if (PyErr_Occurred()) SWIG_fail
;
36648 resultobj
= SWIG_Py_Void();
36655 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36656 PyObject
*resultobj
= 0;
36657 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36672 PyObject
* obj0
= 0 ;
36673 PyObject
* obj1
= 0 ;
36674 PyObject
* obj2
= 0 ;
36675 PyObject
* obj3
= 0 ;
36676 PyObject
* obj4
= 0 ;
36677 char * kwnames
[] = {
36678 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36683 if (!SWIG_IsOK(res1
)) {
36684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36686 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36688 if (!SWIG_IsOK(ecode2
)) {
36689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36691 arg2
= static_cast< int >(val2
);
36692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36693 if (!SWIG_IsOK(ecode3
)) {
36694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36696 arg3
= static_cast< int >(val3
);
36697 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36698 if (!SWIG_IsOK(ecode4
)) {
36699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36701 arg4
= static_cast< int >(val4
);
36702 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36703 if (!SWIG_IsOK(ecode5
)) {
36704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36706 arg5
= static_cast< int >(val5
);
36708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36709 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36710 wxPyEndAllowThreads(__tstate
);
36711 if (PyErr_Occurred()) SWIG_fail
;
36713 resultobj
= SWIG_Py_Void();
36720 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36721 PyObject
*resultobj
= 0;
36722 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36727 PyObject
* obj0
= 0 ;
36728 PyObject
* obj1
= 0 ;
36729 char * kwnames
[] = {
36730 (char *) "self",(char *) "rect", NULL
36733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36735 if (!SWIG_IsOK(res1
)) {
36736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36738 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36741 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36745 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36746 wxPyEndAllowThreads(__tstate
);
36747 if (PyErr_Occurred()) SWIG_fail
;
36749 resultobj
= SWIG_Py_Void();
36756 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36757 PyObject
*resultobj
= 0;
36758 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36759 wxPoint
*arg2
= 0 ;
36765 PyObject
* obj0
= 0 ;
36766 PyObject
* obj1
= 0 ;
36767 PyObject
* obj2
= 0 ;
36768 char * kwnames
[] = {
36769 (char *) "self",(char *) "pt",(char *) "sz", NULL
36772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36774 if (!SWIG_IsOK(res1
)) {
36775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36777 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36780 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36784 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36788 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36789 wxPyEndAllowThreads(__tstate
);
36790 if (PyErr_Occurred()) SWIG_fail
;
36792 resultobj
= SWIG_Py_Void();
36799 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36800 PyObject
*resultobj
= 0;
36801 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36819 PyObject
* obj0
= 0 ;
36820 PyObject
* obj1
= 0 ;
36821 PyObject
* obj2
= 0 ;
36822 PyObject
* obj3
= 0 ;
36823 PyObject
* obj4
= 0 ;
36824 PyObject
* obj5
= 0 ;
36825 char * kwnames
[] = {
36826 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36831 if (!SWIG_IsOK(res1
)) {
36832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36834 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36836 if (!SWIG_IsOK(ecode2
)) {
36837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36839 arg2
= static_cast< int >(val2
);
36840 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36841 if (!SWIG_IsOK(ecode3
)) {
36842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36844 arg3
= static_cast< int >(val3
);
36845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36846 if (!SWIG_IsOK(ecode4
)) {
36847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36849 arg4
= static_cast< int >(val4
);
36850 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36851 if (!SWIG_IsOK(ecode5
)) {
36852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36854 arg5
= static_cast< int >(val5
);
36855 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36856 if (!SWIG_IsOK(ecode6
)) {
36857 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36859 arg6
= static_cast< double >(val6
);
36861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36862 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36863 wxPyEndAllowThreads(__tstate
);
36864 if (PyErr_Occurred()) SWIG_fail
;
36866 resultobj
= SWIG_Py_Void();
36873 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36874 PyObject
*resultobj
= 0;
36875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36883 PyObject
* obj0
= 0 ;
36884 PyObject
* obj1
= 0 ;
36885 PyObject
* obj2
= 0 ;
36886 char * kwnames
[] = {
36887 (char *) "self",(char *) "r",(char *) "radius", NULL
36890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36892 if (!SWIG_IsOK(res1
)) {
36893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36895 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36898 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36900 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36901 if (!SWIG_IsOK(ecode3
)) {
36902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36904 arg3
= static_cast< double >(val3
);
36906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36907 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36908 wxPyEndAllowThreads(__tstate
);
36909 if (PyErr_Occurred()) SWIG_fail
;
36911 resultobj
= SWIG_Py_Void();
36918 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36919 PyObject
*resultobj
= 0;
36920 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36921 wxPoint
*arg2
= 0 ;
36930 PyObject
* obj0
= 0 ;
36931 PyObject
* obj1
= 0 ;
36932 PyObject
* obj2
= 0 ;
36933 PyObject
* obj3
= 0 ;
36934 char * kwnames
[] = {
36935 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36940 if (!SWIG_IsOK(res1
)) {
36941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36950 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36952 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36953 if (!SWIG_IsOK(ecode4
)) {
36954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36956 arg4
= static_cast< double >(val4
);
36958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36959 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36960 wxPyEndAllowThreads(__tstate
);
36961 if (PyErr_Occurred()) SWIG_fail
;
36963 resultobj
= SWIG_Py_Void();
36970 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36971 PyObject
*resultobj
= 0;
36972 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36984 PyObject
* obj0
= 0 ;
36985 PyObject
* obj1
= 0 ;
36986 PyObject
* obj2
= 0 ;
36987 PyObject
* obj3
= 0 ;
36988 char * kwnames
[] = {
36989 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36994 if (!SWIG_IsOK(res1
)) {
36995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36997 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36999 if (!SWIG_IsOK(ecode2
)) {
37000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37002 arg2
= static_cast< int >(val2
);
37003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37004 if (!SWIG_IsOK(ecode3
)) {
37005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37007 arg3
= static_cast< int >(val3
);
37008 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37009 if (!SWIG_IsOK(ecode4
)) {
37010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37012 arg4
= static_cast< int >(val4
);
37014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37015 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37016 wxPyEndAllowThreads(__tstate
);
37017 if (PyErr_Occurred()) SWIG_fail
;
37019 resultobj
= SWIG_Py_Void();
37026 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37027 PyObject
*resultobj
= 0;
37028 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37029 wxPoint
*arg2
= 0 ;
37036 PyObject
* obj0
= 0 ;
37037 PyObject
* obj1
= 0 ;
37038 PyObject
* obj2
= 0 ;
37039 char * kwnames
[] = {
37040 (char *) "self",(char *) "pt",(char *) "radius", NULL
37043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37045 if (!SWIG_IsOK(res1
)) {
37046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37048 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37054 if (!SWIG_IsOK(ecode3
)) {
37055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37057 arg3
= static_cast< int >(val3
);
37059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37060 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37061 wxPyEndAllowThreads(__tstate
);
37062 if (PyErr_Occurred()) SWIG_fail
;
37064 resultobj
= SWIG_Py_Void();
37071 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37072 PyObject
*resultobj
= 0;
37073 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37088 PyObject
* obj0
= 0 ;
37089 PyObject
* obj1
= 0 ;
37090 PyObject
* obj2
= 0 ;
37091 PyObject
* obj3
= 0 ;
37092 PyObject
* obj4
= 0 ;
37093 char * kwnames
[] = {
37094 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37099 if (!SWIG_IsOK(res1
)) {
37100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37102 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37104 if (!SWIG_IsOK(ecode2
)) {
37105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37107 arg2
= static_cast< int >(val2
);
37108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37109 if (!SWIG_IsOK(ecode3
)) {
37110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37112 arg3
= static_cast< int >(val3
);
37113 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37114 if (!SWIG_IsOK(ecode4
)) {
37115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37117 arg4
= static_cast< int >(val4
);
37118 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37119 if (!SWIG_IsOK(ecode5
)) {
37120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37122 arg5
= static_cast< int >(val5
);
37124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37125 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37126 wxPyEndAllowThreads(__tstate
);
37127 if (PyErr_Occurred()) SWIG_fail
;
37129 resultobj
= SWIG_Py_Void();
37136 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37137 PyObject
*resultobj
= 0;
37138 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37143 PyObject
* obj0
= 0 ;
37144 PyObject
* obj1
= 0 ;
37145 char * kwnames
[] = {
37146 (char *) "self",(char *) "rect", NULL
37149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37151 if (!SWIG_IsOK(res1
)) {
37152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37154 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37157 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37161 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37162 wxPyEndAllowThreads(__tstate
);
37163 if (PyErr_Occurred()) SWIG_fail
;
37165 resultobj
= SWIG_Py_Void();
37172 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37173 PyObject
*resultobj
= 0;
37174 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37175 wxPoint
*arg2
= 0 ;
37181 PyObject
* obj0
= 0 ;
37182 PyObject
* obj1
= 0 ;
37183 PyObject
* obj2
= 0 ;
37184 char * kwnames
[] = {
37185 (char *) "self",(char *) "pt",(char *) "sz", NULL
37188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37190 if (!SWIG_IsOK(res1
)) {
37191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37193 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37200 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37204 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37205 wxPyEndAllowThreads(__tstate
);
37206 if (PyErr_Occurred()) SWIG_fail
;
37208 resultobj
= SWIG_Py_Void();
37215 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37216 PyObject
*resultobj
= 0;
37217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37229 PyObject
* obj0
= 0 ;
37230 PyObject
* obj1
= 0 ;
37231 PyObject
* obj2
= 0 ;
37232 PyObject
* obj3
= 0 ;
37233 char * kwnames
[] = {
37234 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37239 if (!SWIG_IsOK(res1
)) {
37240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37242 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37244 if (!SWIG_IsOK(res2
)) {
37245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37250 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37252 if (!SWIG_IsOK(ecode3
)) {
37253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37255 arg3
= static_cast< int >(val3
);
37256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37257 if (!SWIG_IsOK(ecode4
)) {
37258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37260 arg4
= static_cast< int >(val4
);
37262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37263 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37264 wxPyEndAllowThreads(__tstate
);
37265 if (PyErr_Occurred()) SWIG_fail
;
37267 resultobj
= SWIG_Py_Void();
37274 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37275 PyObject
*resultobj
= 0;
37276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37278 wxPoint
*arg3
= 0 ;
37284 PyObject
* obj0
= 0 ;
37285 PyObject
* obj1
= 0 ;
37286 PyObject
* obj2
= 0 ;
37287 char * kwnames
[] = {
37288 (char *) "self",(char *) "icon",(char *) "pt", NULL
37291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37293 if (!SWIG_IsOK(res1
)) {
37294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37296 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37298 if (!SWIG_IsOK(res2
)) {
37299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37304 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37311 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37312 wxPyEndAllowThreads(__tstate
);
37313 if (PyErr_Occurred()) SWIG_fail
;
37315 resultobj
= SWIG_Py_Void();
37322 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37323 PyObject
*resultobj
= 0;
37324 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37325 wxBitmap
*arg2
= 0 ;
37328 bool arg5
= (bool) false ;
37339 PyObject
* obj0
= 0 ;
37340 PyObject
* obj1
= 0 ;
37341 PyObject
* obj2
= 0 ;
37342 PyObject
* obj3
= 0 ;
37343 PyObject
* obj4
= 0 ;
37344 char * kwnames
[] = {
37345 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37350 if (!SWIG_IsOK(res1
)) {
37351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37353 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37355 if (!SWIG_IsOK(res2
)) {
37356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37361 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37363 if (!SWIG_IsOK(ecode3
)) {
37364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37366 arg3
= static_cast< int >(val3
);
37367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37368 if (!SWIG_IsOK(ecode4
)) {
37369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37371 arg4
= static_cast< int >(val4
);
37373 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37374 if (!SWIG_IsOK(ecode5
)) {
37375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37377 arg5
= static_cast< bool >(val5
);
37380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37381 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37382 wxPyEndAllowThreads(__tstate
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37385 resultobj
= SWIG_Py_Void();
37392 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37393 PyObject
*resultobj
= 0;
37394 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37395 wxBitmap
*arg2
= 0 ;
37396 wxPoint
*arg3
= 0 ;
37397 bool arg4
= (bool) false ;
37405 PyObject
* obj0
= 0 ;
37406 PyObject
* obj1
= 0 ;
37407 PyObject
* obj2
= 0 ;
37408 PyObject
* obj3
= 0 ;
37409 char * kwnames
[] = {
37410 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37415 if (!SWIG_IsOK(res1
)) {
37416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37418 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37420 if (!SWIG_IsOK(res2
)) {
37421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37426 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37432 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37433 if (!SWIG_IsOK(ecode4
)) {
37434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37436 arg4
= static_cast< bool >(val4
);
37439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37440 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37441 wxPyEndAllowThreads(__tstate
);
37442 if (PyErr_Occurred()) SWIG_fail
;
37444 resultobj
= SWIG_Py_Void();
37451 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37452 PyObject
*resultobj
= 0;
37453 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37454 wxString
*arg2
= 0 ;
37459 bool temp2
= false ;
37464 PyObject
* obj0
= 0 ;
37465 PyObject
* obj1
= 0 ;
37466 PyObject
* obj2
= 0 ;
37467 PyObject
* obj3
= 0 ;
37468 char * kwnames
[] = {
37469 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37474 if (!SWIG_IsOK(res1
)) {
37475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37477 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37479 arg2
= wxString_in_helper(obj1
);
37480 if (arg2
== NULL
) SWIG_fail
;
37483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37484 if (!SWIG_IsOK(ecode3
)) {
37485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37487 arg3
= static_cast< int >(val3
);
37488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37489 if (!SWIG_IsOK(ecode4
)) {
37490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37492 arg4
= static_cast< int >(val4
);
37494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37495 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37496 wxPyEndAllowThreads(__tstate
);
37497 if (PyErr_Occurred()) SWIG_fail
;
37499 resultobj
= SWIG_Py_Void();
37514 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37515 PyObject
*resultobj
= 0;
37516 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37517 wxString
*arg2
= 0 ;
37518 wxPoint
*arg3
= 0 ;
37521 bool temp2
= false ;
37523 PyObject
* obj0
= 0 ;
37524 PyObject
* obj1
= 0 ;
37525 PyObject
* obj2
= 0 ;
37526 char * kwnames
[] = {
37527 (char *) "self",(char *) "text",(char *) "pt", NULL
37530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37532 if (!SWIG_IsOK(res1
)) {
37533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37535 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37537 arg2
= wxString_in_helper(obj1
);
37538 if (arg2
== NULL
) SWIG_fail
;
37543 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37547 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37548 wxPyEndAllowThreads(__tstate
);
37549 if (PyErr_Occurred()) SWIG_fail
;
37551 resultobj
= SWIG_Py_Void();
37566 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37567 PyObject
*resultobj
= 0;
37568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37569 wxString
*arg2
= 0 ;
37575 bool temp2
= false ;
37582 PyObject
* obj0
= 0 ;
37583 PyObject
* obj1
= 0 ;
37584 PyObject
* obj2
= 0 ;
37585 PyObject
* obj3
= 0 ;
37586 PyObject
* obj4
= 0 ;
37587 char * kwnames
[] = {
37588 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37593 if (!SWIG_IsOK(res1
)) {
37594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37596 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37598 arg2
= wxString_in_helper(obj1
);
37599 if (arg2
== NULL
) SWIG_fail
;
37602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37603 if (!SWIG_IsOK(ecode3
)) {
37604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37606 arg3
= static_cast< int >(val3
);
37607 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37608 if (!SWIG_IsOK(ecode4
)) {
37609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37611 arg4
= static_cast< int >(val4
);
37612 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37613 if (!SWIG_IsOK(ecode5
)) {
37614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37616 arg5
= static_cast< double >(val5
);
37618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37619 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37620 wxPyEndAllowThreads(__tstate
);
37621 if (PyErr_Occurred()) SWIG_fail
;
37623 resultobj
= SWIG_Py_Void();
37638 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37639 PyObject
*resultobj
= 0;
37640 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37641 wxString
*arg2
= 0 ;
37642 wxPoint
*arg3
= 0 ;
37646 bool temp2
= false ;
37650 PyObject
* obj0
= 0 ;
37651 PyObject
* obj1
= 0 ;
37652 PyObject
* obj2
= 0 ;
37653 PyObject
* obj3
= 0 ;
37654 char * kwnames
[] = {
37655 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37660 if (!SWIG_IsOK(res1
)) {
37661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37663 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37665 arg2
= wxString_in_helper(obj1
);
37666 if (arg2
== NULL
) SWIG_fail
;
37671 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37673 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37674 if (!SWIG_IsOK(ecode4
)) {
37675 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37677 arg4
= static_cast< double >(val4
);
37679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37680 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37681 wxPyEndAllowThreads(__tstate
);
37682 if (PyErr_Occurred()) SWIG_fail
;
37684 resultobj
= SWIG_Py_Void();
37699 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37700 PyObject
*resultobj
= 0;
37701 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37703 wxPoint
*arg3
= (wxPoint
*) 0 ;
37704 int arg4
= (int) 0 ;
37705 int arg5
= (int) 0 ;
37712 PyObject
* obj0
= 0 ;
37713 PyObject
* obj1
= 0 ;
37714 PyObject
* obj2
= 0 ;
37715 PyObject
* obj3
= 0 ;
37716 char * kwnames
[] = {
37717 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37722 if (!SWIG_IsOK(res1
)) {
37723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37725 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37727 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37728 if (arg3
== NULL
) SWIG_fail
;
37731 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37732 if (!SWIG_IsOK(ecode4
)) {
37733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37735 arg4
= static_cast< int >(val4
);
37738 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37739 if (!SWIG_IsOK(ecode5
)) {
37740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37742 arg5
= static_cast< int >(val5
);
37745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37746 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37747 wxPyEndAllowThreads(__tstate
);
37748 if (PyErr_Occurred()) SWIG_fail
;
37750 resultobj
= SWIG_Py_Void();
37752 if (arg3
) delete [] arg3
;
37757 if (arg3
) delete [] arg3
;
37763 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37764 PyObject
*resultobj
= 0;
37765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37767 wxPoint
*arg3
= (wxPoint
*) 0 ;
37768 int arg4
= (int) 0 ;
37769 int arg5
= (int) 0 ;
37770 int arg6
= (int) wxODDEVEN_RULE
;
37779 PyObject
* obj0
= 0 ;
37780 PyObject
* obj1
= 0 ;
37781 PyObject
* obj2
= 0 ;
37782 PyObject
* obj3
= 0 ;
37783 PyObject
* obj4
= 0 ;
37784 char * kwnames
[] = {
37785 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37790 if (!SWIG_IsOK(res1
)) {
37791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37793 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37795 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37796 if (arg3
== NULL
) SWIG_fail
;
37799 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37800 if (!SWIG_IsOK(ecode4
)) {
37801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37803 arg4
= static_cast< int >(val4
);
37806 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37807 if (!SWIG_IsOK(ecode5
)) {
37808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37810 arg5
= static_cast< int >(val5
);
37813 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37814 if (!SWIG_IsOK(ecode6
)) {
37815 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37817 arg6
= static_cast< int >(val6
);
37820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37821 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37822 wxPyEndAllowThreads(__tstate
);
37823 if (PyErr_Occurred()) SWIG_fail
;
37825 resultobj
= SWIG_Py_Void();
37827 if (arg3
) delete [] arg3
;
37832 if (arg3
) delete [] arg3
;
37838 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37839 PyObject
*resultobj
= 0;
37840 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37841 wxString
*arg2
= 0 ;
37843 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37844 int arg5
= (int) -1 ;
37847 bool temp2
= false ;
37853 PyObject
* obj0
= 0 ;
37854 PyObject
* obj1
= 0 ;
37855 PyObject
* obj2
= 0 ;
37856 PyObject
* obj3
= 0 ;
37857 PyObject
* obj4
= 0 ;
37858 char * kwnames
[] = {
37859 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37864 if (!SWIG_IsOK(res1
)) {
37865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37867 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37869 arg2
= wxString_in_helper(obj1
);
37870 if (arg2
== NULL
) SWIG_fail
;
37875 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37878 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37879 if (!SWIG_IsOK(ecode4
)) {
37880 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37882 arg4
= static_cast< int >(val4
);
37885 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37886 if (!SWIG_IsOK(ecode5
)) {
37887 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37889 arg5
= static_cast< int >(val5
);
37892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37893 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37894 wxPyEndAllowThreads(__tstate
);
37895 if (PyErr_Occurred()) SWIG_fail
;
37897 resultobj
= SWIG_Py_Void();
37912 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37913 PyObject
*resultobj
= 0;
37914 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37915 wxString
*arg2
= 0 ;
37916 wxBitmap
*arg3
= 0 ;
37918 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37919 int arg6
= (int) -1 ;
37922 bool temp2
= false ;
37930 PyObject
* obj0
= 0 ;
37931 PyObject
* obj1
= 0 ;
37932 PyObject
* obj2
= 0 ;
37933 PyObject
* obj3
= 0 ;
37934 PyObject
* obj4
= 0 ;
37935 PyObject
* obj5
= 0 ;
37936 char * kwnames
[] = {
37937 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37942 if (!SWIG_IsOK(res1
)) {
37943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37945 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37947 arg2
= wxString_in_helper(obj1
);
37948 if (arg2
== NULL
) SWIG_fail
;
37951 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37952 if (!SWIG_IsOK(res3
)) {
37953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37958 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37961 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37964 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37965 if (!SWIG_IsOK(ecode5
)) {
37966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37968 arg5
= static_cast< int >(val5
);
37971 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37972 if (!SWIG_IsOK(ecode6
)) {
37973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37975 arg6
= static_cast< int >(val6
);
37978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37979 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37980 wxPyEndAllowThreads(__tstate
);
37981 if (PyErr_Occurred()) SWIG_fail
;
37983 resultobj
= SWIG_Py_Void();
37998 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37999 PyObject
*resultobj
= 0;
38000 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38002 wxPoint
*arg3
= (wxPoint
*) 0 ;
38005 PyObject
* obj0
= 0 ;
38006 PyObject
* obj1
= 0 ;
38007 char * kwnames
[] = {
38008 (char *) "self",(char *) "points", NULL
38011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38013 if (!SWIG_IsOK(res1
)) {
38014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38018 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38019 if (arg3
== NULL
) SWIG_fail
;
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 (arg1
)->DrawSpline(arg2
,arg3
);
38024 wxPyEndAllowThreads(__tstate
);
38025 if (PyErr_Occurred()) SWIG_fail
;
38027 resultobj
= SWIG_Py_Void();
38029 if (arg3
) delete [] arg3
;
38034 if (arg3
) delete [] arg3
;
38040 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38041 PyObject
*resultobj
= 0;
38042 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38045 PyObject
*swig_obj
[1] ;
38047 if (!args
) SWIG_fail
;
38048 swig_obj
[0] = args
;
38049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38050 if (!SWIG_IsOK(res1
)) {
38051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38053 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38057 wxPyEndAllowThreads(__tstate
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38060 resultobj
= SWIG_Py_Void();
38067 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38068 PyObject
*resultobj
= 0;
38069 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38075 PyObject
* obj0
= 0 ;
38076 PyObject
* obj1
= 0 ;
38077 char * kwnames
[] = {
38078 (char *) "self",(char *) "font", NULL
38081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38083 if (!SWIG_IsOK(res1
)) {
38084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38088 if (!SWIG_IsOK(res2
)) {
38089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38094 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38097 (arg1
)->SetFont((wxFont
const &)*arg2
);
38098 wxPyEndAllowThreads(__tstate
);
38099 if (PyErr_Occurred()) SWIG_fail
;
38101 resultobj
= SWIG_Py_Void();
38108 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38109 PyObject
*resultobj
= 0;
38110 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38116 PyObject
* obj0
= 0 ;
38117 PyObject
* obj1
= 0 ;
38118 char * kwnames
[] = {
38119 (char *) "self",(char *) "pen", NULL
38122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38124 if (!SWIG_IsOK(res1
)) {
38125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38127 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38129 if (!SWIG_IsOK(res2
)) {
38130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38135 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 (arg1
)->SetPen((wxPen
const &)*arg2
);
38139 wxPyEndAllowThreads(__tstate
);
38140 if (PyErr_Occurred()) SWIG_fail
;
38142 resultobj
= SWIG_Py_Void();
38149 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38150 PyObject
*resultobj
= 0;
38151 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38152 wxBrush
*arg2
= 0 ;
38157 PyObject
* obj0
= 0 ;
38158 PyObject
* obj1
= 0 ;
38159 char * kwnames
[] = {
38160 (char *) "self",(char *) "brush", NULL
38163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38165 if (!SWIG_IsOK(res1
)) {
38166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38168 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38170 if (!SWIG_IsOK(res2
)) {
38171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38176 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38179 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38180 wxPyEndAllowThreads(__tstate
);
38181 if (PyErr_Occurred()) SWIG_fail
;
38183 resultobj
= SWIG_Py_Void();
38190 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38191 PyObject
*resultobj
= 0;
38192 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38193 wxBrush
*arg2
= 0 ;
38198 PyObject
* obj0
= 0 ;
38199 PyObject
* obj1
= 0 ;
38200 char * kwnames
[] = {
38201 (char *) "self",(char *) "brush", NULL
38204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38206 if (!SWIG_IsOK(res1
)) {
38207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38209 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38211 if (!SWIG_IsOK(res2
)) {
38212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38217 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38220 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38221 wxPyEndAllowThreads(__tstate
);
38222 if (PyErr_Occurred()) SWIG_fail
;
38224 resultobj
= SWIG_Py_Void();
38231 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38232 PyObject
*resultobj
= 0;
38233 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38239 PyObject
* obj0
= 0 ;
38240 PyObject
* obj1
= 0 ;
38241 char * kwnames
[] = {
38242 (char *) "self",(char *) "mode", NULL
38245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38247 if (!SWIG_IsOK(res1
)) {
38248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38250 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38252 if (!SWIG_IsOK(ecode2
)) {
38253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38255 arg2
= static_cast< int >(val2
);
38257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38258 (arg1
)->SetBackgroundMode(arg2
);
38259 wxPyEndAllowThreads(__tstate
);
38260 if (PyErr_Occurred()) SWIG_fail
;
38262 resultobj
= SWIG_Py_Void();
38269 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38270 PyObject
*resultobj
= 0;
38271 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38272 wxPalette
*arg2
= 0 ;
38277 PyObject
* obj0
= 0 ;
38278 PyObject
* obj1
= 0 ;
38279 char * kwnames
[] = {
38280 (char *) "self",(char *) "palette", NULL
38283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38285 if (!SWIG_IsOK(res1
)) {
38286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38288 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38290 if (!SWIG_IsOK(res2
)) {
38291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38296 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38299 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38300 wxPyEndAllowThreads(__tstate
);
38301 if (PyErr_Occurred()) SWIG_fail
;
38303 resultobj
= SWIG_Py_Void();
38310 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38311 PyObject
*resultobj
= 0;
38312 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38313 wxColour
*arg2
= 0 ;
38317 PyObject
* obj0
= 0 ;
38318 PyObject
* obj1
= 0 ;
38319 char * kwnames
[] = {
38320 (char *) "self",(char *) "colour", NULL
38323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38325 if (!SWIG_IsOK(res1
)) {
38326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38328 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38331 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38335 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38336 wxPyEndAllowThreads(__tstate
);
38337 if (PyErr_Occurred()) SWIG_fail
;
38339 resultobj
= SWIG_Py_Void();
38346 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38347 PyObject
*resultobj
= 0;
38348 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38349 wxColour
*arg2
= 0 ;
38353 PyObject
* obj0
= 0 ;
38354 PyObject
* obj1
= 0 ;
38355 char * kwnames
[] = {
38356 (char *) "self",(char *) "colour", NULL
38359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38361 if (!SWIG_IsOK(res1
)) {
38362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38364 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38371 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38372 wxPyEndAllowThreads(__tstate
);
38373 if (PyErr_Occurred()) SWIG_fail
;
38375 resultobj
= SWIG_Py_Void();
38382 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38383 PyObject
*resultobj
= 0;
38384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38390 PyObject
* obj0
= 0 ;
38391 PyObject
* obj1
= 0 ;
38392 char * kwnames
[] = {
38393 (char *) "self",(char *) "function", NULL
38396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38398 if (!SWIG_IsOK(res1
)) {
38399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38401 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38403 if (!SWIG_IsOK(ecode2
)) {
38404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38406 arg2
= static_cast< int >(val2
);
38408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38409 (arg1
)->SetLogicalFunction(arg2
);
38410 wxPyEndAllowThreads(__tstate
);
38411 if (PyErr_Occurred()) SWIG_fail
;
38413 resultobj
= SWIG_Py_Void();
38420 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38423 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38424 return SWIG_Py_Void();
38427 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38428 return SWIG_Python_InitShadowInstance(args
);
38431 static PyMethodDef SwigMethods
[] = {
38432 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38433 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38434 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38435 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38436 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38437 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38438 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38439 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38440 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38441 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38442 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38443 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38444 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38445 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38446 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38447 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38448 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38449 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38451 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38453 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38454 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38455 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38456 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38457 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38459 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38462 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38463 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38464 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38465 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38466 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38467 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38468 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38469 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38470 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38471 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38472 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38473 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38474 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38475 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38476 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38477 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38480 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38482 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38483 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38485 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38486 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38487 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38489 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38493 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38494 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38495 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38496 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38497 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38498 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38499 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38501 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38502 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38504 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38505 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38506 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38507 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38508 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38509 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38510 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38511 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38512 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38513 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38514 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38515 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38516 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38517 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38518 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38519 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38520 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38522 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38523 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38524 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38525 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38526 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38527 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38528 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38529 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38530 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38534 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38535 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38536 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38537 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38538 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38539 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38540 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38541 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38542 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38543 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38544 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38545 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38546 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38547 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38548 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38550 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38551 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38552 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38555 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38556 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38557 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38558 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38559 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38560 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38561 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38562 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38563 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38564 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38565 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38566 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38567 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38568 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38569 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38570 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38571 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38572 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38574 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38577 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38578 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38579 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38580 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38581 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38582 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38583 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38584 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38585 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38586 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38587 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38588 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38589 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38590 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38591 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38592 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38593 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38594 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38595 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38599 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38600 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38602 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38603 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38604 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38605 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38607 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38608 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38609 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38610 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38611 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38612 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38613 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38614 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38615 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38616 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38617 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38618 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38620 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38621 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38622 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38623 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38624 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38625 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38626 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38627 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38628 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38629 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38630 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38631 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38632 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38634 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38635 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38637 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38638 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38639 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38640 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38641 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38642 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38643 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38644 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38649 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38652 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38654 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38655 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38656 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38658 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38659 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38660 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38661 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38662 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38663 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38664 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38665 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38666 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38667 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38668 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38669 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38670 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38671 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38672 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38673 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38674 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38675 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38676 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38677 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38678 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38679 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38680 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38681 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38682 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38691 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38692 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38694 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38695 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38696 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38697 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38698 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38699 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38700 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38701 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38702 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38704 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38705 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38706 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38709 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38710 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38711 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38714 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38720 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38725 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38726 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38728 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38734 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38737 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38738 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38739 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38740 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38741 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38742 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38743 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38744 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38745 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38746 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38747 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38748 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38749 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38761 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38762 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38763 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38765 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38766 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38768 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38769 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38770 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38771 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38775 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38776 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38778 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38779 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38780 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38781 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38782 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38783 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38784 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38785 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38786 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38788 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38791 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38792 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38793 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38794 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38795 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38796 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38797 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38798 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38808 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38809 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38810 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38812 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38816 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38817 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38818 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38819 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38820 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38821 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38827 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38828 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38829 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"DC_StretchBlit", (PyCFunction
) _wrap_DC_StretchBlit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"DC_StretchBlitPointSize", (PyCFunction
) _wrap_DC_StretchBlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38879 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38881 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38883 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38884 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38885 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38892 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38893 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38894 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38895 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38896 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38901 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38902 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38903 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38904 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38913 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38914 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38915 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38916 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38917 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38918 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38919 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38920 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38921 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38922 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38923 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38924 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38927 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38929 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38931 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38933 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38934 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38937 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38938 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38942 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38944 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38947 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38948 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38949 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38950 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38951 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38952 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38953 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38961 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38963 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38964 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38965 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38967 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38968 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38969 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38971 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38972 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38973 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38974 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38975 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38976 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38977 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38978 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38981 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38982 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38983 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38985 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38986 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38988 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38989 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38991 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38992 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38997 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38998 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38999 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39000 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39001 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39003 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39004 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39005 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39007 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39008 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39010 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39011 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39014 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39015 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39017 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39020 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39021 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39022 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39024 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39025 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39027 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39028 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39030 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39031 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39033 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39034 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39035 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39036 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39037 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39038 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39039 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39040 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39041 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39042 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39043 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39044 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39045 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39046 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39047 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39048 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39049 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39050 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39053 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39054 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39056 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39062 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39063 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39064 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39065 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39066 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39067 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39069 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39070 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39071 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39078 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39081 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39082 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39083 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39084 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39085 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39086 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39089 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39096 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39097 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39100 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39101 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39102 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39109 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39110 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39111 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39112 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39130 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39131 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39132 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39133 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39134 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39135 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39138 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39145 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39146 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39147 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39148 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39150 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39151 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39152 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39153 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39154 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39155 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39156 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39157 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39158 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39159 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39160 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39161 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39163 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39171 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39173 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39175 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39176 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39177 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39178 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39179 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39180 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39186 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39187 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39188 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39189 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39190 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39191 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39193 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39195 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39197 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39198 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39199 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39204 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39205 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39206 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39207 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39208 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39209 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39210 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39211 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39212 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39213 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39214 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39215 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39218 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39224 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39225 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39227 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39228 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39229 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39230 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39231 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39232 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39233 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39234 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39235 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39236 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39237 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39238 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39239 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39240 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39241 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39242 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39243 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39244 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39245 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39246 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39247 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39248 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39249 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39250 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39252 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39254 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39255 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39256 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39257 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39270 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39271 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39272 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39274 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39275 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39276 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39277 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39278 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39279 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39280 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39281 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39334 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39344 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39345 { NULL
, NULL
, 0, NULL
}
39349 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39351 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39352 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39354 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39355 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39357 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39358 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39360 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39361 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39363 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39364 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39366 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39367 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39369 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39370 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39372 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39373 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39375 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39376 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39378 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39379 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39381 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39382 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39384 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39385 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39387 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39388 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39390 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39391 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39393 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39394 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39396 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39397 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39399 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39400 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39402 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39403 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39405 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39406 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39408 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39409 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39411 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39412 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39414 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39415 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39417 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39418 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39420 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39421 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39423 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39424 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39426 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39427 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39429 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39430 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39432 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39433 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39435 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39436 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39438 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39439 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39441 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39442 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39444 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39445 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39447 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39448 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39450 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39451 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39453 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39454 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39456 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39457 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39459 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39460 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39462 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39463 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39465 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39466 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39468 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39469 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39471 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39472 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39474 static void *_p_wxPenTo_p_wxObject(void *x
) {
39475 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39477 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39478 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39480 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
39481 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
39483 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39484 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39486 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39487 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39489 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39492 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39493 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39495 static void *_p_wxIconTo_p_wxObject(void *x
) {
39496 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39498 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39499 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39501 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39502 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39504 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39505 return (void *)((wxObject
*) ((wxSizer
*) x
));
39507 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39508 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39510 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39513 static void *_p_wxEventTo_p_wxObject(void *x
) {
39514 return (void *)((wxObject
*) ((wxEvent
*) x
));
39516 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39517 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39519 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39520 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39522 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39523 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39525 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39526 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39528 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39531 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39532 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39534 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39535 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39537 static void *_p_wxDCTo_p_wxObject(void *x
) {
39538 return (void *)((wxObject
*) ((wxDC
*) x
));
39540 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39541 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39543 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39544 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39546 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39547 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39549 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39550 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39552 static void *_p_wxControlTo_p_wxObject(void *x
) {
39553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39555 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39556 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39558 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39559 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39561 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39562 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39564 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39565 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39567 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39568 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39570 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39571 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39573 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39574 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39576 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39577 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39579 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39580 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39582 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39583 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39585 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39586 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39588 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39589 return (void *)((wxObject
*) ((wxEffects
*) x
));
39591 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39592 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39594 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39597 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39598 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39600 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39601 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39603 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39604 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39606 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39607 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39609 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39612 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39613 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39615 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39618 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39619 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39621 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39622 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39624 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39625 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39627 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39628 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39630 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39631 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39633 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39634 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39636 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39637 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39639 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39640 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39642 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39643 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39645 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39646 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39648 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39649 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39651 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39652 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39654 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39655 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39657 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39658 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39660 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39663 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39666 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39667 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39669 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39670 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39672 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39673 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39675 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39676 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39678 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39679 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39681 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39682 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39684 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39685 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39687 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39688 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39690 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39691 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39693 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39694 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39696 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39697 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39699 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39700 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39702 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39703 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39705 static void *_p_wxImageTo_p_wxObject(void *x
) {
39706 return (void *)((wxObject
*) ((wxImage
*) x
));
39708 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39709 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39711 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39712 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39714 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39715 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39717 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39718 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39720 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39721 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39723 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39724 return (void *)((wxObject
*) ((wxImageList
*) x
));
39726 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39727 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39729 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39730 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39732 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39733 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39735 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39736 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39738 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39739 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39741 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39742 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39744 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39745 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39747 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39748 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39750 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39751 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39753 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39754 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39756 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39759 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39760 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39762 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39763 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39765 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39766 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39768 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39769 return (void *)((wxObject
*) ((wxMask
*) x
));
39771 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39772 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39774 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39775 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39777 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39778 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39780 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39781 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39783 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39784 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39786 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39787 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39789 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39790 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39792 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39793 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39795 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39796 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39798 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39799 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39801 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39802 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39804 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39805 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39807 static void *_p_wxFontTo_p_wxObject(void *x
) {
39808 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39810 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39811 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39813 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39814 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39816 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39819 static void *_p_wxColourTo_p_wxObject(void *x
) {
39820 return (void *)((wxObject
*) ((wxColour
*) x
));
39822 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39825 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39826 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39828 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39829 return (void *)((wxWindow
*) ((wxControl
*) x
));
39831 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39832 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39834 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39835 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39837 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39838 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39840 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39841 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39843 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39844 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39845 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39846 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};
39847 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39848 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39849 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39850 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39851 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39852 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39853 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39854 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39855 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39856 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39857 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39858 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39859 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39860 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39861 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39862 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39863 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39864 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39865 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39866 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39867 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39868 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39869 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39870 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39871 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39872 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39873 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39874 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39875 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39876 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39877 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39878 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39879 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39880 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39881 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39882 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39883 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39884 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39885 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39886 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39887 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39888 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39889 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39890 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39891 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39892 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39893 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39894 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39895 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39896 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39897 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39898 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39899 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39900 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39901 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39902 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39903 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39904 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39905 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39906 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39907 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39908 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
39909 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39910 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39911 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39912 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39913 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39914 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39915 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39916 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39917 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39918 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39919 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39920 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39921 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39922 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39923 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39924 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39925 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39926 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39927 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39928 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39929 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39930 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39931 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39932 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39933 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39934 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39935 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39936 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39937 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39938 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39939 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39940 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39941 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39942 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39943 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39944 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39945 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39946 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39947 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39948 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39949 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39950 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39951 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39952 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39953 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39954 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39955 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39956 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39957 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39958 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39959 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39960 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39961 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39962 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39963 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39964 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39965 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39966 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39967 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39968 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39969 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39970 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39971 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39972 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39973 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39974 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39975 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39976 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39977 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39978 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39979 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39980 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39981 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39982 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39983 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39984 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39985 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39986 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39987 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39988 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39989 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39990 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39991 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39992 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39993 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39994 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39995 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39996 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39997 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39998 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39999 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40000 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40001 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40002 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40003 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40004 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40005 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40006 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40007 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40008 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40009 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40010 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40011 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40012 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40014 static swig_type_info
*swig_type_initial
[] = {
40018 &_swigt__p_form_ops_t
,
40020 &_swigt__p_unsigned_char
,
40021 &_swigt__p_unsigned_int
,
40022 &_swigt__p_unsigned_long
,
40024 &_swigt__p_wxANIHandler
,
40025 &_swigt__p_wxAcceleratorTable
,
40026 &_swigt__p_wxActivateEvent
,
40027 &_swigt__p_wxAlphaPixelData
,
40028 &_swigt__p_wxAlphaPixelData_Accessor
,
40029 &_swigt__p_wxAutoBufferedPaintDC
,
40030 &_swigt__p_wxBMPHandler
,
40031 &_swigt__p_wxBitmap
,
40032 &_swigt__p_wxBoxSizer
,
40033 &_swigt__p_wxBrush
,
40034 &_swigt__p_wxBrushList
,
40035 &_swigt__p_wxBufferedDC
,
40036 &_swigt__p_wxBufferedPaintDC
,
40037 &_swigt__p_wxCURHandler
,
40039 &_swigt__p_wxChildFocusEvent
,
40040 &_swigt__p_wxClientDC
,
40041 &_swigt__p_wxClipboardTextEvent
,
40042 &_swigt__p_wxCloseEvent
,
40043 &_swigt__p_wxColour
,
40044 &_swigt__p_wxColourDatabase
,
40045 &_swigt__p_wxCommandEvent
,
40046 &_swigt__p_wxContextMenuEvent
,
40047 &_swigt__p_wxControl
,
40048 &_swigt__p_wxControlWithItems
,
40049 &_swigt__p_wxCursor
,
40051 &_swigt__p_wxDCBrushChanger
,
40052 &_swigt__p_wxDCClipper
,
40053 &_swigt__p_wxDCOverlay
,
40054 &_swigt__p_wxDCPenChanger
,
40055 &_swigt__p_wxDCTextColourChanger
,
40057 &_swigt__p_wxDateEvent
,
40058 &_swigt__p_wxDisplayChangedEvent
,
40059 &_swigt__p_wxDropFilesEvent
,
40060 &_swigt__p_wxDuplexMode
,
40061 &_swigt__p_wxEffects
,
40062 &_swigt__p_wxEncodingConverter
,
40063 &_swigt__p_wxEraseEvent
,
40064 &_swigt__p_wxEvent
,
40065 &_swigt__p_wxEventBlocker
,
40066 &_swigt__p_wxEvtHandler
,
40067 &_swigt__p_wxFSFile
,
40068 &_swigt__p_wxFileSystem
,
40069 &_swigt__p_wxFlexGridSizer
,
40070 &_swigt__p_wxFocusEvent
,
40072 &_swigt__p_wxFontList
,
40073 &_swigt__p_wxFontMapper
,
40074 &_swigt__p_wxGBSizerItem
,
40076 &_swigt__p_wxGDIObjListBase
,
40077 &_swigt__p_wxGDIObject
,
40078 &_swigt__p_wxGIFHandler
,
40079 &_swigt__p_wxGraphicsBrush
,
40080 &_swigt__p_wxGraphicsContext
,
40081 &_swigt__p_wxGraphicsFont
,
40082 &_swigt__p_wxGraphicsMatrix
,
40083 &_swigt__p_wxGraphicsObject
,
40084 &_swigt__p_wxGraphicsPath
,
40085 &_swigt__p_wxGraphicsPen
,
40086 &_swigt__p_wxGraphicsRenderer
,
40087 &_swigt__p_wxGridBagSizer
,
40088 &_swigt__p_wxGridSizer
,
40089 &_swigt__p_wxHeaderButtonParams
,
40090 &_swigt__p_wxICOHandler
,
40092 &_swigt__p_wxIconBundle
,
40093 &_swigt__p_wxIconLocation
,
40094 &_swigt__p_wxIconizeEvent
,
40095 &_swigt__p_wxIdleEvent
,
40096 &_swigt__p_wxImage
,
40097 &_swigt__p_wxImageHandler
,
40098 &_swigt__p_wxImageList
,
40099 &_swigt__p_wxIndividualLayoutConstraint
,
40100 &_swigt__p_wxInitDialogEvent
,
40101 &_swigt__p_wxJPEGHandler
,
40102 &_swigt__p_wxKeyEvent
,
40103 &_swigt__p_wxLanguageInfo
,
40104 &_swigt__p_wxLayoutConstraints
,
40105 &_swigt__p_wxLocale
,
40107 &_swigt__p_wxMaximizeEvent
,
40108 &_swigt__p_wxMemoryDC
,
40110 &_swigt__p_wxMenuBar
,
40111 &_swigt__p_wxMenuEvent
,
40112 &_swigt__p_wxMenuItem
,
40113 &_swigt__p_wxMetaFile
,
40114 &_swigt__p_wxMetaFileDC
,
40115 &_swigt__p_wxMirrorDC
,
40116 &_swigt__p_wxMouseCaptureChangedEvent
,
40117 &_swigt__p_wxMouseCaptureLostEvent
,
40118 &_swigt__p_wxMouseEvent
,
40119 &_swigt__p_wxMoveEvent
,
40120 &_swigt__p_wxNativeEncodingInfo
,
40121 &_swigt__p_wxNativeFontInfo
,
40122 &_swigt__p_wxNativePixelData
,
40123 &_swigt__p_wxNativePixelData_Accessor
,
40124 &_swigt__p_wxNavigationKeyEvent
,
40125 &_swigt__p_wxNcPaintEvent
,
40126 &_swigt__p_wxNotifyEvent
,
40127 &_swigt__p_wxObject
,
40128 &_swigt__p_wxOverlay
,
40129 &_swigt__p_wxPCXHandler
,
40130 &_swigt__p_wxPNGHandler
,
40131 &_swigt__p_wxPNMHandler
,
40132 &_swigt__p_wxPaintDC
,
40133 &_swigt__p_wxPaintEvent
,
40134 &_swigt__p_wxPalette
,
40135 &_swigt__p_wxPaletteChangedEvent
,
40136 &_swigt__p_wxPaperSize
,
40138 &_swigt__p_wxPenList
,
40139 &_swigt__p_wxPixelDataBase
,
40140 &_swigt__p_wxPoint
,
40141 &_swigt__p_wxPoint2D
,
40142 &_swigt__p_wxPostScriptDC
,
40143 &_swigt__p_wxPrintData
,
40144 &_swigt__p_wxPrinterDC
,
40145 &_swigt__p_wxPseudoDC
,
40146 &_swigt__p_wxPyApp
,
40147 &_swigt__p_wxPyCommandEvent
,
40148 &_swigt__p_wxPyEvent
,
40149 &_swigt__p_wxPyFontEnumerator
,
40150 &_swigt__p_wxPyImageHandler
,
40151 &_swigt__p_wxPyLocale
,
40152 &_swigt__p_wxPySizer
,
40153 &_swigt__p_wxPyValidator
,
40154 &_swigt__p_wxQueryNewPaletteEvent
,
40156 &_swigt__p_wxRect2D
,
40157 &_swigt__p_wxRegion
,
40158 &_swigt__p_wxRegionIterator
,
40159 &_swigt__p_wxRendererNative
,
40160 &_swigt__p_wxRendererVersion
,
40161 &_swigt__p_wxScreenDC
,
40162 &_swigt__p_wxScrollEvent
,
40163 &_swigt__p_wxScrollWinEvent
,
40164 &_swigt__p_wxSetCursorEvent
,
40165 &_swigt__p_wxShowEvent
,
40167 &_swigt__p_wxSizeEvent
,
40168 &_swigt__p_wxSizer
,
40169 &_swigt__p_wxSizerItem
,
40170 &_swigt__p_wxSplitterRenderParams
,
40171 &_swigt__p_wxStaticBoxSizer
,
40172 &_swigt__p_wxStdDialogButtonSizer
,
40173 &_swigt__p_wxStockGDI
,
40174 &_swigt__p_wxString
,
40175 &_swigt__p_wxSysColourChangedEvent
,
40176 &_swigt__p_wxTGAHandler
,
40177 &_swigt__p_wxTIFFHandler
,
40178 &_swigt__p_wxUpdateUIEvent
,
40179 &_swigt__p_wxValidator
,
40180 &_swigt__p_wxWindow
,
40181 &_swigt__p_wxWindowCreateEvent
,
40182 &_swigt__p_wxWindowDC
,
40183 &_swigt__p_wxWindowDestroyEvent
,
40184 &_swigt__p_wxXPMHandler
,
40187 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40188 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40189 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40190 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40191 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40192 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40193 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40194 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40195 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40196 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40197 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40198 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40199 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40200 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40201 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40202 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}};
40203 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40204 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40205 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}};
40206 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40207 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40208 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40209 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
40210 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40211 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40212 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40213 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40214 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40215 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40216 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40217 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40218 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40219 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40220 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40221 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40222 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40223 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}};
40224 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}};
40225 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40226 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40227 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40228 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40229 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}};
40230 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40231 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40232 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40233 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40234 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40235 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40236 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40237 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40238 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40239 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40240 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}};
40241 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40242 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}};
40243 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40244 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40245 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40246 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40247 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40248 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40249 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40250 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40251 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
40252 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40253 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40254 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40255 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40256 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40257 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40258 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40259 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40260 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40261 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40262 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40263 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40264 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40265 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40266 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40267 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40268 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40269 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40270 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40271 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40272 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40273 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40274 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40275 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40276 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40277 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40278 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40279 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40280 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40281 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40282 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40283 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40284 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40285 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40286 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40287 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40288 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40289 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40290 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40291 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40292 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40293 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40294 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40295 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40296 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40297 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40298 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40299 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40300 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40301 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40302 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40303 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40304 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40305 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40306 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40307 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40308 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40309 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40310 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40311 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40312 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40313 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40314 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40315 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40316 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40317 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40318 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40319 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40320 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40321 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40322 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40323 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40324 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40325 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40326 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40327 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40328 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_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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}};
40329 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40330 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40331 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40332 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40333 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40334 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40335 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}};
40336 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40337 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40338 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40339 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40340 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40341 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40342 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40343 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40344 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40345 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40346 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40347 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40348 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40349 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40350 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40351 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40352 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40353 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40354 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40355 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}};
40356 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}};
40358 static swig_cast_info
*swig_cast_initial
[] = {
40362 _swigc__p_form_ops_t
,
40364 _swigc__p_unsigned_char
,
40365 _swigc__p_unsigned_int
,
40366 _swigc__p_unsigned_long
,
40368 _swigc__p_wxANIHandler
,
40369 _swigc__p_wxAcceleratorTable
,
40370 _swigc__p_wxActivateEvent
,
40371 _swigc__p_wxAlphaPixelData
,
40372 _swigc__p_wxAlphaPixelData_Accessor
,
40373 _swigc__p_wxAutoBufferedPaintDC
,
40374 _swigc__p_wxBMPHandler
,
40375 _swigc__p_wxBitmap
,
40376 _swigc__p_wxBoxSizer
,
40378 _swigc__p_wxBrushList
,
40379 _swigc__p_wxBufferedDC
,
40380 _swigc__p_wxBufferedPaintDC
,
40381 _swigc__p_wxCURHandler
,
40383 _swigc__p_wxChildFocusEvent
,
40384 _swigc__p_wxClientDC
,
40385 _swigc__p_wxClipboardTextEvent
,
40386 _swigc__p_wxCloseEvent
,
40387 _swigc__p_wxColour
,
40388 _swigc__p_wxColourDatabase
,
40389 _swigc__p_wxCommandEvent
,
40390 _swigc__p_wxContextMenuEvent
,
40391 _swigc__p_wxControl
,
40392 _swigc__p_wxControlWithItems
,
40393 _swigc__p_wxCursor
,
40395 _swigc__p_wxDCBrushChanger
,
40396 _swigc__p_wxDCClipper
,
40397 _swigc__p_wxDCOverlay
,
40398 _swigc__p_wxDCPenChanger
,
40399 _swigc__p_wxDCTextColourChanger
,
40401 _swigc__p_wxDateEvent
,
40402 _swigc__p_wxDisplayChangedEvent
,
40403 _swigc__p_wxDropFilesEvent
,
40404 _swigc__p_wxDuplexMode
,
40405 _swigc__p_wxEffects
,
40406 _swigc__p_wxEncodingConverter
,
40407 _swigc__p_wxEraseEvent
,
40409 _swigc__p_wxEventBlocker
,
40410 _swigc__p_wxEvtHandler
,
40411 _swigc__p_wxFSFile
,
40412 _swigc__p_wxFileSystem
,
40413 _swigc__p_wxFlexGridSizer
,
40414 _swigc__p_wxFocusEvent
,
40416 _swigc__p_wxFontList
,
40417 _swigc__p_wxFontMapper
,
40418 _swigc__p_wxGBSizerItem
,
40420 _swigc__p_wxGDIObjListBase
,
40421 _swigc__p_wxGDIObject
,
40422 _swigc__p_wxGIFHandler
,
40423 _swigc__p_wxGraphicsBrush
,
40424 _swigc__p_wxGraphicsContext
,
40425 _swigc__p_wxGraphicsFont
,
40426 _swigc__p_wxGraphicsMatrix
,
40427 _swigc__p_wxGraphicsObject
,
40428 _swigc__p_wxGraphicsPath
,
40429 _swigc__p_wxGraphicsPen
,
40430 _swigc__p_wxGraphicsRenderer
,
40431 _swigc__p_wxGridBagSizer
,
40432 _swigc__p_wxGridSizer
,
40433 _swigc__p_wxHeaderButtonParams
,
40434 _swigc__p_wxICOHandler
,
40436 _swigc__p_wxIconBundle
,
40437 _swigc__p_wxIconLocation
,
40438 _swigc__p_wxIconizeEvent
,
40439 _swigc__p_wxIdleEvent
,
40441 _swigc__p_wxImageHandler
,
40442 _swigc__p_wxImageList
,
40443 _swigc__p_wxIndividualLayoutConstraint
,
40444 _swigc__p_wxInitDialogEvent
,
40445 _swigc__p_wxJPEGHandler
,
40446 _swigc__p_wxKeyEvent
,
40447 _swigc__p_wxLanguageInfo
,
40448 _swigc__p_wxLayoutConstraints
,
40449 _swigc__p_wxLocale
,
40451 _swigc__p_wxMaximizeEvent
,
40452 _swigc__p_wxMemoryDC
,
40454 _swigc__p_wxMenuBar
,
40455 _swigc__p_wxMenuEvent
,
40456 _swigc__p_wxMenuItem
,
40457 _swigc__p_wxMetaFile
,
40458 _swigc__p_wxMetaFileDC
,
40459 _swigc__p_wxMirrorDC
,
40460 _swigc__p_wxMouseCaptureChangedEvent
,
40461 _swigc__p_wxMouseCaptureLostEvent
,
40462 _swigc__p_wxMouseEvent
,
40463 _swigc__p_wxMoveEvent
,
40464 _swigc__p_wxNativeEncodingInfo
,
40465 _swigc__p_wxNativeFontInfo
,
40466 _swigc__p_wxNativePixelData
,
40467 _swigc__p_wxNativePixelData_Accessor
,
40468 _swigc__p_wxNavigationKeyEvent
,
40469 _swigc__p_wxNcPaintEvent
,
40470 _swigc__p_wxNotifyEvent
,
40471 _swigc__p_wxObject
,
40472 _swigc__p_wxOverlay
,
40473 _swigc__p_wxPCXHandler
,
40474 _swigc__p_wxPNGHandler
,
40475 _swigc__p_wxPNMHandler
,
40476 _swigc__p_wxPaintDC
,
40477 _swigc__p_wxPaintEvent
,
40478 _swigc__p_wxPalette
,
40479 _swigc__p_wxPaletteChangedEvent
,
40480 _swigc__p_wxPaperSize
,
40482 _swigc__p_wxPenList
,
40483 _swigc__p_wxPixelDataBase
,
40485 _swigc__p_wxPoint2D
,
40486 _swigc__p_wxPostScriptDC
,
40487 _swigc__p_wxPrintData
,
40488 _swigc__p_wxPrinterDC
,
40489 _swigc__p_wxPseudoDC
,
40491 _swigc__p_wxPyCommandEvent
,
40492 _swigc__p_wxPyEvent
,
40493 _swigc__p_wxPyFontEnumerator
,
40494 _swigc__p_wxPyImageHandler
,
40495 _swigc__p_wxPyLocale
,
40496 _swigc__p_wxPySizer
,
40497 _swigc__p_wxPyValidator
,
40498 _swigc__p_wxQueryNewPaletteEvent
,
40500 _swigc__p_wxRect2D
,
40501 _swigc__p_wxRegion
,
40502 _swigc__p_wxRegionIterator
,
40503 _swigc__p_wxRendererNative
,
40504 _swigc__p_wxRendererVersion
,
40505 _swigc__p_wxScreenDC
,
40506 _swigc__p_wxScrollEvent
,
40507 _swigc__p_wxScrollWinEvent
,
40508 _swigc__p_wxSetCursorEvent
,
40509 _swigc__p_wxShowEvent
,
40511 _swigc__p_wxSizeEvent
,
40513 _swigc__p_wxSizerItem
,
40514 _swigc__p_wxSplitterRenderParams
,
40515 _swigc__p_wxStaticBoxSizer
,
40516 _swigc__p_wxStdDialogButtonSizer
,
40517 _swigc__p_wxStockGDI
,
40518 _swigc__p_wxString
,
40519 _swigc__p_wxSysColourChangedEvent
,
40520 _swigc__p_wxTGAHandler
,
40521 _swigc__p_wxTIFFHandler
,
40522 _swigc__p_wxUpdateUIEvent
,
40523 _swigc__p_wxValidator
,
40524 _swigc__p_wxWindow
,
40525 _swigc__p_wxWindowCreateEvent
,
40526 _swigc__p_wxWindowDC
,
40527 _swigc__p_wxWindowDestroyEvent
,
40528 _swigc__p_wxXPMHandler
,
40532 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40534 static swig_const_info swig_const_table
[] = {
40535 {0, 0, 0, 0.0, 0, 0}};
40540 /* -----------------------------------------------------------------------------
40541 * Type initialization:
40542 * This problem is tough by the requirement that no dynamic
40543 * memory is used. Also, since swig_type_info structures store pointers to
40544 * swig_cast_info structures and swig_cast_info structures store pointers back
40545 * to swig_type_info structures, we need some lookup code at initialization.
40546 * The idea is that swig generates all the structures that are needed.
40547 * The runtime then collects these partially filled structures.
40548 * The SWIG_InitializeModule function takes these initial arrays out of
40549 * swig_module, and does all the lookup, filling in the swig_module.types
40550 * array with the correct data and linking the correct swig_cast_info
40551 * structures together.
40553 * The generated swig_type_info structures are assigned staticly to an initial
40554 * array. We just loop though that array, and handle each type individually.
40555 * First we lookup if this type has been already loaded, and if so, use the
40556 * loaded structure instead of the generated one. Then we have to fill in the
40557 * cast linked list. The cast data is initially stored in something like a
40558 * two-dimensional array. Each row corresponds to a type (there are the same
40559 * number of rows as there are in the swig_type_initial array). Each entry in
40560 * a column is one of the swig_cast_info structures for that type.
40561 * The cast_initial array is actually an array of arrays, because each row has
40562 * a variable number of columns. So to actually build the cast linked list,
40563 * we find the array of casts associated with the type, and loop through it
40564 * adding the casts to the list. The one last trick we need to do is making
40565 * sure the type pointer in the swig_cast_info struct is correct.
40567 * First off, we lookup the cast->type name to see if it is already loaded.
40568 * There are three cases to handle:
40569 * 1) If the cast->type has already been loaded AND the type we are adding
40570 * casting info to has not been loaded (it is in this module), THEN we
40571 * replace the cast->type pointer with the type pointer that has already
40573 * 2) If BOTH types (the one we are adding casting info to, and the
40574 * cast->type) are loaded, THEN the cast info has already been loaded by
40575 * the previous module so we just ignore it.
40576 * 3) Finally, if cast->type has not already been loaded, then we add that
40577 * swig_cast_info to the linked list (because the cast->type) pointer will
40579 * ----------------------------------------------------------------------------- */
40589 #define SWIGRUNTIME_DEBUG
40593 SWIG_InitializeModule(void *clientdata
) {
40595 swig_module_info
*module_head
;
40596 static int init_run
= 0;
40598 clientdata
= clientdata
;
40600 if (init_run
) return;
40603 /* Initialize the swig_module */
40604 swig_module
.type_initial
= swig_type_initial
;
40605 swig_module
.cast_initial
= swig_cast_initial
;
40607 /* Try and load any already created modules */
40608 module_head
= SWIG_GetModule(clientdata
);
40610 swig_module
.next
= module_head
->next
;
40611 module_head
->next
= &swig_module
;
40613 /* This is the first module loaded */
40614 swig_module
.next
= &swig_module
;
40615 SWIG_SetModule(clientdata
, &swig_module
);
40618 /* Now work on filling in swig_module.types */
40619 #ifdef SWIGRUNTIME_DEBUG
40620 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40622 for (i
= 0; i
< swig_module
.size
; ++i
) {
40623 swig_type_info
*type
= 0;
40624 swig_type_info
*ret
;
40625 swig_cast_info
*cast
;
40627 #ifdef SWIGRUNTIME_DEBUG
40628 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40631 /* if there is another module already loaded */
40632 if (swig_module
.next
!= &swig_module
) {
40633 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40636 /* Overwrite clientdata field */
40637 #ifdef SWIGRUNTIME_DEBUG
40638 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40640 if (swig_module
.type_initial
[i
]->clientdata
) {
40641 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40642 #ifdef SWIGRUNTIME_DEBUG
40643 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40647 type
= swig_module
.type_initial
[i
];
40650 /* Insert casting types */
40651 cast
= swig_module
.cast_initial
[i
];
40652 while (cast
->type
) {
40653 /* Don't need to add information already in the list */
40655 #ifdef SWIGRUNTIME_DEBUG
40656 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40658 if (swig_module
.next
!= &swig_module
) {
40659 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40660 #ifdef SWIGRUNTIME_DEBUG
40661 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40665 if (type
== swig_module
.type_initial
[i
]) {
40666 #ifdef SWIGRUNTIME_DEBUG
40667 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40672 /* Check for casting already in the list */
40673 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40674 #ifdef SWIGRUNTIME_DEBUG
40675 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40677 if (!ocast
) ret
= 0;
40682 #ifdef SWIGRUNTIME_DEBUG
40683 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40686 type
->cast
->prev
= cast
;
40687 cast
->next
= type
->cast
;
40693 /* Set entry in modules->types array equal to the type */
40694 swig_module
.types
[i
] = type
;
40696 swig_module
.types
[i
] = 0;
40698 #ifdef SWIGRUNTIME_DEBUG
40699 printf("**** SWIG_InitializeModule: Cast List ******\n");
40700 for (i
= 0; i
< swig_module
.size
; ++i
) {
40702 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40703 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40704 while (cast
->type
) {
40705 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40709 printf("---- Total casts: %d\n",j
);
40711 printf("**** SWIG_InitializeModule: Cast List ******\n");
40715 /* This function will propagate the clientdata field of type to
40716 * any new swig_type_info structures that have been added into the list
40717 * of equivalent types. It is like calling
40718 * SWIG_TypeClientData(type, clientdata) a second time.
40721 SWIG_PropagateClientData(void) {
40723 swig_cast_info
*equiv
;
40724 static int init_run
= 0;
40726 if (init_run
) return;
40729 for (i
= 0; i
< swig_module
.size
; i
++) {
40730 if (swig_module
.types
[i
]->clientdata
) {
40731 equiv
= swig_module
.types
[i
]->cast
;
40733 if (!equiv
->converter
) {
40734 if (equiv
->type
&& !equiv
->type
->clientdata
)
40735 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40737 equiv
= equiv
->next
;
40757 /* Python-specific SWIG API */
40758 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40759 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40760 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40762 /* -----------------------------------------------------------------------------
40763 * global variable support code.
40764 * ----------------------------------------------------------------------------- */
40766 typedef struct swig_globalvar
{
40767 char *name
; /* Name of global variable */
40768 PyObject
*(*get_attr
)(void); /* Return the current value */
40769 int (*set_attr
)(PyObject
*); /* Set the value */
40770 struct swig_globalvar
*next
;
40773 typedef struct swig_varlinkobject
{
40775 swig_globalvar
*vars
;
40776 } swig_varlinkobject
;
40778 SWIGINTERN PyObject
*
40779 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40780 return PyString_FromString("<Swig global variables>");
40783 SWIGINTERN PyObject
*
40784 swig_varlink_str(swig_varlinkobject
*v
) {
40785 PyObject
*str
= PyString_FromString("(");
40786 swig_globalvar
*var
;
40787 for (var
= v
->vars
; var
; var
=var
->next
) {
40788 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40789 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40791 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40796 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40797 PyObject
*str
= swig_varlink_str(v
);
40798 fprintf(fp
,"Swig global variables ");
40799 fprintf(fp
,"%s\n", PyString_AsString(str
));
40805 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40806 swig_globalvar
*var
= v
->vars
;
40808 swig_globalvar
*n
= var
->next
;
40815 SWIGINTERN PyObject
*
40816 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40817 PyObject
*res
= NULL
;
40818 swig_globalvar
*var
= v
->vars
;
40820 if (strcmp(var
->name
,n
) == 0) {
40821 res
= (*var
->get_attr
)();
40826 if (res
== NULL
&& !PyErr_Occurred()) {
40827 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40833 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40835 swig_globalvar
*var
= v
->vars
;
40837 if (strcmp(var
->name
,n
) == 0) {
40838 res
= (*var
->set_attr
)(p
);
40843 if (res
== 1 && !PyErr_Occurred()) {
40844 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40849 SWIGINTERN PyTypeObject
*
40850 swig_varlink_type(void) {
40851 static char varlink__doc__
[] = "Swig var link object";
40852 static PyTypeObject varlink_type
;
40853 static int type_init
= 0;
40855 const PyTypeObject tmp
40857 PyObject_HEAD_INIT(NULL
)
40858 0, /* Number of items in variable part (ob_size) */
40859 (char *)"swigvarlink", /* Type name (tp_name) */
40860 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40861 0, /* Itemsize (tp_itemsize) */
40862 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40863 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40864 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40865 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40866 0, /* tp_compare */
40867 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40868 0, /* tp_as_number */
40869 0, /* tp_as_sequence */
40870 0, /* tp_as_mapping */
40873 (reprfunc
)swig_varlink_str
, /* tp_str */
40874 0, /* tp_getattro */
40875 0, /* tp_setattro */
40876 0, /* tp_as_buffer */
40878 varlink__doc__
, /* tp_doc */
40879 0, /* tp_traverse */
40881 0, /* tp_richcompare */
40882 0, /* tp_weaklistoffset */
40883 #if PY_VERSION_HEX >= 0x02020000
40884 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40886 #if PY_VERSION_HEX >= 0x02030000
40889 #ifdef COUNT_ALLOCS
40890 0,0,0,0 /* tp_alloc -> tp_next */
40893 varlink_type
= tmp
;
40894 varlink_type
.ob_type
= &PyType_Type
;
40897 return &varlink_type
;
40900 /* Create a variable linking object for use later */
40901 SWIGINTERN PyObject
*
40902 SWIG_Python_newvarlink(void) {
40903 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40907 return ((PyObject
*) result
);
40911 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40912 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40913 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40915 size_t size
= strlen(name
)+1;
40916 gv
->name
= (char *)malloc(size
);
40918 strncpy(gv
->name
,name
,size
);
40919 gv
->get_attr
= get_attr
;
40920 gv
->set_attr
= set_attr
;
40921 gv
->next
= v
->vars
;
40927 SWIGINTERN PyObject
*
40929 static PyObject
*_SWIG_globals
= 0;
40930 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40931 return _SWIG_globals
;
40934 /* -----------------------------------------------------------------------------
40935 * constants/methods manipulation
40936 * ----------------------------------------------------------------------------- */
40938 /* Install Constants */
40940 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40943 for (i
= 0; constants
[i
].type
; ++i
) {
40944 switch(constants
[i
].type
) {
40945 case SWIG_PY_POINTER
:
40946 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40948 case SWIG_PY_BINARY
:
40949 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40956 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40962 /* -----------------------------------------------------------------------------*/
40963 /* Fix SwigMethods to carry the callback ptrs when needed */
40964 /* -----------------------------------------------------------------------------*/
40967 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40968 swig_const_info
*const_table
,
40969 swig_type_info
**types
,
40970 swig_type_info
**types_initial
) {
40972 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40973 const char *c
= methods
[i
].ml_doc
;
40974 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40976 swig_const_info
*ci
= 0;
40977 const char *name
= c
+ 10;
40978 for (j
= 0; const_table
[j
].type
; ++j
) {
40979 if (strncmp(const_table
[j
].name
, name
,
40980 strlen(const_table
[j
].name
)) == 0) {
40981 ci
= &(const_table
[j
]);
40986 size_t shift
= (ci
->ptype
) - types
;
40987 swig_type_info
*ty
= types_initial
[shift
];
40988 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40989 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40990 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40993 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40995 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40997 strncpy(buff
, "swig_ptr: ", 10);
40999 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41000 methods
[i
].ml_doc
= ndoc
;
41012 /* -----------------------------------------------------------------------------*
41013 * Partial Init method
41014 * -----------------------------------------------------------------------------*/
41019 SWIGEXPORT
void SWIG_init(void) {
41022 /* Fix SwigMethods to carry the callback ptrs when needed */
41023 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41025 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41026 d
= PyModule_GetDict(m
);
41028 SWIG_InitializeModule(0);
41029 SWIG_InstallConstants(d
,swig_const_table
);
41032 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41033 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41034 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41035 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41036 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41037 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41038 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41039 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41040 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41041 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41042 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41043 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41044 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41045 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41046 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41047 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41048 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41049 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41050 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41051 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41052 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41053 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41054 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41055 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41056 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41057 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41058 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41059 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41060 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41061 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41062 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41063 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41064 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41065 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41066 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41067 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41068 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41069 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41070 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41071 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41072 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41073 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41074 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41075 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41076 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41077 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41078 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41079 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41080 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41081 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41082 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41083 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41084 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41085 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41086 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41087 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41088 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41089 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41090 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41091 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41092 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41093 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41094 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41095 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41096 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41097 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41098 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41099 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41100 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41101 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41102 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41103 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41104 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41105 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41106 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41107 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41108 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41109 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41110 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41111 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41112 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41113 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41114 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41115 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41116 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41117 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41118 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41119 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41120 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41121 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41122 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41123 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41124 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41125 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41126 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41127 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41148 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41149 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41150 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41151 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41152 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41153 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41154 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41155 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41156 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41157 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41158 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41159 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41160 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41161 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41162 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41163 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41165 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41167 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41168 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41170 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41171 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41172 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41173 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41174 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41175 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41176 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41177 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41250 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41251 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41252 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41253 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41254 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41255 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41256 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41257 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41258 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41259 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41260 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41261 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41262 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41263 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41264 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41265 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41266 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41267 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41268 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41269 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41270 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41271 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41272 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41273 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41274 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41275 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41276 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41277 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41278 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41279 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41280 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41281 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41282 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41283 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41284 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41285 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41286 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41287 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41288 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41289 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41290 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41291 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41292 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41293 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41294 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41295 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41296 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41297 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41298 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41299 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41300 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41301 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41302 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41303 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41304 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41305 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41306 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41307 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41308 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41309 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41310 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41311 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41312 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41313 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41314 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41315 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41316 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41317 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41318 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41319 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41320 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41321 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41322 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41323 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41324 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41325 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41326 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41327 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41328 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41329 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41330 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41331 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41332 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41333 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41334 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41335 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41336 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41337 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41338 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41339 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41340 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41341 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41342 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41343 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41344 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41345 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41346 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41347 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41348 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41349 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41350 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41351 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41352 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41353 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41354 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41355 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41356 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41357 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41358 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41359 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41360 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41361 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41362 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41363 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41364 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41365 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41366 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41367 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41368 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41369 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41370 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41371 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41372 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41373 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41374 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41375 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41376 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41377 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41378 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41379 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41380 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41381 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41382 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41383 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41384 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41385 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41386 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41387 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41388 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41389 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41390 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41391 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41392 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41393 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41398 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41399 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41400 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41401 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41402 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41403 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41404 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41405 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41406 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41407 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41408 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41409 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41410 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41411 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41412 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41413 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41414 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41415 SWIG_Python_SetConstant(d
, "BUFFER_USES_SHARED_BUFFER",SWIG_From_int(static_cast< int >(wxBUFFER_USES_SHARED_BUFFER
)));
41416 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41417 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41418 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41419 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41420 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41421 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41422 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41423 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41424 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41425 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41426 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41427 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41428 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41429 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41430 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41431 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41432 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41433 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41434 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41435 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41436 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41437 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41438 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41439 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41440 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41441 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41442 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41443 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41444 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41445 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41446 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41447 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41448 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41449 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41450 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41451 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41452 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41453 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41454 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41455 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41456 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41457 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41458 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41459 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41460 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41461 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41462 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41463 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41464 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41465 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41466 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41467 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41468 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41469 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41470 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41471 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41472 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41473 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41474 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41475 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41476 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41477 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41478 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41479 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41480 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41481 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41482 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41483 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41484 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41485 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41486 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41487 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41488 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41489 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41490 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41491 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41493 // Work around a chicken/egg problem in drawlist.cpp
41494 wxPyDrawList_SetAPIPtr();