1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPostScriptDC swig_types[127]
2594 #define SWIGTYPE_p_wxPrintData swig_types[128]
2595 #define SWIGTYPE_p_wxPrinterDC swig_types[129]
2596 #define SWIGTYPE_p_wxPseudoDC swig_types[130]
2597 #define SWIGTYPE_p_wxPyApp swig_types[131]
2598 #define SWIGTYPE_p_wxPyCommandEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[134]
2601 #define SWIGTYPE_p_wxPyImageHandler swig_types[135]
2602 #define SWIGTYPE_p_wxPyLocale swig_types[136]
2603 #define SWIGTYPE_p_wxPySizer swig_types[137]
2604 #define SWIGTYPE_p_wxPyValidator swig_types[138]
2605 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[139]
2606 #define SWIGTYPE_p_wxRect swig_types[140]
2607 #define SWIGTYPE_p_wxRect2D swig_types[141]
2608 #define SWIGTYPE_p_wxRegion swig_types[142]
2609 #define SWIGTYPE_p_wxRegionIterator swig_types[143]
2610 #define SWIGTYPE_p_wxRendererNative swig_types[144]
2611 #define SWIGTYPE_p_wxRendererVersion swig_types[145]
2612 #define SWIGTYPE_p_wxScreenDC swig_types[146]
2613 #define SWIGTYPE_p_wxScrollEvent swig_types[147]
2614 #define SWIGTYPE_p_wxScrollWinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSetCursorEvent swig_types[149]
2616 #define SWIGTYPE_p_wxShowEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSize swig_types[151]
2618 #define SWIGTYPE_p_wxSizeEvent swig_types[152]
2619 #define SWIGTYPE_p_wxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxSizerItem swig_types[154]
2621 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[155]
2622 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStockGDI swig_types[158]
2625 #define SWIGTYPE_p_wxString swig_types[159]
2626 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[160]
2627 #define SWIGTYPE_p_wxTGAHandler swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2930 // appears to me that the other platforms are already doing it, so I'll just
2931 // automatically do it for wxMSW here.
2933 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2934 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2936 #define wxPy_premultiply(p, a) (p)
2937 #define wxPy_unpremultiply(p, a) (p)
2941 #include <wx/image.h>
2943 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2944 char** cArray
= NULL
;
2947 if (!PyList_Check(listOfStrings
)) {
2948 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2951 count
= PyList_Size(listOfStrings
);
2952 cArray
= new char*[count
];
2954 for(int x
=0; x
<count
; x
++) {
2955 // TODO: Need some validation and error checking here
2956 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2963 char** cArray
= NULL
;
2966 cArray
= ConvertListOfStrings(listOfStrings
);
2969 bmp
= new wxBitmap(cArray
);
2973 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2976 PyString_AsStringAndSize(bits
, &buf
, &length
);
2977 return new wxBitmap(buf
, width
, height
, depth
);
2979 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3228 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3230 return new wxIconLocation(*filename
, num
);
3235 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3237 self
->SetIndex(num
);
3242 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3244 return self
->GetIndex();
3249 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3251 wxImage
img(cursorName
, type
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3253 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3254 return new wxCursor(img
);
3256 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3259 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3262 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3265 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3266 return self
->operator bool();
3269 #include <wx/fontutil.h>
3270 #include <wx/fontmap.h>
3271 #include <wx/fontenum.h>
3273 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3274 return self
->ToString();
3277 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3278 { wxPyRaiseNotImplemented(); return NULL
; }
3280 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3281 { wxPyRaiseNotImplemented(); return false; }
3284 SWIGINTERNINLINE PyObject
*
3285 SWIG_From_size_t (size_t value
)
3287 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3291 SWIGINTERNINLINE
int
3292 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3295 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3296 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxChar
*szName
, // name (for messages)
3400 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3401 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szDomain
= NULL
) const;
3412 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3417 const wxChar
*szDomain
= NULL
) const;
3418 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3419 const wxChar
*szOrigString2
, size_t n
,
3420 const wxChar
*szDomain
= NULL
) const;
3424 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3427 wxPyLocale::wxPyLocale() : wxLocale()
3431 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3432 const wxChar
*szShort
, // dir prefix (for msg files)
3433 const wxChar
*szLocale
, // locale (for setlocale)
3434 bool bLoadDefault
, // preload wxstd.mo?
3435 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3436 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3440 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3441 int flags
) : wxLocale(language
, flags
)
3445 wxPyLocale::~wxPyLocale()
3449 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3450 const wxChar
*szDomain
) const
3452 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3453 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3456 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3457 const wxChar
*szOrigString2
, size_t n
,
3458 const wxChar
*szDomain
) const
3460 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3461 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3464 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3465 const wxChar
*szDomain
) const
3468 static wxString str
;
3469 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(szOrigString
);
3473 PyObject
* param2
= wx2PyString(szDomain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? (wxChar
*)str
.c_str() : NULL
);
3486 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3487 const wxChar
*szOrigString2
, size_t n
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szOrigString2
);
3497 PyObject
* param4
= wx2PyString(szDomain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3503 str
= Py2wxString(ret
);
3507 wxPyEndBlockThreads(blocked
);
3508 return (found
? (wxChar
*)str
.c_str() : NULL
);
3511 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3514 loc
= new wxPyLocale();
3516 loc
= new wxPyLocale(language
, flags
);
3517 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3518 // for the floating point conversions and such to work right.
3519 #if PY_VERSION_HEX < 0x02040000
3520 setlocale(LC_NUMERIC
, "C");
3525 #include "wx/wxPython/pydrawxxx.h"
3527 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3529 self
->GetPixel(x
, y
, &col
);
3532 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3534 self
->GetPixel(pt
, &col
);
3539 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3541 if (PyNumber_Check(obj
)) {
3542 if (val
) *val
= PyFloat_AsDouble(obj
);
3545 return SWIG_TypeError
;
3548 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3550 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3553 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3555 self
->GetClippingBox(rect
);
3558 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3560 self
->GetPartialTextExtents(text
, widths
);
3564 #define SWIG_From_double PyFloat_FromDouble
3566 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3567 self
->SetLogicalOrigin(point
.x
, point
.y
);
3569 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetDeviceOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->CalcBoundingBox(point
.x
, point
.y
);
3575 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3576 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3578 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3591 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3594 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3602 #include <wx/dcbuffer.h>
3605 #include <wx/dcps.h>
3608 #include <wx/metafile.h>
3611 #include <wx/graphics.h>
3614 #if !wxUSE_GRAPHICS_CONTEXT
3615 // C++ stub classes for platforms or build configurations that don't have
3616 // wxGraphicsContext yet.
3618 class wxGraphicsRenderer
;
3619 class wxGraphicsMatrix
;
3622 class wxGraphicsObject
: public wxObject
3625 wxGraphicsObject() {}
3626 wxGraphicsObject( wxGraphicsRenderer
* ) {
3627 PyErr_SetString(PyExc_NotImplementedError
,
3628 "wx.GraphicsObject is not available on this platform.");
3630 wxGraphicsObject( const wxGraphicsObject
& ) {}
3631 virtual ~wxGraphicsObject() {}
3632 bool IsNull() const { return false; }
3633 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3638 class wxGraphicsPen
: public wxGraphicsObject
3642 virtual ~wxGraphicsPen() {}
3644 wxGraphicsPen wxNullGraphicsPen
;
3648 class wxGraphicsBrush
: public wxGraphicsObject
3651 wxGraphicsBrush() {}
3652 virtual ~wxGraphicsBrush() {}
3654 wxGraphicsBrush wxNullGraphicsBrush
;
3658 class wxGraphicsFont
: public wxGraphicsObject
3662 virtual ~wxGraphicsFont() {}
3664 wxGraphicsFont wxNullGraphicsFont
;
3668 class wxGraphicsPath
: public wxGraphicsObject
3671 wxGraphicsPath() { }
3672 wxGraphicsPath(wxGraphicsRenderer
* ) {
3673 PyErr_SetString(PyExc_NotImplementedError
,
3674 "wx.GraphicsPath is not available on this platform.");
3676 virtual ~wxGraphicsPath() {}
3678 void MoveToPoint( wxDouble
, wxDouble
) {}
3679 void MoveToPoint( const wxPoint2DDouble
& ) {}
3680 void AddLineToPoint( wxDouble
, wxDouble
) {}
3681 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3682 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3683 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3684 void AddPath( const wxGraphicsPath
& ) {}
3685 void CloseSubpath() {}
3686 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3687 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3688 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3689 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3691 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3692 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3693 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3694 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3696 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3697 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3698 void * GetNativePath() const { return NULL
; }
3699 void UnGetNativePath(void *) const {}
3700 void Transform( const wxGraphicsMatrix
& ) {}
3701 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3702 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3704 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3705 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3707 wxGraphicsPath wxNullGraphicsPath
;
3710 class wxGraphicsMatrix
: public wxGraphicsObject
3713 wxGraphicsMatrix() { }
3714 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3715 PyErr_SetString(PyExc_NotImplementedError
,
3716 "wx.GraphicsMatrix is not available on this platform.");
3718 virtual ~wxGraphicsMatrix() {}
3719 virtual void Concat( const wxGraphicsMatrix
& ) {}
3720 virtual void Copy( const wxGraphicsMatrix
& ) {}
3721 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3722 wxDouble
, wxDouble
) {}
3723 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3724 wxDouble
*, wxDouble
*, wxDouble
*) {}
3725 virtual void Invert() {}
3726 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3727 virtual bool IsIdentity() const { return false; }
3728 virtual void Translate( wxDouble
, wxDouble
) {}
3729 virtual void Scale( wxDouble
, wxDouble
) {}
3730 virtual void Rotate( wxDouble
) {}
3731 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3732 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3733 virtual void * GetNativeMatrix() const { return NULL
; }
3735 wxGraphicsMatrix wxNullGraphicsMatrix
;
3738 class wxGraphicsContext
: public wxGraphicsObject
3742 wxGraphicsContext(wxGraphicsRenderer
* ) {
3743 PyErr_SetString(PyExc_NotImplementedError
,
3744 "wx.GraphicsContext is not available on this platform.");
3747 virtual ~wxGraphicsContext() {}
3749 static wxGraphicsContext
* Create() {
3750 PyErr_SetString(PyExc_NotImplementedError
,
3751 "wx.GraphicsContext is not available on this platform.");
3754 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3755 PyErr_SetString(PyExc_NotImplementedError
,
3756 "wx.GraphicsContext is not available on this platform.");
3760 static wxGraphicsContext
* CreateFromNative( void * ) {
3761 PyErr_SetString(PyExc_NotImplementedError
,
3762 "wx.GraphicsContext is not available on this platform.");
3766 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3767 PyErr_SetString(PyExc_NotImplementedError
,
3768 "wx.GraphicsContext is not available on this platform.");
3772 static wxGraphicsContext
* Create( wxWindow
* ) {
3773 PyErr_SetString(PyExc_NotImplementedError
,
3774 "wx.GraphicsContext is not available on this platform.");
3778 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3780 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3782 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3784 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3785 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3787 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3788 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3789 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3791 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3793 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3794 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3796 virtual void PushState() {}
3797 virtual void PopState() {}
3798 virtual void Clip( const wxRegion
& ) {}
3799 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3800 virtual void ResetClip() {}
3801 virtual void * GetNativeContext() { return NULL
; }
3802 virtual int GetLogicalFunction() const { return 0; }
3803 virtual bool SetLogicalFunction(int ) {}
3804 virtual void Translate( wxDouble
, wxDouble
) {}
3805 virtual void Scale( wxDouble
, wxDouble
) {}
3806 virtual void Rotate( wxDouble
) {}
3807 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3808 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3809 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3811 virtual void SetPen( const wxGraphicsPen
& ) {}
3812 void SetPen( const wxPen
& ) {}
3814 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3815 void SetBrush( const wxBrush
& ) {}
3817 virtual void SetFont( const wxGraphicsFont
& ) {}
3818 void SetFont( const wxFont
&, const wxColour
& ) {}
3820 virtual void StrokePath( const wxGraphicsPath
& ) {}
3821 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3822 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3824 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3825 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3826 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3827 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3828 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3829 wxDouble
*, wxDouble
* ) const {}
3830 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3832 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3833 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3835 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3836 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3837 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3838 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3839 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3840 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3843 virtual bool ShouldOffset() const { return false; }
3847 class wxGraphicsRenderer
: public wxObject
3850 wxGraphicsRenderer() {
3851 PyErr_SetString(PyExc_NotImplementedError
,
3852 "wx.GraphicsRenderer is not available on this platform.");
3855 virtual ~wxGraphicsRenderer() {}
3857 static wxGraphicsRenderer
* GetDefaultRenderer() {
3858 PyErr_SetString(PyExc_NotImplementedError
,
3859 "wx.GraphicsRenderer is not available on this platform.");
3863 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3864 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3865 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3866 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3867 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3869 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3871 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3872 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3874 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3875 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3876 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3877 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3878 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3879 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3880 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3885 class wxGCDC
: public wxWindowDC
3888 wxGCDC(const wxWindowDC
&) {
3889 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3890 PyErr_SetString(PyExc_NotImplementedError
,
3891 "wxGCDC is not available on this platform.");
3892 wxPyEndBlockThreads(blocked
);
3895 wxGCDC(const wxWindow
*) {
3896 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3897 PyErr_SetString(PyExc_NotImplementedError
,
3898 "wxGCDC is not available on this platform.");
3899 wxPyEndBlockThreads(blocked
);
3903 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3904 PyErr_SetString(PyExc_NotImplementedError
,
3905 "wxGCDC is not available on this platform.");
3906 wxPyEndBlockThreads(blocked
);
3909 virtual ~wxGCDC() {}
3911 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3912 void SetGraphicsContext( wxGraphicsContext
* ) {}
3917 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3918 if ( !backgroundBrush
.IsNull() )
3919 self
->DrawText(str
, x
, y
, backgroundBrush
);
3921 self
->DrawText(str
, x
, y
);
3923 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3924 if ( !backgroundBrush
.IsNull() )
3925 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3927 self
->DrawText(str
, x
, y
, angle
);
3929 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3930 wxDouble width
= 0.0,
3932 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3933 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3934 PyObject
* rv
= PyTuple_New(2);
3935 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3936 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3939 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3940 wxArrayDouble widths
;
3941 self
->GetPartialTextExtents(text
, widths
);
3944 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3945 size_t c1
, c2
, count
;
3946 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3947 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3949 if ( beginP
!= NULL
&& endP
!= NULL
)
3951 count
= wxMin(c1
, c2
);
3952 self
->StrokeLines(count
, beginP
, endP
);
3958 #include "wx/dcgraph.h"
3961 #include <wx/overlay.h>
3965 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3966 self
->AddColour(name
, wxColour(red
, green
, blue
));
3969 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3970 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3971 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3972 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3975 #include <wx/effects.h>
3978 #include "wx/renderer.h"
3981 SWIGINTERNINLINE PyObject
*
3982 SWIG_From_bool (bool value
)
3984 return PyBool_FromLong(value
? 1 : 0);
3988 #include "wx/wxPython/pseudodc.h"
3990 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3992 self
->GetIdBounds(id
, rect
);
3998 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3999 PyObject
*resultobj
= 0;
4000 wxGDIObject
*result
= 0 ;
4002 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4004 if (!wxPyCheckForApp()) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (wxGDIObject
*)new wxGDIObject();
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4017 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4018 PyObject
*resultobj
= 0;
4019 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4022 PyObject
*swig_obj
[1] ;
4024 if (!args
) SWIG_fail
;
4026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4027 if (!SWIG_IsOK(res1
)) {
4028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4030 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_Py_Void();
4045 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4046 PyObject
*resultobj
= 0;
4047 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4051 PyObject
*swig_obj
[1] ;
4053 if (!args
) SWIG_fail
;
4055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4056 if (!SWIG_IsOK(res1
)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4059 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (bool)(arg1
)->IsNull();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4075 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4077 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4078 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4079 return SWIG_Py_Void();
4082 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4083 return SWIG_Python_InitShadowInstance(args
);
4086 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
= 0;
4088 byte arg1
= (byte
) 0 ;
4089 byte arg2
= (byte
) 0 ;
4090 byte arg3
= (byte
) 0 ;
4091 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4092 wxColour
*result
= 0 ;
4093 unsigned char val1
;
4095 unsigned char val2
;
4097 unsigned char val3
;
4099 unsigned char val4
;
4101 PyObject
* obj0
= 0 ;
4102 PyObject
* obj1
= 0 ;
4103 PyObject
* obj2
= 0 ;
4104 PyObject
* obj3
= 0 ;
4105 char * kwnames
[] = {
4106 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4111 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4112 if (!SWIG_IsOK(ecode1
)) {
4113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4115 arg1
= static_cast< byte
>(val1
);
4118 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4119 if (!SWIG_IsOK(ecode2
)) {
4120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4122 arg2
= static_cast< byte
>(val2
);
4125 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4126 if (!SWIG_IsOK(ecode3
)) {
4127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4129 arg3
= static_cast< byte
>(val3
);
4132 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4133 if (!SWIG_IsOK(ecode4
)) {
4134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4136 arg4
= static_cast< byte
>(val4
);
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4151 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
*resultobj
= 0;
4153 wxString
*arg1
= 0 ;
4154 wxColour
*result
= 0 ;
4155 bool temp1
= false ;
4156 PyObject
* obj0
= 0 ;
4157 char * kwnames
[] = {
4158 (char *) "colorName", NULL
4161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4163 arg1
= wxString_in_helper(obj0
);
4164 if (arg1
== NULL
) SWIG_fail
;
4168 if (!wxPyCheckForApp()) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4189 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
= 0;
4191 unsigned long arg1
;
4192 wxColour
*result
= 0 ;
4193 unsigned long val1
;
4195 PyObject
* obj0
= 0 ;
4196 char * kwnames
[] = {
4197 (char *) "colRGB", NULL
4200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4201 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4202 if (!SWIG_IsOK(ecode1
)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4205 arg1
= static_cast< unsigned long >(val1
);
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (wxColour
*)new wxColour(arg1
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4219 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4220 PyObject
*resultobj
= 0;
4221 wxColour
*arg1
= (wxColour
*) 0 ;
4224 PyObject
*swig_obj
[1] ;
4226 if (!args
) SWIG_fail
;
4228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4229 if (!SWIG_IsOK(res1
)) {
4230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4232 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= SWIG_Py_Void();
4247 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4248 PyObject
*resultobj
= 0;
4249 wxColour
*arg1
= (wxColour
*) 0 ;
4253 PyObject
*swig_obj
[1] ;
4255 if (!args
) SWIG_fail
;
4257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4258 if (!SWIG_IsOK(res1
)) {
4259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4261 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (byte
)(arg1
)->Red();
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4275 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4276 PyObject
*resultobj
= 0;
4277 wxColour
*arg1
= (wxColour
*) 0 ;
4281 PyObject
*swig_obj
[1] ;
4283 if (!args
) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4289 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (byte
)(arg1
)->Green();
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4303 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4304 PyObject
*resultobj
= 0;
4305 wxColour
*arg1
= (wxColour
*) 0 ;
4309 PyObject
*swig_obj
[1] ;
4311 if (!args
) SWIG_fail
;
4313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4314 if (!SWIG_IsOK(res1
)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4317 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (byte
)(arg1
)->Blue();
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4331 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4332 PyObject
*resultobj
= 0;
4333 wxColour
*arg1
= (wxColour
*) 0 ;
4337 PyObject
*swig_obj
[1] ;
4339 if (!args
) SWIG_fail
;
4341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4342 if (!SWIG_IsOK(res1
)) {
4343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4345 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 result
= (byte
)(arg1
)->Alpha();
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4359 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4360 PyObject
*resultobj
= 0;
4361 wxColour
*arg1
= (wxColour
*) 0 ;
4365 PyObject
*swig_obj
[1] ;
4367 if (!args
) SWIG_fail
;
4369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4370 if (!SWIG_IsOK(res1
)) {
4371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4373 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 result
= (bool)(arg1
)->IsOk();
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4389 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
= 0;
4391 wxColour
*arg1
= (wxColour
*) 0 ;
4395 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4398 unsigned char val2
;
4400 unsigned char val3
;
4402 unsigned char val4
;
4404 unsigned char val5
;
4406 PyObject
* obj0
= 0 ;
4407 PyObject
* obj1
= 0 ;
4408 PyObject
* obj2
= 0 ;
4409 PyObject
* obj3
= 0 ;
4410 PyObject
* obj4
= 0 ;
4411 char * kwnames
[] = {
4412 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4420 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4421 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4422 if (!SWIG_IsOK(ecode2
)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4425 arg2
= static_cast< byte
>(val2
);
4426 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4427 if (!SWIG_IsOK(ecode3
)) {
4428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4430 arg3
= static_cast< byte
>(val3
);
4431 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4432 if (!SWIG_IsOK(ecode4
)) {
4433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4435 arg4
= static_cast< byte
>(val4
);
4437 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4438 if (!SWIG_IsOK(ecode5
)) {
4439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4441 arg5
= static_cast< byte
>(val5
);
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= SWIG_Py_Void();
4456 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
= 0;
4458 wxColour
*arg1
= (wxColour
*) 0 ;
4459 unsigned long arg2
;
4462 unsigned long val2
;
4464 PyObject
* obj0
= 0 ;
4465 PyObject
* obj1
= 0 ;
4466 char * kwnames
[] = {
4467 (char *) "self",(char *) "colRGB", NULL
4470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4472 if (!SWIG_IsOK(res1
)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4475 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4476 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4477 if (!SWIG_IsOK(ecode2
)) {
4478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4480 arg2
= static_cast< unsigned long >(val2
);
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= SWIG_Py_Void();
4494 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
= 0;
4496 wxColour
*arg1
= (wxColour
*) 0 ;
4497 wxString
*arg2
= 0 ;
4500 bool temp2
= false ;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4503 char * kwnames
[] = {
4504 (char *) "self",(char *) "colourName", NULL
4507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4509 if (!SWIG_IsOK(res1
)) {
4510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4512 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4514 arg2
= wxString_in_helper(obj1
);
4515 if (arg2
== NULL
) SWIG_fail
;
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 (arg1
)->Set((wxString
const &)*arg2
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= SWIG_Py_Void();
4539 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
= 0;
4541 wxColour
*arg1
= (wxColour
*) 0 ;
4542 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4550 char * kwnames
[] = {
4551 (char *) "self",(char *) "flags", NULL
4554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4556 if (!SWIG_IsOK(res1
)) {
4557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4559 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4561 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4562 if (!SWIG_IsOK(ecode2
)) {
4563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4565 arg2
= static_cast< long >(val2
);
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4586 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4587 PyObject
*resultobj
= 0;
4588 wxColour
*arg1
= (wxColour
*) 0 ;
4592 PyObject
*swig_obj
[1] ;
4594 if (!args
) SWIG_fail
;
4596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4597 if (!SWIG_IsOK(res1
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4600 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= SWIG_From_long(static_cast< long >(result
));
4614 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
= 0;
4616 wxColour
*arg1
= (wxColour
*) 0 ;
4617 PyObject
*arg2
= (PyObject
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4623 char * kwnames
[] = {
4624 (char *) "self",(char *) "other", NULL
4627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4629 if (!SWIG_IsOK(res1
)) {
4630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4632 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4635 result
= (bool)wxColour___eq__(arg1
,arg2
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4647 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
= 0;
4649 wxColour
*arg1
= (wxColour
*) 0 ;
4650 PyObject
*arg2
= (PyObject
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4656 char * kwnames
[] = {
4657 (char *) "self",(char *) "other", NULL
4660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4662 if (!SWIG_IsOK(res1
)) {
4663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4665 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4668 result
= (bool)wxColour___ne__(arg1
,arg2
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4680 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
= 0;
4682 wxColour
*arg1
= (wxColour
*) 0 ;
4683 bool arg2
= (bool) false ;
4684 PyObject
*result
= 0 ;
4689 PyObject
* obj0
= 0 ;
4690 PyObject
* obj1
= 0 ;
4691 char * kwnames
[] = {
4692 (char *) "self",(char *) "includeAlpha", NULL
4695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4697 if (!SWIG_IsOK(res1
)) {
4698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4700 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4702 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4703 if (!SWIG_IsOK(ecode2
)) {
4704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4706 arg2
= static_cast< bool >(val2
);
4709 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4719 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4720 PyObject
*resultobj
= 0;
4721 wxColour
*arg1
= (wxColour
*) 0 ;
4722 unsigned long result
;
4725 PyObject
*swig_obj
[1] ;
4727 if (!args
) SWIG_fail
;
4729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4730 if (!SWIG_IsOK(res1
)) {
4731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4733 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4735 result
= (unsigned long)wxColour_GetRGB(arg1
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4745 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4748 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4749 return SWIG_Py_Void();
4752 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4753 return SWIG_Python_InitShadowInstance(args
);
4756 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
= 0;
4759 unsigned char *arg2
= (unsigned char *) 0 ;
4760 unsigned char *arg3
= (unsigned char *) 0 ;
4761 unsigned char *arg4
= (unsigned char *) 0 ;
4762 wxPalette
*result
= 0 ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4773 PyObject
* obj2
= 0 ;
4774 PyObject
* obj3
= 0 ;
4775 char * kwnames
[] = {
4776 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4780 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4781 if (!SWIG_IsOK(ecode1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4784 arg1
= static_cast< int >(val1
);
4785 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4786 if (!SWIG_IsOK(res2
)) {
4787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4789 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4790 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4791 if (!SWIG_IsOK(res3
)) {
4792 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4794 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4795 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4796 if (!SWIG_IsOK(res4
)) {
4797 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4799 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4801 if (!wxPyCheckForApp()) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4814 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4815 PyObject
*resultobj
= 0;
4816 wxPalette
*arg1
= (wxPalette
*) 0 ;
4819 PyObject
*swig_obj
[1] ;
4821 if (!args
) SWIG_fail
;
4823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4824 if (!SWIG_IsOK(res1
)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4827 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= SWIG_Py_Void();
4842 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
= 0;
4844 wxPalette
*arg1
= (wxPalette
*) 0 ;
4851 unsigned char val2
;
4853 unsigned char val3
;
4855 unsigned char val4
;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4859 PyObject
* obj2
= 0 ;
4860 PyObject
* obj3
= 0 ;
4861 char * kwnames
[] = {
4862 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4867 if (!SWIG_IsOK(res1
)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4870 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4871 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4872 if (!SWIG_IsOK(ecode2
)) {
4873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4875 arg2
= static_cast< byte
>(val2
);
4876 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4877 if (!SWIG_IsOK(ecode3
)) {
4878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4880 arg3
= static_cast< byte
>(val3
);
4881 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4882 if (!SWIG_IsOK(ecode4
)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4885 arg4
= static_cast< byte
>(val4
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_From_int(static_cast< int >(result
));
4899 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
= 0;
4901 wxPalette
*arg1
= (wxPalette
*) 0 ;
4903 byte
*arg3
= (byte
*) 0 ;
4904 byte
*arg4
= (byte
*) 0 ;
4905 byte
*arg5
= (byte
*) 0 ;
4912 int res3
= SWIG_TMPOBJ
;
4914 int res4
= SWIG_TMPOBJ
;
4916 int res5
= SWIG_TMPOBJ
;
4917 PyObject
* obj0
= 0 ;
4918 PyObject
* obj1
= 0 ;
4919 char * kwnames
[] = {
4920 (char *) "self",(char *) "pixel", NULL
4926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4928 if (!SWIG_IsOK(res1
)) {
4929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4931 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4933 if (!SWIG_IsOK(ecode2
)) {
4934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4936 arg2
= static_cast< int >(val2
);
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4946 if (SWIG_IsTmpObj(res3
)) {
4947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4949 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4952 if (SWIG_IsTmpObj(res4
)) {
4953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4955 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4958 if (SWIG_IsTmpObj(res5
)) {
4959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4961 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4970 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4971 PyObject
*resultobj
= 0;
4972 wxPalette
*arg1
= (wxPalette
*) 0 ;
4976 PyObject
*swig_obj
[1] ;
4978 if (!args
) SWIG_fail
;
4980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4981 if (!SWIG_IsOK(res1
)) {
4982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4984 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= SWIG_From_int(static_cast< int >(result
));
4998 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4999 PyObject
*resultobj
= 0;
5000 wxPalette
*arg1
= (wxPalette
*) 0 ;
5004 PyObject
*swig_obj
[1] ;
5006 if (!args
) SWIG_fail
;
5008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5009 if (!SWIG_IsOK(res1
)) {
5010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5012 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (bool)(arg1
)->IsOk();
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5028 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5031 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5032 return SWIG_Py_Void();
5035 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5036 return SWIG_Python_InitShadowInstance(args
);
5039 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
= 0;
5041 wxColour
*arg1
= 0 ;
5042 int arg2
= (int) 1 ;
5043 int arg3
= (int) wxSOLID
;
5050 PyObject
* obj0
= 0 ;
5051 PyObject
* obj1
= 0 ;
5052 PyObject
* obj2
= 0 ;
5053 char * kwnames
[] = {
5054 (char *) "colour",(char *) "width",(char *) "style", NULL
5057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5060 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5064 if (!SWIG_IsOK(ecode2
)) {
5065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5067 arg2
= static_cast< int >(val2
);
5070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5071 if (!SWIG_IsOK(ecode3
)) {
5072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5074 arg3
= static_cast< int >(val3
);
5077 if (!wxPyCheckForApp()) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5090 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5091 PyObject
*resultobj
= 0;
5092 wxPen
*arg1
= (wxPen
*) 0 ;
5095 PyObject
*swig_obj
[1] ;
5097 if (!args
) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5103 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= SWIG_Py_Void();
5118 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5119 PyObject
*resultobj
= 0;
5120 wxPen
*arg1
= (wxPen
*) 0 ;
5124 PyObject
*swig_obj
[1] ;
5126 if (!args
) SWIG_fail
;
5128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5129 if (!SWIG_IsOK(res1
)) {
5130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5132 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (int)(arg1
)->GetCap();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= SWIG_From_int(static_cast< int >(result
));
5146 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5147 PyObject
*resultobj
= 0;
5148 wxPen
*arg1
= (wxPen
*) 0 ;
5152 PyObject
*swig_obj
[1] ;
5154 if (!args
) SWIG_fail
;
5156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5157 if (!SWIG_IsOK(res1
)) {
5158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5160 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (arg1
)->GetColour();
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5174 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5175 PyObject
*resultobj
= 0;
5176 wxPen
*arg1
= (wxPen
*) 0 ;
5180 PyObject
*swig_obj
[1] ;
5182 if (!args
) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5188 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= (int)(arg1
)->GetJoin();
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_From_int(static_cast< int >(result
));
5202 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5203 PyObject
*resultobj
= 0;
5204 wxPen
*arg1
= (wxPen
*) 0 ;
5208 PyObject
*swig_obj
[1] ;
5210 if (!args
) SWIG_fail
;
5212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5213 if (!SWIG_IsOK(res1
)) {
5214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5216 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (int)(arg1
)->GetStyle();
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5223 resultobj
= SWIG_From_int(static_cast< int >(result
));
5230 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5231 PyObject
*resultobj
= 0;
5232 wxPen
*arg1
= (wxPen
*) 0 ;
5236 PyObject
*swig_obj
[1] ;
5238 if (!args
) SWIG_fail
;
5240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5241 if (!SWIG_IsOK(res1
)) {
5242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5244 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= (int)(arg1
)->GetWidth();
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= SWIG_From_int(static_cast< int >(result
));
5258 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5259 PyObject
*resultobj
= 0;
5260 wxPen
*arg1
= (wxPen
*) 0 ;
5264 PyObject
*swig_obj
[1] ;
5266 if (!args
) SWIG_fail
;
5268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5269 if (!SWIG_IsOK(res1
)) {
5270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5272 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (bool)(arg1
)->IsOk();
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) SWIG_fail
;
5280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5288 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
= 0;
5290 wxPen
*arg1
= (wxPen
*) 0 ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5298 char * kwnames
[] = {
5299 (char *) "self",(char *) "cap_style", NULL
5302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5304 if (!SWIG_IsOK(res1
)) {
5305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5307 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5309 if (!SWIG_IsOK(ecode2
)) {
5310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5312 arg2
= static_cast< int >(val2
);
5314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5315 (arg1
)->SetCap(arg2
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= SWIG_Py_Void();
5326 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
= 0;
5328 wxPen
*arg1
= (wxPen
*) 0 ;
5329 wxColour
*arg2
= 0 ;
5333 PyObject
* obj0
= 0 ;
5334 PyObject
* obj1
= 0 ;
5335 char * kwnames
[] = {
5336 (char *) "self",(char *) "colour", NULL
5339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5341 if (!SWIG_IsOK(res1
)) {
5342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5344 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5347 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 (arg1
)->SetColour(*arg2
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5355 resultobj
= SWIG_Py_Void();
5362 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
= 0;
5364 wxPen
*arg1
= (wxPen
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5372 char * kwnames
[] = {
5373 (char *) "self",(char *) "join_style", NULL
5376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5378 if (!SWIG_IsOK(res1
)) {
5379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5381 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5383 if (!SWIG_IsOK(ecode2
)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5386 arg2
= static_cast< int >(val2
);
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 (arg1
)->SetJoin(arg2
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_Py_Void();
5400 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
= 0;
5402 wxPen
*arg1
= (wxPen
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5409 PyObject
* obj1
= 0 ;
5410 char * kwnames
[] = {
5411 (char *) "self",(char *) "style", NULL
5414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5416 if (!SWIG_IsOK(res1
)) {
5417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5419 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5421 if (!SWIG_IsOK(ecode2
)) {
5422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5424 arg2
= static_cast< int >(val2
);
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 (arg1
)->SetStyle(arg2
);
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= SWIG_Py_Void();
5438 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
= 0;
5440 wxPen
*arg1
= (wxPen
*) 0 ;
5446 PyObject
* obj0
= 0 ;
5447 PyObject
* obj1
= 0 ;
5448 char * kwnames
[] = {
5449 (char *) "self",(char *) "width", NULL
5452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5454 if (!SWIG_IsOK(res1
)) {
5455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5457 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5459 if (!SWIG_IsOK(ecode2
)) {
5460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5462 arg2
= static_cast< int >(val2
);
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->SetWidth(arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_Py_Void();
5476 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
= 0;
5478 wxPen
*arg1
= (wxPen
*) 0 ;
5480 wxDash
*arg3
= (wxDash
*) 0 ;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5485 char * kwnames
[] = {
5486 (char *) "self",(char *) "dashes", NULL
5489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5491 if (!SWIG_IsOK(res1
)) {
5492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5494 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5496 arg2
= PyList_Size(obj1
);
5497 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5498 if (arg3
== NULL
) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 (arg1
)->SetDashes(arg2
,arg3
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_Py_Void();
5508 if (arg3
) delete [] arg3
;
5513 if (arg3
) delete [] arg3
;
5519 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5520 PyObject
*resultobj
= 0;
5521 wxPen
*arg1
= (wxPen
*) 0 ;
5522 PyObject
*result
= 0 ;
5525 PyObject
*swig_obj
[1] ;
5527 if (!args
) SWIG_fail
;
5529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5530 if (!SWIG_IsOK(res1
)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5533 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5547 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
= 0;
5549 wxPen
*arg1
= (wxPen
*) 0 ;
5550 PyObject
*arg2
= (PyObject
*) 0 ;
5551 PyObject
*arg3
= (PyObject
*) 0 ;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5556 PyObject
* obj2
= 0 ;
5557 char * kwnames
[] = {
5558 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5563 if (!SWIG_IsOK(res1
)) {
5564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5566 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 wxPen__SetDashes(arg1
,arg2
,arg3
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_Py_Void();
5582 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5583 PyObject
*resultobj
= 0;
5584 wxPen
*arg1
= (wxPen
*) 0 ;
5588 PyObject
*swig_obj
[1] ;
5590 if (!args
) SWIG_fail
;
5592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5593 if (!SWIG_IsOK(res1
)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5596 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_From_int(static_cast< int >(result
));
5610 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5611 PyObject
*resultobj
= 0;
5612 wxPen
*arg1
= (wxPen
*) 0 ;
5613 wxBitmap
*result
= 0 ;
5616 PyObject
*swig_obj
[1] ;
5618 if (!args
) SWIG_fail
;
5620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5621 if (!SWIG_IsOK(res1
)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5624 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 result
= (wxBitmap
*)(arg1
)->GetStipple();
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5638 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
= 0;
5640 wxPen
*arg1
= (wxPen
*) 0 ;
5641 wxBitmap
*arg2
= 0 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5648 char * kwnames
[] = {
5649 (char *) "self",(char *) "stipple", NULL
5652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5654 if (!SWIG_IsOK(res1
)) {
5655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5657 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5659 if (!SWIG_IsOK(res2
)) {
5660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5665 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 (arg1
)->SetStipple(*arg2
);
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= SWIG_Py_Void();
5679 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
*resultobj
= 0;
5681 wxPen
*arg1
= (wxPen
*) 0 ;
5682 wxPen
*arg2
= (wxPen
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5690 char * kwnames
[] = {
5691 (char *) "self",(char *) "other", NULL
5694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5696 if (!SWIG_IsOK(res1
)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5699 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5701 if (!SWIG_IsOK(res2
)) {
5702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5704 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5720 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
= 0;
5722 wxPen
*arg1
= (wxPen
*) 0 ;
5723 wxPen
*arg2
= (wxPen
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5730 PyObject
* obj1
= 0 ;
5731 char * kwnames
[] = {
5732 (char *) "self",(char *) "other", NULL
5735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5737 if (!SWIG_IsOK(res1
)) {
5738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5740 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5742 if (!SWIG_IsOK(res2
)) {
5743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5745 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5761 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5764 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5765 return SWIG_Py_Void();
5768 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5769 return SWIG_Python_InitShadowInstance(args
);
5772 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
= 0;
5774 wxColour
*arg1
= 0 ;
5775 int arg2
= (int) wxSOLID
;
5776 wxBrush
*result
= 0 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5782 char * kwnames
[] = {
5783 (char *) "colour",(char *) "style", NULL
5786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5789 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5793 if (!SWIG_IsOK(ecode2
)) {
5794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5796 arg2
= static_cast< int >(val2
);
5799 if (!wxPyCheckForApp()) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5812 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
= 0;
5814 wxBitmap
*arg1
= 0 ;
5815 wxBrush
*result
= 0 ;
5818 PyObject
* obj0
= 0 ;
5819 char * kwnames
[] = {
5820 (char *) "stippleBitmap", NULL
5823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5824 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5825 if (!SWIG_IsOK(res1
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5831 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5833 if (!wxPyCheckForApp()) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5846 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5847 PyObject
*resultobj
= 0;
5848 wxBrush
*arg1
= (wxBrush
*) 0 ;
5851 PyObject
*swig_obj
[1] ;
5853 if (!args
) SWIG_fail
;
5855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5856 if (!SWIG_IsOK(res1
)) {
5857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5859 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_Py_Void();
5874 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
= 0;
5876 wxBrush
*arg1
= (wxBrush
*) 0 ;
5877 wxColour
*arg2
= 0 ;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 char * kwnames
[] = {
5884 (char *) "self",(char *) "col", NULL
5887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5892 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5895 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 (arg1
)->SetColour((wxColour
const &)*arg2
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= SWIG_Py_Void();
5910 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
= 0;
5912 wxBrush
*arg1
= (wxBrush
*) 0 ;
5918 PyObject
* obj0
= 0 ;
5919 PyObject
* obj1
= 0 ;
5920 char * kwnames
[] = {
5921 (char *) "self",(char *) "style", NULL
5924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5926 if (!SWIG_IsOK(res1
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5929 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5931 if (!SWIG_IsOK(ecode2
)) {
5932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5934 arg2
= static_cast< int >(val2
);
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 (arg1
)->SetStyle(arg2
);
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= SWIG_Py_Void();
5948 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
= 0;
5950 wxBrush
*arg1
= (wxBrush
*) 0 ;
5951 wxBitmap
*arg2
= 0 ;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj1
= 0 ;
5958 char * kwnames
[] = {
5959 (char *) "self",(char *) "stipple", NULL
5962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5967 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5969 if (!SWIG_IsOK(res2
)) {
5970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5975 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= SWIG_Py_Void();
5989 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5990 PyObject
*resultobj
= 0;
5991 wxBrush
*arg1
= (wxBrush
*) 0 ;
5995 PyObject
*swig_obj
[1] ;
5997 if (!args
) SWIG_fail
;
5999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6000 if (!SWIG_IsOK(res1
)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
6003 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 result
= ((wxBrush
const *)arg1
)->GetColour();
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6017 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6018 PyObject
*resultobj
= 0;
6019 wxBrush
*arg1
= (wxBrush
*) 0 ;
6023 PyObject
*swig_obj
[1] ;
6025 if (!args
) SWIG_fail
;
6027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6028 if (!SWIG_IsOK(res1
)) {
6029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6031 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= SWIG_From_int(static_cast< int >(result
));
6045 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6046 PyObject
*resultobj
= 0;
6047 wxBrush
*arg1
= (wxBrush
*) 0 ;
6048 wxBitmap
*result
= 0 ;
6051 PyObject
*swig_obj
[1] ;
6053 if (!args
) SWIG_fail
;
6055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6056 if (!SWIG_IsOK(res1
)) {
6057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6059 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6073 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6074 PyObject
*resultobj
= 0;
6075 wxBrush
*arg1
= (wxBrush
*) 0 ;
6079 PyObject
*swig_obj
[1] ;
6081 if (!args
) SWIG_fail
;
6083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6084 if (!SWIG_IsOK(res1
)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6087 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6103 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6104 PyObject
*resultobj
= 0;
6105 wxBrush
*arg1
= (wxBrush
*) 0 ;
6109 PyObject
*swig_obj
[1] ;
6111 if (!args
) SWIG_fail
;
6113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6114 if (!SWIG_IsOK(res1
)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6117 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (bool)(arg1
)->IsOk();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6133 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6136 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6137 return SWIG_Py_Void();
6140 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6141 return SWIG_Python_InitShadowInstance(args
);
6144 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
= 0;
6146 wxString
*arg1
= 0 ;
6147 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6148 wxBitmap
*result
= 0 ;
6149 bool temp1
= false ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 char * kwnames
[] = {
6155 (char *) "name",(char *) "type", NULL
6158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6160 arg1
= wxString_in_helper(obj0
);
6161 if (arg1
== NULL
) SWIG_fail
;
6165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6166 if (!SWIG_IsOK(ecode2
)) {
6167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6169 arg2
= static_cast< wxBitmapType
>(val2
);
6172 if (!wxPyCheckForApp()) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6193 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6194 PyObject
*resultobj
= 0;
6195 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6198 PyObject
*swig_obj
[1] ;
6200 if (!args
) SWIG_fail
;
6202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6203 if (!SWIG_IsOK(res1
)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6206 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= SWIG_Py_Void();
6219 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
= 0;
6223 int arg3
= (int) -1 ;
6224 wxBitmap
*result
= 0 ;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6233 PyObject
* obj2
= 0 ;
6234 char * kwnames
[] = {
6235 (char *) "width",(char *) "height",(char *) "depth", NULL
6238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6240 if (!SWIG_IsOK(ecode1
)) {
6241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6243 arg1
= static_cast< int >(val1
);
6244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6245 if (!SWIG_IsOK(ecode2
)) {
6246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6248 arg2
= static_cast< int >(val2
);
6250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6251 if (!SWIG_IsOK(ecode3
)) {
6252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6254 arg3
= static_cast< int >(val3
);
6257 if (!wxPyCheckForApp()) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6270 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
= 0;
6273 wxBitmap
*result
= 0 ;
6276 PyObject
* obj0
= 0 ;
6277 char * kwnames
[] = {
6278 (char *) "icon", NULL
6281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6289 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6291 if (!wxPyCheckForApp()) SWIG_fail
;
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6304 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
= 0;
6307 int arg2
= (int) -1 ;
6308 wxBitmap
*result
= 0 ;
6313 PyObject
* obj0
= 0 ;
6314 PyObject
* obj1
= 0 ;
6315 char * kwnames
[] = {
6316 (char *) "image",(char *) "depth", NULL
6319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6320 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6321 if (!SWIG_IsOK(res1
)) {
6322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6327 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6330 if (!SWIG_IsOK(ecode2
)) {
6331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6333 arg2
= static_cast< int >(val2
);
6336 if (!wxPyCheckForApp()) SWIG_fail
;
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6349 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
= 0;
6351 PyObject
*arg1
= (PyObject
*) 0 ;
6352 wxBitmap
*result
= 0 ;
6353 PyObject
* obj0
= 0 ;
6354 char * kwnames
[] = {
6355 (char *) "listOfStrings", NULL
6358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6361 if (!wxPyCheckForApp()) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6374 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
= 0;
6376 PyObject
*arg1
= (PyObject
*) 0 ;
6379 int arg4
= (int) 1 ;
6380 wxBitmap
*result
= 0 ;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 PyObject
* obj2
= 0 ;
6390 PyObject
* obj3
= 0 ;
6391 char * kwnames
[] = {
6392 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6398 if (!SWIG_IsOK(ecode2
)) {
6399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6401 arg2
= static_cast< int >(val2
);
6402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6403 if (!SWIG_IsOK(ecode3
)) {
6404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6406 arg3
= static_cast< int >(val3
);
6408 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6409 if (!SWIG_IsOK(ecode4
)) {
6410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6412 arg4
= static_cast< int >(val4
);
6415 if (!wxPyCheckForApp()) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6428 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6429 PyObject
*resultobj
= 0;
6430 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6434 PyObject
*swig_obj
[1] ;
6436 if (!args
) SWIG_fail
;
6438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6439 if (!SWIG_IsOK(res1
)) {
6440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6442 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6444 result
= (long)(arg1
)->GetHandle();
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_From_long(static_cast< long >(result
));
6454 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
= 0;
6456 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6464 char * kwnames
[] = {
6465 (char *) "self",(char *) "handle", NULL
6468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6473 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6474 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6475 if (!SWIG_IsOK(ecode2
)) {
6476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6478 arg2
= static_cast< long >(val2
);
6480 wxBitmap_SetHandle(arg1
,arg2
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= SWIG_Py_Void();
6490 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6491 PyObject
*resultobj
= 0;
6492 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6496 PyObject
*swig_obj
[1] ;
6498 if (!args
) SWIG_fail
;
6500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6501 if (!SWIG_IsOK(res1
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6504 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6506 result
= (bool)(arg1
)->IsOk();
6507 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6518 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6519 PyObject
*resultobj
= 0;
6520 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6524 PyObject
*swig_obj
[1] ;
6526 if (!args
) SWIG_fail
;
6528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6529 if (!SWIG_IsOK(res1
)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6532 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6534 result
= (int)(arg1
)->GetWidth();
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= SWIG_From_int(static_cast< int >(result
));
6544 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6545 PyObject
*resultobj
= 0;
6546 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6550 PyObject
*swig_obj
[1] ;
6552 if (!args
) SWIG_fail
;
6554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6555 if (!SWIG_IsOK(res1
)) {
6556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6558 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6560 result
= (int)(arg1
)->GetHeight();
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_From_int(static_cast< int >(result
));
6570 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6571 PyObject
*resultobj
= 0;
6572 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6576 PyObject
*swig_obj
[1] ;
6578 if (!args
) SWIG_fail
;
6580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6581 if (!SWIG_IsOK(res1
)) {
6582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6584 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6586 result
= (int)(arg1
)->GetDepth();
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= SWIG_From_int(static_cast< int >(result
));
6596 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6597 PyObject
*resultobj
= 0;
6598 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6602 PyObject
*swig_obj
[1] ;
6604 if (!args
) SWIG_fail
;
6606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6607 if (!SWIG_IsOK(res1
)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6610 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6612 result
= wxBitmap_GetSize(arg1
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6622 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6623 PyObject
*resultobj
= 0;
6624 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6625 SwigValueWrapper
<wxImage
> result
;
6628 PyObject
*swig_obj
[1] ;
6630 if (!args
) SWIG_fail
;
6632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6633 if (!SWIG_IsOK(res1
)) {
6634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6636 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6638 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6648 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6649 PyObject
*resultobj
= 0;
6650 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6651 wxMask
*result
= 0 ;
6654 PyObject
*swig_obj
[1] ;
6656 if (!args
) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6662 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6664 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6665 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6674 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
= 0;
6676 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6677 wxMask
*arg2
= (wxMask
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "mask", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6693 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6694 if (!SWIG_IsOK(res2
)) {
6695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6698 (arg1
)->SetMask(arg2
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= SWIG_Py_Void();
6708 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
= 0;
6710 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6711 wxColour
*arg2
= 0 ;
6715 PyObject
* obj0
= 0 ;
6716 PyObject
* obj1
= 0 ;
6717 char * kwnames
[] = {
6718 (char *) "self",(char *) "colour", NULL
6721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6723 if (!SWIG_IsOK(res1
)) {
6724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6726 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6729 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6732 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= SWIG_Py_Void();
6742 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
= 0;
6744 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6746 SwigValueWrapper
<wxBitmap
> result
;
6750 PyObject
* obj0
= 0 ;
6751 PyObject
* obj1
= 0 ;
6752 char * kwnames
[] = {
6753 (char *) "self",(char *) "rect", NULL
6756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6758 if (!SWIG_IsOK(res1
)) {
6759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6761 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6764 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6767 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6777 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
= 0;
6779 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6780 wxString
*arg2
= 0 ;
6782 wxPalette
*arg4
= (wxPalette
*) NULL
;
6786 bool temp2
= false ;
6791 PyObject
* obj0
= 0 ;
6792 PyObject
* obj1
= 0 ;
6793 PyObject
* obj2
= 0 ;
6794 PyObject
* obj3
= 0 ;
6795 char * kwnames
[] = {
6796 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6801 if (!SWIG_IsOK(res1
)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6804 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6806 arg2
= wxString_in_helper(obj1
);
6807 if (arg2
== NULL
) SWIG_fail
;
6810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6811 if (!SWIG_IsOK(ecode3
)) {
6812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6814 arg3
= static_cast< wxBitmapType
>(val3
);
6816 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6817 if (!SWIG_IsOK(res4
)) {
6818 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6820 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6823 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6843 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
= 0;
6845 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6846 wxString
*arg2
= 0 ;
6851 bool temp2
= false ;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6856 PyObject
* obj2
= 0 ;
6857 char * kwnames
[] = {
6858 (char *) "self",(char *) "name",(char *) "type", NULL
6861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6863 if (!SWIG_IsOK(res1
)) {
6864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6866 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6868 arg2
= wxString_in_helper(obj1
);
6869 if (arg2
== NULL
) SWIG_fail
;
6872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6873 if (!SWIG_IsOK(ecode3
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6876 arg3
= static_cast< wxBitmapType
>(val3
);
6878 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6898 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6899 PyObject
*resultobj
= 0;
6900 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6901 wxPalette
*result
= 0 ;
6904 PyObject
*swig_obj
[1] ;
6906 if (!args
) SWIG_fail
;
6908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6909 if (!SWIG_IsOK(res1
)) {
6910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6912 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6914 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6924 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
= 0;
6926 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6927 wxPalette
*arg2
= 0 ;
6932 PyObject
* obj0
= 0 ;
6933 PyObject
* obj1
= 0 ;
6934 char * kwnames
[] = {
6935 (char *) "self",(char *) "palette", NULL
6938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",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_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6943 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6945 if (!SWIG_IsOK(res2
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6951 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6953 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_Py_Void();
6963 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
= 0;
6965 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6974 char * kwnames
[] = {
6975 (char *) "self",(char *) "icon", NULL
6978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6980 if (!SWIG_IsOK(res1
)) {
6981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6983 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6984 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6985 if (!SWIG_IsOK(res2
)) {
6986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6991 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6993 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7005 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
= 0;
7007 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7014 PyObject
* obj1
= 0 ;
7015 char * kwnames
[] = {
7016 (char *) "self",(char *) "height", NULL
7019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7021 if (!SWIG_IsOK(res1
)) {
7022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
7024 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7026 if (!SWIG_IsOK(ecode2
)) {
7027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
7029 arg2
= static_cast< int >(val2
);
7031 (arg1
)->SetHeight(arg2
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_Py_Void();
7041 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
= 0;
7043 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 char * kwnames
[] = {
7052 (char *) "self",(char *) "width", NULL
7055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7060 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7062 if (!SWIG_IsOK(ecode2
)) {
7063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7065 arg2
= static_cast< int >(val2
);
7067 (arg1
)->SetWidth(arg2
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_Py_Void();
7077 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
= 0;
7079 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7087 char * kwnames
[] = {
7088 (char *) "self",(char *) "depth", NULL
7091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7093 if (!SWIG_IsOK(res1
)) {
7094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7096 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7098 if (!SWIG_IsOK(ecode2
)) {
7099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7101 arg2
= static_cast< int >(val2
);
7103 (arg1
)->SetDepth(arg2
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= SWIG_Py_Void();
7113 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
= 0;
7115 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7122 char * kwnames
[] = {
7123 (char *) "self",(char *) "size", NULL
7126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7128 if (!SWIG_IsOK(res1
)) {
7129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7131 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7137 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= SWIG_Py_Void();
7147 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
= 0;
7149 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7150 wxCursor
*arg2
= 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 char * kwnames
[] = {
7159 (char *) "self",(char *) "cursor", NULL
7162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7167 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7169 if (!SWIG_IsOK(res2
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7175 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7177 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7189 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7190 PyObject
*resultobj
= 0;
7191 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7199 char * kwnames
[] = {
7200 (char *) "self",(char *) "data", NULL
7203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7205 if (!SWIG_IsOK(res1
)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7208 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7210 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7214 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_Py_Void();
7224 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
= 0;
7226 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7234 char * kwnames
[] = {
7235 (char *) "self",(char *) "data", NULL
7238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7240 if (!SWIG_IsOK(res1
)) {
7241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7243 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7245 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7249 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_Py_Void();
7259 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
= 0;
7261 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7262 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7268 PyObject
* obj0
= 0 ;
7269 PyObject
* obj1
= 0 ;
7270 char * kwnames
[] = {
7271 (char *) "self",(char *) "other", NULL
7274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7276 if (!SWIG_IsOK(res1
)) {
7277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7279 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7281 if (!SWIG_IsOK(res2
)) {
7282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7284 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7286 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7298 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
= 0;
7300 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7301 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7307 PyObject
* obj0
= 0 ;
7308 PyObject
* obj1
= 0 ;
7309 char * kwnames
[] = {
7310 (char *) "self",(char *) "other", NULL
7313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7315 if (!SWIG_IsOK(res1
)) {
7316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7318 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7320 if (!SWIG_IsOK(res2
)) {
7321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7323 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7325 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7337 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7340 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7341 return SWIG_Py_Void();
7344 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7345 return SWIG_Python_InitShadowInstance(args
);
7348 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
= 0;
7356 wxBitmap
*result
= 0 ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7365 PyObject
* obj2
= 0 ;
7366 PyObject
* obj3
= 0 ;
7367 char * kwnames
[] = {
7368 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7373 if (!SWIG_IsOK(ecode1
)) {
7374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7376 arg1
= static_cast< int >(val1
);
7377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7378 if (!SWIG_IsOK(ecode2
)) {
7379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7381 arg2
= static_cast< int >(val2
);
7383 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7387 if (obj3
!= Py_None
) {
7388 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7393 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7403 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
= 0;
7409 wxBitmap
*result
= 0 ;
7415 PyObject
* obj0
= 0 ;
7416 PyObject
* obj1
= 0 ;
7417 PyObject
* obj2
= 0 ;
7418 char * kwnames
[] = {
7419 (char *) "width",(char *) "height",(char *) "data", NULL
7422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7423 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7424 if (!SWIG_IsOK(ecode1
)) {
7425 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7427 arg1
= static_cast< int >(val1
);
7428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7429 if (!SWIG_IsOK(ecode2
)) {
7430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7432 arg2
= static_cast< int >(val2
);
7434 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7438 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7448 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= 0;
7454 wxBitmap
*result
= 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7462 PyObject
* obj2
= 0 ;
7463 char * kwnames
[] = {
7464 (char *) "width",(char *) "height",(char *) "data", NULL
7467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7468 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7469 if (!SWIG_IsOK(ecode1
)) {
7470 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7472 arg1
= static_cast< int >(val1
);
7473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7474 if (!SWIG_IsOK(ecode2
)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7477 arg2
= static_cast< int >(val2
);
7479 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7483 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7493 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7494 PyObject
*resultobj
= 0;
7495 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7499 PyObject
*swig_obj
[1] ;
7501 if (!args
) SWIG_fail
;
7503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7504 if (!SWIG_IsOK(res1
)) {
7505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7507 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7509 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7519 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7520 PyObject
*resultobj
= 0;
7521 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7525 PyObject
*swig_obj
[1] ;
7527 if (!args
) SWIG_fail
;
7529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7530 if (!SWIG_IsOK(res1
)) {
7531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7533 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7535 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 resultobj
= SWIG_From_int(static_cast< int >(result
));
7545 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7546 PyObject
*resultobj
= 0;
7547 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7551 PyObject
*swig_obj
[1] ;
7553 if (!args
) SWIG_fail
;
7555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7556 if (!SWIG_IsOK(res1
)) {
7557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7559 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7561 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= SWIG_From_int(static_cast< int >(result
));
7571 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7572 PyObject
*resultobj
= 0;
7573 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7577 PyObject
*swig_obj
[1] ;
7579 if (!args
) SWIG_fail
;
7581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7582 if (!SWIG_IsOK(res1
)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7585 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7587 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7597 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7598 PyObject
*resultobj
= 0;
7599 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7603 PyObject
*swig_obj
[1] ;
7605 if (!args
) SWIG_fail
;
7607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7608 if (!SWIG_IsOK(res1
)) {
7609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7611 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7613 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= SWIG_From_int(static_cast< int >(result
));
7623 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7626 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7627 return SWIG_Py_Void();
7630 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7631 PyObject
*resultobj
= 0;
7632 wxBitmap
*arg1
= 0 ;
7633 wxNativePixelData
*result
= 0 ;
7637 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7639 if (!SWIG_IsOK(res1
)) {
7640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7645 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7647 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7657 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7658 PyObject
*resultobj
= 0;
7659 wxBitmap
*arg1
= 0 ;
7661 wxNativePixelData
*result
= 0 ;
7666 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7668 if (!SWIG_IsOK(res1
)) {
7669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7674 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7677 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7680 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7690 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7691 PyObject
*resultobj
= 0;
7692 wxBitmap
*arg1
= 0 ;
7695 wxNativePixelData
*result
= 0 ;
7701 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7703 if (!SWIG_IsOK(res1
)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7709 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7712 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7716 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7719 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7729 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7733 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7736 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7739 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7742 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7746 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7751 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7752 PyObject
*resultobj
= 0;
7753 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7756 PyObject
*swig_obj
[1] ;
7758 if (!args
) SWIG_fail
;
7760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7761 if (!SWIG_IsOK(res1
)) {
7762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7764 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= SWIG_Py_Void();
7777 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7778 PyObject
*resultobj
= 0;
7779 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7780 wxNativePixelData_Accessor result
;
7783 PyObject
*swig_obj
[1] ;
7785 if (!args
) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7791 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7793 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7803 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7804 PyObject
*resultobj
= 0;
7805 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7808 PyObject
*swig_obj
[1] ;
7810 if (!args
) SWIG_fail
;
7812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7813 if (!SWIG_IsOK(res1
)) {
7814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7816 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= SWIG_Py_Void();
7828 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7829 PyObject
*resultobj
= 0;
7830 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7834 PyObject
*swig_obj
[1] ;
7836 if (!args
) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7842 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7844 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7856 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7859 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7860 return SWIG_Py_Void();
7863 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7864 return SWIG_Python_InitShadowInstance(args
);
7867 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7868 PyObject
*resultobj
= 0;
7869 wxNativePixelData
*arg1
= 0 ;
7870 wxNativePixelData_Accessor
*result
= 0 ;
7874 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7882 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7884 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7894 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7895 PyObject
*resultobj
= 0;
7896 wxBitmap
*arg1
= 0 ;
7897 wxNativePixelData
*arg2
= 0 ;
7898 wxNativePixelData_Accessor
*result
= 0 ;
7904 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7912 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7913 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7914 if (!SWIG_IsOK(res2
)) {
7915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7920 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7922 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7932 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7933 PyObject
*resultobj
= 0;
7934 wxNativePixelData_Accessor
*result
= 0 ;
7936 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7938 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7948 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7952 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7955 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7958 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7961 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7965 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7970 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7971 PyObject
*resultobj
= 0;
7972 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7975 PyObject
*swig_obj
[1] ;
7977 if (!args
) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7983 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_Py_Void();
7996 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
= 0;
7998 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7999 wxNativePixelData
*arg2
= 0 ;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 char * kwnames
[] = {
8007 (char *) "self",(char *) "data", NULL
8010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8012 if (!SWIG_IsOK(res1
)) {
8013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8015 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8017 if (!SWIG_IsOK(res2
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8023 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8025 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= SWIG_Py_Void();
8035 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8036 PyObject
*resultobj
= 0;
8037 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8041 PyObject
*swig_obj
[1] ;
8043 if (!args
) SWIG_fail
;
8045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8046 if (!SWIG_IsOK(res1
)) {
8047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8049 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8051 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8052 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8063 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8064 PyObject
*resultobj
= 0;
8065 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8068 PyObject
*swig_obj
[1] ;
8070 if (!args
) SWIG_fail
;
8072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8073 if (!SWIG_IsOK(res1
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8076 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8078 wxNativePixelData_Accessor_nextPixel(arg1
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_Py_Void();
8088 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
= 0;
8090 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8091 wxNativePixelData
*arg2
= 0 ;
8102 PyObject
* obj0
= 0 ;
8103 PyObject
* obj1
= 0 ;
8104 PyObject
* obj2
= 0 ;
8105 PyObject
* obj3
= 0 ;
8106 char * kwnames
[] = {
8107 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8112 if (!SWIG_IsOK(res1
)) {
8113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8115 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8117 if (!SWIG_IsOK(res2
)) {
8118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8123 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8125 if (!SWIG_IsOK(ecode3
)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8128 arg3
= static_cast< int >(val3
);
8129 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8130 if (!SWIG_IsOK(ecode4
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8133 arg4
= static_cast< int >(val4
);
8135 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= SWIG_Py_Void();
8145 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
= 0;
8147 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8148 wxNativePixelData
*arg2
= 0 ;
8156 PyObject
* obj0
= 0 ;
8157 PyObject
* obj1
= 0 ;
8158 PyObject
* obj2
= 0 ;
8159 char * kwnames
[] = {
8160 (char *) "self",(char *) "data",(char *) "x", NULL
8163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8165 if (!SWIG_IsOK(res1
)) {
8166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8168 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8170 if (!SWIG_IsOK(res2
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8176 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8178 if (!SWIG_IsOK(ecode3
)) {
8179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8181 arg3
= static_cast< int >(val3
);
8183 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= SWIG_Py_Void();
8193 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
= 0;
8195 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8196 wxNativePixelData
*arg2
= 0 ;
8204 PyObject
* obj0
= 0 ;
8205 PyObject
* obj1
= 0 ;
8206 PyObject
* obj2
= 0 ;
8207 char * kwnames
[] = {
8208 (char *) "self",(char *) "data",(char *) "y", NULL
8211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8213 if (!SWIG_IsOK(res1
)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8216 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8218 if (!SWIG_IsOK(res2
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8224 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8226 if (!SWIG_IsOK(ecode3
)) {
8227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8229 arg3
= static_cast< int >(val3
);
8231 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= SWIG_Py_Void();
8241 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
= 0;
8243 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8244 wxNativePixelData
*arg2
= 0 ;
8255 PyObject
* obj0
= 0 ;
8256 PyObject
* obj1
= 0 ;
8257 PyObject
* obj2
= 0 ;
8258 PyObject
* obj3
= 0 ;
8259 char * kwnames
[] = {
8260 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8265 if (!SWIG_IsOK(res1
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8268 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8270 if (!SWIG_IsOK(res2
)) {
8271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8276 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8278 if (!SWIG_IsOK(ecode3
)) {
8279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8281 arg3
= static_cast< int >(val3
);
8282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8283 if (!SWIG_IsOK(ecode4
)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8286 arg4
= static_cast< int >(val4
);
8288 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= SWIG_Py_Void();
8298 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
= 0;
8300 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8306 unsigned char val2
;
8308 unsigned char val3
;
8310 unsigned char val4
;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8314 PyObject
* obj2
= 0 ;
8315 PyObject
* obj3
= 0 ;
8316 char * kwnames
[] = {
8317 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8322 if (!SWIG_IsOK(res1
)) {
8323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8325 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8326 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8327 if (!SWIG_IsOK(ecode2
)) {
8328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8330 arg2
= static_cast< byte
>(val2
);
8331 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8332 if (!SWIG_IsOK(ecode3
)) {
8333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8335 arg3
= static_cast< byte
>(val3
);
8336 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8337 if (!SWIG_IsOK(ecode4
)) {
8338 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8340 arg4
= static_cast< byte
>(val4
);
8342 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_Py_Void();
8352 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8353 PyObject
*resultobj
= 0;
8354 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8355 PyObject
*result
= 0 ;
8358 PyObject
*swig_obj
[1] ;
8360 if (!args
) SWIG_fail
;
8362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8363 if (!SWIG_IsOK(res1
)) {
8364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8366 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8368 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8369 if (PyErr_Occurred()) SWIG_fail
;
8378 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8380 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8381 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8382 return SWIG_Py_Void();
8385 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8386 return SWIG_Python_InitShadowInstance(args
);
8389 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8390 PyObject
*resultobj
= 0;
8391 wxBitmap
*arg1
= 0 ;
8392 wxAlphaPixelData
*result
= 0 ;
8396 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8398 if (!SWIG_IsOK(res1
)) {
8399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8406 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8416 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8417 PyObject
*resultobj
= 0;
8418 wxBitmap
*arg1
= 0 ;
8420 wxAlphaPixelData
*result
= 0 ;
8425 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8427 if (!SWIG_IsOK(res1
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8433 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8436 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8439 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8449 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8450 PyObject
*resultobj
= 0;
8451 wxBitmap
*arg1
= 0 ;
8454 wxAlphaPixelData
*result
= 0 ;
8460 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8462 if (!SWIG_IsOK(res1
)) {
8463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8468 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8471 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8475 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8478 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8488 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8492 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8495 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8498 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8501 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8505 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8510 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8511 PyObject
*resultobj
= 0;
8512 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8515 PyObject
*swig_obj
[1] ;
8517 if (!args
) SWIG_fail
;
8519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8520 if (!SWIG_IsOK(res1
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8523 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= SWIG_Py_Void();
8536 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8537 PyObject
*resultobj
= 0;
8538 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8539 wxAlphaPixelData_Accessor result
;
8542 PyObject
*swig_obj
[1] ;
8544 if (!args
) SWIG_fail
;
8546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8547 if (!SWIG_IsOK(res1
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8550 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8552 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8562 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8563 PyObject
*resultobj
= 0;
8564 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8567 PyObject
*swig_obj
[1] ;
8569 if (!args
) SWIG_fail
;
8571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8572 if (!SWIG_IsOK(res1
)) {
8573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8575 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= SWIG_Py_Void();
8587 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8588 PyObject
*resultobj
= 0;
8589 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8593 PyObject
*swig_obj
[1] ;
8595 if (!args
) SWIG_fail
;
8597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8598 if (!SWIG_IsOK(res1
)) {
8599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8601 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8603 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8615 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8618 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8619 return SWIG_Py_Void();
8622 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8623 return SWIG_Python_InitShadowInstance(args
);
8626 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8627 PyObject
*resultobj
= 0;
8628 wxAlphaPixelData
*arg1
= 0 ;
8629 wxAlphaPixelData_Accessor
*result
= 0 ;
8633 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8635 if (!SWIG_IsOK(res1
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8641 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8643 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8653 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8654 PyObject
*resultobj
= 0;
8655 wxBitmap
*arg1
= 0 ;
8656 wxAlphaPixelData
*arg2
= 0 ;
8657 wxAlphaPixelData_Accessor
*result
= 0 ;
8663 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8665 if (!SWIG_IsOK(res1
)) {
8666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8671 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8672 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8673 if (!SWIG_IsOK(res2
)) {
8674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8679 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8681 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8691 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8692 PyObject
*resultobj
= 0;
8693 wxAlphaPixelData_Accessor
*result
= 0 ;
8695 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8697 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8707 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8711 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8714 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8717 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8720 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8724 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8729 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8730 PyObject
*resultobj
= 0;
8731 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8734 PyObject
*swig_obj
[1] ;
8736 if (!args
) SWIG_fail
;
8738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8739 if (!SWIG_IsOK(res1
)) {
8740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8742 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 resultobj
= SWIG_Py_Void();
8755 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
= 0;
8757 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8758 wxAlphaPixelData
*arg2
= 0 ;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8765 char * kwnames
[] = {
8766 (char *) "self",(char *) "data", NULL
8769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8771 if (!SWIG_IsOK(res1
)) {
8772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8774 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8776 if (!SWIG_IsOK(res2
)) {
8777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8782 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8784 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_Py_Void();
8794 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8795 PyObject
*resultobj
= 0;
8796 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8800 PyObject
*swig_obj
[1] ;
8802 if (!args
) SWIG_fail
;
8804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8805 if (!SWIG_IsOK(res1
)) {
8806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8808 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8810 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8822 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8823 PyObject
*resultobj
= 0;
8824 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8827 PyObject
*swig_obj
[1] ;
8829 if (!args
) SWIG_fail
;
8831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8832 if (!SWIG_IsOK(res1
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8835 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8837 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_Py_Void();
8847 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
= 0;
8849 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8850 wxAlphaPixelData
*arg2
= 0 ;
8861 PyObject
* obj0
= 0 ;
8862 PyObject
* obj1
= 0 ;
8863 PyObject
* obj2
= 0 ;
8864 PyObject
* obj3
= 0 ;
8865 char * kwnames
[] = {
8866 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8871 if (!SWIG_IsOK(res1
)) {
8872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8874 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8876 if (!SWIG_IsOK(res2
)) {
8877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8882 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8883 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8884 if (!SWIG_IsOK(ecode3
)) {
8885 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8887 arg3
= static_cast< int >(val3
);
8888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8889 if (!SWIG_IsOK(ecode4
)) {
8890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8892 arg4
= static_cast< int >(val4
);
8894 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= SWIG_Py_Void();
8904 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
= 0;
8906 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8907 wxAlphaPixelData
*arg2
= 0 ;
8915 PyObject
* obj0
= 0 ;
8916 PyObject
* obj1
= 0 ;
8917 PyObject
* obj2
= 0 ;
8918 char * kwnames
[] = {
8919 (char *) "self",(char *) "data",(char *) "x", NULL
8922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8924 if (!SWIG_IsOK(res1
)) {
8925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8927 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8929 if (!SWIG_IsOK(res2
)) {
8930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8935 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8937 if (!SWIG_IsOK(ecode3
)) {
8938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8940 arg3
= static_cast< int >(val3
);
8942 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= SWIG_Py_Void();
8952 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
= 0;
8954 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8955 wxAlphaPixelData
*arg2
= 0 ;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8966 char * kwnames
[] = {
8967 (char *) "self",(char *) "data",(char *) "y", NULL
8970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8975 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8977 if (!SWIG_IsOK(res2
)) {
8978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8983 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8984 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8985 if (!SWIG_IsOK(ecode3
)) {
8986 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8988 arg3
= static_cast< int >(val3
);
8990 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_Py_Void();
9000 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
= 0;
9002 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9003 wxAlphaPixelData
*arg2
= 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9016 PyObject
* obj2
= 0 ;
9017 PyObject
* obj3
= 0 ;
9018 char * kwnames
[] = {
9019 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
9022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9024 if (!SWIG_IsOK(res1
)) {
9025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9027 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
9029 if (!SWIG_IsOK(res2
)) {
9030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9035 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9037 if (!SWIG_IsOK(ecode3
)) {
9038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9040 arg3
= static_cast< int >(val3
);
9041 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9042 if (!SWIG_IsOK(ecode4
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9045 arg4
= static_cast< int >(val4
);
9047 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_Py_Void();
9057 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
= 0;
9059 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9066 unsigned char val2
;
9068 unsigned char val3
;
9070 unsigned char val4
;
9072 unsigned char val5
;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 PyObject
* obj2
= 0 ;
9077 PyObject
* obj3
= 0 ;
9078 PyObject
* obj4
= 0 ;
9079 char * kwnames
[] = {
9080 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9085 if (!SWIG_IsOK(res1
)) {
9086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9088 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9089 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9090 if (!SWIG_IsOK(ecode2
)) {
9091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9093 arg2
= static_cast< byte
>(val2
);
9094 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9095 if (!SWIG_IsOK(ecode3
)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9098 arg3
= static_cast< byte
>(val3
);
9099 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9100 if (!SWIG_IsOK(ecode4
)) {
9101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9103 arg4
= static_cast< byte
>(val4
);
9104 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9105 if (!SWIG_IsOK(ecode5
)) {
9106 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9108 arg5
= static_cast< byte
>(val5
);
9110 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_Py_Void();
9120 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9121 PyObject
*resultobj
= 0;
9122 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9123 PyObject
*result
= 0 ;
9126 PyObject
*swig_obj
[1] ;
9128 if (!args
) SWIG_fail
;
9130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9131 if (!SWIG_IsOK(res1
)) {
9132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9134 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9136 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9146 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9149 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9150 return SWIG_Py_Void();
9153 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9154 return SWIG_Python_InitShadowInstance(args
);
9157 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
= 0;
9159 wxBitmap
*arg1
= 0 ;
9160 wxColour
const &arg2_defvalue
= wxNullColour
;
9161 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9162 wxMask
*result
= 0 ;
9166 PyObject
* obj0
= 0 ;
9167 PyObject
* obj1
= 0 ;
9168 char * kwnames
[] = {
9169 (char *) "bitmap",(char *) "colour", NULL
9172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9173 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9174 if (!SWIG_IsOK(res1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9180 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9184 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9188 if (!wxPyCheckForApp()) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9201 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9202 PyObject
*resultobj
= 0;
9203 wxMask
*arg1
= (wxMask
*) 0 ;
9206 PyObject
*swig_obj
[1] ;
9208 if (!args
) SWIG_fail
;
9210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9211 if (!SWIG_IsOK(res1
)) {
9212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9214 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 resultobj
= SWIG_Py_Void();
9227 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9230 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9231 return SWIG_Py_Void();
9234 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9235 return SWIG_Python_InitShadowInstance(args
);
9238 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
= 0;
9240 wxString
*arg1
= 0 ;
9242 int arg3
= (int) -1 ;
9243 int arg4
= (int) -1 ;
9244 wxIcon
*result
= 0 ;
9245 bool temp1
= false ;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9254 PyObject
* obj2
= 0 ;
9255 PyObject
* obj3
= 0 ;
9256 char * kwnames
[] = {
9257 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9262 arg1
= wxString_in_helper(obj0
);
9263 if (arg1
== NULL
) SWIG_fail
;
9266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9267 if (!SWIG_IsOK(ecode2
)) {
9268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9270 arg2
= static_cast< wxBitmapType
>(val2
);
9272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9273 if (!SWIG_IsOK(ecode3
)) {
9274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9276 arg3
= static_cast< int >(val3
);
9279 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9280 if (!SWIG_IsOK(ecode4
)) {
9281 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9283 arg4
= static_cast< int >(val4
);
9286 if (!wxPyCheckForApp()) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9307 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9308 PyObject
*resultobj
= 0;
9309 wxIcon
*arg1
= (wxIcon
*) 0 ;
9312 PyObject
*swig_obj
[1] ;
9314 if (!args
) SWIG_fail
;
9316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9317 if (!SWIG_IsOK(res1
)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9320 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= SWIG_Py_Void();
9335 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9336 PyObject
*resultobj
= 0;
9337 wxIcon
*result
= 0 ;
9339 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9341 if (!wxPyCheckForApp()) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (wxIcon
*)new wxIcon();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9354 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
= 0;
9356 wxIconLocation
*arg1
= 0 ;
9357 wxIcon
*result
= 0 ;
9360 PyObject
* obj0
= 0 ;
9361 char * kwnames
[] = {
9362 (char *) "loc", NULL
9365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9366 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9367 if (!SWIG_IsOK(res1
)) {
9368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9373 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9375 if (!wxPyCheckForApp()) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9388 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
= 0;
9390 wxBitmap
*arg1
= 0 ;
9391 wxIcon
*result
= 0 ;
9394 PyObject
* obj0
= 0 ;
9395 char * kwnames
[] = {
9396 (char *) "bmp", NULL
9399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9400 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9401 if (!SWIG_IsOK(res1
)) {
9402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9407 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9409 if (!wxPyCheckForApp()) SWIG_fail
;
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9422 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
= 0;
9424 PyObject
*arg1
= (PyObject
*) 0 ;
9425 wxIcon
*result
= 0 ;
9426 PyObject
* obj0
= 0 ;
9427 char * kwnames
[] = {
9428 (char *) "listOfStrings", NULL
9431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9434 if (!wxPyCheckForApp()) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (wxIcon
*)new_wxIcon(arg1
);
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9447 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
= 0;
9449 wxIcon
*arg1
= (wxIcon
*) 0 ;
9450 wxString
*arg2
= 0 ;
9455 bool temp2
= false ;
9458 PyObject
* obj0
= 0 ;
9459 PyObject
* obj1
= 0 ;
9460 PyObject
* obj2
= 0 ;
9461 char * kwnames
[] = {
9462 (char *) "self",(char *) "name",(char *) "type", NULL
9465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9467 if (!SWIG_IsOK(res1
)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9470 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9472 arg2
= wxString_in_helper(obj1
);
9473 if (arg2
== NULL
) SWIG_fail
;
9476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9477 if (!SWIG_IsOK(ecode3
)) {
9478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9480 arg3
= static_cast< wxBitmapType
>(val3
);
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9504 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9505 PyObject
*resultobj
= 0;
9506 wxIcon
*arg1
= (wxIcon
*) 0 ;
9510 PyObject
*swig_obj
[1] ;
9512 if (!args
) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9518 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (long)(arg1
)->GetHandle();
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 resultobj
= SWIG_From_long(static_cast< long >(result
));
9532 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
= 0;
9534 wxIcon
*arg1
= (wxIcon
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9542 char * kwnames
[] = {
9543 (char *) "self",(char *) "handle", NULL
9546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9548 if (!SWIG_IsOK(res1
)) {
9549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9551 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9552 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9553 if (!SWIG_IsOK(ecode2
)) {
9554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9556 arg2
= static_cast< long >(val2
);
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 wxIcon_SetHandle(arg1
,arg2
);
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= SWIG_Py_Void();
9570 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9571 PyObject
*resultobj
= 0;
9572 wxIcon
*arg1
= (wxIcon
*) 0 ;
9576 PyObject
*swig_obj
[1] ;
9578 if (!args
) SWIG_fail
;
9580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9581 if (!SWIG_IsOK(res1
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9584 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= (bool)(arg1
)->IsOk();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9600 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9601 PyObject
*resultobj
= 0;
9602 wxIcon
*arg1
= (wxIcon
*) 0 ;
9606 PyObject
*swig_obj
[1] ;
9608 if (!args
) SWIG_fail
;
9610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9611 if (!SWIG_IsOK(res1
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9614 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (int)(arg1
)->GetWidth();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_From_int(static_cast< int >(result
));
9628 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9629 PyObject
*resultobj
= 0;
9630 wxIcon
*arg1
= (wxIcon
*) 0 ;
9634 PyObject
*swig_obj
[1] ;
9636 if (!args
) SWIG_fail
;
9638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9639 if (!SWIG_IsOK(res1
)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9642 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (int)(arg1
)->GetHeight();
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= SWIG_From_int(static_cast< int >(result
));
9656 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9657 PyObject
*resultobj
= 0;
9658 wxIcon
*arg1
= (wxIcon
*) 0 ;
9662 PyObject
*swig_obj
[1] ;
9664 if (!args
) SWIG_fail
;
9666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9667 if (!SWIG_IsOK(res1
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9670 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (int)(arg1
)->GetDepth();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= SWIG_From_int(static_cast< int >(result
));
9684 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
= 0;
9686 wxIcon
*arg1
= (wxIcon
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9694 char * kwnames
[] = {
9695 (char *) "self",(char *) "w", NULL
9698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9700 if (!SWIG_IsOK(res1
)) {
9701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9703 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9705 if (!SWIG_IsOK(ecode2
)) {
9706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9708 arg2
= static_cast< int >(val2
);
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 (arg1
)->SetWidth(arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_Py_Void();
9722 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
= 0;
9724 wxIcon
*arg1
= (wxIcon
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9731 PyObject
* obj1
= 0 ;
9732 char * kwnames
[] = {
9733 (char *) "self",(char *) "h", NULL
9736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9738 if (!SWIG_IsOK(res1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9741 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9743 if (!SWIG_IsOK(ecode2
)) {
9744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9746 arg2
= static_cast< int >(val2
);
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 (arg1
)->SetHeight(arg2
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_Py_Void();
9760 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
= 0;
9762 wxIcon
*arg1
= (wxIcon
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 char * kwnames
[] = {
9771 (char *) "self",(char *) "d", NULL
9774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9776 if (!SWIG_IsOK(res1
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9779 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9781 if (!SWIG_IsOK(ecode2
)) {
9782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9784 arg2
= static_cast< int >(val2
);
9786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9787 (arg1
)->SetDepth(arg2
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_Py_Void();
9798 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
= 0;
9800 wxIcon
*arg1
= (wxIcon
*) 0 ;
9805 PyObject
* obj0
= 0 ;
9806 PyObject
* obj1
= 0 ;
9807 char * kwnames
[] = {
9808 (char *) "self",(char *) "size", NULL
9811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9813 if (!SWIG_IsOK(res1
)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9816 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9819 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 (arg1
)->SetSize((wxSize
const &)*arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_Py_Void();
9834 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
= 0;
9836 wxIcon
*arg1
= (wxIcon
*) 0 ;
9837 wxBitmap
*arg2
= 0 ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9844 char * kwnames
[] = {
9845 (char *) "self",(char *) "bmp", NULL
9848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9850 if (!SWIG_IsOK(res1
)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9853 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9855 if (!SWIG_IsOK(res2
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9861 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= SWIG_Py_Void();
9875 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9878 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9879 return SWIG_Py_Void();
9882 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9883 return SWIG_Python_InitShadowInstance(args
);
9886 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
= 0;
9888 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9889 int arg2
= (int) 0 ;
9890 wxIconLocation
*result
= 0 ;
9891 bool temp1
= false ;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9896 char * kwnames
[] = {
9897 (char *) "filename",(char *) "num", NULL
9900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9903 arg1
= wxString_in_helper(obj0
);
9904 if (arg1
== NULL
) SWIG_fail
;
9909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9910 if (!SWIG_IsOK(ecode2
)) {
9911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9913 arg2
= static_cast< int >(val2
);
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9936 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9937 PyObject
*resultobj
= 0;
9938 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9941 PyObject
*swig_obj
[1] ;
9943 if (!args
) SWIG_fail
;
9945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9946 if (!SWIG_IsOK(res1
)) {
9947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9949 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_Py_Void();
9964 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9965 PyObject
*resultobj
= 0;
9966 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9970 PyObject
*swig_obj
[1] ;
9972 if (!args
) SWIG_fail
;
9974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9975 if (!SWIG_IsOK(res1
)) {
9976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9978 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9994 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
= 0;
9996 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9997 wxString
*arg2
= 0 ;
10000 bool temp2
= false ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 char * kwnames
[] = {
10004 (char *) "self",(char *) "filename", NULL
10007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10009 if (!SWIG_IsOK(res1
)) {
10010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10012 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10014 arg2
= wxString_in_helper(obj1
);
10015 if (arg2
== NULL
) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 (arg1
)->SetFileName((wxString
const &)*arg2
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_Py_Void();
10039 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10040 PyObject
*resultobj
= 0;
10041 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10042 wxString
*result
= 0 ;
10045 PyObject
*swig_obj
[1] ;
10047 if (!args
) SWIG_fail
;
10048 swig_obj
[0] = args
;
10049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10050 if (!SWIG_IsOK(res1
)) {
10051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10053 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10058 result
= (wxString
*) &_result_ref
;
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10067 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10076 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= 0;
10078 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char * kwnames
[] = {
10087 (char *) "self",(char *) "num", NULL
10090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10095 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10097 if (!SWIG_IsOK(ecode2
)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10100 arg2
= static_cast< int >(val2
);
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 wxIconLocation_SetIndex(arg1
,arg2
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_Py_Void();
10114 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10120 PyObject
*swig_obj
[1] ;
10122 if (!args
) SWIG_fail
;
10123 swig_obj
[0] = args
;
10124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10128 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)wxIconLocation_GetIndex(arg1
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_From_int(static_cast< int >(result
));
10142 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10145 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10146 return SWIG_Py_Void();
10149 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10150 return SWIG_Python_InitShadowInstance(args
);
10153 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10154 PyObject
*resultobj
= 0;
10155 wxIconBundle
*result
= 0 ;
10157 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 result
= (wxIconBundle
*)new wxIconBundle();
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10171 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
= 0;
10173 wxString
*arg1
= 0 ;
10175 wxIconBundle
*result
= 0 ;
10176 bool temp1
= false ;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 char * kwnames
[] = {
10182 (char *) "file",(char *) "type", NULL
10185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10187 arg1
= wxString_in_helper(obj0
);
10188 if (arg1
== NULL
) SWIG_fail
;
10191 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10192 if (!SWIG_IsOK(ecode2
)) {
10193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10195 arg2
= static_cast< long >(val2
);
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10217 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
= 0;
10220 wxIconBundle
*result
= 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char * kwnames
[] = {
10225 (char *) "icon", NULL
10228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10229 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10230 if (!SWIG_IsOK(res1
)) {
10231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10236 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10250 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10251 PyObject
*resultobj
= 0;
10252 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10255 PyObject
*swig_obj
[1] ;
10257 if (!args
) SWIG_fail
;
10258 swig_obj
[0] = args
;
10259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10260 if (!SWIG_IsOK(res1
)) {
10261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10263 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_Py_Void();
10278 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
= 0;
10280 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 char * kwnames
[] = {
10289 (char *) "self",(char *) "icon", NULL
10292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10294 if (!SWIG_IsOK(res1
)) {
10295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10297 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10299 if (!SWIG_IsOK(res2
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10305 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_Py_Void();
10319 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10320 PyObject
*resultobj
= 0;
10321 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10322 wxString
*arg2
= 0 ;
10326 bool temp2
= false ;
10329 PyObject
* obj0
= 0 ;
10330 PyObject
* obj1
= 0 ;
10331 PyObject
* obj2
= 0 ;
10332 char * kwnames
[] = {
10333 (char *) "self",(char *) "file",(char *) "type", NULL
10336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10338 if (!SWIG_IsOK(res1
)) {
10339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10341 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10343 arg2
= wxString_in_helper(obj1
);
10344 if (arg2
== NULL
) SWIG_fail
;
10347 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10348 if (!SWIG_IsOK(ecode3
)) {
10349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10351 arg3
= static_cast< long >(val3
);
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_Py_Void();
10373 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
= 0;
10375 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10377 wxIcon
*result
= 0 ;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 char * kwnames
[] = {
10384 (char *) "self",(char *) "size", NULL
10387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10389 if (!SWIG_IsOK(res1
)) {
10390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10392 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10395 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10401 result
= (wxIcon
*) &_result_ref
;
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10407 wxIcon
* resultptr
= new wxIcon(*result
);
10408 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10416 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10419 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10420 return SWIG_Py_Void();
10423 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10424 return SWIG_Python_InitShadowInstance(args
);
10427 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
= 0;
10429 wxString
*arg1
= 0 ;
10431 int arg3
= (int) 0 ;
10432 int arg4
= (int) 0 ;
10433 wxCursor
*result
= 0 ;
10434 bool temp1
= false ;
10441 PyObject
* obj0
= 0 ;
10442 PyObject
* obj1
= 0 ;
10443 PyObject
* obj2
= 0 ;
10444 PyObject
* obj3
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10451 arg1
= wxString_in_helper(obj0
);
10452 if (arg1
== NULL
) SWIG_fail
;
10455 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10456 if (!SWIG_IsOK(ecode2
)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10459 arg2
= static_cast< long >(val2
);
10461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10462 if (!SWIG_IsOK(ecode3
)) {
10463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10465 arg3
= static_cast< int >(val3
);
10468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10469 if (!SWIG_IsOK(ecode4
)) {
10470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10472 arg4
= static_cast< int >(val4
);
10475 if (!wxPyCheckForApp()) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10496 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10497 PyObject
*resultobj
= 0;
10498 wxCursor
*arg1
= (wxCursor
*) 0 ;
10501 PyObject
*swig_obj
[1] ;
10503 if (!args
) SWIG_fail
;
10504 swig_obj
[0] = args
;
10505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10506 if (!SWIG_IsOK(res1
)) {
10507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10509 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_Py_Void();
10524 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
*resultobj
= 0;
10527 wxCursor
*result
= 0 ;
10530 PyObject
* obj0
= 0 ;
10531 char * kwnames
[] = {
10532 (char *) "id", NULL
10535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10536 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10537 if (!SWIG_IsOK(ecode1
)) {
10538 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10540 arg1
= static_cast< int >(val1
);
10542 if (!wxPyCheckForApp()) SWIG_fail
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 result
= (wxCursor
*)new wxCursor(arg1
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10555 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
= 0;
10557 wxImage
*arg1
= 0 ;
10558 wxCursor
*result
= 0 ;
10561 PyObject
* obj0
= 0 ;
10562 char * kwnames
[] = {
10563 (char *) "image", NULL
10566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10567 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10568 if (!SWIG_IsOK(res1
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10574 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10576 if (!wxPyCheckForApp()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10589 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10590 PyObject
*resultobj
= 0;
10591 wxCursor
*arg1
= (wxCursor
*) 0 ;
10595 PyObject
*swig_obj
[1] ;
10597 if (!args
) SWIG_fail
;
10598 swig_obj
[0] = args
;
10599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10600 if (!SWIG_IsOK(res1
)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10603 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 result
= (long)(arg1
)->GetHandle();
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= SWIG_From_long(static_cast< long >(result
));
10617 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
= 0;
10619 wxCursor
*arg1
= (wxCursor
*) 0 ;
10625 PyObject
* obj0
= 0 ;
10626 PyObject
* obj1
= 0 ;
10627 char * kwnames
[] = {
10628 (char *) "self",(char *) "handle", NULL
10631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10633 if (!SWIG_IsOK(res1
)) {
10634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10636 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10637 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10638 if (!SWIG_IsOK(ecode2
)) {
10639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10641 arg2
= static_cast< long >(val2
);
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 wxCursor_SetHandle(arg1
,arg2
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= SWIG_Py_Void();
10655 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10656 PyObject
*resultobj
= 0;
10657 wxCursor
*arg1
= (wxCursor
*) 0 ;
10661 PyObject
*swig_obj
[1] ;
10663 if (!args
) SWIG_fail
;
10664 swig_obj
[0] = args
;
10665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10666 if (!SWIG_IsOK(res1
)) {
10667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10669 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (bool)(arg1
)->IsOk();
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10685 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10686 PyObject
*resultobj
= 0;
10687 wxCursor
*arg1
= (wxCursor
*) 0 ;
10691 PyObject
*swig_obj
[1] ;
10693 if (!args
) SWIG_fail
;
10694 swig_obj
[0] = args
;
10695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10699 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 result
= (int)(arg1
)->GetWidth();
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= SWIG_From_int(static_cast< int >(result
));
10713 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10714 PyObject
*resultobj
= 0;
10715 wxCursor
*arg1
= (wxCursor
*) 0 ;
10719 PyObject
*swig_obj
[1] ;
10721 if (!args
) SWIG_fail
;
10722 swig_obj
[0] = args
;
10723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10724 if (!SWIG_IsOK(res1
)) {
10725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10727 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (int)(arg1
)->GetHeight();
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_From_int(static_cast< int >(result
));
10741 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10742 PyObject
*resultobj
= 0;
10743 wxCursor
*arg1
= (wxCursor
*) 0 ;
10747 PyObject
*swig_obj
[1] ;
10749 if (!args
) SWIG_fail
;
10750 swig_obj
[0] = args
;
10751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10752 if (!SWIG_IsOK(res1
)) {
10753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10755 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (int)(arg1
)->GetDepth();
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_From_int(static_cast< int >(result
));
10769 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
= 0;
10771 wxCursor
*arg1
= (wxCursor
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "w", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10788 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10790 if (!SWIG_IsOK(ecode2
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10793 arg2
= static_cast< int >(val2
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetWidth(arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= SWIG_Py_Void();
10807 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxCursor
*arg1
= (wxCursor
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 char * kwnames
[] = {
10818 (char *) "self",(char *) "h", NULL
10821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10823 if (!SWIG_IsOK(res1
)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10826 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10828 if (!SWIG_IsOK(ecode2
)) {
10829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10831 arg2
= static_cast< int >(val2
);
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 (arg1
)->SetHeight(arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_Py_Void();
10845 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
= 0;
10847 wxCursor
*arg1
= (wxCursor
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char * kwnames
[] = {
10856 (char *) "self",(char *) "d", NULL
10859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10861 if (!SWIG_IsOK(res1
)) {
10862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10864 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10866 if (!SWIG_IsOK(ecode2
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10869 arg2
= static_cast< int >(val2
);
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 (arg1
)->SetDepth(arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_Py_Void();
10883 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
= 0;
10885 wxCursor
*arg1
= (wxCursor
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 char * kwnames
[] = {
10893 (char *) "self",(char *) "size", NULL
10896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10898 if (!SWIG_IsOK(res1
)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10901 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10904 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 (arg1
)->SetSize((wxSize
const &)*arg2
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= SWIG_Py_Void();
10919 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10921 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10922 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10923 return SWIG_Py_Void();
10926 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10927 return SWIG_Python_InitShadowInstance(args
);
10930 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
= 0;
10932 int arg1
= (int) 0 ;
10933 int arg2
= (int) 0 ;
10934 int arg3
= (int) 0 ;
10935 int arg4
= (int) 0 ;
10936 wxRegion
*result
= 0 ;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 PyObject
* obj2
= 0 ;
10948 PyObject
* obj3
= 0 ;
10949 char * kwnames
[] = {
10950 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10955 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10956 if (!SWIG_IsOK(ecode1
)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10959 arg1
= static_cast< int >(val1
);
10962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10963 if (!SWIG_IsOK(ecode2
)) {
10964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10966 arg2
= static_cast< int >(val2
);
10969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10970 if (!SWIG_IsOK(ecode3
)) {
10971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10973 arg3
= static_cast< int >(val3
);
10976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10977 if (!SWIG_IsOK(ecode4
)) {
10978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10980 arg4
= static_cast< int >(val4
);
10983 if (!wxPyCheckForApp()) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10996 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
= 0;
10998 wxBitmap
*arg1
= 0 ;
10999 wxRegion
*result
= 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char * kwnames
[] = {
11004 (char *) "bmp", NULL
11007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
11008 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11009 if (!SWIG_IsOK(res1
)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11015 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11017 if (!wxPyCheckForApp()) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11030 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
= 0;
11032 wxBitmap
*arg1
= 0 ;
11033 wxColour
*arg2
= 0 ;
11034 int arg3
= (int) 0 ;
11035 wxRegion
*result
= 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 PyObject
* obj2
= 0 ;
11044 char * kwnames
[] = {
11045 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11049 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11050 if (!SWIG_IsOK(res1
)) {
11051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11056 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11059 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11063 if (!SWIG_IsOK(ecode3
)) {
11064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11066 arg3
= static_cast< int >(val3
);
11069 if (!wxPyCheckForApp()) SWIG_fail
;
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11082 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= 0;
11085 wxPoint
*arg2
= (wxPoint
*) 0 ;
11086 int arg3
= (int) wxWINDING_RULE
;
11087 wxRegion
*result
= 0 ;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 char * kwnames
[] = {
11093 (char *) "points",(char *) "fillStyle", NULL
11096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11098 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11099 if (arg2
== NULL
) SWIG_fail
;
11102 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11103 if (!SWIG_IsOK(ecode3
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11106 arg3
= static_cast< int >(val3
);
11109 if (!wxPyCheckForApp()) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11117 if (arg2
) delete [] arg2
;
11122 if (arg2
) delete [] arg2
;
11128 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11129 PyObject
*resultobj
= 0;
11130 wxRegion
*arg1
= (wxRegion
*) 0 ;
11133 PyObject
*swig_obj
[1] ;
11135 if (!args
) SWIG_fail
;
11136 swig_obj
[0] = args
;
11137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11138 if (!SWIG_IsOK(res1
)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11141 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 wxPyEndAllowThreads(__tstate
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11149 resultobj
= SWIG_Py_Void();
11156 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11157 PyObject
*resultobj
= 0;
11158 wxRegion
*arg1
= (wxRegion
*) 0 ;
11161 PyObject
*swig_obj
[1] ;
11163 if (!args
) SWIG_fail
;
11164 swig_obj
[0] = args
;
11165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11166 if (!SWIG_IsOK(res1
)) {
11167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11169 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= SWIG_Py_Void();
11183 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
= 0;
11185 wxRegion
*arg1
= (wxRegion
*) 0 ;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 PyObject
* obj2
= 0 ;
11198 char * kwnames
[] = {
11199 (char *) "self",(char *) "x",(char *) "y", NULL
11202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11204 if (!SWIG_IsOK(res1
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11207 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11209 if (!SWIG_IsOK(ecode2
)) {
11210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11212 arg2
= static_cast< int >(val2
);
11213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11214 if (!SWIG_IsOK(ecode3
)) {
11215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11217 arg3
= static_cast< int >(val3
);
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11233 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= 0;
11235 wxRegion
*arg1
= (wxRegion
*) 0 ;
11238 wxRegionContain result
;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 PyObject
* obj2
= 0 ;
11248 char * kwnames
[] = {
11249 (char *) "self",(char *) "x",(char *) "y", NULL
11252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11254 if (!SWIG_IsOK(res1
)) {
11255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11257 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11259 if (!SWIG_IsOK(ecode2
)) {
11260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11262 arg2
= static_cast< int >(val2
);
11263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11264 if (!SWIG_IsOK(ecode3
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11267 arg3
= static_cast< int >(val3
);
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= SWIG_From_int(static_cast< int >(result
));
11281 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
= 0;
11283 wxRegion
*arg1
= (wxRegion
*) 0 ;
11284 wxPoint
*arg2
= 0 ;
11285 wxRegionContain result
;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 char * kwnames
[] = {
11292 (char *) "self",(char *) "pt", NULL
11295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11300 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= SWIG_From_int(static_cast< int >(result
));
11318 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
= 0;
11320 wxRegion
*arg1
= (wxRegion
*) 0 ;
11322 wxRegionContain result
;
11326 PyObject
* obj0
= 0 ;
11327 PyObject
* obj1
= 0 ;
11328 char * kwnames
[] = {
11329 (char *) "self",(char *) "rect", NULL
11332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11334 if (!SWIG_IsOK(res1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11337 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11340 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_From_int(static_cast< int >(result
));
11355 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
= 0;
11357 wxRegion
*arg1
= (wxRegion
*) 0 ;
11362 wxRegionContain result
;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 PyObject
* obj2
= 0 ;
11376 PyObject
* obj3
= 0 ;
11377 PyObject
* obj4
= 0 ;
11378 char * kwnames
[] = {
11379 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11384 if (!SWIG_IsOK(res1
)) {
11385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11387 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11389 if (!SWIG_IsOK(ecode2
)) {
11390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11392 arg2
= static_cast< int >(val2
);
11393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11394 if (!SWIG_IsOK(ecode3
)) {
11395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11397 arg3
= static_cast< int >(val3
);
11398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11399 if (!SWIG_IsOK(ecode4
)) {
11400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11402 arg4
= static_cast< int >(val4
);
11403 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11404 if (!SWIG_IsOK(ecode5
)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11407 arg5
= static_cast< int >(val5
);
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= SWIG_From_int(static_cast< int >(result
));
11421 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11422 PyObject
*resultobj
= 0;
11423 wxRegion
*arg1
= (wxRegion
*) 0 ;
11427 PyObject
*swig_obj
[1] ;
11429 if (!args
) SWIG_fail
;
11430 swig_obj
[0] = args
;
11431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11432 if (!SWIG_IsOK(res1
)) {
11433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11435 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (arg1
)->GetBox();
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11449 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
= 0;
11451 wxRegion
*arg1
= (wxRegion
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 PyObject
* obj2
= 0 ;
11470 PyObject
* obj3
= 0 ;
11471 PyObject
* obj4
= 0 ;
11472 char * kwnames
[] = {
11473 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11478 if (!SWIG_IsOK(res1
)) {
11479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11481 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11483 if (!SWIG_IsOK(ecode2
)) {
11484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11486 arg2
= static_cast< int >(val2
);
11487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11488 if (!SWIG_IsOK(ecode3
)) {
11489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11491 arg3
= static_cast< int >(val3
);
11492 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11493 if (!SWIG_IsOK(ecode4
)) {
11494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11496 arg4
= static_cast< int >(val4
);
11497 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11498 if (!SWIG_IsOK(ecode5
)) {
11499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11501 arg5
= static_cast< int >(val5
);
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11517 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
= 0;
11519 wxRegion
*arg1
= (wxRegion
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 char * kwnames
[] = {
11528 (char *) "self",(char *) "rect", NULL
11531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11533 if (!SWIG_IsOK(res1
)) {
11534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11536 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11539 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11556 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
= 0;
11558 wxRegion
*arg1
= (wxRegion
*) 0 ;
11559 wxRegion
*arg2
= 0 ;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 char * kwnames
[] = {
11568 (char *) "self",(char *) "region", NULL
11571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11573 if (!SWIG_IsOK(res1
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11576 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11578 if (!SWIG_IsOK(res2
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11584 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11600 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11601 PyObject
*resultobj
= 0;
11602 wxRegion
*arg1
= (wxRegion
*) 0 ;
11606 PyObject
*swig_obj
[1] ;
11608 if (!args
) SWIG_fail
;
11609 swig_obj
[0] = args
;
11610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11611 if (!SWIG_IsOK(res1
)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11614 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 result
= (bool)(arg1
)->IsEmpty();
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11630 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
= 0;
11632 wxRegion
*arg1
= (wxRegion
*) 0 ;
11633 wxRegion
*arg2
= 0 ;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 char * kwnames
[] = {
11642 (char *) "self",(char *) "region", NULL
11645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11647 if (!SWIG_IsOK(res1
)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11650 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11652 if (!SWIG_IsOK(res2
)) {
11653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11658 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11662 wxPyEndAllowThreads(__tstate
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11674 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11675 PyObject
*resultobj
= 0;
11676 wxRegion
*arg1
= (wxRegion
*) 0 ;
11692 PyObject
* obj0
= 0 ;
11693 PyObject
* obj1
= 0 ;
11694 PyObject
* obj2
= 0 ;
11695 PyObject
* obj3
= 0 ;
11696 PyObject
* obj4
= 0 ;
11697 char * kwnames
[] = {
11698 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11703 if (!SWIG_IsOK(res1
)) {
11704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11706 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11708 if (!SWIG_IsOK(ecode2
)) {
11709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11711 arg2
= static_cast< int >(val2
);
11712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11713 if (!SWIG_IsOK(ecode3
)) {
11714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11716 arg3
= static_cast< int >(val3
);
11717 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11718 if (!SWIG_IsOK(ecode4
)) {
11719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11721 arg4
= static_cast< int >(val4
);
11722 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11723 if (!SWIG_IsOK(ecode5
)) {
11724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11726 arg5
= static_cast< int >(val5
);
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11729 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11742 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
= 0;
11744 wxRegion
*arg1
= (wxRegion
*) 0 ;
11750 PyObject
* obj0
= 0 ;
11751 PyObject
* obj1
= 0 ;
11752 char * kwnames
[] = {
11753 (char *) "self",(char *) "rect", NULL
11756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11758 if (!SWIG_IsOK(res1
)) {
11759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11761 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11764 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11781 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
= 0;
11783 wxRegion
*arg1
= (wxRegion
*) 0 ;
11784 wxRegion
*arg2
= 0 ;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 char * kwnames
[] = {
11793 (char *) "self",(char *) "region", NULL
11796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11798 if (!SWIG_IsOK(res1
)) {
11799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11801 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11803 if (!SWIG_IsOK(res2
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11809 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11825 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
= 0;
11827 wxRegion
*arg1
= (wxRegion
*) 0 ;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 PyObject
* obj2
= 0 ;
11846 PyObject
* obj3
= 0 ;
11847 PyObject
* obj4
= 0 ;
11848 char * kwnames
[] = {
11849 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11854 if (!SWIG_IsOK(res1
)) {
11855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11857 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11859 if (!SWIG_IsOK(ecode2
)) {
11860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11862 arg2
= static_cast< int >(val2
);
11863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11864 if (!SWIG_IsOK(ecode3
)) {
11865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11867 arg3
= static_cast< int >(val3
);
11868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11869 if (!SWIG_IsOK(ecode4
)) {
11870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11872 arg4
= static_cast< int >(val4
);
11873 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11874 if (!SWIG_IsOK(ecode5
)) {
11875 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11877 arg5
= static_cast< int >(val5
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11893 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11894 PyObject
*resultobj
= 0;
11895 wxRegion
*arg1
= (wxRegion
*) 0 ;
11901 PyObject
* obj0
= 0 ;
11902 PyObject
* obj1
= 0 ;
11903 char * kwnames
[] = {
11904 (char *) "self",(char *) "rect", NULL
11907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11909 if (!SWIG_IsOK(res1
)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11912 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11915 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11932 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
= 0;
11934 wxRegion
*arg1
= (wxRegion
*) 0 ;
11935 wxRegion
*arg2
= 0 ;
11941 PyObject
* obj0
= 0 ;
11942 PyObject
* obj1
= 0 ;
11943 char * kwnames
[] = {
11944 (char *) "self",(char *) "region", NULL
11947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11949 if (!SWIG_IsOK(res1
)) {
11950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11952 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11954 if (!SWIG_IsOK(res2
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11960 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11976 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
= 0;
11978 wxRegion
*arg1
= (wxRegion
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 PyObject
* obj2
= 0 ;
11997 PyObject
* obj3
= 0 ;
11998 PyObject
* obj4
= 0 ;
11999 char * kwnames
[] = {
12000 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12005 if (!SWIG_IsOK(res1
)) {
12006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
12008 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12010 if (!SWIG_IsOK(ecode2
)) {
12011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
12013 arg2
= static_cast< int >(val2
);
12014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12015 if (!SWIG_IsOK(ecode3
)) {
12016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
12018 arg3
= static_cast< int >(val3
);
12019 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12020 if (!SWIG_IsOK(ecode4
)) {
12021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
12023 arg4
= static_cast< int >(val4
);
12024 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12025 if (!SWIG_IsOK(ecode5
)) {
12026 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
12028 arg5
= static_cast< int >(val5
);
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12044 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
= 0;
12046 wxRegion
*arg1
= (wxRegion
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char * kwnames
[] = {
12055 (char *) "self",(char *) "rect", NULL
12058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12060 if (!SWIG_IsOK(res1
)) {
12061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12063 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12066 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12083 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
= 0;
12085 wxRegion
*arg1
= (wxRegion
*) 0 ;
12086 wxRegion
*arg2
= 0 ;
12092 PyObject
* obj0
= 0 ;
12093 PyObject
* obj1
= 0 ;
12094 char * kwnames
[] = {
12095 (char *) "self",(char *) "region", NULL
12098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12100 if (!SWIG_IsOK(res1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12103 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12105 if (!SWIG_IsOK(res2
)) {
12106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12111 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12127 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12128 PyObject
*resultobj
= 0;
12129 wxRegion
*arg1
= (wxRegion
*) 0 ;
12130 SwigValueWrapper
<wxBitmap
> result
;
12133 PyObject
*swig_obj
[1] ;
12135 if (!args
) SWIG_fail
;
12136 swig_obj
[0] = args
;
12137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12138 if (!SWIG_IsOK(res1
)) {
12139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12141 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (arg1
)->ConvertToBitmap();
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12155 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
= 0;
12157 wxRegion
*arg1
= (wxRegion
*) 0 ;
12158 wxBitmap
*arg2
= 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char * kwnames
[] = {
12167 (char *) "self",(char *) "bmp", NULL
12170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12175 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12177 if (!SWIG_IsOK(res2
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12183 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12199 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
= 0;
12201 wxRegion
*arg1
= (wxRegion
*) 0 ;
12202 wxBitmap
*arg2
= 0 ;
12203 wxColour
*arg3
= 0 ;
12204 int arg4
= (int) 0 ;
12213 PyObject
* obj0
= 0 ;
12214 PyObject
* obj1
= 0 ;
12215 PyObject
* obj2
= 0 ;
12216 PyObject
* obj3
= 0 ;
12217 char * kwnames
[] = {
12218 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12223 if (!SWIG_IsOK(res1
)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12226 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12227 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12228 if (!SWIG_IsOK(res2
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12234 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12237 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12240 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12241 if (!SWIG_IsOK(ecode4
)) {
12242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12244 arg4
= static_cast< int >(val4
);
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12261 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12264 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12265 return SWIG_Py_Void();
12268 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12269 return SWIG_Python_InitShadowInstance(args
);
12272 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
= 0;
12274 wxRegion
*arg1
= 0 ;
12275 wxRegionIterator
*result
= 0 ;
12278 PyObject
* obj0
= 0 ;
12279 char * kwnames
[] = {
12280 (char *) "region", NULL
12283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12284 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12285 if (!SWIG_IsOK(res1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12289 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12291 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12293 if (!wxPyCheckForApp()) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12306 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12307 PyObject
*resultobj
= 0;
12308 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12311 PyObject
*swig_obj
[1] ;
12313 if (!args
) SWIG_fail
;
12314 swig_obj
[0] = args
;
12315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12316 if (!SWIG_IsOK(res1
)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12319 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_Py_Void();
12334 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12335 PyObject
*resultobj
= 0;
12336 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12340 PyObject
*swig_obj
[1] ;
12342 if (!args
) SWIG_fail
;
12343 swig_obj
[0] = args
;
12344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12348 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (int)(arg1
)->GetX();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_From_int(static_cast< int >(result
));
12362 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12363 PyObject
*resultobj
= 0;
12364 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12368 PyObject
*swig_obj
[1] ;
12370 if (!args
) SWIG_fail
;
12371 swig_obj
[0] = args
;
12372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12376 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12379 result
= (int)(arg1
)->GetY();
12380 wxPyEndAllowThreads(__tstate
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= SWIG_From_int(static_cast< int >(result
));
12390 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12391 PyObject
*resultobj
= 0;
12392 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12396 PyObject
*swig_obj
[1] ;
12398 if (!args
) SWIG_fail
;
12399 swig_obj
[0] = args
;
12400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12401 if (!SWIG_IsOK(res1
)) {
12402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12404 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (int)(arg1
)->GetW();
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 resultobj
= SWIG_From_int(static_cast< int >(result
));
12418 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12419 PyObject
*resultobj
= 0;
12420 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12424 PyObject
*swig_obj
[1] ;
12426 if (!args
) SWIG_fail
;
12427 swig_obj
[0] = args
;
12428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12429 if (!SWIG_IsOK(res1
)) {
12430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12432 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 result
= (int)(arg1
)->GetWidth();
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= SWIG_From_int(static_cast< int >(result
));
12446 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12447 PyObject
*resultobj
= 0;
12448 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12452 PyObject
*swig_obj
[1] ;
12454 if (!args
) SWIG_fail
;
12455 swig_obj
[0] = args
;
12456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12457 if (!SWIG_IsOK(res1
)) {
12458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12460 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (int)(arg1
)->GetH();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_From_int(static_cast< int >(result
));
12474 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12475 PyObject
*resultobj
= 0;
12476 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12480 PyObject
*swig_obj
[1] ;
12482 if (!args
) SWIG_fail
;
12483 swig_obj
[0] = args
;
12484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12485 if (!SWIG_IsOK(res1
)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12488 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (int)(arg1
)->GetHeight();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_From_int(static_cast< int >(result
));
12502 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12503 PyObject
*resultobj
= 0;
12504 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12508 PyObject
*swig_obj
[1] ;
12510 if (!args
) SWIG_fail
;
12511 swig_obj
[0] = args
;
12512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12513 if (!SWIG_IsOK(res1
)) {
12514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12516 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 result
= (arg1
)->GetRect();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12530 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12531 PyObject
*resultobj
= 0;
12532 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12536 PyObject
*swig_obj
[1] ;
12538 if (!args
) SWIG_fail
;
12539 swig_obj
[0] = args
;
12540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12544 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= (bool)(arg1
)->HaveRects();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12560 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12561 PyObject
*resultobj
= 0;
12562 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12565 PyObject
*swig_obj
[1] ;
12567 if (!args
) SWIG_fail
;
12568 swig_obj
[0] = args
;
12569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12570 if (!SWIG_IsOK(res1
)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12573 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_Py_Void();
12587 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12588 PyObject
*resultobj
= 0;
12589 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12592 PyObject
*swig_obj
[1] ;
12594 if (!args
) SWIG_fail
;
12595 swig_obj
[0] = args
;
12596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12597 if (!SWIG_IsOK(res1
)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12600 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 wxRegionIterator_Next(arg1
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= SWIG_Py_Void();
12614 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 PyObject
*resultobj
= 0;
12616 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12620 PyObject
*swig_obj
[1] ;
12622 if (!args
) SWIG_fail
;
12623 swig_obj
[0] = args
;
12624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12628 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12644 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12647 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12648 return SWIG_Py_Void();
12651 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12652 return SWIG_Python_InitShadowInstance(args
);
12655 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12656 PyObject
*resultobj
= 0;
12657 wxNativeFontInfo
*result
= 0 ;
12659 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12673 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12674 PyObject
*resultobj
= 0;
12675 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12678 PyObject
*swig_obj
[1] ;
12680 if (!args
) SWIG_fail
;
12681 swig_obj
[0] = args
;
12682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12683 if (!SWIG_IsOK(res1
)) {
12684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12686 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= SWIG_Py_Void();
12701 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12702 PyObject
*resultobj
= 0;
12703 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12706 PyObject
*swig_obj
[1] ;
12708 if (!args
) SWIG_fail
;
12709 swig_obj
[0] = args
;
12710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12711 if (!SWIG_IsOK(res1
)) {
12712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12714 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 wxPyEndAllowThreads(__tstate
);
12719 if (PyErr_Occurred()) SWIG_fail
;
12721 resultobj
= SWIG_Py_Void();
12728 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
= 0;
12730 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 char * kwnames
[] = {
12739 (char *) "self",(char *) "font", NULL
12742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12744 if (!SWIG_IsOK(res1
)) {
12745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12747 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12749 if (!SWIG_IsOK(res2
)) {
12750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12755 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12758 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= SWIG_Py_Void();
12769 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12770 PyObject
*resultobj
= 0;
12771 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12775 PyObject
*swig_obj
[1] ;
12777 if (!args
) SWIG_fail
;
12778 swig_obj
[0] = args
;
12779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12780 if (!SWIG_IsOK(res1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12783 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= SWIG_From_int(static_cast< int >(result
));
12797 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12798 PyObject
*resultobj
= 0;
12799 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12803 PyObject
*swig_obj
[1] ;
12805 if (!args
) SWIG_fail
;
12806 swig_obj
[0] = args
;
12807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12808 if (!SWIG_IsOK(res1
)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12811 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12825 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12826 PyObject
*resultobj
= 0;
12827 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12828 wxFontStyle result
;
12831 PyObject
*swig_obj
[1] ;
12833 if (!args
) SWIG_fail
;
12834 swig_obj
[0] = args
;
12835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12836 if (!SWIG_IsOK(res1
)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12839 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= SWIG_From_int(static_cast< int >(result
));
12853 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12854 PyObject
*resultobj
= 0;
12855 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12856 wxFontWeight result
;
12859 PyObject
*swig_obj
[1] ;
12861 if (!args
) SWIG_fail
;
12862 swig_obj
[0] = args
;
12863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12864 if (!SWIG_IsOK(res1
)) {
12865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12867 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= SWIG_From_int(static_cast< int >(result
));
12881 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12882 PyObject
*resultobj
= 0;
12883 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12887 PyObject
*swig_obj
[1] ;
12889 if (!args
) SWIG_fail
;
12890 swig_obj
[0] = args
;
12891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12895 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12911 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12912 PyObject
*resultobj
= 0;
12913 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12917 PyObject
*swig_obj
[1] ;
12919 if (!args
) SWIG_fail
;
12920 swig_obj
[0] = args
;
12921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12922 if (!SWIG_IsOK(res1
)) {
12923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12925 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12945 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12946 PyObject
*resultobj
= 0;
12947 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12948 wxFontFamily result
;
12951 PyObject
*swig_obj
[1] ;
12953 if (!args
) SWIG_fail
;
12954 swig_obj
[0] = args
;
12955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12956 if (!SWIG_IsOK(res1
)) {
12957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12959 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_From_int(static_cast< int >(result
));
12973 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12974 PyObject
*resultobj
= 0;
12975 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12976 wxFontEncoding result
;
12979 PyObject
*swig_obj
[1] ;
12981 if (!args
) SWIG_fail
;
12982 swig_obj
[0] = args
;
12983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12984 if (!SWIG_IsOK(res1
)) {
12985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12987 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= SWIG_From_int(static_cast< int >(result
));
13001 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
= 0;
13003 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13009 PyObject
* obj0
= 0 ;
13010 PyObject
* obj1
= 0 ;
13011 char * kwnames
[] = {
13012 (char *) "self",(char *) "pointsize", NULL
13015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13020 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13022 if (!SWIG_IsOK(ecode2
)) {
13023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
13025 arg2
= static_cast< int >(val2
);
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 (arg1
)->SetPointSize(arg2
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= SWIG_Py_Void();
13039 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
= 0;
13041 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char * kwnames
[] = {
13049 (char *) "self",(char *) "pixelSize", NULL
13052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13054 if (!SWIG_IsOK(res1
)) {
13055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13057 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13060 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= SWIG_Py_Void();
13075 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
= 0;
13077 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 char * kwnames
[] = {
13086 (char *) "self",(char *) "style", NULL
13089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13091 if (!SWIG_IsOK(res1
)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13094 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13096 if (!SWIG_IsOK(ecode2
)) {
13097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13099 arg2
= static_cast< wxFontStyle
>(val2
);
13101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13102 (arg1
)->SetStyle(arg2
);
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= SWIG_Py_Void();
13113 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
= 0;
13115 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13116 wxFontWeight arg2
;
13121 PyObject
* obj0
= 0 ;
13122 PyObject
* obj1
= 0 ;
13123 char * kwnames
[] = {
13124 (char *) "self",(char *) "weight", NULL
13127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13129 if (!SWIG_IsOK(res1
)) {
13130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13132 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13134 if (!SWIG_IsOK(ecode2
)) {
13135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13137 arg2
= static_cast< wxFontWeight
>(val2
);
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 (arg1
)->SetWeight(arg2
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= SWIG_Py_Void();
13151 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
= 0;
13153 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 char * kwnames
[] = {
13162 (char *) "self",(char *) "underlined", NULL
13165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13167 if (!SWIG_IsOK(res1
)) {
13168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13170 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13171 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13172 if (!SWIG_IsOK(ecode2
)) {
13173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13175 arg2
= static_cast< bool >(val2
);
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 (arg1
)->SetUnderlined(arg2
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= SWIG_Py_Void();
13189 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
= 0;
13191 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char * kwnames
[] = {
13199 (char *) "self",(char *) "facename", NULL
13202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13204 if (!SWIG_IsOK(res1
)) {
13205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13207 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13209 wxString
* sptr
= wxString_in_helper(obj1
);
13210 if (sptr
== NULL
) SWIG_fail
;
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (bool)(arg1
)->SetFaceName(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13229 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
= 0;
13231 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13232 wxFontFamily arg2
;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 char * kwnames
[] = {
13240 (char *) "self",(char *) "family", NULL
13243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13245 if (!SWIG_IsOK(res1
)) {
13246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13248 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13250 if (!SWIG_IsOK(ecode2
)) {
13251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13253 arg2
= static_cast< wxFontFamily
>(val2
);
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 (arg1
)->SetFamily(arg2
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 resultobj
= SWIG_Py_Void();
13267 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
= 0;
13269 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13270 wxFontEncoding arg2
;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 char * kwnames
[] = {
13278 (char *) "self",(char *) "encoding", NULL
13281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13286 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13288 if (!SWIG_IsOK(ecode2
)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13291 arg2
= static_cast< wxFontEncoding
>(val2
);
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 (arg1
)->SetEncoding(arg2
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_Py_Void();
13305 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
= 0;
13307 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13308 wxString
*arg2
= 0 ;
13312 bool temp2
= false ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 char * kwnames
[] = {
13316 (char *) "self",(char *) "s", NULL
13319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13321 if (!SWIG_IsOK(res1
)) {
13322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13324 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13326 arg2
= wxString_in_helper(obj1
);
13327 if (arg2
== NULL
) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13353 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13354 PyObject
*resultobj
= 0;
13355 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13359 PyObject
*swig_obj
[1] ;
13361 if (!args
) SWIG_fail
;
13362 swig_obj
[0] = args
;
13363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13364 if (!SWIG_IsOK(res1
)) {
13365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13367 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13387 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13388 PyObject
*resultobj
= 0;
13389 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13393 PyObject
*swig_obj
[1] ;
13395 if (!args
) SWIG_fail
;
13396 swig_obj
[0] = args
;
13397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13398 if (!SWIG_IsOK(res1
)) {
13399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13401 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 result
= wxNativeFontInfo___str__(arg1
);
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13421 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
= 0;
13423 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13424 wxString
*arg2
= 0 ;
13428 bool temp2
= false ;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char * kwnames
[] = {
13432 (char *) "self",(char *) "s", NULL
13435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13437 if (!SWIG_IsOK(res1
)) {
13438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13440 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13442 arg2
= wxString_in_helper(obj1
);
13443 if (arg2
== NULL
) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13469 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13470 PyObject
*resultobj
= 0;
13471 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13475 PyObject
*swig_obj
[1] ;
13477 if (!args
) SWIG_fail
;
13478 swig_obj
[0] = args
;
13479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13480 if (!SWIG_IsOK(res1
)) {
13481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13483 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13503 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13506 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13507 return SWIG_Py_Void();
13510 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13511 return SWIG_Python_InitShadowInstance(args
);
13514 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13515 PyObject
*resultobj
= 0;
13516 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13517 wxString
*arg2
= (wxString
*) 0 ;
13520 bool temp2
= false ;
13521 PyObject
*swig_obj
[2] ;
13523 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13525 if (!SWIG_IsOK(res1
)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13528 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13530 arg2
= wxString_in_helper(swig_obj
[1]);
13531 if (arg2
== NULL
) SWIG_fail
;
13534 if (arg1
) (arg1
)->facename
= *arg2
;
13536 resultobj
= SWIG_Py_Void();
13551 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13552 PyObject
*resultobj
= 0;
13553 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13554 wxString
*result
= 0 ;
13557 PyObject
*swig_obj
[1] ;
13559 if (!args
) SWIG_fail
;
13560 swig_obj
[0] = args
;
13561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13562 if (!SWIG_IsOK(res1
)) {
13563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13565 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13566 result
= (wxString
*)& ((arg1
)->facename
);
13569 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13571 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13580 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13581 PyObject
*resultobj
= 0;
13582 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13583 wxFontEncoding arg2
;
13588 PyObject
*swig_obj
[2] ;
13590 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13592 if (!SWIG_IsOK(res1
)) {
13593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13595 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13596 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13597 if (!SWIG_IsOK(ecode2
)) {
13598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13600 arg2
= static_cast< wxFontEncoding
>(val2
);
13601 if (arg1
) (arg1
)->encoding
= arg2
;
13603 resultobj
= SWIG_Py_Void();
13610 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13611 PyObject
*resultobj
= 0;
13612 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13613 wxFontEncoding result
;
13616 PyObject
*swig_obj
[1] ;
13618 if (!args
) SWIG_fail
;
13619 swig_obj
[0] = args
;
13620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13621 if (!SWIG_IsOK(res1
)) {
13622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13624 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13625 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13626 resultobj
= SWIG_From_int(static_cast< int >(result
));
13633 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13634 PyObject
*resultobj
= 0;
13635 wxNativeEncodingInfo
*result
= 0 ;
13637 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13640 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13651 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13652 PyObject
*resultobj
= 0;
13653 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13656 PyObject
*swig_obj
[1] ;
13658 if (!args
) SWIG_fail
;
13659 swig_obj
[0] = args
;
13660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13661 if (!SWIG_IsOK(res1
)) {
13662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13664 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_Py_Void();
13679 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
= 0;
13681 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13682 wxString
*arg2
= 0 ;
13686 bool temp2
= false ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 char * kwnames
[] = {
13690 (char *) "self",(char *) "s", NULL
13693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13695 if (!SWIG_IsOK(res1
)) {
13696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13698 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13700 arg2
= wxString_in_helper(obj1
);
13701 if (arg2
== NULL
) SWIG_fail
;
13705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13706 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13707 wxPyEndAllowThreads(__tstate
);
13708 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13727 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13728 PyObject
*resultobj
= 0;
13729 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13733 PyObject
*swig_obj
[1] ;
13735 if (!args
) SWIG_fail
;
13736 swig_obj
[0] = args
;
13737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13738 if (!SWIG_IsOK(res1
)) {
13739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13741 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13761 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13764 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13765 return SWIG_Py_Void();
13768 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13769 return SWIG_Python_InitShadowInstance(args
);
13772 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
= 0;
13774 wxFontEncoding arg1
;
13775 wxNativeEncodingInfo
*result
= 0 ;
13778 PyObject
* obj0
= 0 ;
13779 char * kwnames
[] = {
13780 (char *) "encoding", NULL
13783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13784 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13785 if (!SWIG_IsOK(ecode1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13788 arg1
= static_cast< wxFontEncoding
>(val1
);
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13802 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13803 PyObject
*resultobj
= 0;
13804 wxNativeEncodingInfo
*arg1
= 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char * kwnames
[] = {
13810 (char *) "info", NULL
13813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13814 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13815 if (!SWIG_IsOK(res1
)) {
13816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13821 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13837 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13838 PyObject
*resultobj
= 0;
13839 wxFontMapper
*result
= 0 ;
13841 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (wxFontMapper
*)new wxFontMapper();
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13855 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13856 PyObject
*resultobj
= 0;
13857 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13860 PyObject
*swig_obj
[1] ;
13862 if (!args
) SWIG_fail
;
13863 swig_obj
[0] = args
;
13864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13865 if (!SWIG_IsOK(res1
)) {
13866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13868 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_Py_Void();
13883 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13884 PyObject
*resultobj
= 0;
13885 wxFontMapper
*result
= 0 ;
13887 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (wxFontMapper
*)wxFontMapper::Get();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13901 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
= 0;
13903 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13904 wxFontMapper
*result
= 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char * kwnames
[] = {
13909 (char *) "mapper", NULL
13912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13914 if (!SWIG_IsOK(res1
)) {
13915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13917 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13931 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13932 PyObject
*resultobj
= 0;
13933 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13934 wxString
*arg2
= 0 ;
13935 bool arg3
= (bool) true ;
13936 wxFontEncoding result
;
13939 bool temp2
= false ;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 PyObject
* obj2
= 0 ;
13945 char * kwnames
[] = {
13946 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13951 if (!SWIG_IsOK(res1
)) {
13952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13954 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13956 arg2
= wxString_in_helper(obj1
);
13957 if (arg2
== NULL
) SWIG_fail
;
13961 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13962 if (!SWIG_IsOK(ecode3
)) {
13963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13965 arg3
= static_cast< bool >(val3
);
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13973 resultobj
= SWIG_From_int(static_cast< int >(result
));
13988 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13989 PyObject
*resultobj
= 0;
13992 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14006 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
= 0;
14009 wxFontEncoding result
;
14012 PyObject
* obj0
= 0 ;
14013 char * kwnames
[] = {
14017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
14018 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
14019 if (!SWIG_IsOK(ecode1
)) {
14020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
14022 arg1
= static_cast< size_t >(val1
);
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_From_int(static_cast< int >(result
));
14036 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
= 0;
14038 wxFontEncoding arg1
;
14042 PyObject
* obj0
= 0 ;
14043 char * kwnames
[] = {
14044 (char *) "encoding", NULL
14047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14049 if (!SWIG_IsOK(ecode1
)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14052 arg1
= static_cast< wxFontEncoding
>(val1
);
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= wxFontMapper::GetEncodingName(arg1
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14072 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
= 0;
14074 wxFontEncoding arg1
;
14078 PyObject
* obj0
= 0 ;
14079 char * kwnames
[] = {
14080 (char *) "encoding", NULL
14083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14084 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14085 if (!SWIG_IsOK(ecode1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14088 arg1
= static_cast< wxFontEncoding
>(val1
);
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= wxFontMapper::GetEncodingDescription(arg1
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14108 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
= 0;
14110 wxString
*arg1
= 0 ;
14111 wxFontEncoding result
;
14112 bool temp1
= false ;
14113 PyObject
* obj0
= 0 ;
14114 char * kwnames
[] = {
14115 (char *) "name", NULL
14118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14120 arg1
= wxString_in_helper(obj0
);
14121 if (arg1
== NULL
) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= SWIG_From_int(static_cast< int >(result
));
14145 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
= 0;
14147 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14148 wxString
*arg2
= 0 ;
14151 bool temp2
= false ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 char * kwnames
[] = {
14155 (char *) "self",(char *) "prefix", NULL
14158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14160 if (!SWIG_IsOK(res1
)) {
14161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14163 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14165 arg2
= wxString_in_helper(obj1
);
14166 if (arg2
== NULL
) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_Py_Void();
14190 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14194 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 result
= wxFontMapper::GetDefaultConfigPath();
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14214 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
= 0;
14216 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14217 wxFontEncoding arg2
;
14218 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14219 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14220 bool arg4
= (bool) true ;
14221 PyObject
*result
= 0 ;
14226 bool temp3
= false ;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 PyObject
* obj2
= 0 ;
14232 PyObject
* obj3
= 0 ;
14233 char * kwnames
[] = {
14234 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14239 if (!SWIG_IsOK(res1
)) {
14240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14242 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14244 if (!SWIG_IsOK(ecode2
)) {
14245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14247 arg2
= static_cast< wxFontEncoding
>(val2
);
14250 arg3
= wxString_in_helper(obj2
);
14251 if (arg3
== NULL
) SWIG_fail
;
14256 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14257 if (!SWIG_IsOK(ecode4
)) {
14258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14260 arg4
= static_cast< bool >(val4
);
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= result
;
14283 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
= 0;
14285 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14286 wxFontEncoding arg2
;
14287 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14288 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14294 bool temp3
= false ;
14295 PyObject
* obj0
= 0 ;
14296 PyObject
* obj1
= 0 ;
14297 PyObject
* obj2
= 0 ;
14298 char * kwnames
[] = {
14299 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14304 if (!SWIG_IsOK(res1
)) {
14305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14307 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14309 if (!SWIG_IsOK(ecode2
)) {
14310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14312 arg2
= static_cast< wxFontEncoding
>(val2
);
14315 arg3
= wxString_in_helper(obj2
);
14316 if (arg3
== NULL
) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14343 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
= 0;
14345 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14346 wxWindow
*arg2
= (wxWindow
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 char * kwnames
[] = {
14354 (char *) "self",(char *) "parent", NULL
14357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14359 if (!SWIG_IsOK(res1
)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14362 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14363 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14364 if (!SWIG_IsOK(res2
)) {
14365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14367 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 (arg1
)->SetDialogParent(arg2
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_Py_Void();
14381 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
= 0;
14383 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14384 wxString
*arg2
= 0 ;
14387 bool temp2
= false ;
14388 PyObject
* obj0
= 0 ;
14389 PyObject
* obj1
= 0 ;
14390 char * kwnames
[] = {
14391 (char *) "self",(char *) "title", NULL
14394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14396 if (!SWIG_IsOK(res1
)) {
14397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14399 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14401 arg2
= wxString_in_helper(obj1
);
14402 if (arg2
== NULL
) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 resultobj
= SWIG_Py_Void();
14426 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14429 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14430 return SWIG_Py_Void();
14433 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14434 return SWIG_Python_InitShadowInstance(args
);
14437 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
= 0;
14443 bool arg5
= (bool) false ;
14444 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14445 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14446 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14447 wxFont
*result
= 0 ;
14458 bool temp6
= false ;
14461 PyObject
* obj0
= 0 ;
14462 PyObject
* obj1
= 0 ;
14463 PyObject
* obj2
= 0 ;
14464 PyObject
* obj3
= 0 ;
14465 PyObject
* obj4
= 0 ;
14466 PyObject
* obj5
= 0 ;
14467 PyObject
* obj6
= 0 ;
14468 char * kwnames
[] = {
14469 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14473 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14474 if (!SWIG_IsOK(ecode1
)) {
14475 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14477 arg1
= static_cast< int >(val1
);
14478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14479 if (!SWIG_IsOK(ecode2
)) {
14480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14482 arg2
= static_cast< int >(val2
);
14483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14484 if (!SWIG_IsOK(ecode3
)) {
14485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14487 arg3
= static_cast< int >(val3
);
14488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14489 if (!SWIG_IsOK(ecode4
)) {
14490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14492 arg4
= static_cast< int >(val4
);
14494 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14495 if (!SWIG_IsOK(ecode5
)) {
14496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14498 arg5
= static_cast< bool >(val5
);
14502 arg6
= wxString_in_helper(obj5
);
14503 if (arg6
== NULL
) SWIG_fail
;
14508 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14509 if (!SWIG_IsOK(ecode7
)) {
14510 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14512 arg7
= static_cast< wxFontEncoding
>(val7
);
14515 if (!wxPyCheckForApp()) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14536 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14537 PyObject
*resultobj
= 0;
14538 wxFont
*arg1
= (wxFont
*) 0 ;
14541 PyObject
*swig_obj
[1] ;
14543 if (!args
) SWIG_fail
;
14544 swig_obj
[0] = args
;
14545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14546 if (!SWIG_IsOK(res1
)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14549 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_Py_Void();
14564 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
= 0;
14566 wxNativeFontInfo
*arg1
= 0 ;
14567 wxFont
*result
= 0 ;
14570 PyObject
* obj0
= 0 ;
14571 char * kwnames
[] = {
14572 (char *) "info", NULL
14575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14576 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14583 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14585 if (!wxPyCheckForApp()) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14598 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
= 0;
14600 wxString
*arg1
= 0 ;
14601 wxFont
*result
= 0 ;
14602 bool temp1
= false ;
14603 PyObject
* obj0
= 0 ;
14604 char * kwnames
[] = {
14605 (char *) "info", NULL
14608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14610 arg1
= wxString_in_helper(obj0
);
14611 if (arg1
== NULL
) SWIG_fail
;
14615 if (!wxPyCheckForApp()) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14636 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
= 0;
14639 wxFontFamily arg2
;
14640 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14641 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14643 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14644 wxFont
*result
= 0 ;
14651 bool temp4
= false ;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 PyObject
* obj2
= 0 ;
14657 PyObject
* obj3
= 0 ;
14658 PyObject
* obj4
= 0 ;
14659 char * kwnames
[] = {
14660 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14664 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14665 if (!SWIG_IsOK(ecode1
)) {
14666 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14668 arg1
= static_cast< int >(val1
);
14669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14670 if (!SWIG_IsOK(ecode2
)) {
14671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14673 arg2
= static_cast< wxFontFamily
>(val2
);
14675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14676 if (!SWIG_IsOK(ecode3
)) {
14677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14679 arg3
= static_cast< int >(val3
);
14683 arg4
= wxString_in_helper(obj3
);
14684 if (arg4
== NULL
) SWIG_fail
;
14689 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14690 if (!SWIG_IsOK(ecode5
)) {
14691 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14693 arg5
= static_cast< wxFontEncoding
>(val5
);
14696 if (!wxPyCheckForApp()) SWIG_fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14717 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
= 0;
14723 bool arg5
= (bool) false ;
14724 wxString
const &arg6_defvalue
= wxEmptyString
;
14725 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14726 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14727 wxFont
*result
= 0 ;
14737 bool temp6
= false ;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 PyObject
* obj2
= 0 ;
14743 PyObject
* obj3
= 0 ;
14744 PyObject
* obj4
= 0 ;
14745 PyObject
* obj5
= 0 ;
14746 PyObject
* obj6
= 0 ;
14747 char * kwnames
[] = {
14748 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14754 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14757 if (!SWIG_IsOK(ecode2
)) {
14758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14760 arg2
= static_cast< int >(val2
);
14761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14762 if (!SWIG_IsOK(ecode3
)) {
14763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14765 arg3
= static_cast< int >(val3
);
14766 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14767 if (!SWIG_IsOK(ecode4
)) {
14768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14770 arg4
= static_cast< int >(val4
);
14772 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14773 if (!SWIG_IsOK(ecode5
)) {
14774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14776 arg5
= static_cast< bool >(val5
);
14780 arg6
= wxString_in_helper(obj5
);
14781 if (arg6
== NULL
) SWIG_fail
;
14786 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14787 if (!SWIG_IsOK(ecode7
)) {
14788 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14790 arg7
= static_cast< wxFontEncoding
>(val7
);
14793 if (!wxPyCheckForApp()) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14814 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
= 0;
14817 wxFontFamily arg2
;
14818 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14819 wxString
const &arg4_defvalue
= wxEmptyString
;
14820 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14821 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14822 wxFont
*result
= 0 ;
14828 bool temp4
= false ;
14831 PyObject
* obj0
= 0 ;
14832 PyObject
* obj1
= 0 ;
14833 PyObject
* obj2
= 0 ;
14834 PyObject
* obj3
= 0 ;
14835 PyObject
* obj4
= 0 ;
14836 char * kwnames
[] = {
14837 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14843 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14846 if (!SWIG_IsOK(ecode2
)) {
14847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14849 arg2
= static_cast< wxFontFamily
>(val2
);
14851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14852 if (!SWIG_IsOK(ecode3
)) {
14853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14855 arg3
= static_cast< int >(val3
);
14859 arg4
= wxString_in_helper(obj3
);
14860 if (arg4
== NULL
) SWIG_fail
;
14865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14866 if (!SWIG_IsOK(ecode5
)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14869 arg5
= static_cast< wxFontEncoding
>(val5
);
14872 if (!wxPyCheckForApp()) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14893 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14894 PyObject
*resultobj
= 0;
14895 wxFont
*arg1
= (wxFont
*) 0 ;
14899 PyObject
*swig_obj
[1] ;
14901 if (!args
) SWIG_fail
;
14902 swig_obj
[0] = args
;
14903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14904 if (!SWIG_IsOK(res1
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14907 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14923 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
= 0;
14925 wxFont
*arg1
= (wxFont
*) 0 ;
14926 wxFont
*arg2
= (wxFont
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char * kwnames
[] = {
14935 (char *) "self",(char *) "other", NULL
14938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14940 if (!SWIG_IsOK(res1
)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14943 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14945 if (!SWIG_IsOK(res2
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14948 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14964 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14965 PyObject
*resultobj
= 0;
14966 wxFont
*arg1
= (wxFont
*) 0 ;
14967 wxFont
*arg2
= (wxFont
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 PyObject
* obj1
= 0 ;
14975 char * kwnames
[] = {
14976 (char *) "self",(char *) "other", NULL
14979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14981 if (!SWIG_IsOK(res1
)) {
14982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14984 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14986 if (!SWIG_IsOK(res2
)) {
14987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14989 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15005 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15006 PyObject
*resultobj
= 0;
15007 wxFont
*arg1
= (wxFont
*) 0 ;
15011 PyObject
*swig_obj
[1] ;
15013 if (!args
) SWIG_fail
;
15014 swig_obj
[0] = args
;
15015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15016 if (!SWIG_IsOK(res1
)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15019 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= SWIG_From_int(static_cast< int >(result
));
15033 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15034 PyObject
*resultobj
= 0;
15035 wxFont
*arg1
= (wxFont
*) 0 ;
15039 PyObject
*swig_obj
[1] ;
15041 if (!args
) SWIG_fail
;
15042 swig_obj
[0] = args
;
15043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15044 if (!SWIG_IsOK(res1
)) {
15045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15047 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15061 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15062 PyObject
*resultobj
= 0;
15063 wxFont
*arg1
= (wxFont
*) 0 ;
15067 PyObject
*swig_obj
[1] ;
15069 if (!args
) SWIG_fail
;
15070 swig_obj
[0] = args
;
15071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15072 if (!SWIG_IsOK(res1
)) {
15073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15075 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15091 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15092 PyObject
*resultobj
= 0;
15093 wxFont
*arg1
= (wxFont
*) 0 ;
15097 PyObject
*swig_obj
[1] ;
15099 if (!args
) SWIG_fail
;
15100 swig_obj
[0] = args
;
15101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15102 if (!SWIG_IsOK(res1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15105 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_From_int(static_cast< int >(result
));
15119 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15120 PyObject
*resultobj
= 0;
15121 wxFont
*arg1
= (wxFont
*) 0 ;
15125 PyObject
*swig_obj
[1] ;
15127 if (!args
) SWIG_fail
;
15128 swig_obj
[0] = args
;
15129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15130 if (!SWIG_IsOK(res1
)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15133 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_From_int(static_cast< int >(result
));
15147 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15148 PyObject
*resultobj
= 0;
15149 wxFont
*arg1
= (wxFont
*) 0 ;
15153 PyObject
*swig_obj
[1] ;
15155 if (!args
) SWIG_fail
;
15156 swig_obj
[0] = args
;
15157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15158 if (!SWIG_IsOK(res1
)) {
15159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15161 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 resultobj
= SWIG_From_int(static_cast< int >(result
));
15175 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15176 PyObject
*resultobj
= 0;
15177 wxFont
*arg1
= (wxFont
*) 0 ;
15181 PyObject
*swig_obj
[1] ;
15183 if (!args
) SWIG_fail
;
15184 swig_obj
[0] = args
;
15185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15186 if (!SWIG_IsOK(res1
)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15189 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15205 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15206 PyObject
*resultobj
= 0;
15207 wxFont
*arg1
= (wxFont
*) 0 ;
15211 PyObject
*swig_obj
[1] ;
15213 if (!args
) SWIG_fail
;
15214 swig_obj
[0] = args
;
15215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15216 if (!SWIG_IsOK(res1
)) {
15217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15219 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 result
= ((wxFont
const *)arg1
)->GetFaceName();
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15239 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15240 PyObject
*resultobj
= 0;
15241 wxFont
*arg1
= (wxFont
*) 0 ;
15242 wxFontEncoding result
;
15245 PyObject
*swig_obj
[1] ;
15247 if (!args
) SWIG_fail
;
15248 swig_obj
[0] = args
;
15249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15250 if (!SWIG_IsOK(res1
)) {
15251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15253 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_From_int(static_cast< int >(result
));
15267 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15268 PyObject
*resultobj
= 0;
15269 wxFont
*arg1
= (wxFont
*) 0 ;
15270 wxNativeFontInfo
*result
= 0 ;
15273 PyObject
*swig_obj
[1] ;
15275 if (!args
) SWIG_fail
;
15276 swig_obj
[0] = args
;
15277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15278 if (!SWIG_IsOK(res1
)) {
15279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15281 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15295 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15296 PyObject
*resultobj
= 0;
15297 wxFont
*arg1
= (wxFont
*) 0 ;
15301 PyObject
*swig_obj
[1] ;
15303 if (!args
) SWIG_fail
;
15304 swig_obj
[0] = args
;
15305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15306 if (!SWIG_IsOK(res1
)) {
15307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15309 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15325 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15326 PyObject
*resultobj
= 0;
15327 wxFont
*arg1
= (wxFont
*) 0 ;
15331 PyObject
*swig_obj
[1] ;
15333 if (!args
) SWIG_fail
;
15334 swig_obj
[0] = args
;
15335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15336 if (!SWIG_IsOK(res1
)) {
15337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15339 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15359 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15360 PyObject
*resultobj
= 0;
15361 wxFont
*arg1
= (wxFont
*) 0 ;
15365 PyObject
*swig_obj
[1] ;
15367 if (!args
) SWIG_fail
;
15368 swig_obj
[0] = args
;
15369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15370 if (!SWIG_IsOK(res1
)) {
15371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15373 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15377 wxPyEndAllowThreads(__tstate
);
15378 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15384 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15393 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
= 0;
15395 wxFont
*arg1
= (wxFont
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 char * kwnames
[] = {
15404 (char *) "self",(char *) "pointSize", NULL
15407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15409 if (!SWIG_IsOK(res1
)) {
15410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15412 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15414 if (!SWIG_IsOK(ecode2
)) {
15415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15417 arg2
= static_cast< int >(val2
);
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 (arg1
)->SetPointSize(arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_Py_Void();
15431 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
= 0;
15433 wxFont
*arg1
= (wxFont
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char * kwnames
[] = {
15441 (char *) "self",(char *) "pixelSize", NULL
15444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15446 if (!SWIG_IsOK(res1
)) {
15447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15449 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15452 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= SWIG_Py_Void();
15467 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
= 0;
15469 wxFont
*arg1
= (wxFont
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 char * kwnames
[] = {
15478 (char *) "self",(char *) "family", NULL
15481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15483 if (!SWIG_IsOK(res1
)) {
15484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15486 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15488 if (!SWIG_IsOK(ecode2
)) {
15489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15491 arg2
= static_cast< int >(val2
);
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 (arg1
)->SetFamily(arg2
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= SWIG_Py_Void();
15505 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
= 0;
15507 wxFont
*arg1
= (wxFont
*) 0 ;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 char * kwnames
[] = {
15516 (char *) "self",(char *) "style", NULL
15519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15521 if (!SWIG_IsOK(res1
)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15524 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15526 if (!SWIG_IsOK(ecode2
)) {
15527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15529 arg2
= static_cast< int >(val2
);
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 (arg1
)->SetStyle(arg2
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15536 resultobj
= SWIG_Py_Void();
15543 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
= 0;
15545 wxFont
*arg1
= (wxFont
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 PyObject
* obj1
= 0 ;
15553 char * kwnames
[] = {
15554 (char *) "self",(char *) "weight", NULL
15557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15559 if (!SWIG_IsOK(res1
)) {
15560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15562 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15564 if (!SWIG_IsOK(ecode2
)) {
15565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15567 arg2
= static_cast< int >(val2
);
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 (arg1
)->SetWeight(arg2
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= SWIG_Py_Void();
15581 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
= 0;
15583 wxFont
*arg1
= (wxFont
*) 0 ;
15584 wxString
*arg2
= 0 ;
15588 bool temp2
= false ;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 char * kwnames
[] = {
15592 (char *) "self",(char *) "faceName", NULL
15595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15597 if (!SWIG_IsOK(res1
)) {
15598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15600 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15602 arg2
= wxString_in_helper(obj1
);
15603 if (arg2
== NULL
) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15629 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15630 PyObject
*resultobj
= 0;
15631 wxFont
*arg1
= (wxFont
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 char * kwnames
[] = {
15640 (char *) "self",(char *) "underlined", NULL
15643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15645 if (!SWIG_IsOK(res1
)) {
15646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15648 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15649 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15650 if (!SWIG_IsOK(ecode2
)) {
15651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15653 arg2
= static_cast< bool >(val2
);
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 (arg1
)->SetUnderlined(arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_Py_Void();
15667 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
= 0;
15669 wxFont
*arg1
= (wxFont
*) 0 ;
15670 wxFontEncoding arg2
;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 char * kwnames
[] = {
15678 (char *) "self",(char *) "encoding", NULL
15681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15683 if (!SWIG_IsOK(res1
)) {
15684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15686 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15688 if (!SWIG_IsOK(ecode2
)) {
15689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15691 arg2
= static_cast< wxFontEncoding
>(val2
);
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 (arg1
)->SetEncoding(arg2
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= SWIG_Py_Void();
15705 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
= 0;
15707 wxFont
*arg1
= (wxFont
*) 0 ;
15708 wxNativeFontInfo
*arg2
= 0 ;
15713 PyObject
* obj0
= 0 ;
15714 PyObject
* obj1
= 0 ;
15715 char * kwnames
[] = {
15716 (char *) "self",(char *) "info", NULL
15719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15721 if (!SWIG_IsOK(res1
)) {
15722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15724 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15726 if (!SWIG_IsOK(res2
)) {
15727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15732 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 resultobj
= SWIG_Py_Void();
15746 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
= 0;
15748 wxFont
*arg1
= (wxFont
*) 0 ;
15749 wxString
*arg2
= 0 ;
15753 bool temp2
= false ;
15754 PyObject
* obj0
= 0 ;
15755 PyObject
* obj1
= 0 ;
15756 char * kwnames
[] = {
15757 (char *) "self",(char *) "info", NULL
15760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15762 if (!SWIG_IsOK(res1
)) {
15763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15765 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15767 arg2
= wxString_in_helper(obj1
);
15768 if (arg2
== NULL
) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15794 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
= 0;
15796 wxFont
*arg1
= (wxFont
*) 0 ;
15797 wxString
*arg2
= 0 ;
15801 bool temp2
= false ;
15802 PyObject
* obj0
= 0 ;
15803 PyObject
* obj1
= 0 ;
15804 char * kwnames
[] = {
15805 (char *) "self",(char *) "info", NULL
15808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15810 if (!SWIG_IsOK(res1
)) {
15811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15813 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15815 arg2
= wxString_in_helper(obj1
);
15816 if (arg2
== NULL
) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15842 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15843 PyObject
*resultobj
= 0;
15844 wxFont
*arg1
= (wxFont
*) 0 ;
15848 PyObject
*swig_obj
[1] ;
15850 if (!args
) SWIG_fail
;
15851 swig_obj
[0] = args
;
15852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15853 if (!SWIG_IsOK(res1
)) {
15854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15856 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15876 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15877 PyObject
*resultobj
= 0;
15878 wxFont
*arg1
= (wxFont
*) 0 ;
15882 PyObject
*swig_obj
[1] ;
15884 if (!args
) SWIG_fail
;
15885 swig_obj
[0] = args
;
15886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15887 if (!SWIG_IsOK(res1
)) {
15888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15890 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= ((wxFont
const *)arg1
)->GetStyleString();
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15910 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15911 PyObject
*resultobj
= 0;
15912 wxFont
*arg1
= (wxFont
*) 0 ;
15916 PyObject
*swig_obj
[1] ;
15918 if (!args
) SWIG_fail
;
15919 swig_obj
[0] = args
;
15920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15921 if (!SWIG_IsOK(res1
)) {
15922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15924 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= ((wxFont
const *)arg1
)->GetWeightString();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15944 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
= 0;
15946 wxFont
*arg1
= (wxFont
*) 0 ;
15947 bool arg2
= (bool) true ;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 char * kwnames
[] = {
15955 (char *) "self",(char *) "no", NULL
15958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15960 if (!SWIG_IsOK(res1
)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15963 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15965 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15966 if (!SWIG_IsOK(ecode2
)) {
15967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15969 arg2
= static_cast< bool >(val2
);
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 (arg1
)->SetNoAntiAliasing(arg2
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_Py_Void();
15984 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15985 PyObject
*resultobj
= 0;
15986 wxFont
*arg1
= (wxFont
*) 0 ;
15990 PyObject
*swig_obj
[1] ;
15992 if (!args
) SWIG_fail
;
15993 swig_obj
[0] = args
;
15994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15995 if (!SWIG_IsOK(res1
)) {
15996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15998 arg1
= reinterpret_cast< wxFont
* >(argp1
);
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16014 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16015 PyObject
*resultobj
= 0;
16016 wxFontEncoding result
;
16018 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
16020 if (!wxPyCheckForApp()) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= SWIG_From_int(static_cast< int >(result
));
16033 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
= 0;
16035 wxFontEncoding arg1
;
16038 PyObject
* obj0
= 0 ;
16039 char * kwnames
[] = {
16040 (char *) "encoding", NULL
16043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16045 if (!SWIG_IsOK(ecode1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16048 arg1
= static_cast< wxFontEncoding
>(val1
);
16050 if (!wxPyCheckForApp()) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 wxFont::SetDefaultEncoding(arg1
);
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= SWIG_Py_Void();
16063 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16066 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16067 return SWIG_Py_Void();
16070 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16071 return SWIG_Python_InitShadowInstance(args
);
16074 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16075 PyObject
*resultobj
= 0;
16076 wxPyFontEnumerator
*result
= 0 ;
16078 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16080 if (!wxPyCheckForApp()) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16093 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16094 PyObject
*resultobj
= 0;
16095 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16098 PyObject
*swig_obj
[1] ;
16100 if (!args
) SWIG_fail
;
16101 swig_obj
[0] = args
;
16102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16103 if (!SWIG_IsOK(res1
)) {
16104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16106 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_Py_Void();
16121 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
= 0;
16123 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16124 PyObject
*arg2
= (PyObject
*) 0 ;
16125 PyObject
*arg3
= (PyObject
*) 0 ;
16126 int arg4
= (int) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 PyObject
* obj2
= 0 ;
16134 PyObject
* obj3
= 0 ;
16135 char * kwnames
[] = {
16136 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16141 if (!SWIG_IsOK(res1
)) {
16142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16144 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16149 if (!SWIG_IsOK(ecode4
)) {
16150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16152 arg4
= static_cast< int >(val4
);
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= SWIG_Py_Void();
16167 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
= 0;
16169 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16170 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16171 bool arg3
= (bool) false ;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 PyObject
* obj2
= 0 ;
16182 char * kwnames
[] = {
16183 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16188 if (!SWIG_IsOK(res1
)) {
16189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16191 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16194 if (!SWIG_IsOK(ecode2
)) {
16195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16197 arg2
= static_cast< wxFontEncoding
>(val2
);
16200 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16201 if (!SWIG_IsOK(ecode3
)) {
16202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16204 arg3
= static_cast< bool >(val3
);
16207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16208 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16221 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
= 0;
16223 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16224 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16225 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16229 bool temp2
= false ;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 char * kwnames
[] = {
16233 (char *) "self",(char *) "facename", NULL
16236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16238 if (!SWIG_IsOK(res1
)) {
16239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16241 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16244 arg2
= wxString_in_helper(obj1
);
16245 if (arg2
== NULL
) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16272 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16273 PyObject
*resultobj
= 0;
16274 PyObject
*result
= 0 ;
16276 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= result
;
16290 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16291 PyObject
*resultobj
= 0;
16292 PyObject
*result
= 0 ;
16294 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16298 wxPyEndAllowThreads(__tstate
);
16299 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= result
;
16308 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
= 0;
16310 wxString
*arg1
= 0 ;
16312 bool temp1
= false ;
16313 PyObject
* obj0
= 0 ;
16314 char * kwnames
[] = {
16315 (char *) "str", NULL
16318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16320 arg1
= wxString_in_helper(obj0
);
16321 if (arg1
== NULL
) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16347 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16350 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16351 return SWIG_Py_Void();
16354 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16355 return SWIG_Python_InitShadowInstance(args
);
16358 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16359 PyObject
*resultobj
= 0;
16360 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16366 PyObject
*swig_obj
[2] ;
16368 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16370 if (!SWIG_IsOK(res1
)) {
16371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16373 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16374 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16375 if (!SWIG_IsOK(ecode2
)) {
16376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16378 arg2
= static_cast< int >(val2
);
16379 if (arg1
) (arg1
)->Language
= arg2
;
16381 resultobj
= SWIG_Py_Void();
16388 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16389 PyObject
*resultobj
= 0;
16390 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16394 PyObject
*swig_obj
[1] ;
16396 if (!args
) SWIG_fail
;
16397 swig_obj
[0] = args
;
16398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16399 if (!SWIG_IsOK(res1
)) {
16400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16402 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16403 result
= (int) ((arg1
)->Language
);
16404 resultobj
= SWIG_From_int(static_cast< int >(result
));
16411 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16412 PyObject
*resultobj
= 0;
16413 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16414 wxString
*arg2
= (wxString
*) 0 ;
16417 bool temp2
= false ;
16418 PyObject
*swig_obj
[2] ;
16420 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16422 if (!SWIG_IsOK(res1
)) {
16423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16425 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16427 arg2
= wxString_in_helper(swig_obj
[1]);
16428 if (arg2
== NULL
) SWIG_fail
;
16431 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16433 resultobj
= SWIG_Py_Void();
16448 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16449 PyObject
*resultobj
= 0;
16450 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16451 wxString
*result
= 0 ;
16454 PyObject
*swig_obj
[1] ;
16456 if (!args
) SWIG_fail
;
16457 swig_obj
[0] = args
;
16458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16459 if (!SWIG_IsOK(res1
)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16462 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16463 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16466 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16468 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16477 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16478 PyObject
*resultobj
= 0;
16479 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16480 wxString
*arg2
= (wxString
*) 0 ;
16483 bool temp2
= false ;
16484 PyObject
*swig_obj
[2] ;
16486 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16488 if (!SWIG_IsOK(res1
)) {
16489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16491 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16493 arg2
= wxString_in_helper(swig_obj
[1]);
16494 if (arg2
== NULL
) SWIG_fail
;
16497 if (arg1
) (arg1
)->Description
= *arg2
;
16499 resultobj
= SWIG_Py_Void();
16514 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16515 PyObject
*resultobj
= 0;
16516 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16517 wxString
*result
= 0 ;
16520 PyObject
*swig_obj
[1] ;
16522 if (!args
) SWIG_fail
;
16523 swig_obj
[0] = args
;
16524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16525 if (!SWIG_IsOK(res1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16528 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16529 result
= (wxString
*)& ((arg1
)->Description
);
16532 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16534 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16543 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16546 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16547 return SWIG_Py_Void();
16550 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
= 0;
16552 int arg1
= (int) -1 ;
16553 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16554 wxLocale
*result
= 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 char * kwnames
[] = {
16562 (char *) "language",(char *) "flags", NULL
16565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16567 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16568 if (!SWIG_IsOK(ecode1
)) {
16569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16571 arg1
= static_cast< int >(val1
);
16574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16575 if (!SWIG_IsOK(ecode2
)) {
16576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16578 arg2
= static_cast< int >(val2
);
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16593 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16594 PyObject
*resultobj
= 0;
16595 wxLocale
*arg1
= (wxLocale
*) 0 ;
16598 PyObject
*swig_obj
[1] ;
16600 if (!args
) SWIG_fail
;
16601 swig_obj
[0] = args
;
16602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16603 if (!SWIG_IsOK(res1
)) {
16604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16606 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= SWIG_Py_Void();
16621 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
= 0;
16623 wxLocale
*arg1
= (wxLocale
*) 0 ;
16624 wxString
*arg2
= 0 ;
16625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16627 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16628 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16629 bool arg5
= (bool) true ;
16630 bool arg6
= (bool) false ;
16634 bool temp2
= false ;
16635 bool temp3
= false ;
16636 bool temp4
= false ;
16641 PyObject
* obj0
= 0 ;
16642 PyObject
* obj1
= 0 ;
16643 PyObject
* obj2
= 0 ;
16644 PyObject
* obj3
= 0 ;
16645 PyObject
* obj4
= 0 ;
16646 PyObject
* obj5
= 0 ;
16647 char * kwnames
[] = {
16648 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16653 if (!SWIG_IsOK(res1
)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16656 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16658 arg2
= wxString_in_helper(obj1
);
16659 if (arg2
== NULL
) SWIG_fail
;
16664 arg3
= wxString_in_helper(obj2
);
16665 if (arg3
== NULL
) SWIG_fail
;
16671 arg4
= wxString_in_helper(obj3
);
16672 if (arg4
== NULL
) SWIG_fail
;
16677 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16678 if (!SWIG_IsOK(ecode5
)) {
16679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16681 arg5
= static_cast< bool >(val5
);
16684 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16685 if (!SWIG_IsOK(ecode6
)) {
16686 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16688 arg6
= static_cast< bool >(val6
);
16691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16692 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16729 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
= 0;
16731 wxLocale
*arg1
= (wxLocale
*) 0 ;
16732 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16733 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16741 PyObject
* obj0
= 0 ;
16742 PyObject
* obj1
= 0 ;
16743 PyObject
* obj2
= 0 ;
16744 char * kwnames
[] = {
16745 (char *) "self",(char *) "language",(char *) "flags", NULL
16748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16750 if (!SWIG_IsOK(res1
)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16753 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16756 if (!SWIG_IsOK(ecode2
)) {
16757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16759 arg2
= static_cast< int >(val2
);
16762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16763 if (!SWIG_IsOK(ecode3
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16766 arg3
= static_cast< int >(val3
);
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16783 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16784 PyObject
*resultobj
= 0;
16787 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= (int)wxLocale::GetSystemLanguage();
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_From_int(static_cast< int >(result
));
16801 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16802 PyObject
*resultobj
= 0;
16803 wxFontEncoding result
;
16805 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_From_int(static_cast< int >(result
));
16819 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16820 PyObject
*resultobj
= 0;
16823 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= wxLocale::GetSystemEncodingName();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16843 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16844 PyObject
*resultobj
= 0;
16845 wxLocale
*arg1
= (wxLocale
*) 0 ;
16849 PyObject
*swig_obj
[1] ;
16851 if (!args
) SWIG_fail
;
16852 swig_obj
[0] = args
;
16853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16854 if (!SWIG_IsOK(res1
)) {
16855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16857 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16873 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16874 PyObject
*resultobj
= 0;
16875 wxLocale
*arg1
= (wxLocale
*) 0 ;
16879 PyObject
*swig_obj
[1] ;
16881 if (!args
) SWIG_fail
;
16882 swig_obj
[0] = args
;
16883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16884 if (!SWIG_IsOK(res1
)) {
16885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16887 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= ((wxLocale
const *)arg1
)->GetLocale();
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16907 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16908 PyObject
*resultobj
= 0;
16909 wxLocale
*arg1
= (wxLocale
*) 0 ;
16913 PyObject
*swig_obj
[1] ;
16915 if (!args
) SWIG_fail
;
16916 swig_obj
[0] = args
;
16917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16918 if (!SWIG_IsOK(res1
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16921 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= SWIG_From_int(static_cast< int >(result
));
16935 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16936 PyObject
*resultobj
= 0;
16937 wxLocale
*arg1
= (wxLocale
*) 0 ;
16941 PyObject
*swig_obj
[1] ;
16943 if (!args
) SWIG_fail
;
16944 swig_obj
[0] = args
;
16945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16946 if (!SWIG_IsOK(res1
)) {
16947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16949 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 result
= ((wxLocale
const *)arg1
)->GetSysName();
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16969 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16970 PyObject
*resultobj
= 0;
16971 wxLocale
*arg1
= (wxLocale
*) 0 ;
16975 PyObject
*swig_obj
[1] ;
16977 if (!args
) SWIG_fail
;
16978 swig_obj
[0] = args
;
16979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16980 if (!SWIG_IsOK(res1
)) {
16981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16983 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17003 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17004 PyObject
*resultobj
= 0;
17005 wxString
*arg1
= 0 ;
17006 bool temp1
= false ;
17007 PyObject
* obj0
= 0 ;
17008 char * kwnames
[] = {
17009 (char *) "prefix", NULL
17012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
17014 arg1
= wxString_in_helper(obj0
);
17015 if (arg1
== NULL
) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= SWIG_Py_Void();
17039 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
= 0;
17041 wxLocale
*arg1
= (wxLocale
*) 0 ;
17042 wxString
*arg2
= 0 ;
17046 bool temp2
= false ;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "self",(char *) "szDomain", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17058 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17060 arg2
= wxString_in_helper(obj1
);
17061 if (arg2
== NULL
) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17087 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17088 PyObject
*resultobj
= 0;
17093 PyObject
* obj0
= 0 ;
17094 char * kwnames
[] = {
17095 (char *) "lang", NULL
17098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17100 if (!SWIG_IsOK(ecode1
)) {
17101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17103 arg1
= static_cast< int >(val1
);
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (bool)wxLocale::IsAvailable(arg1
);
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17119 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
= 0;
17121 wxLocale
*arg1
= (wxLocale
*) 0 ;
17122 wxString
*arg2
= 0 ;
17126 bool temp2
= false ;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 char * kwnames
[] = {
17130 (char *) "self",(char *) "szDomain", NULL
17133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17135 if (!SWIG_IsOK(res1
)) {
17136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17138 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17140 arg2
= wxString_in_helper(obj1
);
17141 if (arg2
== NULL
) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17167 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
= 0;
17170 wxLanguageInfo
*result
= 0 ;
17173 PyObject
* obj0
= 0 ;
17174 char * kwnames
[] = {
17175 (char *) "lang", NULL
17178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17180 if (!SWIG_IsOK(ecode1
)) {
17181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17183 arg1
= static_cast< int >(val1
);
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17197 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
= 0;
17203 PyObject
* obj0
= 0 ;
17204 char * kwnames
[] = {
17205 (char *) "lang", NULL
17208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17210 if (!SWIG_IsOK(ecode1
)) {
17211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17213 arg1
= static_cast< int >(val1
);
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 result
= wxLocale::GetLanguageName(arg1
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17233 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
= 0;
17235 wxString
*arg1
= 0 ;
17236 wxLanguageInfo
*result
= 0 ;
17237 bool temp1
= false ;
17238 PyObject
* obj0
= 0 ;
17239 char * kwnames
[] = {
17240 (char *) "locale", NULL
17243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17245 arg1
= wxString_in_helper(obj0
);
17246 if (arg1
== NULL
) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17270 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
= 0;
17272 wxLanguageInfo
*arg1
= 0 ;
17275 PyObject
* obj0
= 0 ;
17276 char * kwnames
[] = {
17277 (char *) "info", NULL
17280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17281 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17282 if (!SWIG_IsOK(res1
)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17288 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 resultobj
= SWIG_Py_Void();
17302 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
= 0;
17304 wxLocale
*arg1
= (wxLocale
*) 0 ;
17305 wxString
*arg2
= 0 ;
17306 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17307 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17311 bool temp2
= false ;
17312 bool temp3
= false ;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 PyObject
* obj2
= 0 ;
17316 char * kwnames
[] = {
17317 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17322 if (!SWIG_IsOK(res1
)) {
17323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17325 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17327 arg2
= wxString_in_helper(obj1
);
17328 if (arg2
== NULL
) SWIG_fail
;
17333 arg3
= wxString_in_helper(obj2
);
17334 if (arg3
== NULL
) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17373 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17374 PyObject
*resultobj
= 0;
17375 wxLocale
*arg1
= (wxLocale
*) 0 ;
17376 wxString
*result
= 0 ;
17379 PyObject
*swig_obj
[1] ;
17381 if (!args
) SWIG_fail
;
17382 swig_obj
[0] = args
;
17383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17384 if (!SWIG_IsOK(res1
)) {
17385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17387 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17392 result
= (wxString
*) &_result_ref
;
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17401 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17410 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17413 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17414 return SWIG_Py_Void();
17417 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17418 return SWIG_Python_InitShadowInstance(args
);
17421 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
= 0;
17423 int arg1
= (int) -1 ;
17424 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17425 wxPyLocale
*result
= 0 ;
17430 PyObject
* obj0
= 0 ;
17431 PyObject
* obj1
= 0 ;
17432 char * kwnames
[] = {
17433 (char *) "language",(char *) "flags", NULL
17436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17438 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17439 if (!SWIG_IsOK(ecode1
)) {
17440 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17442 arg1
= static_cast< int >(val1
);
17445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17446 if (!SWIG_IsOK(ecode2
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17449 arg2
= static_cast< int >(val2
);
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17464 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17465 PyObject
*resultobj
= 0;
17466 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17469 PyObject
*swig_obj
[1] ;
17471 if (!args
) SWIG_fail
;
17472 swig_obj
[0] = args
;
17473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17474 if (!SWIG_IsOK(res1
)) {
17475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17477 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= SWIG_Py_Void();
17492 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
= 0;
17494 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17495 PyObject
*arg2
= (PyObject
*) 0 ;
17496 PyObject
*arg3
= (PyObject
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 PyObject
* obj1
= 0 ;
17501 PyObject
* obj2
= 0 ;
17502 char * kwnames
[] = {
17503 (char *) "self",(char *) "self",(char *) "_class", NULL
17506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17508 if (!SWIG_IsOK(res1
)) {
17509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17511 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_Py_Void();
17527 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17530 wxChar
*arg2
= (wxChar
*) 0 ;
17531 wxChar
*arg3
= (wxChar
*) NULL
;
17532 wxChar
*result
= 0 ;
17539 PyObject
* obj0
= 0 ;
17540 PyObject
* obj1
= 0 ;
17541 PyObject
* obj2
= 0 ;
17542 char * kwnames
[] = {
17543 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17548 if (!SWIG_IsOK(res1
)) {
17549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17551 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17553 if (!SWIG_IsOK(res2
)) {
17554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17556 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17558 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17559 if (!SWIG_IsOK(res3
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17562 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17577 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
= 0;
17579 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17580 wxChar
*arg2
= (wxChar
*) 0 ;
17581 wxChar
*arg3
= (wxChar
*) 0 ;
17583 wxChar
*arg5
= (wxChar
*) NULL
;
17584 wxChar
*result
= 0 ;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 PyObject
* obj2
= 0 ;
17598 PyObject
* obj3
= 0 ;
17599 PyObject
* obj4
= 0 ;
17600 char * kwnames
[] = {
17601 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17606 if (!SWIG_IsOK(res1
)) {
17607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17609 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17611 if (!SWIG_IsOK(res2
)) {
17612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17614 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17615 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17616 if (!SWIG_IsOK(res3
)) {
17617 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17619 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17620 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17621 if (!SWIG_IsOK(ecode4
)) {
17622 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17624 arg4
= static_cast< size_t >(val4
);
17626 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17627 if (!SWIG_IsOK(res5
)) {
17628 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17630 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17645 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17648 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17649 return SWIG_Py_Void();
17652 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17653 return SWIG_Python_InitShadowInstance(args
);
17656 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17657 PyObject
*resultobj
= 0;
17658 wxLocale
*result
= 0 ;
17660 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 result
= (wxLocale
*)wxGetLocale();
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17674 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17675 PyObject
*resultobj
= 0;
17676 wxString
*arg1
= 0 ;
17678 bool temp1
= false ;
17680 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17682 arg1
= wxString_in_helper(swig_obj
[0]);
17683 if (arg1
== NULL
) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= wxGetTranslation((wxString
const &)*arg1
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17713 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17714 PyObject
*resultobj
= 0;
17715 wxString
*arg1
= 0 ;
17716 wxString
*arg2
= 0 ;
17718 bool temp1
= false ;
17719 bool temp2
= false ;
17721 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17723 arg1
= wxString_in_helper(swig_obj
[0]);
17724 if (arg1
== NULL
) SWIG_fail
;
17728 arg2
= wxString_in_helper(swig_obj
[1]);
17729 if (arg2
== NULL
) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17767 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17768 PyObject
*resultobj
= 0;
17769 wxString
*arg1
= 0 ;
17770 wxString
*arg2
= 0 ;
17773 bool temp1
= false ;
17774 bool temp2
= false ;
17778 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17780 arg1
= wxString_in_helper(swig_obj
[0]);
17781 if (arg1
== NULL
) SWIG_fail
;
17785 arg2
= wxString_in_helper(swig_obj
[1]);
17786 if (arg2
== NULL
) SWIG_fail
;
17789 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17790 if (!SWIG_IsOK(ecode3
)) {
17791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17793 arg3
= static_cast< size_t >(val3
);
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17797 wxPyEndAllowThreads(__tstate
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17829 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17830 PyObject
*resultobj
= 0;
17831 wxString
*arg1
= 0 ;
17832 wxString
*arg2
= 0 ;
17834 wxString
*arg4
= 0 ;
17836 bool temp1
= false ;
17837 bool temp2
= false ;
17840 bool temp4
= false ;
17842 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17844 arg1
= wxString_in_helper(swig_obj
[0]);
17845 if (arg1
== NULL
) SWIG_fail
;
17849 arg2
= wxString_in_helper(swig_obj
[1]);
17850 if (arg2
== NULL
) SWIG_fail
;
17853 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17854 if (!SWIG_IsOK(ecode3
)) {
17855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17857 arg3
= static_cast< size_t >(val3
);
17859 arg4
= wxString_in_helper(swig_obj
[3]);
17860 if (arg4
== NULL
) SWIG_fail
;
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17906 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17910 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17913 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17916 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17919 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17922 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17926 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17931 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17932 PyObject
*resultobj
= 0;
17933 wxEncodingConverter
*result
= 0 ;
17935 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17949 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17950 PyObject
*resultobj
= 0;
17951 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17954 PyObject
*swig_obj
[1] ;
17956 if (!args
) SWIG_fail
;
17957 swig_obj
[0] = args
;
17958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17959 if (!SWIG_IsOK(res1
)) {
17960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17962 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= SWIG_Py_Void();
17977 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
= 0;
17979 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17980 wxFontEncoding arg2
;
17981 wxFontEncoding arg3
;
17982 int arg4
= (int) wxCONVERT_STRICT
;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 PyObject
* obj2
= 0 ;
17995 PyObject
* obj3
= 0 ;
17996 char * kwnames
[] = {
17997 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
18000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18002 if (!SWIG_IsOK(res1
)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18005 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18007 if (!SWIG_IsOK(ecode2
)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18010 arg2
= static_cast< wxFontEncoding
>(val2
);
18011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18012 if (!SWIG_IsOK(ecode3
)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18015 arg3
= static_cast< wxFontEncoding
>(val3
);
18017 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18018 if (!SWIG_IsOK(ecode4
)) {
18019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
18021 arg4
= static_cast< int >(val4
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18038 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
= 0;
18040 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18041 wxString
*arg2
= 0 ;
18045 bool temp2
= false ;
18046 PyObject
* obj0
= 0 ;
18047 PyObject
* obj1
= 0 ;
18048 char * kwnames
[] = {
18049 (char *) "self",(char *) "input", NULL
18052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18054 if (!SWIG_IsOK(res1
)) {
18055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18057 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18059 arg2
= wxString_in_helper(obj1
);
18060 if (arg2
== NULL
) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18090 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
= 0;
18092 wxFontEncoding arg1
;
18093 int arg2
= (int) wxPLATFORM_CURRENT
;
18094 wxFontEncodingArray result
;
18099 PyObject
* obj0
= 0 ;
18100 PyObject
* obj1
= 0 ;
18101 char * kwnames
[] = {
18102 (char *) "enc",(char *) "platform", NULL
18105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18106 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18107 if (!SWIG_IsOK(ecode1
)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18110 arg1
= static_cast< wxFontEncoding
>(val1
);
18112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18113 if (!SWIG_IsOK(ecode2
)) {
18114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18116 arg2
= static_cast< int >(val2
);
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= PyList_New(0);
18126 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18127 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18128 PyList_Append(resultobj
, number
);
18138 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
= 0;
18140 wxFontEncoding arg1
;
18141 wxFontEncodingArray result
;
18144 PyObject
* obj0
= 0 ;
18145 char * kwnames
[] = {
18146 (char *) "enc", NULL
18149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18150 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18151 if (!SWIG_IsOK(ecode1
)) {
18152 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18154 arg1
= static_cast< wxFontEncoding
>(val1
);
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= PyList_New(0);
18163 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18164 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18165 PyList_Append(resultobj
, number
);
18175 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
= 0;
18177 wxFontEncoding arg1
;
18178 wxFontEncoding arg2
;
18184 PyObject
* obj0
= 0 ;
18185 PyObject
* obj1
= 0 ;
18186 char * kwnames
[] = {
18187 (char *) "encIn",(char *) "encOut", NULL
18190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18191 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18192 if (!SWIG_IsOK(ecode1
)) {
18193 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18195 arg1
= static_cast< wxFontEncoding
>(val1
);
18196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18197 if (!SWIG_IsOK(ecode2
)) {
18198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18200 arg2
= static_cast< wxFontEncoding
>(val2
);
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18216 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18219 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18220 return SWIG_Py_Void();
18223 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18224 return SWIG_Python_InitShadowInstance(args
);
18227 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18228 PyObject
*resultobj
= 0;
18229 wxDC
*arg1
= (wxDC
*) 0 ;
18232 PyObject
*swig_obj
[1] ;
18234 if (!args
) SWIG_fail
;
18235 swig_obj
[0] = args
;
18236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18237 if (!SWIG_IsOK(res1
)) {
18238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 resultobj
= SWIG_Py_Void();
18255 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
= 0;
18257 wxDC
*arg1
= (wxDC
*) 0 ;
18260 wxColour
*arg4
= 0 ;
18261 int arg5
= (int) wxFLOOD_SURFACE
;
18272 PyObject
* obj0
= 0 ;
18273 PyObject
* obj1
= 0 ;
18274 PyObject
* obj2
= 0 ;
18275 PyObject
* obj3
= 0 ;
18276 PyObject
* obj4
= 0 ;
18277 char * kwnames
[] = {
18278 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18288 if (!SWIG_IsOK(ecode2
)) {
18289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18291 arg2
= static_cast< int >(val2
);
18292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18293 if (!SWIG_IsOK(ecode3
)) {
18294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18296 arg3
= static_cast< int >(val3
);
18299 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18302 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18303 if (!SWIG_IsOK(ecode5
)) {
18304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18306 arg5
= static_cast< int >(val5
);
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18323 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
= 0;
18325 wxDC
*arg1
= (wxDC
*) 0 ;
18326 wxPoint
*arg2
= 0 ;
18327 wxColour
*arg3
= 0 ;
18328 int arg4
= (int) wxFLOOD_SURFACE
;
18336 PyObject
* obj0
= 0 ;
18337 PyObject
* obj1
= 0 ;
18338 PyObject
* obj2
= 0 ;
18339 PyObject
* obj3
= 0 ;
18340 char * kwnames
[] = {
18341 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18346 if (!SWIG_IsOK(res1
)) {
18347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18352 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18356 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18360 if (!SWIG_IsOK(ecode4
)) {
18361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18363 arg4
= static_cast< int >(val4
);
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18380 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
= 0;
18382 wxDC
*arg1
= (wxDC
*) 0 ;
18384 wxColour
*arg3
= 0 ;
18385 wxColour
*arg4
= 0 ;
18386 wxPoint
*arg5
= 0 ;
18393 PyObject
* obj0
= 0 ;
18394 PyObject
* obj1
= 0 ;
18395 PyObject
* obj2
= 0 ;
18396 PyObject
* obj3
= 0 ;
18397 PyObject
* obj4
= 0 ;
18398 char * kwnames
[] = {
18399 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18404 if (!SWIG_IsOK(res1
)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18410 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18414 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18418 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18422 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= SWIG_Py_Void();
18437 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
= 0;
18439 wxDC
*arg1
= (wxDC
*) 0 ;
18441 wxColour
*arg3
= 0 ;
18442 wxColour
*arg4
= 0 ;
18443 wxDirection arg5
= (wxDirection
) wxEAST
;
18451 PyObject
* obj0
= 0 ;
18452 PyObject
* obj1
= 0 ;
18453 PyObject
* obj2
= 0 ;
18454 PyObject
* obj3
= 0 ;
18455 PyObject
* obj4
= 0 ;
18456 char * kwnames
[] = {
18457 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18462 if (!SWIG_IsOK(res1
)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18468 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18472 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18476 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18479 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18480 if (!SWIG_IsOK(ecode5
)) {
18481 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18483 arg5
= static_cast< wxDirection
>(val5
);
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_Py_Void();
18498 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
= 0;
18500 wxDC
*arg1
= (wxDC
*) 0 ;
18510 PyObject
* obj0
= 0 ;
18511 PyObject
* obj1
= 0 ;
18512 PyObject
* obj2
= 0 ;
18513 char * kwnames
[] = {
18514 (char *) "self",(char *) "x",(char *) "y", NULL
18517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18519 if (!SWIG_IsOK(res1
)) {
18520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18524 if (!SWIG_IsOK(ecode2
)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18527 arg2
= static_cast< int >(val2
);
18528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18529 if (!SWIG_IsOK(ecode3
)) {
18530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18532 arg3
= static_cast< int >(val3
);
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18546 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
= 0;
18548 wxDC
*arg1
= (wxDC
*) 0 ;
18549 wxPoint
*arg2
= 0 ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 char * kwnames
[] = {
18557 (char *) "self",(char *) "pt", NULL
18560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18583 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
= 0;
18585 wxDC
*arg1
= (wxDC
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 PyObject
* obj1
= 0 ;
18602 PyObject
* obj2
= 0 ;
18603 PyObject
* obj3
= 0 ;
18604 PyObject
* obj4
= 0 ;
18605 char * kwnames
[] = {
18606 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18611 if (!SWIG_IsOK(res1
)) {
18612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18614 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18616 if (!SWIG_IsOK(ecode2
)) {
18617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18619 arg2
= static_cast< int >(val2
);
18620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18621 if (!SWIG_IsOK(ecode3
)) {
18622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18624 arg3
= static_cast< int >(val3
);
18625 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18626 if (!SWIG_IsOK(ecode4
)) {
18627 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18629 arg4
= static_cast< int >(val4
);
18630 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18631 if (!SWIG_IsOK(ecode5
)) {
18632 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18634 arg5
= static_cast< int >(val5
);
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= SWIG_Py_Void();
18648 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
= 0;
18650 wxDC
*arg1
= (wxDC
*) 0 ;
18651 wxPoint
*arg2
= 0 ;
18652 wxPoint
*arg3
= 0 ;
18657 PyObject
* obj0
= 0 ;
18658 PyObject
* obj1
= 0 ;
18659 PyObject
* obj2
= 0 ;
18660 char * kwnames
[] = {
18661 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18666 if (!SWIG_IsOK(res1
)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_Py_Void();
18691 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
= 0;
18693 wxDC
*arg1
= (wxDC
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 PyObject
* obj2
= 0 ;
18705 char * kwnames
[] = {
18706 (char *) "self",(char *) "x",(char *) "y", NULL
18709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18711 if (!SWIG_IsOK(res1
)) {
18712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18716 if (!SWIG_IsOK(ecode2
)) {
18717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18719 arg2
= static_cast< int >(val2
);
18720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18721 if (!SWIG_IsOK(ecode3
)) {
18722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18724 arg3
= static_cast< int >(val3
);
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 (arg1
)->CrossHair(arg2
,arg3
);
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= SWIG_Py_Void();
18738 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
= 0;
18740 wxDC
*arg1
= (wxDC
*) 0 ;
18741 wxPoint
*arg2
= 0 ;
18745 PyObject
* obj0
= 0 ;
18746 PyObject
* obj1
= 0 ;
18747 char * kwnames
[] = {
18748 (char *) "self",(char *) "pt", NULL
18751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18753 if (!SWIG_IsOK(res1
)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_Py_Void();
18774 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
= 0;
18776 wxDC
*arg1
= (wxDC
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 PyObject
* obj1
= 0 ;
18799 PyObject
* obj2
= 0 ;
18800 PyObject
* obj3
= 0 ;
18801 PyObject
* obj4
= 0 ;
18802 PyObject
* obj5
= 0 ;
18803 PyObject
* obj6
= 0 ;
18804 char * kwnames
[] = {
18805 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18810 if (!SWIG_IsOK(res1
)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18813 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18815 if (!SWIG_IsOK(ecode2
)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18818 arg2
= static_cast< int >(val2
);
18819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18820 if (!SWIG_IsOK(ecode3
)) {
18821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18823 arg3
= static_cast< int >(val3
);
18824 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18825 if (!SWIG_IsOK(ecode4
)) {
18826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18828 arg4
= static_cast< int >(val4
);
18829 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18830 if (!SWIG_IsOK(ecode5
)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18833 arg5
= static_cast< int >(val5
);
18834 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18835 if (!SWIG_IsOK(ecode6
)) {
18836 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18838 arg6
= static_cast< int >(val6
);
18839 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18840 if (!SWIG_IsOK(ecode7
)) {
18841 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18843 arg7
= static_cast< int >(val7
);
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= SWIG_Py_Void();
18857 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
= 0;
18859 wxDC
*arg1
= (wxDC
*) 0 ;
18860 wxPoint
*arg2
= 0 ;
18861 wxPoint
*arg3
= 0 ;
18862 wxPoint
*arg4
= 0 ;
18868 PyObject
* obj0
= 0 ;
18869 PyObject
* obj1
= 0 ;
18870 PyObject
* obj2
= 0 ;
18871 PyObject
* obj3
= 0 ;
18872 char * kwnames
[] = {
18873 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18878 if (!SWIG_IsOK(res1
)) {
18879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18884 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18888 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= SWIG_Py_Void();
18907 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
= 0;
18909 wxDC
*arg1
= (wxDC
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 PyObject
* obj2
= 0 ;
18927 PyObject
* obj3
= 0 ;
18928 PyObject
* obj4
= 0 ;
18929 char * kwnames
[] = {
18930 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18935 if (!SWIG_IsOK(res1
)) {
18936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18940 if (!SWIG_IsOK(ecode2
)) {
18941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18943 arg2
= static_cast< int >(val2
);
18944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18945 if (!SWIG_IsOK(ecode3
)) {
18946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18948 arg3
= static_cast< int >(val3
);
18949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18950 if (!SWIG_IsOK(ecode4
)) {
18951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18953 arg4
= static_cast< int >(val4
);
18954 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18955 if (!SWIG_IsOK(ecode5
)) {
18956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18958 arg5
= static_cast< int >(val5
);
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= SWIG_Py_Void();
18972 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
= 0;
18974 wxDC
*arg1
= (wxDC
*) 0 ;
18979 PyObject
* obj0
= 0 ;
18980 PyObject
* obj1
= 0 ;
18981 char * kwnames
[] = {
18982 (char *) "self",(char *) "rect", NULL
18985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18987 if (!SWIG_IsOK(res1
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18993 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 resultobj
= SWIG_Py_Void();
19008 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
= 0;
19010 wxDC
*arg1
= (wxDC
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 PyObject
* obj2
= 0 ;
19034 PyObject
* obj3
= 0 ;
19035 PyObject
* obj4
= 0 ;
19036 PyObject
* obj5
= 0 ;
19037 PyObject
* obj6
= 0 ;
19038 char * kwnames
[] = {
19039 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19044 if (!SWIG_IsOK(res1
)) {
19045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19049 if (!SWIG_IsOK(ecode2
)) {
19050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19052 arg2
= static_cast< int >(val2
);
19053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19054 if (!SWIG_IsOK(ecode3
)) {
19055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19057 arg3
= static_cast< int >(val3
);
19058 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19059 if (!SWIG_IsOK(ecode4
)) {
19060 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19062 arg4
= static_cast< int >(val4
);
19063 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19064 if (!SWIG_IsOK(ecode5
)) {
19065 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19067 arg5
= static_cast< int >(val5
);
19068 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19069 if (!SWIG_IsOK(ecode6
)) {
19070 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19072 arg6
= static_cast< double >(val6
);
19073 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19074 if (!SWIG_IsOK(ecode7
)) {
19075 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19077 arg7
= static_cast< double >(val7
);
19079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= SWIG_Py_Void();
19091 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
= 0;
19093 wxDC
*arg1
= (wxDC
*) 0 ;
19094 wxPoint
*arg2
= 0 ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 PyObject
* obj2
= 0 ;
19109 PyObject
* obj3
= 0 ;
19110 PyObject
* obj4
= 0 ;
19111 char * kwnames
[] = {
19112 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19117 if (!SWIG_IsOK(res1
)) {
19118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19127 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19129 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19130 if (!SWIG_IsOK(ecode4
)) {
19131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19133 arg4
= static_cast< double >(val4
);
19134 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19135 if (!SWIG_IsOK(ecode5
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19138 arg5
= static_cast< double >(val5
);
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_Py_Void();
19152 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
= 0;
19154 wxDC
*arg1
= (wxDC
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 PyObject
* obj2
= 0 ;
19166 char * kwnames
[] = {
19167 (char *) "self",(char *) "x",(char *) "y", NULL
19170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19172 if (!SWIG_IsOK(res1
)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19177 if (!SWIG_IsOK(ecode2
)) {
19178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19180 arg2
= static_cast< int >(val2
);
19181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19182 if (!SWIG_IsOK(ecode3
)) {
19183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19185 arg3
= static_cast< int >(val3
);
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->DrawPoint(arg2
,arg3
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 resultobj
= SWIG_Py_Void();
19199 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= 0;
19201 wxDC
*arg1
= (wxDC
*) 0 ;
19202 wxPoint
*arg2
= 0 ;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char * kwnames
[] = {
19209 (char *) "self",(char *) "pt", NULL
19212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19214 if (!SWIG_IsOK(res1
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= SWIG_Py_Void();
19235 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
= 0;
19237 wxDC
*arg1
= (wxDC
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 PyObject
* obj1
= 0 ;
19254 PyObject
* obj2
= 0 ;
19255 PyObject
* obj3
= 0 ;
19256 PyObject
* obj4
= 0 ;
19257 char * kwnames
[] = {
19258 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19263 if (!SWIG_IsOK(res1
)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19266 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19268 if (!SWIG_IsOK(ecode2
)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19271 arg2
= static_cast< int >(val2
);
19272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19273 if (!SWIG_IsOK(ecode3
)) {
19274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19276 arg3
= static_cast< int >(val3
);
19277 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19278 if (!SWIG_IsOK(ecode4
)) {
19279 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19281 arg4
= static_cast< int >(val4
);
19282 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19283 if (!SWIG_IsOK(ecode5
)) {
19284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19286 arg5
= static_cast< int >(val5
);
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_Py_Void();
19300 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
= 0;
19302 wxDC
*arg1
= (wxDC
*) 0 ;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 char * kwnames
[] = {
19310 (char *) "self",(char *) "rect", NULL
19313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19315 if (!SWIG_IsOK(res1
)) {
19316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19321 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= SWIG_Py_Void();
19336 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
= 0;
19338 wxDC
*arg1
= (wxDC
*) 0 ;
19339 wxPoint
*arg2
= 0 ;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj1
= 0 ;
19347 PyObject
* obj2
= 0 ;
19348 char * kwnames
[] = {
19349 (char *) "self",(char *) "pt",(char *) "sz", NULL
19352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19354 if (!SWIG_IsOK(res1
)) {
19355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19357 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19364 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= SWIG_Py_Void();
19379 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
= 0;
19381 wxDC
*arg1
= (wxDC
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 PyObject
* obj2
= 0 ;
19402 PyObject
* obj3
= 0 ;
19403 PyObject
* obj4
= 0 ;
19404 PyObject
* obj5
= 0 ;
19405 char * kwnames
[] = {
19406 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19416 if (!SWIG_IsOK(ecode2
)) {
19417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19419 arg2
= static_cast< int >(val2
);
19420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19421 if (!SWIG_IsOK(ecode3
)) {
19422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19424 arg3
= static_cast< int >(val3
);
19425 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19426 if (!SWIG_IsOK(ecode4
)) {
19427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19429 arg4
= static_cast< int >(val4
);
19430 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19431 if (!SWIG_IsOK(ecode5
)) {
19432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19434 arg5
= static_cast< int >(val5
);
19435 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19436 if (!SWIG_IsOK(ecode6
)) {
19437 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19439 arg6
= static_cast< double >(val6
);
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= SWIG_Py_Void();
19453 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
= 0;
19455 wxDC
*arg1
= (wxDC
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 PyObject
* obj2
= 0 ;
19466 char * kwnames
[] = {
19467 (char *) "self",(char *) "r",(char *) "radius", NULL
19470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19472 if (!SWIG_IsOK(res1
)) {
19473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19478 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19480 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19481 if (!SWIG_IsOK(ecode3
)) {
19482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19484 arg3
= static_cast< double >(val3
);
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_Py_Void();
19498 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
= 0;
19500 wxDC
*arg1
= (wxDC
*) 0 ;
19501 wxPoint
*arg2
= 0 ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 PyObject
* obj2
= 0 ;
19513 PyObject
* obj3
= 0 ;
19514 char * kwnames
[] = {
19515 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19520 if (!SWIG_IsOK(res1
)) {
19521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19526 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19530 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19532 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19533 if (!SWIG_IsOK(ecode4
)) {
19534 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19536 arg4
= static_cast< double >(val4
);
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19543 resultobj
= SWIG_Py_Void();
19550 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
= 0;
19552 wxDC
*arg1
= (wxDC
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 PyObject
* obj2
= 0 ;
19567 PyObject
* obj3
= 0 ;
19568 char * kwnames
[] = {
19569 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19574 if (!SWIG_IsOK(res1
)) {
19575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19579 if (!SWIG_IsOK(ecode2
)) {
19580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19582 arg2
= static_cast< int >(val2
);
19583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19584 if (!SWIG_IsOK(ecode3
)) {
19585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19587 arg3
= static_cast< int >(val3
);
19588 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19589 if (!SWIG_IsOK(ecode4
)) {
19590 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19592 arg4
= static_cast< int >(val4
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_Py_Void();
19606 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19607 PyObject
*resultobj
= 0;
19608 wxDC
*arg1
= (wxDC
*) 0 ;
19609 wxPoint
*arg2
= 0 ;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 PyObject
* obj2
= 0 ;
19619 char * kwnames
[] = {
19620 (char *) "self",(char *) "pt",(char *) "radius", NULL
19623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19625 if (!SWIG_IsOK(res1
)) {
19626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19628 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19634 if (!SWIG_IsOK(ecode3
)) {
19635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19637 arg3
= static_cast< int >(val3
);
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= SWIG_Py_Void();
19651 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
= 0;
19653 wxDC
*arg1
= (wxDC
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 PyObject
* obj2
= 0 ;
19671 PyObject
* obj3
= 0 ;
19672 PyObject
* obj4
= 0 ;
19673 char * kwnames
[] = {
19674 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19679 if (!SWIG_IsOK(res1
)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19684 if (!SWIG_IsOK(ecode2
)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19687 arg2
= static_cast< int >(val2
);
19688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19689 if (!SWIG_IsOK(ecode3
)) {
19690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19692 arg3
= static_cast< int >(val3
);
19693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19694 if (!SWIG_IsOK(ecode4
)) {
19695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19697 arg4
= static_cast< int >(val4
);
19698 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19699 if (!SWIG_IsOK(ecode5
)) {
19700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19702 arg5
= static_cast< int >(val5
);
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= SWIG_Py_Void();
19716 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
= 0;
19718 wxDC
*arg1
= (wxDC
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 PyObject
* obj1
= 0 ;
19725 char * kwnames
[] = {
19726 (char *) "self",(char *) "rect", NULL
19729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19731 if (!SWIG_IsOK(res1
)) {
19732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19737 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= SWIG_Py_Void();
19752 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
= 0;
19754 wxDC
*arg1
= (wxDC
*) 0 ;
19755 wxPoint
*arg2
= 0 ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 PyObject
* obj2
= 0 ;
19764 char * kwnames
[] = {
19765 (char *) "self",(char *) "pt",(char *) "sz", NULL
19768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19770 if (!SWIG_IsOK(res1
)) {
19771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19780 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= SWIG_Py_Void();
19795 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
= 0;
19797 wxDC
*arg1
= (wxDC
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 PyObject
* obj2
= 0 ;
19812 PyObject
* obj3
= 0 ;
19813 char * kwnames
[] = {
19814 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19819 if (!SWIG_IsOK(res1
)) {
19820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19824 if (!SWIG_IsOK(res2
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19830 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19832 if (!SWIG_IsOK(ecode3
)) {
19833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19835 arg3
= static_cast< int >(val3
);
19836 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19837 if (!SWIG_IsOK(ecode4
)) {
19838 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19840 arg4
= static_cast< int >(val4
);
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_Py_Void();
19854 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
= 0;
19856 wxDC
*arg1
= (wxDC
*) 0 ;
19858 wxPoint
*arg3
= 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 PyObject
* obj2
= 0 ;
19867 char * kwnames
[] = {
19868 (char *) "self",(char *) "icon",(char *) "pt", NULL
19871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19873 if (!SWIG_IsOK(res1
)) {
19874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19878 if (!SWIG_IsOK(res2
)) {
19879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19884 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_Py_Void();
19902 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
= 0;
19904 wxDC
*arg1
= (wxDC
*) 0 ;
19905 wxBitmap
*arg2
= 0 ;
19908 bool arg5
= (bool) false ;
19919 PyObject
* obj0
= 0 ;
19920 PyObject
* obj1
= 0 ;
19921 PyObject
* obj2
= 0 ;
19922 PyObject
* obj3
= 0 ;
19923 PyObject
* obj4
= 0 ;
19924 char * kwnames
[] = {
19925 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19930 if (!SWIG_IsOK(res1
)) {
19931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19935 if (!SWIG_IsOK(res2
)) {
19936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19941 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19943 if (!SWIG_IsOK(ecode3
)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19946 arg3
= static_cast< int >(val3
);
19947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19948 if (!SWIG_IsOK(ecode4
)) {
19949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19951 arg4
= static_cast< int >(val4
);
19953 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19954 if (!SWIG_IsOK(ecode5
)) {
19955 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19957 arg5
= static_cast< bool >(val5
);
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= SWIG_Py_Void();
19972 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
= 0;
19974 wxDC
*arg1
= (wxDC
*) 0 ;
19975 wxBitmap
*arg2
= 0 ;
19976 wxPoint
*arg3
= 0 ;
19977 bool arg4
= (bool) false ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 PyObject
* obj2
= 0 ;
19988 PyObject
* obj3
= 0 ;
19989 char * kwnames
[] = {
19990 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19995 if (!SWIG_IsOK(res1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20000 if (!SWIG_IsOK(res2
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20006 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20012 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20013 if (!SWIG_IsOK(ecode4
)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
20016 arg4
= static_cast< bool >(val4
);
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= SWIG_Py_Void();
20031 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
= 0;
20033 wxDC
*arg1
= (wxDC
*) 0 ;
20034 wxString
*arg2
= 0 ;
20039 bool temp2
= false ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 PyObject
* obj2
= 0 ;
20047 PyObject
* obj3
= 0 ;
20048 char * kwnames
[] = {
20049 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20054 if (!SWIG_IsOK(res1
)) {
20055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20059 arg2
= wxString_in_helper(obj1
);
20060 if (arg2
== NULL
) SWIG_fail
;
20063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20064 if (!SWIG_IsOK(ecode3
)) {
20065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20067 arg3
= static_cast< int >(val3
);
20068 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20069 if (!SWIG_IsOK(ecode4
)) {
20070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20072 arg4
= static_cast< int >(val4
);
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= SWIG_Py_Void();
20094 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= 0;
20096 wxDC
*arg1
= (wxDC
*) 0 ;
20097 wxString
*arg2
= 0 ;
20098 wxPoint
*arg3
= 0 ;
20101 bool temp2
= false ;
20103 PyObject
* obj0
= 0 ;
20104 PyObject
* obj1
= 0 ;
20105 PyObject
* obj2
= 0 ;
20106 char * kwnames
[] = {
20107 (char *) "self",(char *) "text",(char *) "pt", NULL
20110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20117 arg2
= wxString_in_helper(obj1
);
20118 if (arg2
== NULL
) SWIG_fail
;
20123 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= SWIG_Py_Void();
20146 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20147 PyObject
*resultobj
= 0;
20148 wxDC
*arg1
= (wxDC
*) 0 ;
20149 wxString
*arg2
= 0 ;
20155 bool temp2
= false ;
20162 PyObject
* obj0
= 0 ;
20163 PyObject
* obj1
= 0 ;
20164 PyObject
* obj2
= 0 ;
20165 PyObject
* obj3
= 0 ;
20166 PyObject
* obj4
= 0 ;
20167 char * kwnames
[] = {
20168 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20173 if (!SWIG_IsOK(res1
)) {
20174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20178 arg2
= wxString_in_helper(obj1
);
20179 if (arg2
== NULL
) SWIG_fail
;
20182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20183 if (!SWIG_IsOK(ecode3
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20186 arg3
= static_cast< int >(val3
);
20187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20188 if (!SWIG_IsOK(ecode4
)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20191 arg4
= static_cast< int >(val4
);
20192 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20193 if (!SWIG_IsOK(ecode5
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20196 arg5
= static_cast< double >(val5
);
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 resultobj
= SWIG_Py_Void();
20218 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
= 0;
20220 wxDC
*arg1
= (wxDC
*) 0 ;
20221 wxString
*arg2
= 0 ;
20222 wxPoint
*arg3
= 0 ;
20226 bool temp2
= false ;
20230 PyObject
* obj0
= 0 ;
20231 PyObject
* obj1
= 0 ;
20232 PyObject
* obj2
= 0 ;
20233 PyObject
* obj3
= 0 ;
20234 char * kwnames
[] = {
20235 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20240 if (!SWIG_IsOK(res1
)) {
20241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20245 arg2
= wxString_in_helper(obj1
);
20246 if (arg2
== NULL
) SWIG_fail
;
20251 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20253 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20254 if (!SWIG_IsOK(ecode4
)) {
20255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20257 arg4
= static_cast< double >(val4
);
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20264 resultobj
= SWIG_Py_Void();
20279 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
= 0;
20281 wxDC
*arg1
= (wxDC
*) 0 ;
20286 wxDC
*arg6
= (wxDC
*) 0 ;
20289 int arg9
= (int) wxCOPY
;
20290 bool arg10
= (bool) false ;
20291 int arg11
= (int) -1 ;
20292 int arg12
= (int) -1 ;
20318 PyObject
* obj0
= 0 ;
20319 PyObject
* obj1
= 0 ;
20320 PyObject
* obj2
= 0 ;
20321 PyObject
* obj3
= 0 ;
20322 PyObject
* obj4
= 0 ;
20323 PyObject
* obj5
= 0 ;
20324 PyObject
* obj6
= 0 ;
20325 PyObject
* obj7
= 0 ;
20326 PyObject
* obj8
= 0 ;
20327 PyObject
* obj9
= 0 ;
20328 PyObject
* obj10
= 0 ;
20329 PyObject
* obj11
= 0 ;
20330 char * kwnames
[] = {
20331 (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
20334 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
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20341 if (!SWIG_IsOK(ecode2
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20344 arg2
= static_cast< int >(val2
);
20345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20346 if (!SWIG_IsOK(ecode3
)) {
20347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20349 arg3
= static_cast< int >(val3
);
20350 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20351 if (!SWIG_IsOK(ecode4
)) {
20352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20354 arg4
= static_cast< int >(val4
);
20355 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20356 if (!SWIG_IsOK(ecode5
)) {
20357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20359 arg5
= static_cast< int >(val5
);
20360 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20361 if (!SWIG_IsOK(res6
)) {
20362 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20364 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20365 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20366 if (!SWIG_IsOK(ecode7
)) {
20367 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20369 arg7
= static_cast< int >(val7
);
20370 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20371 if (!SWIG_IsOK(ecode8
)) {
20372 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20374 arg8
= static_cast< int >(val8
);
20376 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20377 if (!SWIG_IsOK(ecode9
)) {
20378 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20380 arg9
= static_cast< int >(val9
);
20383 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20384 if (!SWIG_IsOK(ecode10
)) {
20385 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20387 arg10
= static_cast< bool >(val10
);
20390 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20391 if (!SWIG_IsOK(ecode11
)) {
20392 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20394 arg11
= static_cast< int >(val11
);
20397 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20398 if (!SWIG_IsOK(ecode12
)) {
20399 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20401 arg12
= static_cast< int >(val12
);
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20418 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
= 0;
20420 wxDC
*arg1
= (wxDC
*) 0 ;
20421 wxPoint
*arg2
= 0 ;
20423 wxDC
*arg4
= (wxDC
*) 0 ;
20424 wxPoint
*arg5
= 0 ;
20425 int arg6
= (int) wxCOPY
;
20426 bool arg7
= (bool) false ;
20427 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20428 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20442 PyObject
* obj0
= 0 ;
20443 PyObject
* obj1
= 0 ;
20444 PyObject
* obj2
= 0 ;
20445 PyObject
* obj3
= 0 ;
20446 PyObject
* obj4
= 0 ;
20447 PyObject
* obj5
= 0 ;
20448 PyObject
* obj6
= 0 ;
20449 PyObject
* obj7
= 0 ;
20450 char * kwnames
[] = {
20451 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20456 if (!SWIG_IsOK(res1
)) {
20457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20466 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20468 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20469 if (!SWIG_IsOK(res4
)) {
20470 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20472 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20475 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20478 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20479 if (!SWIG_IsOK(ecode6
)) {
20480 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20482 arg6
= static_cast< int >(val6
);
20485 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20486 if (!SWIG_IsOK(ecode7
)) {
20487 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20489 arg7
= static_cast< bool >(val7
);
20494 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20512 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
= 0;
20514 wxDC
*arg1
= (wxDC
*) 0 ;
20515 wxRect
*arg2
= (wxRect
*) NULL
;
20516 SwigValueWrapper
<wxBitmap
> result
;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20523 char * kwnames
[] = {
20524 (char *) "self",(char *) "subrect", NULL
20527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20529 if (!SWIG_IsOK(res1
)) {
20530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20535 if (!SWIG_IsOK(res2
)) {
20536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20538 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20553 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
= 0;
20555 wxDC
*arg1
= (wxDC
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 PyObject
* obj1
= 0 ;
20572 PyObject
* obj2
= 0 ;
20573 PyObject
* obj3
= 0 ;
20574 PyObject
* obj4
= 0 ;
20575 char * kwnames
[] = {
20576 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20581 if (!SWIG_IsOK(res1
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20586 if (!SWIG_IsOK(ecode2
)) {
20587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20589 arg2
= static_cast< int >(val2
);
20590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20591 if (!SWIG_IsOK(ecode3
)) {
20592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20594 arg3
= static_cast< int >(val3
);
20595 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20596 if (!SWIG_IsOK(ecode4
)) {
20597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20599 arg4
= static_cast< int >(val4
);
20600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20601 if (!SWIG_IsOK(ecode5
)) {
20602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20604 arg5
= static_cast< int >(val5
);
20606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20607 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_Py_Void();
20618 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
= 0;
20620 wxDC
*arg1
= (wxDC
*) 0 ;
20621 wxPoint
*arg2
= 0 ;
20627 PyObject
* obj0
= 0 ;
20628 PyObject
* obj1
= 0 ;
20629 PyObject
* obj2
= 0 ;
20630 char * kwnames
[] = {
20631 (char *) "self",(char *) "pt",(char *) "sz", NULL
20634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20636 if (!SWIG_IsOK(res1
)) {
20637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20646 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= SWIG_Py_Void();
20661 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
= 0;
20663 wxDC
*arg1
= (wxDC
*) 0 ;
20664 wxRegion
*arg2
= 0 ;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 char * kwnames
[] = {
20672 (char *) "self",(char *) "region", NULL
20675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20677 if (!SWIG_IsOK(res1
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20682 if (!SWIG_IsOK(res2
)) {
20683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20688 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= SWIG_Py_Void();
20702 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
= 0;
20704 wxDC
*arg1
= (wxDC
*) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 PyObject
* obj1
= 0 ;
20711 char * kwnames
[] = {
20712 (char *) "self",(char *) "rect", NULL
20715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20717 if (!SWIG_IsOK(res1
)) {
20718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20723 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_Py_Void();
20738 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
= 0;
20740 wxDC
*arg1
= (wxDC
*) 0 ;
20742 wxPoint
*arg3
= (wxPoint
*) 0 ;
20743 int arg4
= (int) 0 ;
20744 int arg5
= (int) 0 ;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20753 PyObject
* obj2
= 0 ;
20754 PyObject
* obj3
= 0 ;
20755 char * kwnames
[] = {
20756 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20761 if (!SWIG_IsOK(res1
)) {
20762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20766 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20767 if (arg3
== NULL
) SWIG_fail
;
20770 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20771 if (!SWIG_IsOK(ecode4
)) {
20772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20774 arg4
= static_cast< int >(val4
);
20777 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20778 if (!SWIG_IsOK(ecode5
)) {
20779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20781 arg5
= static_cast< int >(val5
);
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_Py_Void();
20791 if (arg3
) delete [] arg3
;
20796 if (arg3
) delete [] arg3
;
20802 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
= 0;
20804 wxDC
*arg1
= (wxDC
*) 0 ;
20806 wxPoint
*arg3
= (wxPoint
*) 0 ;
20807 int arg4
= (int) 0 ;
20808 int arg5
= (int) 0 ;
20809 int arg6
= (int) wxODDEVEN_RULE
;
20818 PyObject
* obj0
= 0 ;
20819 PyObject
* obj1
= 0 ;
20820 PyObject
* obj2
= 0 ;
20821 PyObject
* obj3
= 0 ;
20822 PyObject
* obj4
= 0 ;
20823 char * kwnames
[] = {
20824 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20829 if (!SWIG_IsOK(res1
)) {
20830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20834 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20835 if (arg3
== NULL
) SWIG_fail
;
20838 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20839 if (!SWIG_IsOK(ecode4
)) {
20840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20842 arg4
= static_cast< int >(val4
);
20845 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20846 if (!SWIG_IsOK(ecode5
)) {
20847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20849 arg5
= static_cast< int >(val5
);
20852 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20853 if (!SWIG_IsOK(ecode6
)) {
20854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20856 arg6
= static_cast< int >(val6
);
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_Py_Void();
20866 if (arg3
) delete [] arg3
;
20871 if (arg3
) delete [] arg3
;
20877 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
= 0;
20879 wxDC
*arg1
= (wxDC
*) 0 ;
20880 wxString
*arg2
= 0 ;
20882 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20883 int arg5
= (int) -1 ;
20886 bool temp2
= false ;
20892 PyObject
* obj0
= 0 ;
20893 PyObject
* obj1
= 0 ;
20894 PyObject
* obj2
= 0 ;
20895 PyObject
* obj3
= 0 ;
20896 PyObject
* obj4
= 0 ;
20897 char * kwnames
[] = {
20898 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20903 if (!SWIG_IsOK(res1
)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20908 arg2
= wxString_in_helper(obj1
);
20909 if (arg2
== NULL
) SWIG_fail
;
20914 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20918 if (!SWIG_IsOK(ecode4
)) {
20919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20921 arg4
= static_cast< int >(val4
);
20924 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20925 if (!SWIG_IsOK(ecode5
)) {
20926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20928 arg5
= static_cast< int >(val5
);
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= SWIG_Py_Void();
20951 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
= 0;
20953 wxDC
*arg1
= (wxDC
*) 0 ;
20954 wxString
*arg2
= 0 ;
20955 wxBitmap
*arg3
= 0 ;
20957 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20958 int arg6
= (int) -1 ;
20962 bool temp2
= false ;
20970 PyObject
* obj0
= 0 ;
20971 PyObject
* obj1
= 0 ;
20972 PyObject
* obj2
= 0 ;
20973 PyObject
* obj3
= 0 ;
20974 PyObject
* obj4
= 0 ;
20975 PyObject
* obj5
= 0 ;
20976 char * kwnames
[] = {
20977 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20982 if (!SWIG_IsOK(res1
)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20985 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20987 arg2
= wxString_in_helper(obj1
);
20988 if (arg2
== NULL
) SWIG_fail
;
20991 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20992 if (!SWIG_IsOK(res3
)) {
20993 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20998 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21001 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21004 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21005 if (!SWIG_IsOK(ecode5
)) {
21006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
21008 arg5
= static_cast< int >(val5
);
21011 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21012 if (!SWIG_IsOK(ecode6
)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
21015 arg6
= static_cast< int >(val6
);
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21038 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
= 0;
21040 wxDC
*arg1
= (wxDC
*) 0 ;
21042 wxPoint
*arg3
= (wxPoint
*) 0 ;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 char * kwnames
[] = {
21048 (char *) "self",(char *) "points", NULL
21051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21053 if (!SWIG_IsOK(res1
)) {
21054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21058 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21059 if (arg3
== NULL
) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 (arg1
)->DrawSpline(arg2
,arg3
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= SWIG_Py_Void();
21069 if (arg3
) delete [] arg3
;
21074 if (arg3
) delete [] arg3
;
21080 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21081 PyObject
*resultobj
= 0;
21082 wxDC
*arg1
= (wxDC
*) 0 ;
21085 PyObject
*swig_obj
[1] ;
21087 if (!args
) SWIG_fail
;
21088 swig_obj
[0] = args
;
21089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21090 if (!SWIG_IsOK(res1
)) {
21091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_Py_Void();
21107 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
= 0;
21109 wxDC
*arg1
= (wxDC
*) 0 ;
21110 wxString
*arg2
= 0 ;
21114 bool temp2
= false ;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 char * kwnames
[] = {
21118 (char *) "self",(char *) "message", NULL
21121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21123 if (!SWIG_IsOK(res1
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21128 arg2
= wxString_in_helper(obj1
);
21129 if (arg2
== NULL
) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21155 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21156 PyObject
*resultobj
= 0;
21157 wxDC
*arg1
= (wxDC
*) 0 ;
21160 PyObject
*swig_obj
[1] ;
21162 if (!args
) SWIG_fail
;
21163 swig_obj
[0] = args
;
21164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21165 if (!SWIG_IsOK(res1
)) {
21166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= SWIG_Py_Void();
21182 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21183 PyObject
*resultobj
= 0;
21184 wxDC
*arg1
= (wxDC
*) 0 ;
21187 PyObject
*swig_obj
[1] ;
21189 if (!args
) SWIG_fail
;
21190 swig_obj
[0] = args
;
21191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21192 if (!SWIG_IsOK(res1
)) {
21193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 (arg1
)->StartPage();
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= SWIG_Py_Void();
21209 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21210 PyObject
*resultobj
= 0;
21211 wxDC
*arg1
= (wxDC
*) 0 ;
21214 PyObject
*swig_obj
[1] ;
21216 if (!args
) SWIG_fail
;
21217 swig_obj
[0] = args
;
21218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_Py_Void();
21236 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
= 0;
21238 wxDC
*arg1
= (wxDC
*) 0 ;
21244 PyObject
* obj0
= 0 ;
21245 PyObject
* obj1
= 0 ;
21246 char * kwnames
[] = {
21247 (char *) "self",(char *) "font", NULL
21250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21252 if (!SWIG_IsOK(res1
)) {
21253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21255 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21257 if (!SWIG_IsOK(res2
)) {
21258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21263 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 (arg1
)->SetFont((wxFont
const &)*arg2
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= SWIG_Py_Void();
21277 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
= 0;
21279 wxDC
*arg1
= (wxDC
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char * kwnames
[] = {
21288 (char *) "self",(char *) "pen", NULL
21291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21293 if (!SWIG_IsOK(res1
)) {
21294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21298 if (!SWIG_IsOK(res2
)) {
21299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21304 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 (arg1
)->SetPen((wxPen
const &)*arg2
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= SWIG_Py_Void();
21318 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
= 0;
21320 wxDC
*arg1
= (wxDC
*) 0 ;
21321 wxBrush
*arg2
= 0 ;
21326 PyObject
* obj0
= 0 ;
21327 PyObject
* obj1
= 0 ;
21328 char * kwnames
[] = {
21329 (char *) "self",(char *) "brush", NULL
21332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21334 if (!SWIG_IsOK(res1
)) {
21335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21339 if (!SWIG_IsOK(res2
)) {
21340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21345 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= SWIG_Py_Void();
21359 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
= 0;
21361 wxDC
*arg1
= (wxDC
*) 0 ;
21362 wxBrush
*arg2
= 0 ;
21367 PyObject
* obj0
= 0 ;
21368 PyObject
* obj1
= 0 ;
21369 char * kwnames
[] = {
21370 (char *) "self",(char *) "brush", NULL
21373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21375 if (!SWIG_IsOK(res1
)) {
21376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21379 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21380 if (!SWIG_IsOK(res2
)) {
21381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21386 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21390 wxPyEndAllowThreads(__tstate
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 resultobj
= SWIG_Py_Void();
21400 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21401 PyObject
*resultobj
= 0;
21402 wxDC
*arg1
= (wxDC
*) 0 ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 char * kwnames
[] = {
21411 (char *) "self",(char *) "mode", NULL
21414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21416 if (!SWIG_IsOK(res1
)) {
21417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21421 if (!SWIG_IsOK(ecode2
)) {
21422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21424 arg2
= static_cast< int >(val2
);
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->SetBackgroundMode(arg2
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_Py_Void();
21438 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
= 0;
21440 wxDC
*arg1
= (wxDC
*) 0 ;
21441 wxPalette
*arg2
= 0 ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 char * kwnames
[] = {
21449 (char *) "self",(char *) "palette", NULL
21452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21454 if (!SWIG_IsOK(res1
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21458 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21459 if (!SWIG_IsOK(res2
)) {
21460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21465 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= SWIG_Py_Void();
21479 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21480 PyObject
*resultobj
= 0;
21481 wxDC
*arg1
= (wxDC
*) 0 ;
21484 PyObject
*swig_obj
[1] ;
21486 if (!args
) SWIG_fail
;
21487 swig_obj
[0] = args
;
21488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21492 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 (arg1
)->DestroyClippingRegion();
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 resultobj
= SWIG_Py_Void();
21506 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21507 PyObject
*resultobj
= 0;
21508 wxDC
*arg1
= (wxDC
*) 0 ;
21509 int *arg2
= (int *) 0 ;
21510 int *arg3
= (int *) 0 ;
21511 int *arg4
= (int *) 0 ;
21512 int *arg5
= (int *) 0 ;
21516 int res2
= SWIG_TMPOBJ
;
21518 int res3
= SWIG_TMPOBJ
;
21520 int res4
= SWIG_TMPOBJ
;
21522 int res5
= SWIG_TMPOBJ
;
21523 PyObject
*swig_obj
[1] ;
21529 if (!args
) SWIG_fail
;
21530 swig_obj
[0] = args
;
21531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21532 if (!SWIG_IsOK(res1
)) {
21533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= SWIG_Py_Void();
21543 if (SWIG_IsTmpObj(res2
)) {
21544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21546 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21549 if (SWIG_IsTmpObj(res3
)) {
21550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21552 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21555 if (SWIG_IsTmpObj(res4
)) {
21556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21558 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21561 if (SWIG_IsTmpObj(res5
)) {
21562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21564 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21573 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21574 PyObject
*resultobj
= 0;
21575 wxDC
*arg1
= (wxDC
*) 0 ;
21579 PyObject
*swig_obj
[1] ;
21581 if (!args
) SWIG_fail
;
21582 swig_obj
[0] = args
;
21583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21584 if (!SWIG_IsOK(res1
)) {
21585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21587 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= wxDC_GetClippingRect(arg1
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21601 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21602 PyObject
*resultobj
= 0;
21603 wxDC
*arg1
= (wxDC
*) 0 ;
21607 PyObject
*swig_obj
[1] ;
21609 if (!args
) SWIG_fail
;
21610 swig_obj
[0] = args
;
21611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21612 if (!SWIG_IsOK(res1
)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= SWIG_From_int(static_cast< int >(result
));
21629 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21630 PyObject
*resultobj
= 0;
21631 wxDC
*arg1
= (wxDC
*) 0 ;
21635 PyObject
*swig_obj
[1] ;
21637 if (!args
) SWIG_fail
;
21638 swig_obj
[0] = args
;
21639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_From_int(static_cast< int >(result
));
21657 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
= 0;
21659 wxDC
*arg1
= (wxDC
*) 0 ;
21660 wxString
*arg2
= 0 ;
21661 int *arg3
= (int *) 0 ;
21662 int *arg4
= (int *) 0 ;
21665 bool temp2
= false ;
21667 int res3
= SWIG_TMPOBJ
;
21669 int res4
= SWIG_TMPOBJ
;
21670 PyObject
* obj0
= 0 ;
21671 PyObject
* obj1
= 0 ;
21672 char * kwnames
[] = {
21673 (char *) "self",(char *) "string", NULL
21678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21680 if (!SWIG_IsOK(res1
)) {
21681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21683 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21685 arg2
= wxString_in_helper(obj1
);
21686 if (arg2
== NULL
) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= SWIG_Py_Void();
21696 if (SWIG_IsTmpObj(res3
)) {
21697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21699 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21702 if (SWIG_IsTmpObj(res4
)) {
21703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21705 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21722 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
= 0;
21724 wxDC
*arg1
= (wxDC
*) 0 ;
21725 wxString
*arg2
= 0 ;
21726 int *arg3
= (int *) 0 ;
21727 int *arg4
= (int *) 0 ;
21728 int *arg5
= (int *) 0 ;
21729 int *arg6
= (int *) 0 ;
21730 wxFont
*arg7
= (wxFont
*) NULL
;
21733 bool temp2
= false ;
21735 int res3
= SWIG_TMPOBJ
;
21737 int res4
= SWIG_TMPOBJ
;
21739 int res5
= SWIG_TMPOBJ
;
21741 int res6
= SWIG_TMPOBJ
;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 PyObject
* obj2
= 0 ;
21747 char * kwnames
[] = {
21748 (char *) "self",(char *) "string",(char *) "font", NULL
21755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21757 if (!SWIG_IsOK(res1
)) {
21758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21762 arg2
= wxString_in_helper(obj1
);
21763 if (arg2
== NULL
) SWIG_fail
;
21767 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21768 if (!SWIG_IsOK(res7
)) {
21769 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21771 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= SWIG_Py_Void();
21780 if (SWIG_IsTmpObj(res3
)) {
21781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21783 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21784 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21786 if (SWIG_IsTmpObj(res4
)) {
21787 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21789 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21790 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21792 if (SWIG_IsTmpObj(res5
)) {
21793 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21795 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21798 if (SWIG_IsTmpObj(res6
)) {
21799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21801 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21818 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
= 0;
21820 wxDC
*arg1
= (wxDC
*) 0 ;
21821 wxString
*arg2
= 0 ;
21822 int *arg3
= (int *) 0 ;
21823 int *arg4
= (int *) 0 ;
21824 int *arg5
= (int *) 0 ;
21825 wxFont
*arg6
= (wxFont
*) NULL
;
21828 bool temp2
= false ;
21830 int res3
= SWIG_TMPOBJ
;
21832 int res4
= SWIG_TMPOBJ
;
21834 int res5
= SWIG_TMPOBJ
;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 PyObject
* obj2
= 0 ;
21840 char * kwnames
[] = {
21841 (char *) "self",(char *) "text",(char *) "font", NULL
21847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21849 if (!SWIG_IsOK(res1
)) {
21850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21854 arg2
= wxString_in_helper(obj1
);
21855 if (arg2
== NULL
) SWIG_fail
;
21859 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21860 if (!SWIG_IsOK(res6
)) {
21861 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21863 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_Py_Void();
21872 if (SWIG_IsTmpObj(res3
)) {
21873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21875 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21878 if (SWIG_IsTmpObj(res4
)) {
21879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21881 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21884 if (SWIG_IsTmpObj(res5
)) {
21885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21887 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21904 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
= 0;
21906 wxDC
*arg1
= (wxDC
*) 0 ;
21907 wxString
*arg2
= 0 ;
21911 bool temp2
= false ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 char * kwnames
[] = {
21915 (char *) "self",(char *) "text", NULL
21918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21920 if (!SWIG_IsOK(res1
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21925 arg2
= wxString_in_helper(obj1
);
21926 if (arg2
== NULL
) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21936 resultobj
= wxArrayInt2PyList_helper(result
);
21952 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21953 PyObject
*resultobj
= 0;
21954 wxDC
*arg1
= (wxDC
*) 0 ;
21958 PyObject
*swig_obj
[1] ;
21960 if (!args
) SWIG_fail
;
21961 swig_obj
[0] = args
;
21962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21963 if (!SWIG_IsOK(res1
)) {
21964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= (arg1
)->GetSize();
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21980 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21981 PyObject
*resultobj
= 0;
21982 wxDC
*arg1
= (wxDC
*) 0 ;
21983 int *arg2
= (int *) 0 ;
21984 int *arg3
= (int *) 0 ;
21988 int res2
= SWIG_TMPOBJ
;
21990 int res3
= SWIG_TMPOBJ
;
21991 PyObject
*swig_obj
[1] ;
21995 if (!args
) SWIG_fail
;
21996 swig_obj
[0] = args
;
21997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21998 if (!SWIG_IsOK(res1
)) {
21999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
22001 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 (arg1
)->GetSize(arg2
,arg3
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= SWIG_Py_Void();
22009 if (SWIG_IsTmpObj(res2
)) {
22010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22012 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22015 if (SWIG_IsTmpObj(res3
)) {
22016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22018 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22027 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22028 PyObject
*resultobj
= 0;
22029 wxDC
*arg1
= (wxDC
*) 0 ;
22033 PyObject
*swig_obj
[1] ;
22035 if (!args
) SWIG_fail
;
22036 swig_obj
[0] = args
;
22037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22038 if (!SWIG_IsOK(res1
)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22041 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22055 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22056 PyObject
*resultobj
= 0;
22057 wxDC
*arg1
= (wxDC
*) 0 ;
22058 int *arg2
= (int *) 0 ;
22059 int *arg3
= (int *) 0 ;
22063 int res2
= SWIG_TMPOBJ
;
22065 int res3
= SWIG_TMPOBJ
;
22066 PyObject
*swig_obj
[1] ;
22070 if (!args
) SWIG_fail
;
22071 swig_obj
[0] = args
;
22072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22073 if (!SWIG_IsOK(res1
)) {
22074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= SWIG_Py_Void();
22084 if (SWIG_IsTmpObj(res2
)) {
22085 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22087 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22090 if (SWIG_IsTmpObj(res3
)) {
22091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22093 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22102 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
= 0;
22104 wxDC
*arg1
= (wxDC
*) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 char * kwnames
[] = {
22114 (char *) "self",(char *) "x", NULL
22117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22119 if (!SWIG_IsOK(res1
)) {
22120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22124 if (!SWIG_IsOK(ecode2
)) {
22125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22127 arg2
= static_cast< int >(val2
);
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= SWIG_From_int(static_cast< int >(result
));
22141 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
= 0;
22143 wxDC
*arg1
= (wxDC
*) 0 ;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 char * kwnames
[] = {
22153 (char *) "self",(char *) "y", NULL
22156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22158 if (!SWIG_IsOK(res1
)) {
22159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22161 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22163 if (!SWIG_IsOK(ecode2
)) {
22164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22166 arg2
= static_cast< int >(val2
);
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= SWIG_From_int(static_cast< int >(result
));
22180 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
= 0;
22182 wxDC
*arg1
= (wxDC
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 PyObject
* obj1
= 0 ;
22191 char * kwnames
[] = {
22192 (char *) "self",(char *) "x", NULL
22195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22197 if (!SWIG_IsOK(res1
)) {
22198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22202 if (!SWIG_IsOK(ecode2
)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22205 arg2
= static_cast< int >(val2
);
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_From_int(static_cast< int >(result
));
22219 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
= 0;
22221 wxDC
*arg1
= (wxDC
*) 0 ;
22228 PyObject
* obj0
= 0 ;
22229 PyObject
* obj1
= 0 ;
22230 char * kwnames
[] = {
22231 (char *) "self",(char *) "y", NULL
22234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22236 if (!SWIG_IsOK(res1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22241 if (!SWIG_IsOK(ecode2
)) {
22242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22244 arg2
= static_cast< int >(val2
);
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= SWIG_From_int(static_cast< int >(result
));
22258 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
= 0;
22260 wxDC
*arg1
= (wxDC
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 PyObject
* obj1
= 0 ;
22269 char * kwnames
[] = {
22270 (char *) "self",(char *) "x", NULL
22273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22275 if (!SWIG_IsOK(res1
)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22280 if (!SWIG_IsOK(ecode2
)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22283 arg2
= static_cast< int >(val2
);
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= SWIG_From_int(static_cast< int >(result
));
22297 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
= 0;
22299 wxDC
*arg1
= (wxDC
*) 0 ;
22306 PyObject
* obj0
= 0 ;
22307 PyObject
* obj1
= 0 ;
22308 char * kwnames
[] = {
22309 (char *) "self",(char *) "y", NULL
22312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22314 if (!SWIG_IsOK(res1
)) {
22315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22319 if (!SWIG_IsOK(ecode2
)) {
22320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22322 arg2
= static_cast< int >(val2
);
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= SWIG_From_int(static_cast< int >(result
));
22336 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
= 0;
22338 wxDC
*arg1
= (wxDC
*) 0 ;
22345 PyObject
* obj0
= 0 ;
22346 PyObject
* obj1
= 0 ;
22347 char * kwnames
[] = {
22348 (char *) "self",(char *) "x", NULL
22351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22353 if (!SWIG_IsOK(res1
)) {
22354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22358 if (!SWIG_IsOK(ecode2
)) {
22359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22361 arg2
= static_cast< int >(val2
);
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22365 wxPyEndAllowThreads(__tstate
);
22366 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= SWIG_From_int(static_cast< int >(result
));
22375 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22376 PyObject
*resultobj
= 0;
22377 wxDC
*arg1
= (wxDC
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 PyObject
* obj1
= 0 ;
22386 char * kwnames
[] = {
22387 (char *) "self",(char *) "y", NULL
22390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22392 if (!SWIG_IsOK(res1
)) {
22393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22397 if (!SWIG_IsOK(ecode2
)) {
22398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22400 arg2
= static_cast< int >(val2
);
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 resultobj
= SWIG_From_int(static_cast< int >(result
));
22414 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22415 PyObject
*resultobj
= 0;
22416 wxDC
*arg1
= (wxDC
*) 0 ;
22420 PyObject
*swig_obj
[1] ;
22422 if (!args
) SWIG_fail
;
22423 swig_obj
[0] = args
;
22424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22444 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22445 PyObject
*resultobj
= 0;
22446 wxDC
*arg1
= (wxDC
*) 0 ;
22450 PyObject
*swig_obj
[1] ;
22452 if (!args
) SWIG_fail
;
22453 swig_obj
[0] = args
;
22454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22474 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 PyObject
*resultobj
= 0;
22476 wxDC
*arg1
= (wxDC
*) 0 ;
22480 PyObject
*swig_obj
[1] ;
22482 if (!args
) SWIG_fail
;
22483 swig_obj
[0] = args
;
22484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22485 if (!SWIG_IsOK(res1
)) {
22486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= SWIG_From_int(static_cast< int >(result
));
22502 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22503 PyObject
*resultobj
= 0;
22504 wxDC
*arg1
= (wxDC
*) 0 ;
22508 PyObject
*swig_obj
[1] ;
22510 if (!args
) SWIG_fail
;
22511 swig_obj
[0] = args
;
22512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22513 if (!SWIG_IsOK(res1
)) {
22514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 result
= ((wxDC
const *)arg1
)->GetPPI();
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22523 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22530 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22531 PyObject
*resultobj
= 0;
22532 wxDC
*arg1
= (wxDC
*) 0 ;
22536 PyObject
*swig_obj
[1] ;
22538 if (!args
) SWIG_fail
;
22539 swig_obj
[0] = args
;
22540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22541 if (!SWIG_IsOK(res1
)) {
22542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22560 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22561 PyObject
*resultobj
= 0;
22562 wxDC
*arg1
= (wxDC
*) 0 ;
22566 PyObject
*swig_obj
[1] ;
22568 if (!args
) SWIG_fail
;
22569 swig_obj
[0] = args
;
22570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22571 if (!SWIG_IsOK(res1
)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= SWIG_From_int(static_cast< int >(result
));
22588 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22589 PyObject
*resultobj
= 0;
22590 wxDC
*arg1
= (wxDC
*) 0 ;
22591 wxBrush
*result
= 0 ;
22594 PyObject
*swig_obj
[1] ;
22596 if (!args
) SWIG_fail
;
22597 swig_obj
[0] = args
;
22598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22599 if (!SWIG_IsOK(res1
)) {
22600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22607 result
= (wxBrush
*) &_result_ref
;
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22613 wxBrush
* resultptr
= new wxBrush(*result
);
22614 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22622 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22623 PyObject
*resultobj
= 0;
22624 wxDC
*arg1
= (wxDC
*) 0 ;
22625 wxBrush
*result
= 0 ;
22628 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_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22636 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22641 result
= (wxBrush
*) &_result_ref
;
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 wxBrush
* resultptr
= new wxBrush(*result
);
22648 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22656 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22657 PyObject
*resultobj
= 0;
22658 wxDC
*arg1
= (wxDC
*) 0 ;
22659 wxFont
*result
= 0 ;
22662 PyObject
*swig_obj
[1] ;
22664 if (!args
) SWIG_fail
;
22665 swig_obj
[0] = args
;
22666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22667 if (!SWIG_IsOK(res1
)) {
22668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22675 result
= (wxFont
*) &_result_ref
;
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22681 wxFont
* resultptr
= new wxFont(*result
);
22682 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22690 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22691 PyObject
*resultobj
= 0;
22692 wxDC
*arg1
= (wxDC
*) 0 ;
22693 wxPen
*result
= 0 ;
22696 PyObject
*swig_obj
[1] ;
22698 if (!args
) SWIG_fail
;
22699 swig_obj
[0] = args
;
22700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22701 if (!SWIG_IsOK(res1
)) {
22702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22709 result
= (wxPen
*) &_result_ref
;
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22715 wxPen
* resultptr
= new wxPen(*result
);
22716 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22724 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22725 PyObject
*resultobj
= 0;
22726 wxDC
*arg1
= (wxDC
*) 0 ;
22727 wxColour
*result
= 0 ;
22730 PyObject
*swig_obj
[1] ;
22732 if (!args
) SWIG_fail
;
22733 swig_obj
[0] = args
;
22734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22735 if (!SWIG_IsOK(res1
)) {
22736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22743 result
= (wxColour
*) &_result_ref
;
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22755 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22756 PyObject
*resultobj
= 0;
22757 wxDC
*arg1
= (wxDC
*) 0 ;
22758 wxColour
*result
= 0 ;
22761 PyObject
*swig_obj
[1] ;
22763 if (!args
) SWIG_fail
;
22764 swig_obj
[0] = args
;
22765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22766 if (!SWIG_IsOK(res1
)) {
22767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22774 result
= (wxColour
*) &_result_ref
;
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22786 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
= 0;
22788 wxDC
*arg1
= (wxDC
*) 0 ;
22789 wxColour
*arg2
= 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 char * kwnames
[] = {
22796 (char *) "self",(char *) "colour", NULL
22799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22801 if (!SWIG_IsOK(res1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22807 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_Py_Void();
22822 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
= 0;
22824 wxDC
*arg1
= (wxDC
*) 0 ;
22825 wxColour
*arg2
= 0 ;
22829 PyObject
* obj0
= 0 ;
22830 PyObject
* obj1
= 0 ;
22831 char * kwnames
[] = {
22832 (char *) "self",(char *) "colour", NULL
22835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22837 if (!SWIG_IsOK(res1
)) {
22838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 resultobj
= SWIG_Py_Void();
22858 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22859 PyObject
*resultobj
= 0;
22860 wxDC
*arg1
= (wxDC
*) 0 ;
22864 PyObject
*swig_obj
[1] ;
22866 if (!args
) SWIG_fail
;
22867 swig_obj
[0] = args
;
22868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22869 if (!SWIG_IsOK(res1
)) {
22870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= SWIG_From_int(static_cast< int >(result
));
22886 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
= 0;
22888 wxDC
*arg1
= (wxDC
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 PyObject
* obj1
= 0 ;
22896 char * kwnames
[] = {
22897 (char *) "self",(char *) "mode", NULL
22900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22907 if (!SWIG_IsOK(ecode2
)) {
22908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22910 arg2
= static_cast< int >(val2
);
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 (arg1
)->SetMapMode(arg2
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_Py_Void();
22924 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22925 PyObject
*resultobj
= 0;
22926 wxDC
*arg1
= (wxDC
*) 0 ;
22927 double *arg2
= (double *) 0 ;
22928 double *arg3
= (double *) 0 ;
22932 int res2
= SWIG_TMPOBJ
;
22934 int res3
= SWIG_TMPOBJ
;
22935 PyObject
*swig_obj
[1] ;
22939 if (!args
) SWIG_fail
;
22940 swig_obj
[0] = args
;
22941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22942 if (!SWIG_IsOK(res1
)) {
22943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22945 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= SWIG_Py_Void();
22953 if (SWIG_IsTmpObj(res2
)) {
22954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22956 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22959 if (SWIG_IsTmpObj(res3
)) {
22960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22962 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22971 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
= 0;
22973 wxDC
*arg1
= (wxDC
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 PyObject
* obj2
= 0 ;
22985 char * kwnames
[] = {
22986 (char *) "self",(char *) "x",(char *) "y", NULL
22989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22991 if (!SWIG_IsOK(res1
)) {
22992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22995 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22996 if (!SWIG_IsOK(ecode2
)) {
22997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22999 arg2
= static_cast< double >(val2
);
23000 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23001 if (!SWIG_IsOK(ecode3
)) {
23002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
23004 arg3
= static_cast< double >(val3
);
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 (arg1
)->SetUserScale(arg2
,arg3
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= SWIG_Py_Void();
23018 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23019 PyObject
*resultobj
= 0;
23020 wxDC
*arg1
= (wxDC
*) 0 ;
23021 double *arg2
= (double *) 0 ;
23022 double *arg3
= (double *) 0 ;
23026 int res2
= SWIG_TMPOBJ
;
23028 int res3
= SWIG_TMPOBJ
;
23029 PyObject
*swig_obj
[1] ;
23033 if (!args
) SWIG_fail
;
23034 swig_obj
[0] = args
;
23035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 (arg1
)->GetLogicalScale(arg2
,arg3
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_Py_Void();
23047 if (SWIG_IsTmpObj(res2
)) {
23048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23050 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23053 if (SWIG_IsTmpObj(res3
)) {
23054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23056 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23065 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
= 0;
23067 wxDC
*arg1
= (wxDC
*) 0 ;
23076 PyObject
* obj0
= 0 ;
23077 PyObject
* obj1
= 0 ;
23078 PyObject
* obj2
= 0 ;
23079 char * kwnames
[] = {
23080 (char *) "self",(char *) "x",(char *) "y", NULL
23083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23085 if (!SWIG_IsOK(res1
)) {
23086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23089 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23090 if (!SWIG_IsOK(ecode2
)) {
23091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23093 arg2
= static_cast< double >(val2
);
23094 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23095 if (!SWIG_IsOK(ecode3
)) {
23096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23098 arg3
= static_cast< double >(val3
);
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 (arg1
)->SetLogicalScale(arg2
,arg3
);
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= SWIG_Py_Void();
23112 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23113 PyObject
*resultobj
= 0;
23114 wxDC
*arg1
= (wxDC
*) 0 ;
23118 PyObject
*swig_obj
[1] ;
23120 if (!args
) SWIG_fail
;
23121 swig_obj
[0] = args
;
23122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23123 if (!SWIG_IsOK(res1
)) {
23124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23140 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23141 PyObject
*resultobj
= 0;
23142 wxDC
*arg1
= (wxDC
*) 0 ;
23143 int *arg2
= (int *) 0 ;
23144 int *arg3
= (int *) 0 ;
23148 int res2
= SWIG_TMPOBJ
;
23150 int res3
= SWIG_TMPOBJ
;
23151 PyObject
*swig_obj
[1] ;
23155 if (!args
) SWIG_fail
;
23156 swig_obj
[0] = args
;
23157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23158 if (!SWIG_IsOK(res1
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23161 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_Py_Void();
23169 if (SWIG_IsTmpObj(res2
)) {
23170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23172 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23175 if (SWIG_IsTmpObj(res3
)) {
23176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23178 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23187 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
= 0;
23189 wxDC
*arg1
= (wxDC
*) 0 ;
23198 PyObject
* obj0
= 0 ;
23199 PyObject
* obj1
= 0 ;
23200 PyObject
* obj2
= 0 ;
23201 char * kwnames
[] = {
23202 (char *) "self",(char *) "x",(char *) "y", NULL
23205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23207 if (!SWIG_IsOK(res1
)) {
23208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23212 if (!SWIG_IsOK(ecode2
)) {
23213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23215 arg2
= static_cast< int >(val2
);
23216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23217 if (!SWIG_IsOK(ecode3
)) {
23218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23220 arg3
= static_cast< int >(val3
);
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= SWIG_Py_Void();
23234 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
= 0;
23236 wxDC
*arg1
= (wxDC
*) 0 ;
23237 wxPoint
*arg2
= 0 ;
23241 PyObject
* obj0
= 0 ;
23242 PyObject
* obj1
= 0 ;
23243 char * kwnames
[] = {
23244 (char *) "self",(char *) "point", NULL
23247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23249 if (!SWIG_IsOK(res1
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23255 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= SWIG_Py_Void();
23270 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23271 PyObject
*resultobj
= 0;
23272 wxDC
*arg1
= (wxDC
*) 0 ;
23276 PyObject
*swig_obj
[1] ;
23278 if (!args
) SWIG_fail
;
23279 swig_obj
[0] = args
;
23280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23281 if (!SWIG_IsOK(res1
)) {
23282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23284 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23298 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23299 PyObject
*resultobj
= 0;
23300 wxDC
*arg1
= (wxDC
*) 0 ;
23301 int *arg2
= (int *) 0 ;
23302 int *arg3
= (int *) 0 ;
23306 int res2
= SWIG_TMPOBJ
;
23308 int res3
= SWIG_TMPOBJ
;
23309 PyObject
*swig_obj
[1] ;
23313 if (!args
) SWIG_fail
;
23314 swig_obj
[0] = args
;
23315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23316 if (!SWIG_IsOK(res1
)) {
23317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= SWIG_Py_Void();
23327 if (SWIG_IsTmpObj(res2
)) {
23328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23330 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23333 if (SWIG_IsTmpObj(res3
)) {
23334 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23336 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23337 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23345 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= 0;
23347 wxDC
*arg1
= (wxDC
*) 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 PyObject
* obj2
= 0 ;
23359 char * kwnames
[] = {
23360 (char *) "self",(char *) "x",(char *) "y", NULL
23363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23370 if (!SWIG_IsOK(ecode2
)) {
23371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23373 arg2
= static_cast< int >(val2
);
23374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23375 if (!SWIG_IsOK(ecode3
)) {
23376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23378 arg3
= static_cast< int >(val3
);
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= SWIG_Py_Void();
23392 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23393 PyObject
*resultobj
= 0;
23394 wxDC
*arg1
= (wxDC
*) 0 ;
23395 wxPoint
*arg2
= 0 ;
23399 PyObject
* obj0
= 0 ;
23400 PyObject
* obj1
= 0 ;
23401 char * kwnames
[] = {
23402 (char *) "self",(char *) "point", NULL
23405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23407 if (!SWIG_IsOK(res1
)) {
23408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23413 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= SWIG_Py_Void();
23428 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
= 0;
23430 wxDC
*arg1
= (wxDC
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 PyObject
* obj2
= 0 ;
23442 char * kwnames
[] = {
23443 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23448 if (!SWIG_IsOK(res1
)) {
23449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23452 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23453 if (!SWIG_IsOK(ecode2
)) {
23454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23456 arg2
= static_cast< bool >(val2
);
23457 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23458 if (!SWIG_IsOK(ecode3
)) {
23459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23461 arg3
= static_cast< bool >(val3
);
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_Py_Void();
23475 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23476 PyObject
*resultobj
= 0;
23477 wxDC
*arg1
= (wxDC
*) 0 ;
23481 PyObject
*swig_obj
[1] ;
23483 if (!args
) SWIG_fail
;
23484 swig_obj
[0] = args
;
23485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23486 if (!SWIG_IsOK(res1
)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= SWIG_From_int(static_cast< int >(result
));
23503 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
= 0;
23505 wxDC
*arg1
= (wxDC
*) 0 ;
23511 PyObject
* obj0
= 0 ;
23512 PyObject
* obj1
= 0 ;
23513 char * kwnames
[] = {
23514 (char *) "self",(char *) "function", NULL
23517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23519 if (!SWIG_IsOK(res1
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23524 if (!SWIG_IsOK(ecode2
)) {
23525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23527 arg2
= static_cast< int >(val2
);
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 (arg1
)->SetLogicalFunction(arg2
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_Py_Void();
23541 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23542 PyObject
*resultobj
= 0;
23543 wxDC
*arg1
= (wxDC
*) 0 ;
23546 PyObject
*swig_obj
[1] ;
23548 if (!args
) SWIG_fail
;
23549 swig_obj
[0] = args
;
23550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23551 if (!SWIG_IsOK(res1
)) {
23552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 (arg1
)->ComputeScaleAndOrigin();
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_Py_Void();
23568 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
= 0;
23570 wxDC
*arg1
= (wxDC
*) 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 PyObject
* obj2
= 0 ;
23582 char * kwnames
[] = {
23583 (char *) "self",(char *) "x",(char *) "y", NULL
23586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23588 if (!SWIG_IsOK(res1
)) {
23589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23593 if (!SWIG_IsOK(ecode2
)) {
23594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23596 arg2
= static_cast< int >(val2
);
23597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23598 if (!SWIG_IsOK(ecode3
)) {
23599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23601 arg3
= static_cast< int >(val3
);
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_Py_Void();
23615 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
= 0;
23617 wxDC
*arg1
= (wxDC
*) 0 ;
23618 wxPoint
*arg2
= 0 ;
23622 PyObject
* obj0
= 0 ;
23623 PyObject
* obj1
= 0 ;
23624 char * kwnames
[] = {
23625 (char *) "self",(char *) "point", NULL
23628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23636 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 resultobj
= SWIG_Py_Void();
23651 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23652 PyObject
*resultobj
= 0;
23653 wxDC
*arg1
= (wxDC
*) 0 ;
23656 PyObject
*swig_obj
[1] ;
23658 if (!args
) SWIG_fail
;
23659 swig_obj
[0] = args
;
23660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23661 if (!SWIG_IsOK(res1
)) {
23662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 (arg1
)->ResetBoundingBox();
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_Py_Void();
23678 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23679 PyObject
*resultobj
= 0;
23680 wxDC
*arg1
= (wxDC
*) 0 ;
23684 PyObject
*swig_obj
[1] ;
23686 if (!args
) SWIG_fail
;
23687 swig_obj
[0] = args
;
23688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23689 if (!SWIG_IsOK(res1
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 result
= (int)((wxDC
const *)arg1
)->MinX();
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_From_int(static_cast< int >(result
));
23706 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23707 PyObject
*resultobj
= 0;
23708 wxDC
*arg1
= (wxDC
*) 0 ;
23712 PyObject
*swig_obj
[1] ;
23714 if (!args
) SWIG_fail
;
23715 swig_obj
[0] = args
;
23716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23717 if (!SWIG_IsOK(res1
)) {
23718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= (int)((wxDC
const *)arg1
)->MaxX();
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= SWIG_From_int(static_cast< int >(result
));
23734 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23735 PyObject
*resultobj
= 0;
23736 wxDC
*arg1
= (wxDC
*) 0 ;
23740 PyObject
*swig_obj
[1] ;
23742 if (!args
) SWIG_fail
;
23743 swig_obj
[0] = args
;
23744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23745 if (!SWIG_IsOK(res1
)) {
23746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 result
= (int)((wxDC
const *)arg1
)->MinY();
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 resultobj
= SWIG_From_int(static_cast< int >(result
));
23762 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23763 PyObject
*resultobj
= 0;
23764 wxDC
*arg1
= (wxDC
*) 0 ;
23768 PyObject
*swig_obj
[1] ;
23770 if (!args
) SWIG_fail
;
23771 swig_obj
[0] = args
;
23772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23773 if (!SWIG_IsOK(res1
)) {
23774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 result
= (int)((wxDC
const *)arg1
)->MaxY();
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= SWIG_From_int(static_cast< int >(result
));
23790 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23791 PyObject
*resultobj
= 0;
23792 wxDC
*arg1
= (wxDC
*) 0 ;
23793 int *arg2
= (int *) 0 ;
23794 int *arg3
= (int *) 0 ;
23795 int *arg4
= (int *) 0 ;
23796 int *arg5
= (int *) 0 ;
23800 int res2
= SWIG_TMPOBJ
;
23802 int res3
= SWIG_TMPOBJ
;
23804 int res4
= SWIG_TMPOBJ
;
23806 int res5
= SWIG_TMPOBJ
;
23807 PyObject
*swig_obj
[1] ;
23813 if (!args
) SWIG_fail
;
23814 swig_obj
[0] = args
;
23815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23816 if (!SWIG_IsOK(res1
)) {
23817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23819 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= SWIG_Py_Void();
23827 if (SWIG_IsTmpObj(res2
)) {
23828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23830 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23833 if (SWIG_IsTmpObj(res3
)) {
23834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23836 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23839 if (SWIG_IsTmpObj(res4
)) {
23840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23842 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23845 if (SWIG_IsTmpObj(res5
)) {
23846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23848 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23857 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23858 PyObject
*resultobj
= 0;
23859 wxDC
*arg1
= (wxDC
*) 0 ;
23860 wxLayoutDirection result
;
23863 PyObject
*swig_obj
[1] ;
23865 if (!args
) SWIG_fail
;
23866 swig_obj
[0] = args
;
23867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23868 if (!SWIG_IsOK(res1
)) {
23869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_From_int(static_cast< int >(result
));
23885 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
= 0;
23887 wxDC
*arg1
= (wxDC
*) 0 ;
23888 wxLayoutDirection arg2
;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 char * kwnames
[] = {
23896 (char *) "self",(char *) "dir", NULL
23899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23901 if (!SWIG_IsOK(res1
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23906 if (!SWIG_IsOK(ecode2
)) {
23907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23909 arg2
= static_cast< wxLayoutDirection
>(val2
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 (arg1
)->SetLayoutDirection(arg2
);
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= SWIG_Py_Void();
23923 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23924 PyObject
*resultobj
= 0;
23925 wxDC
*arg1
= (wxDC
*) 0 ;
23929 PyObject
*swig_obj
[1] ;
23931 if (!args
) SWIG_fail
;
23932 swig_obj
[0] = args
;
23933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23934 if (!SWIG_IsOK(res1
)) {
23935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (long)(arg1
)->GetHDC();
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= SWIG_From_long(static_cast< long >(result
));
23951 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23952 PyObject
*resultobj
= 0;
23953 wxDC
*arg1
= (wxDC
*) 0 ;
23954 PyObject
*arg2
= (PyObject
*) 0 ;
23955 PyObject
*arg3
= (PyObject
*) 0 ;
23956 PyObject
*arg4
= (PyObject
*) 0 ;
23957 PyObject
*result
= 0 ;
23960 PyObject
* obj0
= 0 ;
23961 PyObject
* obj1
= 0 ;
23962 PyObject
* obj2
= 0 ;
23963 PyObject
* obj3
= 0 ;
23964 char * kwnames
[] = {
23965 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23970 if (!SWIG_IsOK(res1
)) {
23971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= result
;
23990 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
= 0;
23992 wxDC
*arg1
= (wxDC
*) 0 ;
23993 PyObject
*arg2
= (PyObject
*) 0 ;
23994 PyObject
*arg3
= (PyObject
*) 0 ;
23995 PyObject
*arg4
= (PyObject
*) 0 ;
23996 PyObject
*result
= 0 ;
23999 PyObject
* obj0
= 0 ;
24000 PyObject
* obj1
= 0 ;
24001 PyObject
* obj2
= 0 ;
24002 PyObject
* obj3
= 0 ;
24003 char * kwnames
[] = {
24004 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24009 if (!SWIG_IsOK(res1
)) {
24010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
24012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= result
;
24029 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
= 0;
24031 wxDC
*arg1
= (wxDC
*) 0 ;
24032 PyObject
*arg2
= (PyObject
*) 0 ;
24033 PyObject
*arg3
= (PyObject
*) 0 ;
24034 PyObject
*arg4
= (PyObject
*) 0 ;
24035 PyObject
*result
= 0 ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 PyObject
* obj2
= 0 ;
24041 PyObject
* obj3
= 0 ;
24042 char * kwnames
[] = {
24043 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24048 if (!SWIG_IsOK(res1
)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= result
;
24068 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
= 0;
24070 wxDC
*arg1
= (wxDC
*) 0 ;
24071 PyObject
*arg2
= (PyObject
*) 0 ;
24072 PyObject
*arg3
= (PyObject
*) 0 ;
24073 PyObject
*arg4
= (PyObject
*) 0 ;
24074 PyObject
*result
= 0 ;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 PyObject
* obj2
= 0 ;
24080 PyObject
* obj3
= 0 ;
24081 char * kwnames
[] = {
24082 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24087 if (!SWIG_IsOK(res1
)) {
24088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24096 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= result
;
24107 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
= 0;
24109 wxDC
*arg1
= (wxDC
*) 0 ;
24110 PyObject
*arg2
= (PyObject
*) 0 ;
24111 PyObject
*arg3
= (PyObject
*) 0 ;
24112 PyObject
*arg4
= (PyObject
*) 0 ;
24113 PyObject
*result
= 0 ;
24116 PyObject
* obj0
= 0 ;
24117 PyObject
* obj1
= 0 ;
24118 PyObject
* obj2
= 0 ;
24119 PyObject
* obj3
= 0 ;
24120 char * kwnames
[] = {
24121 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24126 if (!SWIG_IsOK(res1
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= result
;
24146 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
= 0;
24148 wxDC
*arg1
= (wxDC
*) 0 ;
24149 PyObject
*arg2
= (PyObject
*) 0 ;
24150 PyObject
*arg3
= (PyObject
*) 0 ;
24151 PyObject
*arg4
= (PyObject
*) 0 ;
24152 PyObject
*arg5
= (PyObject
*) 0 ;
24153 PyObject
*result
= 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 PyObject
* obj2
= 0 ;
24159 PyObject
* obj3
= 0 ;
24160 PyObject
* obj4
= 0 ;
24161 char * kwnames
[] = {
24162 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24167 if (!SWIG_IsOK(res1
)) {
24168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24170 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 resultobj
= result
;
24188 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24191 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24192 return SWIG_Py_Void();
24195 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
= 0;
24198 wxColour
*arg2
= 0 ;
24199 wxDCTextColourChanger
*result
= 0 ;
24203 PyObject
* obj0
= 0 ;
24204 PyObject
* obj1
= 0 ;
24205 char * kwnames
[] = {
24206 (char *) "dc",(char *) "col", NULL
24209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24210 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24211 if (!SWIG_IsOK(res1
)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24220 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24235 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24236 PyObject
*resultobj
= 0;
24237 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24240 PyObject
*swig_obj
[1] ;
24242 if (!args
) SWIG_fail
;
24243 swig_obj
[0] = args
;
24244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24245 if (!SWIG_IsOK(res1
)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24248 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_Py_Void();
24263 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24266 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24267 return SWIG_Py_Void();
24270 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24271 return SWIG_Python_InitShadowInstance(args
);
24274 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
= 0;
24278 wxDCPenChanger
*result
= 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 char * kwnames
[] = {
24286 (char *) "dc",(char *) "pen", NULL
24289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24290 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24291 if (!SWIG_IsOK(res1
)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24297 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24299 if (!SWIG_IsOK(res2
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24305 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24319 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24320 PyObject
*resultobj
= 0;
24321 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24324 PyObject
*swig_obj
[1] ;
24326 if (!args
) SWIG_fail
;
24327 swig_obj
[0] = args
;
24328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24329 if (!SWIG_IsOK(res1
)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24332 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= SWIG_Py_Void();
24347 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24350 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24351 return SWIG_Py_Void();
24354 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24355 return SWIG_Python_InitShadowInstance(args
);
24358 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
= 0;
24361 wxBrush
*arg2
= 0 ;
24362 wxDCBrushChanger
*result
= 0 ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 char * kwnames
[] = {
24370 (char *) "dc",(char *) "brush", NULL
24373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24374 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24375 if (!SWIG_IsOK(res1
)) {
24376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24381 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24383 if (!SWIG_IsOK(res2
)) {
24384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24389 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24403 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24404 PyObject
*resultobj
= 0;
24405 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24408 PyObject
*swig_obj
[1] ;
24410 if (!args
) SWIG_fail
;
24411 swig_obj
[0] = args
;
24412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24413 if (!SWIG_IsOK(res1
)) {
24414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24416 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= SWIG_Py_Void();
24431 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24434 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24435 return SWIG_Py_Void();
24438 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24439 return SWIG_Python_InitShadowInstance(args
);
24442 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24443 PyObject
*resultobj
= 0;
24445 wxRegion
*arg2
= 0 ;
24446 wxDCClipper
*result
= 0 ;
24452 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24454 if (!SWIG_IsOK(res1
)) {
24455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24460 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24461 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24462 if (!SWIG_IsOK(res2
)) {
24463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24468 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24482 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24483 PyObject
*resultobj
= 0;
24486 wxDCClipper
*result
= 0 ;
24491 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24493 if (!SWIG_IsOK(res1
)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24502 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24517 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24518 PyObject
*resultobj
= 0;
24524 wxDCClipper
*result
= 0 ;
24536 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24538 if (!SWIG_IsOK(res1
)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24545 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24546 if (!SWIG_IsOK(ecode2
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24549 arg2
= static_cast< int >(val2
);
24550 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24551 if (!SWIG_IsOK(ecode3
)) {
24552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24554 arg3
= static_cast< int >(val3
);
24555 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24556 if (!SWIG_IsOK(ecode4
)) {
24557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24559 arg4
= static_cast< int >(val4
);
24560 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24561 if (!SWIG_IsOK(ecode5
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24564 arg5
= static_cast< int >(val5
);
24566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24578 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24582 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24587 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24588 _v
= SWIG_CheckState(res
);
24590 if (!_v
) goto check_1
;
24591 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24596 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24599 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24603 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24608 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24609 PyObject
*resultobj
= 0;
24610 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24613 PyObject
*swig_obj
[1] ;
24615 if (!args
) SWIG_fail
;
24616 swig_obj
[0] = args
;
24617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24618 if (!SWIG_IsOK(res1
)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24621 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= SWIG_Py_Void();
24636 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24639 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24640 return SWIG_Py_Void();
24643 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24644 return SWIG_Python_InitShadowInstance(args
);
24647 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24648 PyObject
*resultobj
= 0;
24649 wxScreenDC
*result
= 0 ;
24651 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24653 if (!wxPyCheckForApp()) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= (wxScreenDC
*)new wxScreenDC();
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24666 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
= 0;
24668 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24669 wxWindow
*arg2
= (wxWindow
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 PyObject
* obj1
= 0 ;
24677 char * kwnames
[] = {
24678 (char *) "self",(char *) "window", NULL
24681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24683 if (!SWIG_IsOK(res1
)) {
24684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24686 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24688 if (!SWIG_IsOK(res2
)) {
24689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24707 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
= 0;
24709 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24710 wxRect
*arg2
= (wxRect
*) NULL
;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 char * kwnames
[] = {
24719 (char *) "self",(char *) "rect", NULL
24722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24724 if (!SWIG_IsOK(res1
)) {
24725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24727 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24730 if (!SWIG_IsOK(res2
)) {
24731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24733 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24750 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24751 PyObject
*resultobj
= 0;
24752 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24756 PyObject
*swig_obj
[1] ;
24758 if (!args
) SWIG_fail
;
24759 swig_obj
[0] = args
;
24760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24761 if (!SWIG_IsOK(res1
)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24764 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 result
= (bool)(arg1
)->EndDrawingOnTop();
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24780 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24783 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24784 return SWIG_Py_Void();
24787 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24788 return SWIG_Python_InitShadowInstance(args
);
24791 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
= 0;
24793 wxWindow
*arg1
= (wxWindow
*) 0 ;
24794 wxWindowDC
*result
= 0 ;
24797 PyObject
* obj0
= 0 ;
24798 char * kwnames
[] = {
24799 (char *) "win", NULL
24802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24807 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24809 if (!wxPyCheckForApp()) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24822 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24825 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24826 return SWIG_Py_Void();
24829 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24830 return SWIG_Python_InitShadowInstance(args
);
24833 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
= 0;
24835 wxWindow
*arg1
= (wxWindow
*) 0 ;
24836 wxClientDC
*result
= 0 ;
24839 PyObject
* obj0
= 0 ;
24840 char * kwnames
[] = {
24841 (char *) "win", NULL
24844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24846 if (!SWIG_IsOK(res1
)) {
24847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24849 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24851 if (!wxPyCheckForApp()) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (wxClientDC
*)new wxClientDC(arg1
);
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24864 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24867 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24868 return SWIG_Py_Void();
24871 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24872 return SWIG_Python_InitShadowInstance(args
);
24875 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
= 0;
24877 wxWindow
*arg1
= (wxWindow
*) 0 ;
24878 wxPaintDC
*result
= 0 ;
24881 PyObject
* obj0
= 0 ;
24882 char * kwnames
[] = {
24883 (char *) "win", NULL
24886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24888 if (!SWIG_IsOK(res1
)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24891 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24893 if (!wxPyCheckForApp()) SWIG_fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24906 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24909 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24910 return SWIG_Py_Void();
24913 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24914 return SWIG_Python_InitShadowInstance(args
);
24917 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24918 PyObject
*resultobj
= 0;
24919 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24920 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24921 wxMemoryDC
*result
= 0 ;
24924 PyObject
* obj0
= 0 ;
24925 char * kwnames
[] = {
24926 (char *) "bitmap", NULL
24929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24931 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24932 if (!SWIG_IsOK(res1
)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24938 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24941 if (!wxPyCheckForApp()) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24954 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
= 0;
24956 wxDC
*arg1
= (wxDC
*) 0 ;
24957 wxMemoryDC
*result
= 0 ;
24960 PyObject
* obj0
= 0 ;
24961 char * kwnames
[] = {
24962 (char *) "oldDC", NULL
24965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24967 if (!SWIG_IsOK(res1
)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24972 if (!wxPyCheckForApp()) SWIG_fail
;
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24985 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
= 0;
24987 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24988 wxBitmap
*arg2
= 0 ;
24993 PyObject
* obj0
= 0 ;
24994 PyObject
* obj1
= 0 ;
24995 char * kwnames
[] = {
24996 (char *) "self",(char *) "bitmap", NULL
24999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25004 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25006 if (!SWIG_IsOK(res2
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25012 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 (arg1
)->SelectObject(*arg2
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25019 resultobj
= SWIG_Py_Void();
25026 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
= 0;
25028 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25029 wxBitmap
*arg2
= 0 ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char * kwnames
[] = {
25037 (char *) "self",(char *) "bmp", NULL
25040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25042 if (!SWIG_IsOK(res1
)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25045 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25047 if (!SWIG_IsOK(res2
)) {
25048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25053 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= SWIG_Py_Void();
25067 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25070 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25071 return SWIG_Py_Void();
25074 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25075 return SWIG_Python_InitShadowInstance(args
);
25078 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25079 PyObject
*resultobj
= 0;
25080 wxDC
*arg1
= (wxDC
*) 0 ;
25081 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25082 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25083 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25084 wxBufferedDC
*result
= 0 ;
25092 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25094 if (!SWIG_IsOK(res1
)) {
25095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25099 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25100 if (!SWIG_IsOK(res2
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25106 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25109 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25110 if (!SWIG_IsOK(ecode3
)) {
25111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25113 arg3
= static_cast< int >(val3
);
25116 if (!wxPyCheckForApp()) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25129 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25130 PyObject
*resultobj
= 0;
25131 wxDC
*arg1
= (wxDC
*) 0 ;
25133 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25134 wxBufferedDC
*result
= 0 ;
25141 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25143 if (!SWIG_IsOK(res1
)) {
25144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25149 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25152 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25153 if (!SWIG_IsOK(ecode3
)) {
25154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25156 arg3
= static_cast< int >(val3
);
25159 if (!wxPyCheckForApp()) SWIG_fail
;
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25172 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25176 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25178 if ((argc
>= 1) && (argc
<= 3)) {
25183 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25184 _v
= SWIG_CheckState(res
);
25186 if (!_v
) goto check_1
;
25188 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25192 if ((argc
>= 2) && (argc
<= 3)) {
25193 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25197 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25202 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25203 PyObject
*resultobj
= 0;
25204 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25207 PyObject
*swig_obj
[1] ;
25209 if (!args
) SWIG_fail
;
25210 swig_obj
[0] = args
;
25211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25212 if (!SWIG_IsOK(res1
)) {
25213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25215 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_Py_Void();
25230 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25231 PyObject
*resultobj
= 0;
25232 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25235 PyObject
*swig_obj
[1] ;
25237 if (!args
) SWIG_fail
;
25238 swig_obj
[0] = args
;
25239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25240 if (!SWIG_IsOK(res1
)) {
25241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25243 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 resultobj
= SWIG_Py_Void();
25257 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
= 0;
25259 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25265 PyObject
* obj0
= 0 ;
25266 PyObject
* obj1
= 0 ;
25267 char * kwnames
[] = {
25268 (char *) "self",(char *) "style", NULL
25271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25273 if (!SWIG_IsOK(res1
)) {
25274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25276 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25278 if (!SWIG_IsOK(ecode2
)) {
25279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25281 arg2
= static_cast< int >(val2
);
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 (arg1
)->SetStyle(arg2
);
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= SWIG_Py_Void();
25295 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25296 PyObject
*resultobj
= 0;
25297 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25301 PyObject
*swig_obj
[1] ;
25303 if (!args
) SWIG_fail
;
25304 swig_obj
[0] = args
;
25305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25306 if (!SWIG_IsOK(res1
)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25309 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_From_int(static_cast< int >(result
));
25323 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25326 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25327 return SWIG_Py_Void();
25330 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25331 return SWIG_Python_InitShadowInstance(args
);
25334 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
= 0;
25336 wxWindow
*arg1
= (wxWindow
*) 0 ;
25337 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25338 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25339 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25340 wxBufferedPaintDC
*result
= 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 PyObject
* obj2
= 0 ;
25350 char * kwnames
[] = {
25351 (char *) "window",(char *) "buffer",(char *) "style", NULL
25354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25362 if (!SWIG_IsOK(res2
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25368 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25372 if (!SWIG_IsOK(ecode3
)) {
25373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25375 arg3
= static_cast< int >(val3
);
25378 if (!wxPyCheckForApp()) SWIG_fail
;
25379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25380 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25391 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25394 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25395 return SWIG_Py_Void();
25398 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25399 return SWIG_Python_InitShadowInstance(args
);
25402 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
= 0;
25404 wxWindow
*arg1
= (wxWindow
*) 0 ;
25405 wxAutoBufferedPaintDC
*result
= 0 ;
25408 PyObject
* obj0
= 0 ;
25409 char * kwnames
[] = {
25410 (char *) "win", NULL
25413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25415 if (!SWIG_IsOK(res1
)) {
25416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25418 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25432 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25435 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25436 return SWIG_Py_Void();
25439 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25440 return SWIG_Python_InitShadowInstance(args
);
25443 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
= 0;
25445 wxWindow
*arg1
= (wxWindow
*) 0 ;
25449 PyObject
* obj0
= 0 ;
25450 char * kwnames
[] = {
25451 (char *) "window", NULL
25454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25456 if (!SWIG_IsOK(res1
)) {
25457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25459 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25463 wxPyEndAllowThreads(__tstate
);
25464 if (PyErr_Occurred()) SWIG_fail
;
25467 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25475 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
= 0;
25479 wxMirrorDC
*result
= 0 ;
25484 PyObject
* obj0
= 0 ;
25485 PyObject
* obj1
= 0 ;
25486 char * kwnames
[] = {
25487 (char *) "dc",(char *) "mirror", NULL
25490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25491 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25492 if (!SWIG_IsOK(res1
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25499 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25500 if (!SWIG_IsOK(ecode2
)) {
25501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25503 arg2
= static_cast< bool >(val2
);
25505 if (!wxPyCheckForApp()) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25518 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25521 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25522 return SWIG_Py_Void();
25525 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 return SWIG_Python_InitShadowInstance(args
);
25529 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
= 0;
25531 wxPrintData
*arg1
= 0 ;
25532 wxPostScriptDC
*result
= 0 ;
25535 PyObject
* obj0
= 0 ;
25536 char * kwnames
[] = {
25537 (char *) "printData", NULL
25540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25541 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25542 if (!SWIG_IsOK(res1
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25548 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25550 if (!wxPyCheckForApp()) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25563 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25564 PyObject
*resultobj
= 0;
25565 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25566 wxPrintData
*result
= 0 ;
25569 PyObject
*swig_obj
[1] ;
25571 if (!args
) SWIG_fail
;
25572 swig_obj
[0] = args
;
25573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25574 if (!SWIG_IsOK(res1
)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25577 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25582 result
= (wxPrintData
*) &_result_ref
;
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25594 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
= 0;
25596 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25597 wxPrintData
*arg2
= 0 ;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 char * kwnames
[] = {
25605 (char *) "self",(char *) "data", NULL
25608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25610 if (!SWIG_IsOK(res1
)) {
25611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25613 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25615 if (!SWIG_IsOK(res2
)) {
25616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25621 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25624 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= SWIG_Py_Void();
25635 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
= 0;
25640 PyObject
* obj0
= 0 ;
25641 char * kwnames
[] = {
25642 (char *) "ppi", NULL
25645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25646 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25647 if (!SWIG_IsOK(ecode1
)) {
25648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25650 arg1
= static_cast< int >(val1
);
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 wxPostScriptDC::SetResolution(arg1
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_Py_Void();
25664 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25665 PyObject
*resultobj
= 0;
25668 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (int)wxPostScriptDC::GetResolution();
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= SWIG_From_int(static_cast< int >(result
));
25682 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25685 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25686 return SWIG_Py_Void();
25689 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25690 return SWIG_Python_InitShadowInstance(args
);
25693 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
= 0;
25695 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25696 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25697 wxMetaFile
*result
= 0 ;
25698 bool temp1
= false ;
25699 PyObject
* obj0
= 0 ;
25700 char * kwnames
[] = {
25701 (char *) "filename", NULL
25704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25707 arg1
= wxString_in_helper(obj0
);
25708 if (arg1
== NULL
) SWIG_fail
;
25713 if (!wxPyCheckForApp()) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25734 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25735 PyObject
*resultobj
= 0;
25736 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25739 PyObject
*swig_obj
[1] ;
25741 if (!args
) SWIG_fail
;
25742 swig_obj
[0] = args
;
25743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25747 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_Py_Void();
25762 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25763 PyObject
*resultobj
= 0;
25764 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25768 PyObject
*swig_obj
[1] ;
25770 if (!args
) SWIG_fail
;
25771 swig_obj
[0] = args
;
25772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25773 if (!SWIG_IsOK(res1
)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25776 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= (bool)(arg1
)->IsOk();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25792 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
= 0;
25794 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25795 int arg2
= (int) 0 ;
25796 int arg3
= (int) 0 ;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 PyObject
* obj2
= 0 ;
25807 char * kwnames
[] = {
25808 (char *) "self",(char *) "width",(char *) "height", NULL
25811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25813 if (!SWIG_IsOK(res1
)) {
25814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25816 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25819 if (!SWIG_IsOK(ecode2
)) {
25820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25822 arg2
= static_cast< int >(val2
);
25825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25826 if (!SWIG_IsOK(ecode3
)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25829 arg3
= static_cast< int >(val3
);
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25846 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25847 PyObject
*resultobj
= 0;
25848 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25852 PyObject
*swig_obj
[1] ;
25854 if (!args
) SWIG_fail
;
25855 swig_obj
[0] = args
;
25856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25857 if (!SWIG_IsOK(res1
)) {
25858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25860 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (arg1
)->GetSize();
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25874 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25875 PyObject
*resultobj
= 0;
25876 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25880 PyObject
*swig_obj
[1] ;
25882 if (!args
) SWIG_fail
;
25883 swig_obj
[0] = args
;
25884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25885 if (!SWIG_IsOK(res1
)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25888 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (int)(arg1
)->GetWidth();
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 resultobj
= SWIG_From_int(static_cast< int >(result
));
25902 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25903 PyObject
*resultobj
= 0;
25904 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25908 PyObject
*swig_obj
[1] ;
25910 if (!args
) SWIG_fail
;
25911 swig_obj
[0] = args
;
25912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25913 if (!SWIG_IsOK(res1
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25916 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 result
= (int)(arg1
)->GetHeight();
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_From_int(static_cast< int >(result
));
25930 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25931 PyObject
*resultobj
= 0;
25932 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25933 wxString
*result
= 0 ;
25936 PyObject
*swig_obj
[1] ;
25938 if (!args
) SWIG_fail
;
25939 swig_obj
[0] = args
;
25940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25941 if (!SWIG_IsOK(res1
)) {
25942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25944 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25949 result
= (wxString
*) &_result_ref
;
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25958 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25967 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25970 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25971 return SWIG_Py_Void();
25974 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25975 return SWIG_Python_InitShadowInstance(args
);
25978 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
= 0;
25980 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25981 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25982 int arg2
= (int) 0 ;
25983 int arg3
= (int) 0 ;
25984 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25985 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25986 wxMetaFileDC
*result
= 0 ;
25987 bool temp1
= false ;
25992 bool temp4
= false ;
25993 PyObject
* obj0
= 0 ;
25994 PyObject
* obj1
= 0 ;
25995 PyObject
* obj2
= 0 ;
25996 PyObject
* obj3
= 0 ;
25997 char * kwnames
[] = {
25998 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
26001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26004 arg1
= wxString_in_helper(obj0
);
26005 if (arg1
== NULL
) SWIG_fail
;
26010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26011 if (!SWIG_IsOK(ecode2
)) {
26012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
26014 arg2
= static_cast< int >(val2
);
26017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26018 if (!SWIG_IsOK(ecode3
)) {
26019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
26021 arg3
= static_cast< int >(val3
);
26025 arg4
= wxString_in_helper(obj3
);
26026 if (arg4
== NULL
) SWIG_fail
;
26031 if (!wxPyCheckForApp()) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26060 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26061 PyObject
*resultobj
= 0;
26062 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26063 wxMetaFile
*result
= 0 ;
26066 PyObject
*swig_obj
[1] ;
26068 if (!args
) SWIG_fail
;
26069 swig_obj
[0] = args
;
26070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26071 if (!SWIG_IsOK(res1
)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26074 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (wxMetaFile
*)(arg1
)->Close();
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26088 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26091 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26092 return SWIG_Py_Void();
26095 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26096 return SWIG_Python_InitShadowInstance(args
);
26099 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
= 0;
26101 wxPrintData
*arg1
= 0 ;
26102 wxPrinterDC
*result
= 0 ;
26105 PyObject
* obj0
= 0 ;
26106 char * kwnames
[] = {
26107 (char *) "printData", NULL
26110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26111 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26112 if (!SWIG_IsOK(res1
)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26118 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26120 if (!wxPyCheckForApp()) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26133 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26136 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26137 return SWIG_Py_Void();
26140 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26141 return SWIG_Python_InitShadowInstance(args
);
26144 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
= 0;
26146 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26147 wxGraphicsObject
*result
= 0 ;
26150 PyObject
* obj0
= 0 ;
26151 char * kwnames
[] = {
26152 (char *) "renderer", NULL
26155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26158 if (!SWIG_IsOK(res1
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26161 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26164 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26174 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26175 PyObject
*resultobj
= 0;
26176 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26179 PyObject
*swig_obj
[1] ;
26181 if (!args
) SWIG_fail
;
26182 swig_obj
[0] = args
;
26183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26187 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 resultobj
= SWIG_Py_Void();
26200 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26201 PyObject
*resultobj
= 0;
26202 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26206 PyObject
*swig_obj
[1] ;
26208 if (!args
) SWIG_fail
;
26209 swig_obj
[0] = args
;
26210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26211 if (!SWIG_IsOK(res1
)) {
26212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26214 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26216 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26217 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26228 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26229 PyObject
*resultobj
= 0;
26230 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26231 wxGraphicsRenderer
*result
= 0 ;
26234 PyObject
*swig_obj
[1] ;
26236 if (!args
) SWIG_fail
;
26237 swig_obj
[0] = args
;
26238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26239 if (!SWIG_IsOK(res1
)) {
26240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26242 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26244 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26254 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26257 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26258 return SWIG_Py_Void();
26261 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26262 return SWIG_Python_InitShadowInstance(args
);
26265 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26266 PyObject
*resultobj
= 0;
26267 wxGraphicsPen
*result
= 0 ;
26269 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26271 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26281 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26282 PyObject
*resultobj
= 0;
26283 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26286 PyObject
*swig_obj
[1] ;
26288 if (!args
) SWIG_fail
;
26289 swig_obj
[0] = args
;
26290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26291 if (!SWIG_IsOK(res1
)) {
26292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26294 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= SWIG_Py_Void();
26307 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26310 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26311 return SWIG_Py_Void();
26314 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26315 return SWIG_Python_InitShadowInstance(args
);
26318 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26319 PyObject
*resultobj
= 0;
26320 wxGraphicsBrush
*result
= 0 ;
26322 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26324 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26334 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26335 PyObject
*resultobj
= 0;
26336 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26339 PyObject
*swig_obj
[1] ;
26341 if (!args
) SWIG_fail
;
26342 swig_obj
[0] = args
;
26343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26344 if (!SWIG_IsOK(res1
)) {
26345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26347 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_Py_Void();
26360 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26363 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26364 return SWIG_Py_Void();
26367 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26368 return SWIG_Python_InitShadowInstance(args
);
26371 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26372 PyObject
*resultobj
= 0;
26373 wxGraphicsFont
*result
= 0 ;
26375 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26377 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26387 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26388 PyObject
*resultobj
= 0;
26389 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26392 PyObject
*swig_obj
[1] ;
26394 if (!args
) SWIG_fail
;
26395 swig_obj
[0] = args
;
26396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26397 if (!SWIG_IsOK(res1
)) {
26398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26400 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= SWIG_Py_Void();
26413 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26416 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26417 return SWIG_Py_Void();
26420 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26421 return SWIG_Python_InitShadowInstance(args
);
26424 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26425 PyObject
*resultobj
= 0;
26426 wxGraphicsMatrix
*result
= 0 ;
26428 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26430 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26431 if (PyErr_Occurred()) SWIG_fail
;
26433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26440 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26441 PyObject
*resultobj
= 0;
26442 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26445 PyObject
*swig_obj
[1] ;
26447 if (!args
) SWIG_fail
;
26448 swig_obj
[0] = args
;
26449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26450 if (!SWIG_IsOK(res1
)) {
26451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26453 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 resultobj
= SWIG_Py_Void();
26466 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
= 0;
26468 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26469 wxGraphicsMatrix
*arg2
= 0 ;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 char * kwnames
[] = {
26477 (char *) "self",(char *) "t", NULL
26480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26482 if (!SWIG_IsOK(res1
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26485 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26486 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26487 if (!SWIG_IsOK(res2
)) {
26488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26493 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26495 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26498 resultobj
= SWIG_Py_Void();
26505 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
= 0;
26507 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26508 wxDouble arg2
= (wxDouble
) 1.0 ;
26509 wxDouble arg3
= (wxDouble
) 0.0 ;
26510 wxDouble arg4
= (wxDouble
) 0.0 ;
26511 wxDouble arg5
= (wxDouble
) 1.0 ;
26512 wxDouble arg6
= (wxDouble
) 0.0 ;
26513 wxDouble arg7
= (wxDouble
) 0.0 ;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 PyObject
* obj2
= 0 ;
26531 PyObject
* obj3
= 0 ;
26532 PyObject
* obj4
= 0 ;
26533 PyObject
* obj5
= 0 ;
26534 PyObject
* obj6
= 0 ;
26535 char * kwnames
[] = {
26536 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26544 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26546 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26547 if (!SWIG_IsOK(ecode2
)) {
26548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26550 arg2
= static_cast< wxDouble
>(val2
);
26553 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26554 if (!SWIG_IsOK(ecode3
)) {
26555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26557 arg3
= static_cast< wxDouble
>(val3
);
26560 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26561 if (!SWIG_IsOK(ecode4
)) {
26562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26564 arg4
= static_cast< wxDouble
>(val4
);
26567 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26568 if (!SWIG_IsOK(ecode5
)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26571 arg5
= static_cast< wxDouble
>(val5
);
26574 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26575 if (!SWIG_IsOK(ecode6
)) {
26576 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26578 arg6
= static_cast< wxDouble
>(val6
);
26581 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26582 if (!SWIG_IsOK(ecode7
)) {
26583 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26585 arg7
= static_cast< wxDouble
>(val7
);
26588 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= SWIG_Py_Void();
26598 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26599 PyObject
*resultobj
= 0;
26600 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26601 wxDouble
*arg2
= (wxDouble
*) 0 ;
26602 wxDouble
*arg3
= (wxDouble
*) 0 ;
26603 wxDouble
*arg4
= (wxDouble
*) 0 ;
26604 wxDouble
*arg5
= (wxDouble
*) 0 ;
26605 wxDouble
*arg6
= (wxDouble
*) 0 ;
26606 wxDouble
*arg7
= (wxDouble
*) 0 ;
26610 int res2
= SWIG_TMPOBJ
;
26612 int res3
= SWIG_TMPOBJ
;
26614 int res4
= SWIG_TMPOBJ
;
26616 int res5
= SWIG_TMPOBJ
;
26618 int res6
= SWIG_TMPOBJ
;
26620 int res7
= SWIG_TMPOBJ
;
26621 PyObject
*swig_obj
[1] ;
26629 if (!args
) SWIG_fail
;
26630 swig_obj
[0] = args
;
26631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26632 if (!SWIG_IsOK(res1
)) {
26633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26635 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26637 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26640 resultobj
= SWIG_Py_Void();
26641 if (SWIG_IsTmpObj(res2
)) {
26642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26644 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26647 if (SWIG_IsTmpObj(res3
)) {
26648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26650 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26653 if (SWIG_IsTmpObj(res4
)) {
26654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26656 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26659 if (SWIG_IsTmpObj(res5
)) {
26660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26662 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26665 if (SWIG_IsTmpObj(res6
)) {
26666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26668 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26671 if (SWIG_IsTmpObj(res7
)) {
26672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26674 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26683 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26684 PyObject
*resultobj
= 0;
26685 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26688 PyObject
*swig_obj
[1] ;
26690 if (!args
) SWIG_fail
;
26691 swig_obj
[0] = args
;
26692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26693 if (!SWIG_IsOK(res1
)) {
26694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26696 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 resultobj
= SWIG_Py_Void();
26708 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26709 PyObject
*resultobj
= 0;
26710 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26711 wxGraphicsMatrix
*arg2
= 0 ;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 char * kwnames
[] = {
26720 (char *) "self",(char *) "t", NULL
26723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26725 if (!SWIG_IsOK(res1
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26728 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26730 if (!SWIG_IsOK(res2
)) {
26731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26736 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26738 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26750 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26751 PyObject
*resultobj
= 0;
26752 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26756 PyObject
*swig_obj
[1] ;
26758 if (!args
) SWIG_fail
;
26759 swig_obj
[0] = args
;
26760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26761 if (!SWIG_IsOK(res1
)) {
26762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26764 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26766 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26767 if (PyErr_Occurred()) SWIG_fail
;
26770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26778 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26779 PyObject
*resultobj
= 0;
26780 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26789 PyObject
* obj0
= 0 ;
26790 PyObject
* obj1
= 0 ;
26791 PyObject
* obj2
= 0 ;
26792 char * kwnames
[] = {
26793 (char *) "self",(char *) "dx",(char *) "dy", NULL
26796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26798 if (!SWIG_IsOK(res1
)) {
26799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26801 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26802 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26803 if (!SWIG_IsOK(ecode2
)) {
26804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26806 arg2
= static_cast< wxDouble
>(val2
);
26807 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26808 if (!SWIG_IsOK(ecode3
)) {
26809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26811 arg3
= static_cast< wxDouble
>(val3
);
26813 (arg1
)->Translate(arg2
,arg3
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_Py_Void();
26823 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
= 0;
26825 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 PyObject
* obj2
= 0 ;
26837 char * kwnames
[] = {
26838 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26843 if (!SWIG_IsOK(res1
)) {
26844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26846 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26847 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26848 if (!SWIG_IsOK(ecode2
)) {
26849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26851 arg2
= static_cast< wxDouble
>(val2
);
26852 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26853 if (!SWIG_IsOK(ecode3
)) {
26854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26856 arg3
= static_cast< wxDouble
>(val3
);
26858 (arg1
)->Scale(arg2
,arg3
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_Py_Void();
26868 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
= 0;
26870 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char * kwnames
[] = {
26879 (char *) "self",(char *) "angle", NULL
26882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26884 if (!SWIG_IsOK(res1
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26887 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26888 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26889 if (!SWIG_IsOK(ecode2
)) {
26890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26892 arg2
= static_cast< wxDouble
>(val2
);
26894 (arg1
)->Rotate(arg2
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26897 resultobj
= SWIG_Py_Void();
26904 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
= 0;
26906 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26907 wxDouble
*arg2
= (wxDouble
*) 0 ;
26908 wxDouble
*arg3
= (wxDouble
*) 0 ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 PyObject
* obj2
= 0 ;
26918 char * kwnames
[] = {
26919 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26924 if (!SWIG_IsOK(res1
)) {
26925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26927 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26928 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26930 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26931 if (!SWIG_IsOK(ecode
)) {
26932 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26934 temp2
= static_cast< wxDouble
>(val
);
26936 res2
= SWIG_AddTmpMask(ecode
);
26938 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26940 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26941 if (!SWIG_IsOK(ecode
)) {
26942 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26944 temp3
= static_cast< wxDouble
>(val
);
26946 res3
= SWIG_AddTmpMask(ecode
);
26949 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 resultobj
= SWIG_Py_Void();
26953 if (SWIG_IsTmpObj(res2
)) {
26954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26956 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26959 if (SWIG_IsTmpObj(res3
)) {
26960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26962 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26971 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
= 0;
26973 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26974 wxDouble
*arg2
= (wxDouble
*) 0 ;
26975 wxDouble
*arg3
= (wxDouble
*) 0 ;
26982 PyObject
* obj0
= 0 ;
26983 PyObject
* obj1
= 0 ;
26984 PyObject
* obj2
= 0 ;
26985 char * kwnames
[] = {
26986 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26991 if (!SWIG_IsOK(res1
)) {
26992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26994 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26995 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26997 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26998 if (!SWIG_IsOK(ecode
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
27001 temp2
= static_cast< wxDouble
>(val
);
27003 res2
= SWIG_AddTmpMask(ecode
);
27005 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27007 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27008 if (!SWIG_IsOK(ecode
)) {
27009 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
27011 temp3
= static_cast< wxDouble
>(val
);
27013 res3
= SWIG_AddTmpMask(ecode
);
27016 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27019 resultobj
= SWIG_Py_Void();
27020 if (SWIG_IsTmpObj(res2
)) {
27021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27023 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27026 if (SWIG_IsTmpObj(res3
)) {
27027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27029 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27038 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27039 PyObject
*resultobj
= 0;
27040 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27044 PyObject
*swig_obj
[1] ;
27046 if (!args
) SWIG_fail
;
27047 swig_obj
[0] = args
;
27048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27049 if (!SWIG_IsOK(res1
)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27052 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27054 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27064 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27067 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
27068 return SWIG_Py_Void();
27071 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27072 return SWIG_Python_InitShadowInstance(args
);
27075 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27076 PyObject
*resultobj
= 0;
27077 wxGraphicsPath
*result
= 0 ;
27079 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
27081 if (!wxPyCheckForApp()) SWIG_fail
;
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 result
= (wxGraphicsPath
*)new wxGraphicsPath();
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
27094 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27095 PyObject
*resultobj
= 0;
27096 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27099 PyObject
*swig_obj
[1] ;
27101 if (!args
) SWIG_fail
;
27102 swig_obj
[0] = args
;
27103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27104 if (!SWIG_IsOK(res1
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27107 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_Py_Void();
27120 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27121 PyObject
*resultobj
= 0;
27122 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27132 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27137 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27138 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27139 if (!SWIG_IsOK(ecode2
)) {
27140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27142 arg2
= static_cast< wxDouble
>(val2
);
27143 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27144 if (!SWIG_IsOK(ecode3
)) {
27145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27147 arg3
= static_cast< wxDouble
>(val3
);
27149 (arg1
)->MoveToPoint(arg2
,arg3
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_Py_Void();
27159 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27160 PyObject
*resultobj
= 0;
27161 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27162 wxPoint2D
*arg2
= 0 ;
27167 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27169 if (!SWIG_IsOK(res1
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27172 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27175 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27178 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= SWIG_Py_Void();
27188 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27192 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27195 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27198 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27202 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27207 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27208 PyObject
*resultobj
= 0;
27209 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27219 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27221 if (!SWIG_IsOK(res1
)) {
27222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27224 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27225 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27226 if (!SWIG_IsOK(ecode2
)) {
27227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27229 arg2
= static_cast< wxDouble
>(val2
);
27230 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27231 if (!SWIG_IsOK(ecode3
)) {
27232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27234 arg3
= static_cast< wxDouble
>(val3
);
27236 (arg1
)->AddLineToPoint(arg2
,arg3
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= SWIG_Py_Void();
27246 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27247 PyObject
*resultobj
= 0;
27248 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27249 wxPoint2D
*arg2
= 0 ;
27254 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27256 if (!SWIG_IsOK(res1
)) {
27257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27259 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27262 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27265 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_Py_Void();
27275 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27279 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27282 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27285 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27289 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27294 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27295 PyObject
*resultobj
= 0;
27296 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27318 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27320 if (!SWIG_IsOK(res1
)) {
27321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27323 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27324 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27325 if (!SWIG_IsOK(ecode2
)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27328 arg2
= static_cast< wxDouble
>(val2
);
27329 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27330 if (!SWIG_IsOK(ecode3
)) {
27331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27333 arg3
= static_cast< wxDouble
>(val3
);
27334 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27335 if (!SWIG_IsOK(ecode4
)) {
27336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27338 arg4
= static_cast< wxDouble
>(val4
);
27339 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27340 if (!SWIG_IsOK(ecode5
)) {
27341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27343 arg5
= static_cast< wxDouble
>(val5
);
27344 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27345 if (!SWIG_IsOK(ecode6
)) {
27346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27348 arg6
= static_cast< wxDouble
>(val6
);
27349 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27350 if (!SWIG_IsOK(ecode7
)) {
27351 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27353 arg7
= static_cast< wxDouble
>(val7
);
27355 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 resultobj
= SWIG_Py_Void();
27365 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27366 PyObject
*resultobj
= 0;
27367 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27368 wxPoint2D
*arg2
= 0 ;
27369 wxPoint2D
*arg3
= 0 ;
27370 wxPoint2D
*arg4
= 0 ;
27377 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27379 if (!SWIG_IsOK(res1
)) {
27380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27382 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27385 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27389 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27393 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27396 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27399 resultobj
= SWIG_Py_Void();
27406 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27410 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27413 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27416 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27420 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27425 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
= 0;
27427 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27428 wxGraphicsPath
*arg2
= 0 ;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 char * kwnames
[] = {
27436 (char *) "self",(char *) "path", NULL
27439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27441 if (!SWIG_IsOK(res1
)) {
27442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27444 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27445 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27446 if (!SWIG_IsOK(res2
)) {
27447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27452 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27454 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= SWIG_Py_Void();
27464 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27465 PyObject
*resultobj
= 0;
27466 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27469 PyObject
*swig_obj
[1] ;
27471 if (!args
) SWIG_fail
;
27472 swig_obj
[0] = args
;
27473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27474 if (!SWIG_IsOK(res1
)) {
27475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27477 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27479 (arg1
)->CloseSubpath();
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= SWIG_Py_Void();
27489 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27490 PyObject
*resultobj
= 0;
27491 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27495 PyObject
*swig_obj
[1] ;
27497 if (!args
) SWIG_fail
;
27498 swig_obj
[0] = args
;
27499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27500 if (!SWIG_IsOK(res1
)) {
27501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27503 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27505 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27515 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27516 PyObject
*resultobj
= 0;
27517 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27523 bool arg7
= (bool) true ;
27539 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27541 if (!SWIG_IsOK(res1
)) {
27542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27544 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27545 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27546 if (!SWIG_IsOK(ecode2
)) {
27547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27549 arg2
= static_cast< wxDouble
>(val2
);
27550 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27551 if (!SWIG_IsOK(ecode3
)) {
27552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27554 arg3
= static_cast< wxDouble
>(val3
);
27555 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27556 if (!SWIG_IsOK(ecode4
)) {
27557 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27559 arg4
= static_cast< wxDouble
>(val4
);
27560 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27561 if (!SWIG_IsOK(ecode5
)) {
27562 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27564 arg5
= static_cast< wxDouble
>(val5
);
27565 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27566 if (!SWIG_IsOK(ecode6
)) {
27567 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27569 arg6
= static_cast< wxDouble
>(val6
);
27571 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27572 if (!SWIG_IsOK(ecode7
)) {
27573 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27575 arg7
= static_cast< bool >(val7
);
27578 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27581 resultobj
= SWIG_Py_Void();
27588 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27589 PyObject
*resultobj
= 0;
27590 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27591 wxPoint2D
*arg2
= 0 ;
27595 bool arg6
= (bool) true ;
27608 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
27609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27610 if (!SWIG_IsOK(res1
)) {
27611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27613 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27616 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27618 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27619 if (!SWIG_IsOK(ecode3
)) {
27620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27622 arg3
= static_cast< wxDouble
>(val3
);
27623 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27624 if (!SWIG_IsOK(ecode4
)) {
27625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27627 arg4
= static_cast< wxDouble
>(val4
);
27628 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27629 if (!SWIG_IsOK(ecode5
)) {
27630 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27632 arg5
= static_cast< wxDouble
>(val5
);
27634 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27635 if (!SWIG_IsOK(ecode6
)) {
27636 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27638 arg6
= static_cast< bool >(val6
);
27641 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= SWIG_Py_Void();
27651 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27655 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27657 if ((argc
>= 5) && (argc
<= 6)) {
27661 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27664 if (!_v
) goto check_1
;
27668 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
27669 _v
= SWIG_CheckState(res
);
27672 if (!_v
) goto check_1
;
27674 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27678 if ((argc
>= 6) && (argc
<= 7)) {
27679 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27683 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27688 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
= 0;
27690 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27705 PyObject
* obj0
= 0 ;
27706 PyObject
* obj1
= 0 ;
27707 PyObject
* obj2
= 0 ;
27708 PyObject
* obj3
= 0 ;
27709 PyObject
* obj4
= 0 ;
27710 char * kwnames
[] = {
27711 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27716 if (!SWIG_IsOK(res1
)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27719 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27720 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27721 if (!SWIG_IsOK(ecode2
)) {
27722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27724 arg2
= static_cast< wxDouble
>(val2
);
27725 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27726 if (!SWIG_IsOK(ecode3
)) {
27727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27729 arg3
= static_cast< wxDouble
>(val3
);
27730 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27731 if (!SWIG_IsOK(ecode4
)) {
27732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27734 arg4
= static_cast< wxDouble
>(val4
);
27735 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27736 if (!SWIG_IsOK(ecode5
)) {
27737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27739 arg5
= static_cast< wxDouble
>(val5
);
27741 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= SWIG_Py_Void();
27751 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
= 0;
27753 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27768 PyObject
* obj0
= 0 ;
27769 PyObject
* obj1
= 0 ;
27770 PyObject
* obj2
= 0 ;
27771 PyObject
* obj3
= 0 ;
27772 PyObject
* obj4
= 0 ;
27773 char * kwnames
[] = {
27774 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27779 if (!SWIG_IsOK(res1
)) {
27780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27782 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27783 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27784 if (!SWIG_IsOK(ecode2
)) {
27785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27787 arg2
= static_cast< wxDouble
>(val2
);
27788 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27789 if (!SWIG_IsOK(ecode3
)) {
27790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27792 arg3
= static_cast< wxDouble
>(val3
);
27793 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27794 if (!SWIG_IsOK(ecode4
)) {
27795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27797 arg4
= static_cast< wxDouble
>(val4
);
27798 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27799 if (!SWIG_IsOK(ecode5
)) {
27800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27802 arg5
= static_cast< wxDouble
>(val5
);
27804 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27807 resultobj
= SWIG_Py_Void();
27814 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
= 0;
27816 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27828 PyObject
* obj0
= 0 ;
27829 PyObject
* obj1
= 0 ;
27830 PyObject
* obj2
= 0 ;
27831 PyObject
* obj3
= 0 ;
27832 char * kwnames
[] = {
27833 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27838 if (!SWIG_IsOK(res1
)) {
27839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27841 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27842 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27843 if (!SWIG_IsOK(ecode2
)) {
27844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27846 arg2
= static_cast< wxDouble
>(val2
);
27847 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27848 if (!SWIG_IsOK(ecode3
)) {
27849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27851 arg3
= static_cast< wxDouble
>(val3
);
27852 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27853 if (!SWIG_IsOK(ecode4
)) {
27854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27856 arg4
= static_cast< wxDouble
>(val4
);
27858 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= SWIG_Py_Void();
27868 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
= 0;
27870 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27888 PyObject
* obj0
= 0 ;
27889 PyObject
* obj1
= 0 ;
27890 PyObject
* obj2
= 0 ;
27891 PyObject
* obj3
= 0 ;
27892 PyObject
* obj4
= 0 ;
27893 PyObject
* obj5
= 0 ;
27894 char * kwnames
[] = {
27895 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27900 if (!SWIG_IsOK(res1
)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27903 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27904 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27905 if (!SWIG_IsOK(ecode2
)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27908 arg2
= static_cast< wxDouble
>(val2
);
27909 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27910 if (!SWIG_IsOK(ecode3
)) {
27911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27913 arg3
= static_cast< wxDouble
>(val3
);
27914 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27915 if (!SWIG_IsOK(ecode4
)) {
27916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27918 arg4
= static_cast< wxDouble
>(val4
);
27919 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27920 if (!SWIG_IsOK(ecode5
)) {
27921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27923 arg5
= static_cast< wxDouble
>(val5
);
27924 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27925 if (!SWIG_IsOK(ecode6
)) {
27926 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27928 arg6
= static_cast< wxDouble
>(val6
);
27930 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= SWIG_Py_Void();
27940 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27941 PyObject
*resultobj
= 0;
27942 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27957 PyObject
* obj0
= 0 ;
27958 PyObject
* obj1
= 0 ;
27959 PyObject
* obj2
= 0 ;
27960 PyObject
* obj3
= 0 ;
27961 PyObject
* obj4
= 0 ;
27962 char * kwnames
[] = {
27963 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27968 if (!SWIG_IsOK(res1
)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27971 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27972 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27973 if (!SWIG_IsOK(ecode2
)) {
27974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27976 arg2
= static_cast< wxDouble
>(val2
);
27977 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27978 if (!SWIG_IsOK(ecode3
)) {
27979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27981 arg3
= static_cast< wxDouble
>(val3
);
27982 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27983 if (!SWIG_IsOK(ecode4
)) {
27984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27986 arg4
= static_cast< wxDouble
>(val4
);
27987 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27988 if (!SWIG_IsOK(ecode5
)) {
27989 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27991 arg5
= static_cast< wxDouble
>(val5
);
27993 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_Py_Void();
28003 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
= 0;
28005 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28023 PyObject
* obj0
= 0 ;
28024 PyObject
* obj1
= 0 ;
28025 PyObject
* obj2
= 0 ;
28026 PyObject
* obj3
= 0 ;
28027 PyObject
* obj4
= 0 ;
28028 PyObject
* obj5
= 0 ;
28029 char * kwnames
[] = {
28030 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
28033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28038 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28039 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28040 if (!SWIG_IsOK(ecode2
)) {
28041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28043 arg2
= static_cast< wxDouble
>(val2
);
28044 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28045 if (!SWIG_IsOK(ecode3
)) {
28046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28048 arg3
= static_cast< wxDouble
>(val3
);
28049 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28050 if (!SWIG_IsOK(ecode4
)) {
28051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28053 arg4
= static_cast< wxDouble
>(val4
);
28054 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28055 if (!SWIG_IsOK(ecode5
)) {
28056 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28058 arg5
= static_cast< wxDouble
>(val5
);
28059 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28060 if (!SWIG_IsOK(ecode6
)) {
28061 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
28063 arg6
= static_cast< wxDouble
>(val6
);
28065 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= SWIG_Py_Void();
28075 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28076 PyObject
*resultobj
= 0;
28077 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28081 PyObject
*swig_obj
[1] ;
28083 if (!args
) SWIG_fail
;
28084 swig_obj
[0] = args
;
28085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28086 if (!SWIG_IsOK(res1
)) {
28087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28089 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28091 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
28092 if (PyErr_Occurred()) SWIG_fail
;
28094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28101 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28102 PyObject
*resultobj
= 0;
28103 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28104 void *arg2
= (void *) 0 ;
28108 PyObject
* obj0
= 0 ;
28109 PyObject
* obj1
= 0 ;
28110 char * kwnames
[] = {
28111 (char *) "self",(char *) "p", NULL
28114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28116 if (!SWIG_IsOK(res1
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28119 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28120 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28121 if (!SWIG_IsOK(res2
)) {
28122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28125 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28128 resultobj
= SWIG_Py_Void();
28135 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28136 PyObject
*resultobj
= 0;
28137 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28138 wxGraphicsMatrix
*arg2
= 0 ;
28143 PyObject
* obj0
= 0 ;
28144 PyObject
* obj1
= 0 ;
28145 char * kwnames
[] = {
28146 (char *) "self",(char *) "matrix", NULL
28149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28151 if (!SWIG_IsOK(res1
)) {
28152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28154 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28156 if (!SWIG_IsOK(res2
)) {
28157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28162 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28164 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= SWIG_Py_Void();
28174 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28175 PyObject
*resultobj
= 0;
28176 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28180 PyObject
*swig_obj
[1] ;
28182 if (!args
) SWIG_fail
;
28183 swig_obj
[0] = args
;
28184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28185 if (!SWIG_IsOK(res1
)) {
28186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28188 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28190 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
28200 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28201 PyObject
*resultobj
= 0;
28202 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28205 int arg4
= (int) wxODDEVEN_RULE
;
28216 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28218 if (!SWIG_IsOK(res1
)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28221 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28222 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28223 if (!SWIG_IsOK(ecode2
)) {
28224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28226 arg2
= static_cast< wxDouble
>(val2
);
28227 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28228 if (!SWIG_IsOK(ecode3
)) {
28229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28231 arg3
= static_cast< wxDouble
>(val3
);
28233 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28234 if (!SWIG_IsOK(ecode4
)) {
28235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28237 arg4
= static_cast< int >(val4
);
28240 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28252 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28253 PyObject
*resultobj
= 0;
28254 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28255 wxPoint2D
*arg2
= 0 ;
28256 int arg3
= (int) wxODDEVEN_RULE
;
28264 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28266 if (!SWIG_IsOK(res1
)) {
28267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28269 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28272 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
28275 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28276 if (!SWIG_IsOK(ecode3
)) {
28277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28279 arg3
= static_cast< int >(val3
);
28282 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28294 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28298 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28300 if ((argc
>= 2) && (argc
<= 3)) {
28304 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28307 if (!_v
) goto check_1
;
28311 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28312 _v
= SWIG_CheckState(res
);
28315 if (!_v
) goto check_1
;
28317 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28321 if ((argc
>= 3) && (argc
<= 4)) {
28322 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28326 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28331 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28334 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28335 return SWIG_Py_Void();
28338 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28339 return SWIG_Python_InitShadowInstance(args
);
28342 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28343 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28348 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28349 PyObject
*pyobj
= 0;
28351 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28356 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28357 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28362 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28363 PyObject
*pyobj
= 0;
28365 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28370 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28371 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28376 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28377 PyObject
*pyobj
= 0;
28379 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28384 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28385 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28390 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28391 PyObject
*pyobj
= 0;
28393 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28398 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28399 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28404 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28405 PyObject
*pyobj
= 0;
28407 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28412 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28413 PyObject
*resultobj
= 0;
28414 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28417 PyObject
*swig_obj
[1] ;
28419 if (!args
) SWIG_fail
;
28420 swig_obj
[0] = args
;
28421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28422 if (!SWIG_IsOK(res1
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28425 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= SWIG_Py_Void();
28438 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28439 PyObject
*resultobj
= 0;
28440 wxWindowDC
*arg1
= 0 ;
28441 wxGraphicsContext
*result
= 0 ;
28445 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28447 if (!SWIG_IsOK(res1
)) {
28448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28453 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28455 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28465 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28466 PyObject
*resultobj
= 0;
28467 wxWindow
*arg1
= (wxWindow
*) 0 ;
28468 wxGraphicsContext
*result
= 0 ;
28472 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28474 if (!SWIG_IsOK(res1
)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28477 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28479 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28489 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28493 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28498 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28499 _v
= SWIG_CheckState(res
);
28501 if (!_v
) goto check_1
;
28502 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28507 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28511 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28516 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28517 PyObject
*resultobj
= 0;
28518 wxGraphicsContext
*result
= 0 ;
28520 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28522 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28532 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
= 0;
28534 void *arg1
= (void *) 0 ;
28535 wxGraphicsContext
*result
= 0 ;
28537 PyObject
* obj0
= 0 ;
28538 char * kwnames
[] = {
28539 (char *) "context", NULL
28542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28543 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28544 if (!SWIG_IsOK(res1
)) {
28545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28548 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28558 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
= 0;
28560 void *arg1
= (void *) 0 ;
28561 wxGraphicsContext
*result
= 0 ;
28563 PyObject
* obj0
= 0 ;
28564 char * kwnames
[] = {
28565 (char *) "window", NULL
28568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28569 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28570 if (!SWIG_IsOK(res1
)) {
28571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28574 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28584 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28585 PyObject
*resultobj
= 0;
28586 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28587 wxGraphicsPath result
;
28590 PyObject
*swig_obj
[1] ;
28592 if (!args
) SWIG_fail
;
28593 swig_obj
[0] = args
;
28594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28595 if (!SWIG_IsOK(res1
)) {
28596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28598 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28600 result
= (arg1
)->CreatePath();
28601 if (PyErr_Occurred()) SWIG_fail
;
28603 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28610 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
= 0;
28612 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28614 wxGraphicsPen result
;
28619 PyObject
* obj0
= 0 ;
28620 PyObject
* obj1
= 0 ;
28621 char * kwnames
[] = {
28622 (char *) "self",(char *) "pen", NULL
28625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28627 if (!SWIG_IsOK(res1
)) {
28628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28630 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28632 if (!SWIG_IsOK(res2
)) {
28633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28638 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28640 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28643 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28650 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
= 0;
28652 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28653 wxBrush
*arg2
= 0 ;
28654 wxGraphicsBrush result
;
28659 PyObject
* obj0
= 0 ;
28660 PyObject
* obj1
= 0 ;
28661 char * kwnames
[] = {
28662 (char *) "self",(char *) "brush", NULL
28665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28667 if (!SWIG_IsOK(res1
)) {
28668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28670 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28672 if (!SWIG_IsOK(res2
)) {
28673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28678 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28680 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28690 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
= 0;
28692 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28697 wxColour
*arg6
= 0 ;
28698 wxColour
*arg7
= 0 ;
28699 wxGraphicsBrush result
;
28712 PyObject
* obj0
= 0 ;
28713 PyObject
* obj1
= 0 ;
28714 PyObject
* obj2
= 0 ;
28715 PyObject
* obj3
= 0 ;
28716 PyObject
* obj4
= 0 ;
28717 PyObject
* obj5
= 0 ;
28718 PyObject
* obj6
= 0 ;
28719 char * kwnames
[] = {
28720 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28725 if (!SWIG_IsOK(res1
)) {
28726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28728 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28729 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28730 if (!SWIG_IsOK(ecode2
)) {
28731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28733 arg2
= static_cast< wxDouble
>(val2
);
28734 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28735 if (!SWIG_IsOK(ecode3
)) {
28736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28738 arg3
= static_cast< wxDouble
>(val3
);
28739 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28740 if (!SWIG_IsOK(ecode4
)) {
28741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28743 arg4
= static_cast< wxDouble
>(val4
);
28744 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28745 if (!SWIG_IsOK(ecode5
)) {
28746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28748 arg5
= static_cast< wxDouble
>(val5
);
28751 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28755 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28758 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28761 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28768 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28769 PyObject
*resultobj
= 0;
28770 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28776 wxColour
*arg7
= 0 ;
28777 wxColour
*arg8
= 0 ;
28778 wxGraphicsBrush result
;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 PyObject
* obj2
= 0 ;
28796 PyObject
* obj3
= 0 ;
28797 PyObject
* obj4
= 0 ;
28798 PyObject
* obj5
= 0 ;
28799 PyObject
* obj6
= 0 ;
28800 PyObject
* obj7
= 0 ;
28801 char * kwnames
[] = {
28802 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28807 if (!SWIG_IsOK(res1
)) {
28808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28810 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28811 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28812 if (!SWIG_IsOK(ecode2
)) {
28813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28815 arg2
= static_cast< wxDouble
>(val2
);
28816 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28817 if (!SWIG_IsOK(ecode3
)) {
28818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28820 arg3
= static_cast< wxDouble
>(val3
);
28821 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28822 if (!SWIG_IsOK(ecode4
)) {
28823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28825 arg4
= static_cast< wxDouble
>(val4
);
28826 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28827 if (!SWIG_IsOK(ecode5
)) {
28828 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28830 arg5
= static_cast< wxDouble
>(val5
);
28831 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28832 if (!SWIG_IsOK(ecode6
)) {
28833 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28835 arg6
= static_cast< wxDouble
>(val6
);
28838 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28842 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28845 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28855 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
= 0;
28857 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28859 wxColour
const &arg3_defvalue
= *wxBLACK
;
28860 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28861 wxGraphicsFont result
;
28867 PyObject
* obj0
= 0 ;
28868 PyObject
* obj1
= 0 ;
28869 PyObject
* obj2
= 0 ;
28870 char * kwnames
[] = {
28871 (char *) "self",(char *) "font",(char *) "col", NULL
28874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28879 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28881 if (!SWIG_IsOK(res2
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28887 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28891 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28895 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28898 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28905 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28906 PyObject
*resultobj
= 0;
28907 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28908 wxDouble arg2
= (wxDouble
) 1.0 ;
28909 wxDouble arg3
= (wxDouble
) 0.0 ;
28910 wxDouble arg4
= (wxDouble
) 0.0 ;
28911 wxDouble arg5
= (wxDouble
) 1.0 ;
28912 wxDouble arg6
= (wxDouble
) 0.0 ;
28913 wxDouble arg7
= (wxDouble
) 0.0 ;
28914 wxGraphicsMatrix result
;
28929 PyObject
* obj0
= 0 ;
28930 PyObject
* obj1
= 0 ;
28931 PyObject
* obj2
= 0 ;
28932 PyObject
* obj3
= 0 ;
28933 PyObject
* obj4
= 0 ;
28934 PyObject
* obj5
= 0 ;
28935 PyObject
* obj6
= 0 ;
28936 char * kwnames
[] = {
28937 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28942 if (!SWIG_IsOK(res1
)) {
28943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28945 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28947 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28948 if (!SWIG_IsOK(ecode2
)) {
28949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28951 arg2
= static_cast< wxDouble
>(val2
);
28954 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28955 if (!SWIG_IsOK(ecode3
)) {
28956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28958 arg3
= static_cast< wxDouble
>(val3
);
28961 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28962 if (!SWIG_IsOK(ecode4
)) {
28963 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28965 arg4
= static_cast< wxDouble
>(val4
);
28968 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28969 if (!SWIG_IsOK(ecode5
)) {
28970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28972 arg5
= static_cast< wxDouble
>(val5
);
28975 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28976 if (!SWIG_IsOK(ecode6
)) {
28977 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28979 arg6
= static_cast< wxDouble
>(val6
);
28982 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28983 if (!SWIG_IsOK(ecode7
)) {
28984 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28986 arg7
= static_cast< wxDouble
>(val7
);
28989 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28999 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29000 PyObject
*resultobj
= 0;
29001 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29004 PyObject
*swig_obj
[1] ;
29006 if (!args
) SWIG_fail
;
29007 swig_obj
[0] = args
;
29008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29009 if (!SWIG_IsOK(res1
)) {
29010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29012 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29014 (arg1
)->PushState();
29015 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= SWIG_Py_Void();
29024 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29025 PyObject
*resultobj
= 0;
29026 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29029 PyObject
*swig_obj
[1] ;
29031 if (!args
) SWIG_fail
;
29032 swig_obj
[0] = args
;
29033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29034 if (!SWIG_IsOK(res1
)) {
29035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29037 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29039 (arg1
)->PopState();
29040 if (PyErr_Occurred()) SWIG_fail
;
29042 resultobj
= SWIG_Py_Void();
29049 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29050 PyObject
*resultobj
= 0;
29051 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29052 wxRegion
*arg2
= 0 ;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 char * kwnames
[] = {
29060 (char *) "self",(char *) "region", NULL
29063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29065 if (!SWIG_IsOK(res1
)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29068 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
29070 if (!SWIG_IsOK(res2
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29076 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
29078 (arg1
)->Clip((wxRegion
const &)*arg2
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= SWIG_Py_Void();
29088 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29089 PyObject
*resultobj
= 0;
29090 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29105 PyObject
* obj0
= 0 ;
29106 PyObject
* obj1
= 0 ;
29107 PyObject
* obj2
= 0 ;
29108 PyObject
* obj3
= 0 ;
29109 PyObject
* obj4
= 0 ;
29110 char * kwnames
[] = {
29111 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29116 if (!SWIG_IsOK(res1
)) {
29117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29119 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29120 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29121 if (!SWIG_IsOK(ecode2
)) {
29122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29124 arg2
= static_cast< wxDouble
>(val2
);
29125 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29126 if (!SWIG_IsOK(ecode3
)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29129 arg3
= static_cast< wxDouble
>(val3
);
29130 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29131 if (!SWIG_IsOK(ecode4
)) {
29132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29134 arg4
= static_cast< wxDouble
>(val4
);
29135 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29136 if (!SWIG_IsOK(ecode5
)) {
29137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29139 arg5
= static_cast< wxDouble
>(val5
);
29141 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29144 resultobj
= SWIG_Py_Void();
29151 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29152 PyObject
*resultobj
= 0;
29153 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29156 PyObject
*swig_obj
[1] ;
29158 if (!args
) SWIG_fail
;
29159 swig_obj
[0] = args
;
29160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29161 if (!SWIG_IsOK(res1
)) {
29162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29164 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29166 (arg1
)->ResetClip();
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= SWIG_Py_Void();
29176 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29177 PyObject
*resultobj
= 0;
29178 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29182 PyObject
*swig_obj
[1] ;
29184 if (!args
) SWIG_fail
;
29185 swig_obj
[0] = args
;
29186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29187 if (!SWIG_IsOK(res1
)) {
29188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29190 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29192 result
= (void *)(arg1
)->GetNativeContext();
29193 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29202 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29203 PyObject
*resultobj
= 0;
29204 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29208 PyObject
*swig_obj
[1] ;
29210 if (!args
) SWIG_fail
;
29211 swig_obj
[0] = args
;
29212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29213 if (!SWIG_IsOK(res1
)) {
29214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29216 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29218 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
29219 if (PyErr_Occurred()) SWIG_fail
;
29221 resultobj
= SWIG_From_int(static_cast< int >(result
));
29228 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
= 0;
29230 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 char * kwnames
[] = {
29240 (char *) "self",(char *) "function", NULL
29243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29245 if (!SWIG_IsOK(res1
)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29248 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29250 if (!SWIG_IsOK(ecode2
)) {
29251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
29253 arg2
= static_cast< int >(val2
);
29255 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29267 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
= 0;
29269 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 PyObject
* obj2
= 0 ;
29281 char * kwnames
[] = {
29282 (char *) "self",(char *) "dx",(char *) "dy", NULL
29285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29287 if (!SWIG_IsOK(res1
)) {
29288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29290 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29291 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29292 if (!SWIG_IsOK(ecode2
)) {
29293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29295 arg2
= static_cast< wxDouble
>(val2
);
29296 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29297 if (!SWIG_IsOK(ecode3
)) {
29298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29300 arg3
= static_cast< wxDouble
>(val3
);
29302 (arg1
)->Translate(arg2
,arg3
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= SWIG_Py_Void();
29312 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
= 0;
29314 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29323 PyObject
* obj0
= 0 ;
29324 PyObject
* obj1
= 0 ;
29325 PyObject
* obj2
= 0 ;
29326 char * kwnames
[] = {
29327 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29332 if (!SWIG_IsOK(res1
)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29335 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29336 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29337 if (!SWIG_IsOK(ecode2
)) {
29338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29340 arg2
= static_cast< wxDouble
>(val2
);
29341 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29342 if (!SWIG_IsOK(ecode3
)) {
29343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29345 arg3
= static_cast< wxDouble
>(val3
);
29347 (arg1
)->Scale(arg2
,arg3
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= SWIG_Py_Void();
29357 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
= 0;
29359 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 char * kwnames
[] = {
29368 (char *) "self",(char *) "angle", NULL
29371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29373 if (!SWIG_IsOK(res1
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29376 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29377 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29378 if (!SWIG_IsOK(ecode2
)) {
29379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29381 arg2
= static_cast< wxDouble
>(val2
);
29383 (arg1
)->Rotate(arg2
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= SWIG_Py_Void();
29393 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
= 0;
29395 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29396 wxGraphicsMatrix
*arg2
= 0 ;
29401 PyObject
* obj0
= 0 ;
29402 PyObject
* obj1
= 0 ;
29403 char * kwnames
[] = {
29404 (char *) "self",(char *) "matrix", NULL
29407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29409 if (!SWIG_IsOK(res1
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29412 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29414 if (!SWIG_IsOK(res2
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29420 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29422 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= SWIG_Py_Void();
29432 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
= 0;
29434 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29435 wxGraphicsMatrix
*arg2
= 0 ;
29440 PyObject
* obj0
= 0 ;
29441 PyObject
* obj1
= 0 ;
29442 char * kwnames
[] = {
29443 (char *) "self",(char *) "matrix", NULL
29446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29448 if (!SWIG_IsOK(res1
)) {
29449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29451 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29452 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29453 if (!SWIG_IsOK(res2
)) {
29454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29459 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29461 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29464 resultobj
= SWIG_Py_Void();
29471 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29472 PyObject
*resultobj
= 0;
29473 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29474 wxGraphicsMatrix result
;
29477 PyObject
*swig_obj
[1] ;
29479 if (!args
) SWIG_fail
;
29480 swig_obj
[0] = args
;
29481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29482 if (!SWIG_IsOK(res1
)) {
29483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29485 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29487 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29488 if (PyErr_Occurred()) SWIG_fail
;
29490 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29497 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29498 PyObject
*resultobj
= 0;
29499 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29500 wxGraphicsPen
*arg2
= 0 ;
29506 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29508 if (!SWIG_IsOK(res1
)) {
29509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29511 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29512 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29513 if (!SWIG_IsOK(res2
)) {
29514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29519 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29521 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29524 resultobj
= SWIG_Py_Void();
29531 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29532 PyObject
*resultobj
= 0;
29533 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29540 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29542 if (!SWIG_IsOK(res1
)) {
29543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29545 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29546 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29547 if (!SWIG_IsOK(res2
)) {
29548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29553 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29555 (arg1
)->SetPen((wxPen
const &)*arg2
);
29556 if (PyErr_Occurred()) SWIG_fail
;
29558 resultobj
= SWIG_Py_Void();
29565 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29569 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29574 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29575 _v
= SWIG_CheckState(res
);
29577 if (!_v
) goto check_1
;
29578 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29583 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29587 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29592 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29593 PyObject
*resultobj
= 0;
29594 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29595 wxGraphicsBrush
*arg2
= 0 ;
29601 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29603 if (!SWIG_IsOK(res1
)) {
29604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29606 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29607 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29608 if (!SWIG_IsOK(res2
)) {
29609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29614 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29616 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29619 resultobj
= SWIG_Py_Void();
29626 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29627 PyObject
*resultobj
= 0;
29628 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29629 wxBrush
*arg2
= 0 ;
29635 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29637 if (!SWIG_IsOK(res1
)) {
29638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29640 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29641 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29642 if (!SWIG_IsOK(res2
)) {
29643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29648 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29650 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29653 resultobj
= SWIG_Py_Void();
29660 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29664 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29669 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29670 _v
= SWIG_CheckState(res
);
29672 if (!_v
) goto check_1
;
29673 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29678 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29682 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29687 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29688 PyObject
*resultobj
= 0;
29689 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29690 wxGraphicsFont
*arg2
= 0 ;
29696 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29698 if (!SWIG_IsOK(res1
)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29701 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29702 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29703 if (!SWIG_IsOK(res2
)) {
29704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29709 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29711 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= SWIG_Py_Void();
29721 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29722 PyObject
*resultobj
= 0;
29723 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29725 wxColour
const &arg3_defvalue
= *wxBLACK
;
29726 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29733 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29738 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29739 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29740 if (!SWIG_IsOK(res2
)) {
29741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29746 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29750 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29754 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29755 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= SWIG_Py_Void();
29764 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29768 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29773 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29774 _v
= SWIG_CheckState(res
);
29776 if (!_v
) goto check_1
;
29777 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29781 if ((argc
>= 2) && (argc
<= 3)) {
29782 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29786 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29791 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
= 0;
29793 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29794 wxGraphicsPath
*arg2
= 0 ;
29799 PyObject
* obj0
= 0 ;
29800 PyObject
* obj1
= 0 ;
29801 char * kwnames
[] = {
29802 (char *) "self",(char *) "path", NULL
29805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29807 if (!SWIG_IsOK(res1
)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29810 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29812 if (!SWIG_IsOK(res2
)) {
29813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29818 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29820 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29823 resultobj
= SWIG_Py_Void();
29830 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29831 PyObject
*resultobj
= 0;
29832 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29833 wxGraphicsPath
*arg2
= 0 ;
29834 int arg3
= (int) wxODDEVEN_RULE
;
29841 PyObject
* obj0
= 0 ;
29842 PyObject
* obj1
= 0 ;
29843 PyObject
* obj2
= 0 ;
29844 char * kwnames
[] = {
29845 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29850 if (!SWIG_IsOK(res1
)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29853 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29855 if (!SWIG_IsOK(res2
)) {
29856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29861 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29864 if (!SWIG_IsOK(ecode3
)) {
29865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29867 arg3
= static_cast< int >(val3
);
29870 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29873 resultobj
= SWIG_Py_Void();
29880 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29881 PyObject
*resultobj
= 0;
29882 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29883 wxGraphicsPath
*arg2
= 0 ;
29884 int arg3
= (int) wxODDEVEN_RULE
;
29891 PyObject
* obj0
= 0 ;
29892 PyObject
* obj1
= 0 ;
29893 PyObject
* obj2
= 0 ;
29894 char * kwnames
[] = {
29895 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29900 if (!SWIG_IsOK(res1
)) {
29901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29903 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29905 if (!SWIG_IsOK(res2
)) {
29906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29911 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29914 if (!SWIG_IsOK(ecode3
)) {
29915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29917 arg3
= static_cast< int >(val3
);
29920 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29923 resultobj
= SWIG_Py_Void();
29930 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29931 PyObject
*resultobj
= 0;
29932 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29933 wxString
*arg2
= 0 ;
29936 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29937 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29940 bool temp2
= false ;
29947 PyObject
* obj0
= 0 ;
29948 PyObject
* obj1
= 0 ;
29949 PyObject
* obj2
= 0 ;
29950 PyObject
* obj3
= 0 ;
29951 PyObject
* obj4
= 0 ;
29952 char * kwnames
[] = {
29953 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29961 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29963 arg2
= wxString_in_helper(obj1
);
29964 if (arg2
== NULL
) SWIG_fail
;
29967 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29968 if (!SWIG_IsOK(ecode3
)) {
29969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29971 arg3
= static_cast< wxDouble
>(val3
);
29972 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29973 if (!SWIG_IsOK(ecode4
)) {
29974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29976 arg4
= static_cast< wxDouble
>(val4
);
29978 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29979 if (!SWIG_IsOK(res5
)) {
29980 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29985 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29988 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29989 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= SWIG_Py_Void();
30006 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30007 PyObject
*resultobj
= 0;
30008 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30009 wxString
*arg2
= 0 ;
30013 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
30014 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
30017 bool temp2
= false ;
30026 PyObject
* obj0
= 0 ;
30027 PyObject
* obj1
= 0 ;
30028 PyObject
* obj2
= 0 ;
30029 PyObject
* obj3
= 0 ;
30030 PyObject
* obj4
= 0 ;
30031 PyObject
* obj5
= 0 ;
30032 char * kwnames
[] = {
30033 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
30036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30038 if (!SWIG_IsOK(res1
)) {
30039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30041 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30043 arg2
= wxString_in_helper(obj1
);
30044 if (arg2
== NULL
) SWIG_fail
;
30047 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30048 if (!SWIG_IsOK(ecode3
)) {
30049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
30051 arg3
= static_cast< wxDouble
>(val3
);
30052 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30053 if (!SWIG_IsOK(ecode4
)) {
30054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
30056 arg4
= static_cast< wxDouble
>(val4
);
30057 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30058 if (!SWIG_IsOK(ecode5
)) {
30059 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
30061 arg5
= static_cast< wxDouble
>(val5
);
30063 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30064 if (!SWIG_IsOK(res6
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30070 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
30073 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= SWIG_Py_Void();
30091 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30092 PyObject
*resultobj
= 0;
30093 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30094 wxString
*arg2
= 0 ;
30095 wxDouble
*arg3
= (wxDouble
*) 0 ;
30096 wxDouble
*arg4
= (wxDouble
*) 0 ;
30097 wxDouble
*arg5
= (wxDouble
*) 0 ;
30098 wxDouble
*arg6
= (wxDouble
*) 0 ;
30101 bool temp2
= false ;
30103 int res3
= SWIG_TMPOBJ
;
30105 int res4
= SWIG_TMPOBJ
;
30107 int res5
= SWIG_TMPOBJ
;
30109 int res6
= SWIG_TMPOBJ
;
30110 PyObject
* obj0
= 0 ;
30111 PyObject
* obj1
= 0 ;
30112 char * kwnames
[] = {
30113 (char *) "self",(char *) "text", NULL
30120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30122 if (!SWIG_IsOK(res1
)) {
30123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30125 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30127 arg2
= wxString_in_helper(obj1
);
30128 if (arg2
== NULL
) SWIG_fail
;
30132 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30135 resultobj
= SWIG_Py_Void();
30136 if (SWIG_IsTmpObj(res3
)) {
30137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
30139 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
30142 if (SWIG_IsTmpObj(res4
)) {
30143 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
30145 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
30148 if (SWIG_IsTmpObj(res5
)) {
30149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
30151 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
30154 if (SWIG_IsTmpObj(res6
)) {
30155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
30157 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
30174 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
= 0;
30176 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30177 wxString
*arg2
= 0 ;
30178 PyObject
*result
= 0 ;
30181 bool temp2
= false ;
30182 PyObject
* obj0
= 0 ;
30183 PyObject
* obj1
= 0 ;
30184 char * kwnames
[] = {
30185 (char *) "self",(char *) "text", NULL
30188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30190 if (!SWIG_IsOK(res1
)) {
30191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30193 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30195 arg2
= wxString_in_helper(obj1
);
30196 if (arg2
== NULL
) SWIG_fail
;
30200 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= result
;
30218 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30219 PyObject
*resultobj
= 0;
30220 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30221 wxString
*arg2
= 0 ;
30222 wxArrayDouble result
;
30225 bool temp2
= false ;
30226 PyObject
* obj0
= 0 ;
30227 PyObject
* obj1
= 0 ;
30228 char * kwnames
[] = {
30229 (char *) "self",(char *) "text", NULL
30232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30234 if (!SWIG_IsOK(res1
)) {
30235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30237 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30239 arg2
= wxString_in_helper(obj1
);
30240 if (arg2
== NULL
) SWIG_fail
;
30244 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30248 resultobj
= wxArrayDouble2PyList_helper(result
);
30264 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30265 PyObject
*resultobj
= 0;
30266 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30267 wxBitmap
*arg2
= 0 ;
30284 PyObject
* obj0
= 0 ;
30285 PyObject
* obj1
= 0 ;
30286 PyObject
* obj2
= 0 ;
30287 PyObject
* obj3
= 0 ;
30288 PyObject
* obj4
= 0 ;
30289 PyObject
* obj5
= 0 ;
30290 char * kwnames
[] = {
30291 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30296 if (!SWIG_IsOK(res1
)) {
30297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30299 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30301 if (!SWIG_IsOK(res2
)) {
30302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30307 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30308 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30309 if (!SWIG_IsOK(ecode3
)) {
30310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30312 arg3
= static_cast< wxDouble
>(val3
);
30313 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30314 if (!SWIG_IsOK(ecode4
)) {
30315 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30317 arg4
= static_cast< wxDouble
>(val4
);
30318 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30319 if (!SWIG_IsOK(ecode5
)) {
30320 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30322 arg5
= static_cast< wxDouble
>(val5
);
30323 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30324 if (!SWIG_IsOK(ecode6
)) {
30325 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30327 arg6
= static_cast< wxDouble
>(val6
);
30329 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30332 resultobj
= SWIG_Py_Void();
30339 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
= 0;
30341 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30359 PyObject
* obj0
= 0 ;
30360 PyObject
* obj1
= 0 ;
30361 PyObject
* obj2
= 0 ;
30362 PyObject
* obj3
= 0 ;
30363 PyObject
* obj4
= 0 ;
30364 PyObject
* obj5
= 0 ;
30365 char * kwnames
[] = {
30366 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30371 if (!SWIG_IsOK(res1
)) {
30372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30374 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30376 if (!SWIG_IsOK(res2
)) {
30377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30382 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30383 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30384 if (!SWIG_IsOK(ecode3
)) {
30385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30387 arg3
= static_cast< wxDouble
>(val3
);
30388 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30389 if (!SWIG_IsOK(ecode4
)) {
30390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30392 arg4
= static_cast< wxDouble
>(val4
);
30393 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30394 if (!SWIG_IsOK(ecode5
)) {
30395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30397 arg5
= static_cast< wxDouble
>(val5
);
30398 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30399 if (!SWIG_IsOK(ecode6
)) {
30400 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30402 arg6
= static_cast< wxDouble
>(val6
);
30404 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_Py_Void();
30414 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
= 0;
30416 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30431 PyObject
* obj0
= 0 ;
30432 PyObject
* obj1
= 0 ;
30433 PyObject
* obj2
= 0 ;
30434 PyObject
* obj3
= 0 ;
30435 PyObject
* obj4
= 0 ;
30436 char * kwnames
[] = {
30437 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30442 if (!SWIG_IsOK(res1
)) {
30443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30445 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30446 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30447 if (!SWIG_IsOK(ecode2
)) {
30448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30450 arg2
= static_cast< wxDouble
>(val2
);
30451 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30452 if (!SWIG_IsOK(ecode3
)) {
30453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30455 arg3
= static_cast< wxDouble
>(val3
);
30456 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30457 if (!SWIG_IsOK(ecode4
)) {
30458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30460 arg4
= static_cast< wxDouble
>(val4
);
30461 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30462 if (!SWIG_IsOK(ecode5
)) {
30463 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30465 arg5
= static_cast< wxDouble
>(val5
);
30467 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30470 resultobj
= SWIG_Py_Void();
30477 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30478 PyObject
*resultobj
= 0;
30479 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30481 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30484 PyObject
* obj0
= 0 ;
30485 PyObject
* obj1
= 0 ;
30486 char * kwnames
[] = {
30487 (char *) "self",(char *) "points", NULL
30490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30492 if (!SWIG_IsOK(res1
)) {
30493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30495 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30497 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30498 if (arg3
== NULL
) SWIG_fail
;
30501 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30504 resultobj
= SWIG_Py_Void();
30506 if (arg3
) delete [] arg3
;
30511 if (arg3
) delete [] arg3
;
30517 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
= 0;
30519 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30520 PyObject
*arg2
= (PyObject
*) 0 ;
30521 PyObject
*arg3
= (PyObject
*) 0 ;
30524 PyObject
* obj0
= 0 ;
30525 PyObject
* obj1
= 0 ;
30526 PyObject
* obj2
= 0 ;
30527 char * kwnames
[] = {
30528 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30533 if (!SWIG_IsOK(res1
)) {
30534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30536 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30540 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30543 resultobj
= SWIG_Py_Void();
30550 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30551 PyObject
*resultobj
= 0;
30552 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30554 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30555 int arg4
= (int) wxODDEVEN_RULE
;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 PyObject
* obj2
= 0 ;
30563 char * kwnames
[] = {
30564 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30572 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30574 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30575 if (arg3
== NULL
) SWIG_fail
;
30578 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30579 if (!SWIG_IsOK(ecode4
)) {
30580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30582 arg4
= static_cast< int >(val4
);
30585 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30588 resultobj
= SWIG_Py_Void();
30590 if (arg3
) delete [] arg3
;
30595 if (arg3
) delete [] arg3
;
30601 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
= 0;
30603 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 PyObject
* obj2
= 0 ;
30621 PyObject
* obj3
= 0 ;
30622 PyObject
* obj4
= 0 ;
30623 char * kwnames
[] = {
30624 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30632 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30633 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30634 if (!SWIG_IsOK(ecode2
)) {
30635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30637 arg2
= static_cast< wxDouble
>(val2
);
30638 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30639 if (!SWIG_IsOK(ecode3
)) {
30640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30642 arg3
= static_cast< wxDouble
>(val3
);
30643 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30644 if (!SWIG_IsOK(ecode4
)) {
30645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30647 arg4
= static_cast< wxDouble
>(val4
);
30648 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30649 if (!SWIG_IsOK(ecode5
)) {
30650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30652 arg5
= static_cast< wxDouble
>(val5
);
30654 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30657 resultobj
= SWIG_Py_Void();
30664 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
= 0;
30666 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30681 PyObject
* obj0
= 0 ;
30682 PyObject
* obj1
= 0 ;
30683 PyObject
* obj2
= 0 ;
30684 PyObject
* obj3
= 0 ;
30685 PyObject
* obj4
= 0 ;
30686 char * kwnames
[] = {
30687 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30692 if (!SWIG_IsOK(res1
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30695 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30696 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30697 if (!SWIG_IsOK(ecode2
)) {
30698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30700 arg2
= static_cast< wxDouble
>(val2
);
30701 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30702 if (!SWIG_IsOK(ecode3
)) {
30703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30705 arg3
= static_cast< wxDouble
>(val3
);
30706 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30707 if (!SWIG_IsOK(ecode4
)) {
30708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30710 arg4
= static_cast< wxDouble
>(val4
);
30711 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30712 if (!SWIG_IsOK(ecode5
)) {
30713 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30715 arg5
= static_cast< wxDouble
>(val5
);
30717 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= SWIG_Py_Void();
30727 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30728 PyObject
*resultobj
= 0;
30729 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30747 PyObject
* obj0
= 0 ;
30748 PyObject
* obj1
= 0 ;
30749 PyObject
* obj2
= 0 ;
30750 PyObject
* obj3
= 0 ;
30751 PyObject
* obj4
= 0 ;
30752 PyObject
* obj5
= 0 ;
30753 char * kwnames
[] = {
30754 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30759 if (!SWIG_IsOK(res1
)) {
30760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30762 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30763 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30764 if (!SWIG_IsOK(ecode2
)) {
30765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30767 arg2
= static_cast< wxDouble
>(val2
);
30768 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30769 if (!SWIG_IsOK(ecode3
)) {
30770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30772 arg3
= static_cast< wxDouble
>(val3
);
30773 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30774 if (!SWIG_IsOK(ecode4
)) {
30775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30777 arg4
= static_cast< wxDouble
>(val4
);
30778 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30779 if (!SWIG_IsOK(ecode5
)) {
30780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30782 arg5
= static_cast< wxDouble
>(val5
);
30783 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30784 if (!SWIG_IsOK(ecode6
)) {
30785 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30787 arg6
= static_cast< wxDouble
>(val6
);
30789 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30790 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= SWIG_Py_Void();
30799 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30800 PyObject
*resultobj
= 0;
30801 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30805 PyObject
*swig_obj
[1] ;
30807 if (!args
) SWIG_fail
;
30808 swig_obj
[0] = args
;
30809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30810 if (!SWIG_IsOK(res1
)) {
30811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30813 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30815 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30816 if (PyErr_Occurred()) SWIG_fail
;
30819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30827 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30830 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30831 return SWIG_Py_Void();
30834 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30835 PyObject
*resultobj
= 0;
30836 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30839 PyObject
*swig_obj
[1] ;
30841 if (!args
) SWIG_fail
;
30842 swig_obj
[0] = args
;
30843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30844 if (!SWIG_IsOK(res1
)) {
30845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30847 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= SWIG_Py_Void();
30860 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30861 PyObject
*resultobj
= 0;
30862 wxGraphicsRenderer
*result
= 0 ;
30864 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30866 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30876 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30877 PyObject
*resultobj
= 0;
30878 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30879 wxWindowDC
*arg2
= 0 ;
30880 wxGraphicsContext
*result
= 0 ;
30886 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30888 if (!SWIG_IsOK(res1
)) {
30889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30891 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30892 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30893 if (!SWIG_IsOK(res2
)) {
30894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30899 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30901 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30902 if (PyErr_Occurred()) SWIG_fail
;
30904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30911 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30912 PyObject
*resultobj
= 0;
30913 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30914 wxWindow
*arg2
= (wxWindow
*) 0 ;
30915 wxGraphicsContext
*result
= 0 ;
30921 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30923 if (!SWIG_IsOK(res1
)) {
30924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30926 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30927 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30928 if (!SWIG_IsOK(res2
)) {
30929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30931 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30933 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30934 if (PyErr_Occurred()) SWIG_fail
;
30936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30943 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30947 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30952 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30953 _v
= SWIG_CheckState(res
);
30955 if (!_v
) goto check_1
;
30956 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30961 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30965 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30970 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30971 PyObject
*resultobj
= 0;
30972 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30973 wxGraphicsContext
*result
= 0 ;
30976 PyObject
*swig_obj
[1] ;
30978 if (!args
) SWIG_fail
;
30979 swig_obj
[0] = args
;
30980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30981 if (!SWIG_IsOK(res1
)) {
30982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30984 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30986 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30987 if (PyErr_Occurred()) SWIG_fail
;
30989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30996 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30997 PyObject
*resultobj
= 0;
30998 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30999 void *arg2
= (void *) 0 ;
31000 wxGraphicsContext
*result
= 0 ;
31004 PyObject
* obj0
= 0 ;
31005 PyObject
* obj1
= 0 ;
31006 char * kwnames
[] = {
31007 (char *) "self",(char *) "context", NULL
31010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31012 if (!SWIG_IsOK(res1
)) {
31013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31015 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31016 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31017 if (!SWIG_IsOK(res2
)) {
31018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
31021 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31031 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31032 PyObject
*resultobj
= 0;
31033 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31034 void *arg2
= (void *) 0 ;
31035 wxGraphicsContext
*result
= 0 ;
31039 PyObject
* obj0
= 0 ;
31040 PyObject
* obj1
= 0 ;
31041 char * kwnames
[] = {
31042 (char *) "self",(char *) "window", NULL
31045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31047 if (!SWIG_IsOK(res1
)) {
31048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31050 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31051 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31052 if (!SWIG_IsOK(res2
)) {
31053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
31056 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31066 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31067 PyObject
*resultobj
= 0;
31068 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31069 wxGraphicsPath result
;
31072 PyObject
*swig_obj
[1] ;
31074 if (!args
) SWIG_fail
;
31075 swig_obj
[0] = args
;
31076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31077 if (!SWIG_IsOK(res1
)) {
31078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31080 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31082 result
= (arg1
)->CreatePath();
31083 if (PyErr_Occurred()) SWIG_fail
;
31085 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
31092 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31093 PyObject
*resultobj
= 0;
31094 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31095 wxDouble arg2
= (wxDouble
) 1.0 ;
31096 wxDouble arg3
= (wxDouble
) 0.0 ;
31097 wxDouble arg4
= (wxDouble
) 0.0 ;
31098 wxDouble arg5
= (wxDouble
) 1.0 ;
31099 wxDouble arg6
= (wxDouble
) 0.0 ;
31100 wxDouble arg7
= (wxDouble
) 0.0 ;
31101 wxGraphicsMatrix result
;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 PyObject
* obj2
= 0 ;
31119 PyObject
* obj3
= 0 ;
31120 PyObject
* obj4
= 0 ;
31121 PyObject
* obj5
= 0 ;
31122 PyObject
* obj6
= 0 ;
31123 char * kwnames
[] = {
31124 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
31127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31129 if (!SWIG_IsOK(res1
)) {
31130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31132 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31134 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31135 if (!SWIG_IsOK(ecode2
)) {
31136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
31138 arg2
= static_cast< wxDouble
>(val2
);
31141 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31142 if (!SWIG_IsOK(ecode3
)) {
31143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
31145 arg3
= static_cast< wxDouble
>(val3
);
31148 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31149 if (!SWIG_IsOK(ecode4
)) {
31150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
31152 arg4
= static_cast< wxDouble
>(val4
);
31155 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31156 if (!SWIG_IsOK(ecode5
)) {
31157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
31159 arg5
= static_cast< wxDouble
>(val5
);
31162 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31163 if (!SWIG_IsOK(ecode6
)) {
31164 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
31166 arg6
= static_cast< wxDouble
>(val6
);
31169 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
31170 if (!SWIG_IsOK(ecode7
)) {
31171 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
31173 arg7
= static_cast< wxDouble
>(val7
);
31176 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
31186 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
= 0;
31188 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31190 wxGraphicsPen result
;
31195 PyObject
* obj0
= 0 ;
31196 PyObject
* obj1
= 0 ;
31197 char * kwnames
[] = {
31198 (char *) "self",(char *) "pen", NULL
31201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31203 if (!SWIG_IsOK(res1
)) {
31204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31206 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31208 if (!SWIG_IsOK(res2
)) {
31209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31214 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31216 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31219 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31226 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31227 PyObject
*resultobj
= 0;
31228 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31229 wxBrush
*arg2
= 0 ;
31230 wxGraphicsBrush result
;
31235 PyObject
* obj0
= 0 ;
31236 PyObject
* obj1
= 0 ;
31237 char * kwnames
[] = {
31238 (char *) "self",(char *) "brush", NULL
31241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31243 if (!SWIG_IsOK(res1
)) {
31244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31246 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31248 if (!SWIG_IsOK(res2
)) {
31249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31254 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31256 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31259 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31266 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31267 PyObject
*resultobj
= 0;
31268 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31273 wxColour
*arg6
= 0 ;
31274 wxColour
*arg7
= 0 ;
31275 wxGraphicsBrush result
;
31288 PyObject
* obj0
= 0 ;
31289 PyObject
* obj1
= 0 ;
31290 PyObject
* obj2
= 0 ;
31291 PyObject
* obj3
= 0 ;
31292 PyObject
* obj4
= 0 ;
31293 PyObject
* obj5
= 0 ;
31294 PyObject
* obj6
= 0 ;
31295 char * kwnames
[] = {
31296 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31301 if (!SWIG_IsOK(res1
)) {
31302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31304 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31305 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31306 if (!SWIG_IsOK(ecode2
)) {
31307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31309 arg2
= static_cast< wxDouble
>(val2
);
31310 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31311 if (!SWIG_IsOK(ecode3
)) {
31312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31314 arg3
= static_cast< wxDouble
>(val3
);
31315 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31316 if (!SWIG_IsOK(ecode4
)) {
31317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31319 arg4
= static_cast< wxDouble
>(val4
);
31320 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31321 if (!SWIG_IsOK(ecode5
)) {
31322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31324 arg5
= static_cast< wxDouble
>(val5
);
31327 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31331 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31334 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31337 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31344 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31345 PyObject
*resultobj
= 0;
31346 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31352 wxColour
*arg7
= 0 ;
31353 wxColour
*arg8
= 0 ;
31354 wxGraphicsBrush result
;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 PyObject
* obj2
= 0 ;
31372 PyObject
* obj3
= 0 ;
31373 PyObject
* obj4
= 0 ;
31374 PyObject
* obj5
= 0 ;
31375 PyObject
* obj6
= 0 ;
31376 PyObject
* obj7
= 0 ;
31377 char * kwnames
[] = {
31378 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31383 if (!SWIG_IsOK(res1
)) {
31384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31386 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31387 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31388 if (!SWIG_IsOK(ecode2
)) {
31389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31391 arg2
= static_cast< wxDouble
>(val2
);
31392 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31393 if (!SWIG_IsOK(ecode3
)) {
31394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31396 arg3
= static_cast< wxDouble
>(val3
);
31397 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31398 if (!SWIG_IsOK(ecode4
)) {
31399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31401 arg4
= static_cast< wxDouble
>(val4
);
31402 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31403 if (!SWIG_IsOK(ecode5
)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31406 arg5
= static_cast< wxDouble
>(val5
);
31407 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31408 if (!SWIG_IsOK(ecode6
)) {
31409 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31411 arg6
= static_cast< wxDouble
>(val6
);
31414 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31418 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31421 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31422 if (PyErr_Occurred()) SWIG_fail
;
31424 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31431 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31432 PyObject
*resultobj
= 0;
31433 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31435 wxColour
const &arg3_defvalue
= *wxBLACK
;
31436 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31437 wxGraphicsFont result
;
31443 PyObject
* obj0
= 0 ;
31444 PyObject
* obj1
= 0 ;
31445 PyObject
* obj2
= 0 ;
31446 char * kwnames
[] = {
31447 (char *) "self",(char *) "font",(char *) "col", NULL
31450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31452 if (!SWIG_IsOK(res1
)) {
31453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31455 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31456 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31457 if (!SWIG_IsOK(res2
)) {
31458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31463 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31467 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31471 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31474 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31481 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31484 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31485 return SWIG_Py_Void();
31488 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31489 PyObject
*resultobj
= 0;
31490 wxWindowDC
*arg1
= 0 ;
31491 wxGCDC
*result
= 0 ;
31495 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31497 if (!SWIG_IsOK(res1
)) {
31498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31503 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31505 if (!wxPyCheckForApp()) SWIG_fail
;
31506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31508 wxPyEndAllowThreads(__tstate
);
31509 if (PyErr_Occurred()) SWIG_fail
;
31511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31518 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31519 PyObject
*resultobj
= 0;
31520 wxWindow
*arg1
= (wxWindow
*) 0 ;
31521 wxGCDC
*result
= 0 ;
31525 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31527 if (!SWIG_IsOK(res1
)) {
31528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31532 if (!wxPyCheckForApp()) SWIG_fail
;
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 result
= (wxGCDC
*)new wxGCDC(arg1
);
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31545 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31549 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31554 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31555 _v
= SWIG_CheckState(res
);
31557 if (!_v
) goto check_1
;
31558 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31563 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31567 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31572 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31573 PyObject
*resultobj
= 0;
31574 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31577 PyObject
*swig_obj
[1] ;
31579 if (!args
) SWIG_fail
;
31580 swig_obj
[0] = args
;
31581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31582 if (!SWIG_IsOK(res1
)) {
31583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31585 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= SWIG_Py_Void();
31598 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31599 PyObject
*resultobj
= 0;
31600 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31601 wxGraphicsContext
*result
= 0 ;
31604 PyObject
*swig_obj
[1] ;
31606 if (!args
) SWIG_fail
;
31607 swig_obj
[0] = args
;
31608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31609 if (!SWIG_IsOK(res1
)) {
31610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31612 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31614 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31615 if (PyErr_Occurred()) SWIG_fail
;
31617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31624 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31625 PyObject
*resultobj
= 0;
31626 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31627 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 char * kwnames
[] = {
31635 (char *) "self",(char *) "ctx", NULL
31638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31640 if (!SWIG_IsOK(res1
)) {
31641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31643 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31645 if (!SWIG_IsOK(res2
)) {
31646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31648 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31650 (arg1
)->SetGraphicsContext(arg2
);
31651 if (PyErr_Occurred()) SWIG_fail
;
31653 resultobj
= SWIG_Py_Void();
31660 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31663 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31664 return SWIG_Py_Void();
31667 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31668 return SWIG_Python_InitShadowInstance(args
);
31671 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31672 PyObject
*resultobj
= 0;
31673 wxOverlay
*result
= 0 ;
31675 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 result
= (wxOverlay
*)new wxOverlay();
31679 wxPyEndAllowThreads(__tstate
);
31680 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31689 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31690 PyObject
*resultobj
= 0;
31691 wxOverlay
*arg1
= (wxOverlay
*) 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_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31699 if (!SWIG_IsOK(res1
)) {
31700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31702 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 wxPyEndAllowThreads(__tstate
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31710 resultobj
= SWIG_Py_Void();
31717 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31718 PyObject
*resultobj
= 0;
31719 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31722 PyObject
*swig_obj
[1] ;
31724 if (!args
) SWIG_fail
;
31725 swig_obj
[0] = args
;
31726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31727 if (!SWIG_IsOK(res1
)) {
31728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31730 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 wxPyEndAllowThreads(__tstate
);
31735 if (PyErr_Occurred()) SWIG_fail
;
31737 resultobj
= SWIG_Py_Void();
31744 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31747 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31748 return SWIG_Py_Void();
31751 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31752 return SWIG_Python_InitShadowInstance(args
);
31755 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31756 PyObject
*resultobj
= 0;
31757 wxOverlay
*arg1
= 0 ;
31758 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31763 wxDCOverlay
*result
= 0 ;
31777 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31779 if (!SWIG_IsOK(res1
)) {
31780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31785 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31786 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31787 if (!SWIG_IsOK(res2
)) {
31788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31790 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31791 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31792 if (!SWIG_IsOK(ecode3
)) {
31793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31795 arg3
= static_cast< int >(val3
);
31796 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31797 if (!SWIG_IsOK(ecode4
)) {
31798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31800 arg4
= static_cast< int >(val4
);
31801 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31802 if (!SWIG_IsOK(ecode5
)) {
31803 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31805 arg5
= static_cast< int >(val5
);
31806 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31807 if (!SWIG_IsOK(ecode6
)) {
31808 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31810 arg6
= static_cast< int >(val6
);
31812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31813 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31814 wxPyEndAllowThreads(__tstate
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31824 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31825 PyObject
*resultobj
= 0;
31826 wxOverlay
*arg1
= 0 ;
31827 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31828 wxDCOverlay
*result
= 0 ;
31834 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31836 if (!SWIG_IsOK(res1
)) {
31837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31842 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31843 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31844 if (!SWIG_IsOK(res2
)) {
31845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31847 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31861 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31865 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31868 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31871 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31875 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31880 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31881 PyObject
*resultobj
= 0;
31882 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31885 PyObject
*swig_obj
[1] ;
31887 if (!args
) SWIG_fail
;
31888 swig_obj
[0] = args
;
31889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31890 if (!SWIG_IsOK(res1
)) {
31891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31893 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31898 wxPyEndAllowThreads(__tstate
);
31899 if (PyErr_Occurred()) SWIG_fail
;
31901 resultobj
= SWIG_Py_Void();
31908 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31909 PyObject
*resultobj
= 0;
31910 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31913 PyObject
*swig_obj
[1] ;
31915 if (!args
) SWIG_fail
;
31916 swig_obj
[0] = args
;
31917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31918 if (!SWIG_IsOK(res1
)) {
31919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31921 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 wxPyEndAllowThreads(__tstate
);
31926 if (PyErr_Occurred()) SWIG_fail
;
31928 resultobj
= SWIG_Py_Void();
31935 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31938 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31939 return SWIG_Py_Void();
31942 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31943 return SWIG_Python_InitShadowInstance(args
);
31946 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31947 PyObject
*resultobj
= 0;
31950 int arg3
= (int) true ;
31951 int arg4
= (int) 1 ;
31952 wxImageList
*result
= 0 ;
31961 PyObject
* obj0
= 0 ;
31962 PyObject
* obj1
= 0 ;
31963 PyObject
* obj2
= 0 ;
31964 PyObject
* obj3
= 0 ;
31965 char * kwnames
[] = {
31966 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31970 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31971 if (!SWIG_IsOK(ecode1
)) {
31972 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31974 arg1
= static_cast< int >(val1
);
31975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31976 if (!SWIG_IsOK(ecode2
)) {
31977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31979 arg2
= static_cast< int >(val2
);
31981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31982 if (!SWIG_IsOK(ecode3
)) {
31983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31985 arg3
= static_cast< int >(val3
);
31988 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31989 if (!SWIG_IsOK(ecode4
)) {
31990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31992 arg4
= static_cast< int >(val4
);
31995 if (!wxPyCheckForApp()) SWIG_fail
;
31996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31998 wxPyEndAllowThreads(__tstate
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
32008 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32009 PyObject
*resultobj
= 0;
32010 wxImageList
*arg1
= (wxImageList
*) 0 ;
32013 PyObject
*swig_obj
[1] ;
32015 if (!args
) SWIG_fail
;
32016 swig_obj
[0] = args
;
32017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
32018 if (!SWIG_IsOK(res1
)) {
32019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
32021 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32026 wxPyEndAllowThreads(__tstate
);
32027 if (PyErr_Occurred()) SWIG_fail
;
32029 resultobj
= SWIG_Py_Void();
32036 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32037 PyObject
*resultobj
= 0;
32038 wxImageList
*arg1
= (wxImageList
*) 0 ;
32039 wxBitmap
*arg2
= 0 ;
32040 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32041 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32049 PyObject
* obj0
= 0 ;
32050 PyObject
* obj1
= 0 ;
32051 PyObject
* obj2
= 0 ;
32052 char * kwnames
[] = {
32053 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
32056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32058 if (!SWIG_IsOK(res1
)) {
32059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
32061 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32063 if (!SWIG_IsOK(res2
)) {
32064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32069 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32071 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32072 if (!SWIG_IsOK(res3
)) {
32073 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32078 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32082 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32083 wxPyEndAllowThreads(__tstate
);
32084 if (PyErr_Occurred()) SWIG_fail
;
32086 resultobj
= SWIG_From_int(static_cast< int >(result
));
32093 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32094 PyObject
*resultobj
= 0;
32095 wxImageList
*arg1
= (wxImageList
*) 0 ;
32096 wxBitmap
*arg2
= 0 ;
32097 wxColour
*arg3
= 0 ;
32104 PyObject
* obj0
= 0 ;
32105 PyObject
* obj1
= 0 ;
32106 PyObject
* obj2
= 0 ;
32107 char * kwnames
[] = {
32108 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
32111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32113 if (!SWIG_IsOK(res1
)) {
32114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
32116 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32118 if (!SWIG_IsOK(res2
)) {
32119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32124 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32127 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32131 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
32132 wxPyEndAllowThreads(__tstate
);
32133 if (PyErr_Occurred()) SWIG_fail
;
32135 resultobj
= SWIG_From_int(static_cast< int >(result
));
32142 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32143 PyObject
*resultobj
= 0;
32144 wxImageList
*arg1
= (wxImageList
*) 0 ;
32151 PyObject
* obj0
= 0 ;
32152 PyObject
* obj1
= 0 ;
32153 char * kwnames
[] = {
32154 (char *) "self",(char *) "icon", NULL
32157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32159 if (!SWIG_IsOK(res1
)) {
32160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
32162 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32164 if (!SWIG_IsOK(res2
)) {
32165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32170 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32173 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 resultobj
= SWIG_From_int(static_cast< int >(result
));
32184 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
= 0;
32186 wxImageList
*arg1
= (wxImageList
*) 0 ;
32188 SwigValueWrapper
<wxBitmap
> result
;
32193 PyObject
* obj0
= 0 ;
32194 PyObject
* obj1
= 0 ;
32195 char * kwnames
[] = {
32196 (char *) "self",(char *) "index", NULL
32199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32201 if (!SWIG_IsOK(res1
)) {
32202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32204 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32206 if (!SWIG_IsOK(ecode2
)) {
32207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32209 arg2
= static_cast< int >(val2
);
32211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32212 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32213 wxPyEndAllowThreads(__tstate
);
32214 if (PyErr_Occurred()) SWIG_fail
;
32216 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32223 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32224 PyObject
*resultobj
= 0;
32225 wxImageList
*arg1
= (wxImageList
*) 0 ;
32232 PyObject
* obj0
= 0 ;
32233 PyObject
* obj1
= 0 ;
32234 char * kwnames
[] = {
32235 (char *) "self",(char *) "index", NULL
32238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32240 if (!SWIG_IsOK(res1
)) {
32241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32243 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32245 if (!SWIG_IsOK(ecode2
)) {
32246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32248 arg2
= static_cast< int >(val2
);
32250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32251 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32252 wxPyEndAllowThreads(__tstate
);
32253 if (PyErr_Occurred()) SWIG_fail
;
32255 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32262 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32263 PyObject
*resultobj
= 0;
32264 wxImageList
*arg1
= (wxImageList
*) 0 ;
32266 wxBitmap
*arg3
= 0 ;
32267 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32268 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32278 PyObject
* obj0
= 0 ;
32279 PyObject
* obj1
= 0 ;
32280 PyObject
* obj2
= 0 ;
32281 PyObject
* obj3
= 0 ;
32282 char * kwnames
[] = {
32283 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32288 if (!SWIG_IsOK(res1
)) {
32289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32291 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32293 if (!SWIG_IsOK(ecode2
)) {
32294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32296 arg2
= static_cast< int >(val2
);
32297 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32298 if (!SWIG_IsOK(res3
)) {
32299 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32304 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32306 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32307 if (!SWIG_IsOK(res4
)) {
32308 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32313 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32330 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32331 PyObject
*resultobj
= 0;
32332 wxImageList
*arg1
= (wxImageList
*) 0 ;
32337 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32338 bool arg7
= (bool) (bool)false ;
32354 PyObject
* obj0
= 0 ;
32355 PyObject
* obj1
= 0 ;
32356 PyObject
* obj2
= 0 ;
32357 PyObject
* obj3
= 0 ;
32358 PyObject
* obj4
= 0 ;
32359 PyObject
* obj5
= 0 ;
32360 PyObject
* obj6
= 0 ;
32361 char * kwnames
[] = {
32362 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32367 if (!SWIG_IsOK(res1
)) {
32368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32370 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32372 if (!SWIG_IsOK(ecode2
)) {
32373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32375 arg2
= static_cast< int >(val2
);
32376 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32377 if (!SWIG_IsOK(res3
)) {
32378 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32383 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32385 if (!SWIG_IsOK(ecode4
)) {
32386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32388 arg4
= static_cast< int >(val4
);
32389 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32390 if (!SWIG_IsOK(ecode5
)) {
32391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32393 arg5
= static_cast< int >(val5
);
32395 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32396 if (!SWIG_IsOK(ecode6
)) {
32397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32399 arg6
= static_cast< int >(val6
);
32402 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32403 if (!SWIG_IsOK(ecode7
)) {
32404 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32406 arg7
= static_cast< bool >(val7
);
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32410 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32411 wxPyEndAllowThreads(__tstate
);
32412 if (PyErr_Occurred()) SWIG_fail
;
32415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32423 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32424 PyObject
*resultobj
= 0;
32425 wxImageList
*arg1
= (wxImageList
*) 0 ;
32429 PyObject
*swig_obj
[1] ;
32431 if (!args
) SWIG_fail
;
32432 swig_obj
[0] = args
;
32433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32434 if (!SWIG_IsOK(res1
)) {
32435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32437 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32440 result
= (int)(arg1
)->GetImageCount();
32441 wxPyEndAllowThreads(__tstate
);
32442 if (PyErr_Occurred()) SWIG_fail
;
32444 resultobj
= SWIG_From_int(static_cast< int >(result
));
32451 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32452 PyObject
*resultobj
= 0;
32453 wxImageList
*arg1
= (wxImageList
*) 0 ;
32460 PyObject
* obj0
= 0 ;
32461 PyObject
* obj1
= 0 ;
32462 char * kwnames
[] = {
32463 (char *) "self",(char *) "index", NULL
32466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32468 if (!SWIG_IsOK(res1
)) {
32469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32471 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32473 if (!SWIG_IsOK(ecode2
)) {
32474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32476 arg2
= static_cast< int >(val2
);
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 result
= (bool)(arg1
)->Remove(arg2
);
32480 wxPyEndAllowThreads(__tstate
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32492 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32493 PyObject
*resultobj
= 0;
32494 wxImageList
*arg1
= (wxImageList
*) 0 ;
32498 PyObject
*swig_obj
[1] ;
32500 if (!args
) SWIG_fail
;
32501 swig_obj
[0] = args
;
32502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32503 if (!SWIG_IsOK(res1
)) {
32504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32506 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 result
= (bool)(arg1
)->RemoveAll();
32510 wxPyEndAllowThreads(__tstate
);
32511 if (PyErr_Occurred()) SWIG_fail
;
32514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32522 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32523 PyObject
*resultobj
= 0;
32524 wxImageList
*arg1
= (wxImageList
*) 0 ;
32533 int res3
= SWIG_TMPOBJ
;
32535 int res4
= SWIG_TMPOBJ
;
32536 PyObject
* obj0
= 0 ;
32537 PyObject
* obj1
= 0 ;
32538 char * kwnames
[] = {
32539 (char *) "self",(char *) "index", NULL
32544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32546 if (!SWIG_IsOK(res1
)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32549 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32551 if (!SWIG_IsOK(ecode2
)) {
32552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32554 arg2
= static_cast< int >(val2
);
32556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32557 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32558 wxPyEndAllowThreads(__tstate
);
32559 if (PyErr_Occurred()) SWIG_fail
;
32561 resultobj
= SWIG_Py_Void();
32562 if (SWIG_IsTmpObj(res3
)) {
32563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32565 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32568 if (SWIG_IsTmpObj(res4
)) {
32569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32571 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32580 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32583 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32584 return SWIG_Py_Void();
32587 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32588 return SWIG_Python_InitShadowInstance(args
);
32591 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32592 PyObject
*resultobj
= 0;
32593 wxStockGDI
*result
= 0 ;
32595 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32598 result
= (wxStockGDI
*)new wxStockGDI();
32599 wxPyEndAllowThreads(__tstate
);
32600 if (PyErr_Occurred()) SWIG_fail
;
32602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32609 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32610 PyObject
*resultobj
= 0;
32611 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32614 PyObject
*swig_obj
[1] ;
32616 if (!args
) SWIG_fail
;
32617 swig_obj
[0] = args
;
32618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32619 if (!SWIG_IsOK(res1
)) {
32620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32622 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 resultobj
= SWIG_Py_Void();
32637 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32638 PyObject
*resultobj
= 0;
32640 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32643 wxStockGDI::DeleteAll();
32644 wxPyEndAllowThreads(__tstate
);
32645 if (PyErr_Occurred()) SWIG_fail
;
32647 resultobj
= SWIG_Py_Void();
32654 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32655 PyObject
*resultobj
= 0;
32656 wxStockGDI
*result
= 0 ;
32658 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32662 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32663 result
= (wxStockGDI
*) &_result_ref
;
32665 wxPyEndAllowThreads(__tstate
);
32666 if (PyErr_Occurred()) SWIG_fail
;
32668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32675 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32676 PyObject
*resultobj
= 0;
32677 wxStockGDI::Item arg1
;
32678 wxBrush
*result
= 0 ;
32681 PyObject
* obj0
= 0 ;
32682 char * kwnames
[] = {
32683 (char *) "item", NULL
32686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32688 if (!SWIG_IsOK(ecode1
)) {
32689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32691 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32694 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32695 wxPyEndAllowThreads(__tstate
);
32696 if (PyErr_Occurred()) SWIG_fail
;
32698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32705 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32706 PyObject
*resultobj
= 0;
32707 wxStockGDI::Item arg1
;
32708 wxColour
*result
= 0 ;
32711 PyObject
* obj0
= 0 ;
32712 char * kwnames
[] = {
32713 (char *) "item", NULL
32716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32718 if (!SWIG_IsOK(ecode1
)) {
32719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32721 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32724 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32725 wxPyEndAllowThreads(__tstate
);
32726 if (PyErr_Occurred()) SWIG_fail
;
32728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32735 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32736 PyObject
*resultobj
= 0;
32737 wxStockGDI::Item arg1
;
32738 wxCursor
*result
= 0 ;
32741 PyObject
* obj0
= 0 ;
32742 char * kwnames
[] = {
32743 (char *) "item", NULL
32746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32748 if (!SWIG_IsOK(ecode1
)) {
32749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32751 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32754 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32765 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32766 PyObject
*resultobj
= 0;
32767 wxStockGDI::Item arg1
;
32768 wxPen
*result
= 0 ;
32771 PyObject
* obj0
= 0 ;
32772 char * kwnames
[] = {
32773 (char *) "item", NULL
32776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32777 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32778 if (!SWIG_IsOK(ecode1
)) {
32779 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32781 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32784 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32785 wxPyEndAllowThreads(__tstate
);
32786 if (PyErr_Occurred()) SWIG_fail
;
32788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32795 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32796 PyObject
*resultobj
= 0;
32797 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32798 wxStockGDI::Item arg2
;
32799 wxFont
*result
= 0 ;
32804 PyObject
* obj0
= 0 ;
32805 PyObject
* obj1
= 0 ;
32806 char * kwnames
[] = {
32807 (char *) "self",(char *) "item", NULL
32810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32812 if (!SWIG_IsOK(res1
)) {
32813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32815 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32817 if (!SWIG_IsOK(ecode2
)) {
32818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32820 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32823 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32824 wxPyEndAllowThreads(__tstate
);
32825 if (PyErr_Occurred()) SWIG_fail
;
32827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32834 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32837 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32838 return SWIG_Py_Void();
32841 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32842 return SWIG_Python_InitShadowInstance(args
);
32845 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32846 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32851 SWIGINTERN PyObject
*NullBitmap_get(void) {
32852 PyObject
*pyobj
= 0;
32854 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32859 SWIGINTERN
int NullIcon_set(PyObject
*) {
32860 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32865 SWIGINTERN PyObject
*NullIcon_get(void) {
32866 PyObject
*pyobj
= 0;
32868 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32873 SWIGINTERN
int NullCursor_set(PyObject
*) {
32874 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32879 SWIGINTERN PyObject
*NullCursor_get(void) {
32880 PyObject
*pyobj
= 0;
32882 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32887 SWIGINTERN
int NullPen_set(PyObject
*) {
32888 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32893 SWIGINTERN PyObject
*NullPen_get(void) {
32894 PyObject
*pyobj
= 0;
32896 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32901 SWIGINTERN
int NullBrush_set(PyObject
*) {
32902 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32907 SWIGINTERN PyObject
*NullBrush_get(void) {
32908 PyObject
*pyobj
= 0;
32910 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32915 SWIGINTERN
int NullPalette_set(PyObject
*) {
32916 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32921 SWIGINTERN PyObject
*NullPalette_get(void) {
32922 PyObject
*pyobj
= 0;
32924 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32929 SWIGINTERN
int NullFont_set(PyObject
*) {
32930 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32935 SWIGINTERN PyObject
*NullFont_get(void) {
32936 PyObject
*pyobj
= 0;
32938 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32943 SWIGINTERN
int NullColour_set(PyObject
*) {
32944 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32949 SWIGINTERN PyObject
*NullColour_get(void) {
32950 PyObject
*pyobj
= 0;
32952 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32957 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32958 PyObject
*resultobj
= 0;
32959 wxGDIObjListBase
*result
= 0 ;
32961 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32964 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32965 wxPyEndAllowThreads(__tstate
);
32966 if (PyErr_Occurred()) SWIG_fail
;
32968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32975 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32976 PyObject
*resultobj
= 0;
32977 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32980 PyObject
*swig_obj
[1] ;
32982 if (!args
) SWIG_fail
;
32983 swig_obj
[0] = args
;
32984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32985 if (!SWIG_IsOK(res1
)) {
32986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32988 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32993 wxPyEndAllowThreads(__tstate
);
32994 if (PyErr_Occurred()) SWIG_fail
;
32996 resultobj
= SWIG_Py_Void();
33003 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33006 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
33007 return SWIG_Py_Void();
33010 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33011 return SWIG_Python_InitShadowInstance(args
);
33014 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33015 PyObject
*resultobj
= 0;
33016 wxPenList
*arg1
= (wxPenList
*) 0 ;
33017 wxColour
*arg2
= 0 ;
33020 wxPen
*result
= 0 ;
33028 PyObject
* obj0
= 0 ;
33029 PyObject
* obj1
= 0 ;
33030 PyObject
* obj2
= 0 ;
33031 PyObject
* obj3
= 0 ;
33032 char * kwnames
[] = {
33033 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
33036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33038 if (!SWIG_IsOK(res1
)) {
33039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33041 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33047 if (!SWIG_IsOK(ecode3
)) {
33048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
33050 arg3
= static_cast< int >(val3
);
33051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33052 if (!SWIG_IsOK(ecode4
)) {
33053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
33055 arg4
= static_cast< int >(val4
);
33057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33058 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
33059 wxPyEndAllowThreads(__tstate
);
33060 if (PyErr_Occurred()) SWIG_fail
;
33062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33069 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33070 PyObject
*resultobj
= 0;
33071 wxPenList
*arg1
= (wxPenList
*) 0 ;
33072 wxPen
*arg2
= (wxPen
*) 0 ;
33077 PyObject
* obj0
= 0 ;
33078 PyObject
* obj1
= 0 ;
33079 char * kwnames
[] = {
33080 (char *) "self",(char *) "pen", NULL
33083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33085 if (!SWIG_IsOK(res1
)) {
33086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
33088 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33089 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
33090 if (!SWIG_IsOK(res2
)) {
33091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
33093 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33096 (arg1
)->AddPen(arg2
);
33097 wxPyEndAllowThreads(__tstate
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33100 resultobj
= SWIG_Py_Void();
33107 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33108 PyObject
*resultobj
= 0;
33109 wxPenList
*arg1
= (wxPenList
*) 0 ;
33110 wxPen
*arg2
= (wxPen
*) 0 ;
33115 PyObject
* obj0
= 0 ;
33116 PyObject
* obj1
= 0 ;
33117 char * kwnames
[] = {
33118 (char *) "self",(char *) "pen", NULL
33121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33123 if (!SWIG_IsOK(res1
)) {
33124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33126 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
33128 if (!SWIG_IsOK(res2
)) {
33129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
33131 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33134 (arg1
)->RemovePen(arg2
);
33135 wxPyEndAllowThreads(__tstate
);
33136 if (PyErr_Occurred()) SWIG_fail
;
33138 resultobj
= SWIG_Py_Void();
33145 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33148 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
33149 return SWIG_Py_Void();
33152 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33153 PyObject
*resultobj
= 0;
33154 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33155 wxColour
*arg2
= 0 ;
33156 int arg3
= (int) wxSOLID
;
33157 wxBrush
*result
= 0 ;
33163 PyObject
* obj0
= 0 ;
33164 PyObject
* obj1
= 0 ;
33165 PyObject
* obj2
= 0 ;
33166 char * kwnames
[] = {
33167 (char *) "self",(char *) "colour",(char *) "style", NULL
33170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33172 if (!SWIG_IsOK(res1
)) {
33173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33175 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33178 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33182 if (!SWIG_IsOK(ecode3
)) {
33183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
33185 arg3
= static_cast< int >(val3
);
33188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33200 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33201 PyObject
*resultobj
= 0;
33202 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33203 wxBrush
*arg2
= (wxBrush
*) 0 ;
33208 PyObject
* obj0
= 0 ;
33209 PyObject
* obj1
= 0 ;
33210 char * kwnames
[] = {
33211 (char *) "self",(char *) "brush", NULL
33214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33216 if (!SWIG_IsOK(res1
)) {
33217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33219 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33221 if (!SWIG_IsOK(res2
)) {
33222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33224 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33227 (arg1
)->AddBrush(arg2
);
33228 wxPyEndAllowThreads(__tstate
);
33229 if (PyErr_Occurred()) SWIG_fail
;
33231 resultobj
= SWIG_Py_Void();
33238 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33239 PyObject
*resultobj
= 0;
33240 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33241 wxBrush
*arg2
= (wxBrush
*) 0 ;
33246 PyObject
* obj0
= 0 ;
33247 PyObject
* obj1
= 0 ;
33248 char * kwnames
[] = {
33249 (char *) "self",(char *) "brush", NULL
33252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33254 if (!SWIG_IsOK(res1
)) {
33255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33257 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33259 if (!SWIG_IsOK(res2
)) {
33260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33262 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33265 (arg1
)->RemoveBrush(arg2
);
33266 wxPyEndAllowThreads(__tstate
);
33267 if (PyErr_Occurred()) SWIG_fail
;
33269 resultobj
= SWIG_Py_Void();
33276 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33279 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33280 return SWIG_Py_Void();
33283 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
= 0;
33285 wxFontList
*arg1
= (wxFontList
*) 0 ;
33290 bool arg6
= (bool) false ;
33291 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33292 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33293 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33294 wxFont
*result
= 0 ;
33307 bool temp7
= false ;
33310 PyObject
* obj0
= 0 ;
33311 PyObject
* obj1
= 0 ;
33312 PyObject
* obj2
= 0 ;
33313 PyObject
* obj3
= 0 ;
33314 PyObject
* obj4
= 0 ;
33315 PyObject
* obj5
= 0 ;
33316 PyObject
* obj6
= 0 ;
33317 PyObject
* obj7
= 0 ;
33318 char * kwnames
[] = {
33319 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33324 if (!SWIG_IsOK(res1
)) {
33325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33327 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33329 if (!SWIG_IsOK(ecode2
)) {
33330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33332 arg2
= static_cast< int >(val2
);
33333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33334 if (!SWIG_IsOK(ecode3
)) {
33335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33337 arg3
= static_cast< int >(val3
);
33338 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33339 if (!SWIG_IsOK(ecode4
)) {
33340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33342 arg4
= static_cast< int >(val4
);
33343 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33344 if (!SWIG_IsOK(ecode5
)) {
33345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33347 arg5
= static_cast< int >(val5
);
33349 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33350 if (!SWIG_IsOK(ecode6
)) {
33351 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33353 arg6
= static_cast< bool >(val6
);
33357 arg7
= wxString_in_helper(obj6
);
33358 if (arg7
== NULL
) SWIG_fail
;
33363 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33364 if (!SWIG_IsOK(ecode8
)) {
33365 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33367 arg8
= static_cast< wxFontEncoding
>(val8
);
33370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33371 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33390 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33391 PyObject
*resultobj
= 0;
33392 wxFontList
*arg1
= (wxFontList
*) 0 ;
33393 wxFont
*arg2
= (wxFont
*) 0 ;
33398 PyObject
* obj0
= 0 ;
33399 PyObject
* obj1
= 0 ;
33400 char * kwnames
[] = {
33401 (char *) "self",(char *) "font", NULL
33404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33406 if (!SWIG_IsOK(res1
)) {
33407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33409 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33411 if (!SWIG_IsOK(res2
)) {
33412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33414 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 (arg1
)->AddFont(arg2
);
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= SWIG_Py_Void();
33428 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
= 0;
33430 wxFontList
*arg1
= (wxFontList
*) 0 ;
33431 wxFont
*arg2
= (wxFont
*) 0 ;
33436 PyObject
* obj0
= 0 ;
33437 PyObject
* obj1
= 0 ;
33438 char * kwnames
[] = {
33439 (char *) "self",(char *) "font", NULL
33442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33444 if (!SWIG_IsOK(res1
)) {
33445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33447 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33449 if (!SWIG_IsOK(res2
)) {
33450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33452 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33455 (arg1
)->RemoveFont(arg2
);
33456 wxPyEndAllowThreads(__tstate
);
33457 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= SWIG_Py_Void();
33466 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33469 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33470 return SWIG_Py_Void();
33473 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33474 PyObject
*resultobj
= 0;
33475 wxColourDatabase
*result
= 0 ;
33477 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33479 if (!wxPyCheckForApp()) SWIG_fail
;
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 result
= (wxColourDatabase
*)new wxColourDatabase();
33482 wxPyEndAllowThreads(__tstate
);
33483 if (PyErr_Occurred()) SWIG_fail
;
33485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33492 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33493 PyObject
*resultobj
= 0;
33494 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33497 PyObject
*swig_obj
[1] ;
33499 if (!args
) SWIG_fail
;
33500 swig_obj
[0] = args
;
33501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33502 if (!SWIG_IsOK(res1
)) {
33503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33505 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33513 resultobj
= SWIG_Py_Void();
33520 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33521 PyObject
*resultobj
= 0;
33522 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33523 wxString
*arg2
= 0 ;
33527 bool temp2
= false ;
33528 PyObject
* obj0
= 0 ;
33529 PyObject
* obj1
= 0 ;
33530 char * kwnames
[] = {
33531 (char *) "self",(char *) "name", NULL
33534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33536 if (!SWIG_IsOK(res1
)) {
33537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33539 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33541 arg2
= wxString_in_helper(obj1
);
33542 if (arg2
== NULL
) SWIG_fail
;
33546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33547 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33548 wxPyEndAllowThreads(__tstate
);
33549 if (PyErr_Occurred()) SWIG_fail
;
33551 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33566 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33567 PyObject
*resultobj
= 0;
33568 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33569 wxColour
*arg2
= 0 ;
33574 PyObject
* obj0
= 0 ;
33575 PyObject
* obj1
= 0 ;
33576 char * kwnames
[] = {
33577 (char *) "self",(char *) "colour", NULL
33580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33582 if (!SWIG_IsOK(res1
)) {
33583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33585 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33588 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33592 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33593 wxPyEndAllowThreads(__tstate
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33609 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33610 PyObject
*resultobj
= 0;
33611 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33612 wxString
*arg2
= 0 ;
33613 wxColour
*arg3
= 0 ;
33616 bool temp2
= false ;
33618 PyObject
* obj0
= 0 ;
33619 PyObject
* obj1
= 0 ;
33620 PyObject
* obj2
= 0 ;
33621 char * kwnames
[] = {
33622 (char *) "self",(char *) "name",(char *) "colour", NULL
33625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33627 if (!SWIG_IsOK(res1
)) {
33628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33630 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33632 arg2
= wxString_in_helper(obj1
);
33633 if (arg2
== NULL
) SWIG_fail
;
33638 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33642 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33643 wxPyEndAllowThreads(__tstate
);
33644 if (PyErr_Occurred()) SWIG_fail
;
33646 resultobj
= SWIG_Py_Void();
33661 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33662 PyObject
*resultobj
= 0;
33663 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33664 wxString
*arg2
= 0 ;
33670 bool temp2
= false ;
33677 PyObject
* obj0
= 0 ;
33678 PyObject
* obj1
= 0 ;
33679 PyObject
* obj2
= 0 ;
33680 PyObject
* obj3
= 0 ;
33681 PyObject
* obj4
= 0 ;
33682 char * kwnames
[] = {
33683 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33688 if (!SWIG_IsOK(res1
)) {
33689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33691 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33693 arg2
= wxString_in_helper(obj1
);
33694 if (arg2
== NULL
) SWIG_fail
;
33697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33698 if (!SWIG_IsOK(ecode3
)) {
33699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33701 arg3
= static_cast< int >(val3
);
33702 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33703 if (!SWIG_IsOK(ecode4
)) {
33704 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33706 arg4
= static_cast< int >(val4
);
33707 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33708 if (!SWIG_IsOK(ecode5
)) {
33709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33711 arg5
= static_cast< int >(val5
);
33713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33714 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33715 wxPyEndAllowThreads(__tstate
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33718 resultobj
= SWIG_Py_Void();
33733 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33736 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33737 return SWIG_Py_Void();
33740 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33741 return SWIG_Python_InitShadowInstance(args
);
33744 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33745 PyObject
*resultobj
= 0;
33746 wxFontList
*result
= 0 ;
33748 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33751 result
= (wxFontList
*)_wxPyInitTheFontList();
33752 wxPyEndAllowThreads(__tstate
);
33753 if (PyErr_Occurred()) SWIG_fail
;
33755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33762 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33763 PyObject
*resultobj
= 0;
33764 wxPenList
*result
= 0 ;
33766 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33769 result
= (wxPenList
*)_wxPyInitThePenList();
33770 wxPyEndAllowThreads(__tstate
);
33771 if (PyErr_Occurred()) SWIG_fail
;
33773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33780 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33781 PyObject
*resultobj
= 0;
33782 wxBrushList
*result
= 0 ;
33784 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33788 wxPyEndAllowThreads(__tstate
);
33789 if (PyErr_Occurred()) SWIG_fail
;
33791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33798 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33799 PyObject
*resultobj
= 0;
33800 wxColourDatabase
*result
= 0 ;
33802 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33805 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33806 wxPyEndAllowThreads(__tstate
);
33807 if (PyErr_Occurred()) SWIG_fail
;
33809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33816 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33817 PyObject
*resultobj
= 0;
33818 wxEffects
*result
= 0 ;
33820 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33823 result
= (wxEffects
*)new wxEffects();
33824 wxPyEndAllowThreads(__tstate
);
33825 if (PyErr_Occurred()) SWIG_fail
;
33827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33834 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33835 PyObject
*resultobj
= 0;
33836 wxEffects
*arg1
= (wxEffects
*) 0 ;
33840 PyObject
*swig_obj
[1] ;
33842 if (!args
) SWIG_fail
;
33843 swig_obj
[0] = args
;
33844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33845 if (!SWIG_IsOK(res1
)) {
33846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33848 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33851 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33855 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33862 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33863 PyObject
*resultobj
= 0;
33864 wxEffects
*arg1
= (wxEffects
*) 0 ;
33868 PyObject
*swig_obj
[1] ;
33870 if (!args
) SWIG_fail
;
33871 swig_obj
[0] = args
;
33872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33873 if (!SWIG_IsOK(res1
)) {
33874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33876 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33879 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33880 wxPyEndAllowThreads(__tstate
);
33881 if (PyErr_Occurred()) SWIG_fail
;
33883 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33890 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33891 PyObject
*resultobj
= 0;
33892 wxEffects
*arg1
= (wxEffects
*) 0 ;
33896 PyObject
*swig_obj
[1] ;
33898 if (!args
) SWIG_fail
;
33899 swig_obj
[0] = args
;
33900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33901 if (!SWIG_IsOK(res1
)) {
33902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33904 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33907 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33908 wxPyEndAllowThreads(__tstate
);
33909 if (PyErr_Occurred()) SWIG_fail
;
33911 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33918 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33919 PyObject
*resultobj
= 0;
33920 wxEffects
*arg1
= (wxEffects
*) 0 ;
33924 PyObject
*swig_obj
[1] ;
33926 if (!args
) SWIG_fail
;
33927 swig_obj
[0] = args
;
33928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33929 if (!SWIG_IsOK(res1
)) {
33930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33932 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33935 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33946 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33947 PyObject
*resultobj
= 0;
33948 wxEffects
*arg1
= (wxEffects
*) 0 ;
33952 PyObject
*swig_obj
[1] ;
33954 if (!args
) SWIG_fail
;
33955 swig_obj
[0] = args
;
33956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33957 if (!SWIG_IsOK(res1
)) {
33958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33960 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33963 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33967 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33974 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33975 PyObject
*resultobj
= 0;
33976 wxEffects
*arg1
= (wxEffects
*) 0 ;
33977 wxColour
*arg2
= 0 ;
33981 PyObject
* obj0
= 0 ;
33982 PyObject
* obj1
= 0 ;
33983 char * kwnames
[] = {
33984 (char *) "self",(char *) "c", NULL
33987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33989 if (!SWIG_IsOK(res1
)) {
33990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33992 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33995 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33999 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
34000 wxPyEndAllowThreads(__tstate
);
34001 if (PyErr_Occurred()) SWIG_fail
;
34003 resultobj
= SWIG_Py_Void();
34010 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34011 PyObject
*resultobj
= 0;
34012 wxEffects
*arg1
= (wxEffects
*) 0 ;
34013 wxColour
*arg2
= 0 ;
34017 PyObject
* obj0
= 0 ;
34018 PyObject
* obj1
= 0 ;
34019 char * kwnames
[] = {
34020 (char *) "self",(char *) "c", NULL
34023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34025 if (!SWIG_IsOK(res1
)) {
34026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34028 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34031 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34039 resultobj
= SWIG_Py_Void();
34046 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34047 PyObject
*resultobj
= 0;
34048 wxEffects
*arg1
= (wxEffects
*) 0 ;
34049 wxColour
*arg2
= 0 ;
34053 PyObject
* obj0
= 0 ;
34054 PyObject
* obj1
= 0 ;
34055 char * kwnames
[] = {
34056 (char *) "self",(char *) "c", NULL
34059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34061 if (!SWIG_IsOK(res1
)) {
34062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34064 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
34072 wxPyEndAllowThreads(__tstate
);
34073 if (PyErr_Occurred()) SWIG_fail
;
34075 resultobj
= SWIG_Py_Void();
34082 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34083 PyObject
*resultobj
= 0;
34084 wxEffects
*arg1
= (wxEffects
*) 0 ;
34085 wxColour
*arg2
= 0 ;
34089 PyObject
* obj0
= 0 ;
34090 PyObject
* obj1
= 0 ;
34091 char * kwnames
[] = {
34092 (char *) "self",(char *) "c", NULL
34095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34097 if (!SWIG_IsOK(res1
)) {
34098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34100 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34107 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
34108 wxPyEndAllowThreads(__tstate
);
34109 if (PyErr_Occurred()) SWIG_fail
;
34111 resultobj
= SWIG_Py_Void();
34118 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34119 PyObject
*resultobj
= 0;
34120 wxEffects
*arg1
= (wxEffects
*) 0 ;
34121 wxColour
*arg2
= 0 ;
34125 PyObject
* obj0
= 0 ;
34126 PyObject
* obj1
= 0 ;
34127 char * kwnames
[] = {
34128 (char *) "self",(char *) "c", NULL
34131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34133 if (!SWIG_IsOK(res1
)) {
34134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34136 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
34144 wxPyEndAllowThreads(__tstate
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34147 resultobj
= SWIG_Py_Void();
34154 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
= 0;
34156 wxEffects
*arg1
= (wxEffects
*) 0 ;
34157 wxColour
*arg2
= 0 ;
34158 wxColour
*arg3
= 0 ;
34159 wxColour
*arg4
= 0 ;
34160 wxColour
*arg5
= 0 ;
34161 wxColour
*arg6
= 0 ;
34169 PyObject
* obj0
= 0 ;
34170 PyObject
* obj1
= 0 ;
34171 PyObject
* obj2
= 0 ;
34172 PyObject
* obj3
= 0 ;
34173 PyObject
* obj4
= 0 ;
34174 PyObject
* obj5
= 0 ;
34175 char * kwnames
[] = {
34176 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
34179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34181 if (!SWIG_IsOK(res1
)) {
34182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
34184 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34187 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34191 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34195 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34199 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34203 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34207 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34208 wxPyEndAllowThreads(__tstate
);
34209 if (PyErr_Occurred()) SWIG_fail
;
34211 resultobj
= SWIG_Py_Void();
34218 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34219 PyObject
*resultobj
= 0;
34220 wxEffects
*arg1
= (wxEffects
*) 0 ;
34223 int arg4
= (int) 1 ;
34231 PyObject
* obj0
= 0 ;
34232 PyObject
* obj1
= 0 ;
34233 PyObject
* obj2
= 0 ;
34234 PyObject
* obj3
= 0 ;
34235 char * kwnames
[] = {
34236 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34241 if (!SWIG_IsOK(res1
)) {
34242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34244 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34246 if (!SWIG_IsOK(res2
)) {
34247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34252 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34255 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34259 if (!SWIG_IsOK(ecode4
)) {
34260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34262 arg4
= static_cast< int >(val4
);
34265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34266 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34270 resultobj
= SWIG_Py_Void();
34277 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34278 PyObject
*resultobj
= 0;
34279 wxEffects
*arg1
= (wxEffects
*) 0 ;
34282 wxBitmap
*arg4
= 0 ;
34291 PyObject
* obj0
= 0 ;
34292 PyObject
* obj1
= 0 ;
34293 PyObject
* obj2
= 0 ;
34294 PyObject
* obj3
= 0 ;
34295 char * kwnames
[] = {
34296 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34301 if (!SWIG_IsOK(res1
)) {
34302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34304 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34307 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34309 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34310 if (!SWIG_IsOK(res3
)) {
34311 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34316 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34317 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34318 if (!SWIG_IsOK(res4
)) {
34319 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34324 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34327 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34328 wxPyEndAllowThreads(__tstate
);
34329 if (PyErr_Occurred()) SWIG_fail
;
34332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34340 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34343 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34344 return SWIG_Py_Void();
34347 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34348 return SWIG_Python_InitShadowInstance(args
);
34351 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34352 PyObject
*resultobj
= 0;
34356 wxSplitterRenderParams
*result
= 0 ;
34363 PyObject
* obj0
= 0 ;
34364 PyObject
* obj1
= 0 ;
34365 PyObject
* obj2
= 0 ;
34366 char * kwnames
[] = {
34367 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34371 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34372 if (!SWIG_IsOK(ecode1
)) {
34373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34375 arg1
= static_cast< int >(val1
);
34376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34377 if (!SWIG_IsOK(ecode2
)) {
34378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34380 arg2
= static_cast< int >(val2
);
34381 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34382 if (!SWIG_IsOK(ecode3
)) {
34383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34385 arg3
= static_cast< bool >(val3
);
34387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34388 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34389 wxPyEndAllowThreads(__tstate
);
34390 if (PyErr_Occurred()) SWIG_fail
;
34392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34399 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34400 PyObject
*resultobj
= 0;
34401 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34404 PyObject
*swig_obj
[1] ;
34406 if (!args
) SWIG_fail
;
34407 swig_obj
[0] = args
;
34408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34409 if (!SWIG_IsOK(res1
)) {
34410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34412 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34417 wxPyEndAllowThreads(__tstate
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34420 resultobj
= SWIG_Py_Void();
34427 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34428 PyObject
*resultobj
= 0;
34429 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34433 PyObject
*swig_obj
[1] ;
34435 if (!args
) SWIG_fail
;
34436 swig_obj
[0] = args
;
34437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34438 if (!SWIG_IsOK(res1
)) {
34439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34441 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34442 result
= (int)(int) ((arg1
)->widthSash
);
34443 resultobj
= SWIG_From_int(static_cast< int >(result
));
34450 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34451 PyObject
*resultobj
= 0;
34452 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34456 PyObject
*swig_obj
[1] ;
34458 if (!args
) SWIG_fail
;
34459 swig_obj
[0] = args
;
34460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34461 if (!SWIG_IsOK(res1
)) {
34462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34464 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34465 result
= (int)(int) ((arg1
)->border
);
34466 resultobj
= SWIG_From_int(static_cast< int >(result
));
34473 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34474 PyObject
*resultobj
= 0;
34475 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34479 PyObject
*swig_obj
[1] ;
34481 if (!args
) SWIG_fail
;
34482 swig_obj
[0] = args
;
34483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34484 if (!SWIG_IsOK(res1
)) {
34485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34487 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34488 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34489 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34496 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34499 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34500 return SWIG_Py_Void();
34503 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34504 return SWIG_Python_InitShadowInstance(args
);
34507 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34508 PyObject
*resultobj
= 0;
34509 wxHeaderButtonParams
*result
= 0 ;
34511 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34514 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34515 wxPyEndAllowThreads(__tstate
);
34516 if (PyErr_Occurred()) SWIG_fail
;
34518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34525 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34526 PyObject
*resultobj
= 0;
34527 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34530 PyObject
*swig_obj
[1] ;
34532 if (!args
) SWIG_fail
;
34533 swig_obj
[0] = args
;
34534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34535 if (!SWIG_IsOK(res1
)) {
34536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34538 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34543 wxPyEndAllowThreads(__tstate
);
34544 if (PyErr_Occurred()) SWIG_fail
;
34546 resultobj
= SWIG_Py_Void();
34553 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34554 PyObject
*resultobj
= 0;
34555 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34556 wxColour
*arg2
= (wxColour
*) 0 ;
34560 PyObject
*swig_obj
[2] ;
34562 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34564 if (!SWIG_IsOK(res1
)) {
34565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34567 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34570 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34572 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34574 resultobj
= SWIG_Py_Void();
34581 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34582 PyObject
*resultobj
= 0;
34583 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34584 wxColour
*result
= 0 ;
34587 PyObject
*swig_obj
[1] ;
34589 if (!args
) SWIG_fail
;
34590 swig_obj
[0] = args
;
34591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34592 if (!SWIG_IsOK(res1
)) {
34593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34595 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34596 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34604 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34605 PyObject
*resultobj
= 0;
34606 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34607 wxColour
*arg2
= (wxColour
*) 0 ;
34611 PyObject
*swig_obj
[2] ;
34613 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34615 if (!SWIG_IsOK(res1
)) {
34616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34618 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34621 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34623 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34625 resultobj
= SWIG_Py_Void();
34632 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34633 PyObject
*resultobj
= 0;
34634 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34635 wxColour
*result
= 0 ;
34638 PyObject
*swig_obj
[1] ;
34640 if (!args
) SWIG_fail
;
34641 swig_obj
[0] = args
;
34642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34643 if (!SWIG_IsOK(res1
)) {
34644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34646 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34647 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34655 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34656 PyObject
*resultobj
= 0;
34657 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34658 wxString
*arg2
= (wxString
*) 0 ;
34661 bool temp2
= false ;
34662 PyObject
*swig_obj
[2] ;
34664 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34666 if (!SWIG_IsOK(res1
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34669 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34671 arg2
= wxString_in_helper(swig_obj
[1]);
34672 if (arg2
== NULL
) SWIG_fail
;
34675 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34677 resultobj
= SWIG_Py_Void();
34692 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34693 PyObject
*resultobj
= 0;
34694 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34695 wxString
*result
= 0 ;
34698 PyObject
*swig_obj
[1] ;
34700 if (!args
) SWIG_fail
;
34701 swig_obj
[0] = args
;
34702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34703 if (!SWIG_IsOK(res1
)) {
34704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34706 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34707 result
= (wxString
*)& ((arg1
)->m_labelText
);
34710 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34712 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34721 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34722 PyObject
*resultobj
= 0;
34723 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34724 wxFont
*arg2
= (wxFont
*) 0 ;
34729 PyObject
*swig_obj
[2] ;
34731 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34733 if (!SWIG_IsOK(res1
)) {
34734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34736 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34737 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34738 if (!SWIG_IsOK(res2
)) {
34739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34741 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34742 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34744 resultobj
= SWIG_Py_Void();
34751 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34752 PyObject
*resultobj
= 0;
34753 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34754 wxFont
*result
= 0 ;
34757 PyObject
*swig_obj
[1] ;
34759 if (!args
) SWIG_fail
;
34760 swig_obj
[0] = args
;
34761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34762 if (!SWIG_IsOK(res1
)) {
34763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34765 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34766 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34774 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34775 PyObject
*resultobj
= 0;
34776 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34777 wxColour
*arg2
= (wxColour
*) 0 ;
34781 PyObject
*swig_obj
[2] ;
34783 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34785 if (!SWIG_IsOK(res1
)) {
34786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34788 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34791 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34793 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34795 resultobj
= SWIG_Py_Void();
34802 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34803 PyObject
*resultobj
= 0;
34804 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34805 wxColour
*result
= 0 ;
34808 PyObject
*swig_obj
[1] ;
34810 if (!args
) SWIG_fail
;
34811 swig_obj
[0] = args
;
34812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34813 if (!SWIG_IsOK(res1
)) {
34814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34816 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34817 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34825 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34826 PyObject
*resultobj
= 0;
34827 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34828 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34833 PyObject
*swig_obj
[2] ;
34835 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34837 if (!SWIG_IsOK(res1
)) {
34838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34840 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34841 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34842 if (!SWIG_IsOK(res2
)) {
34843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34845 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34846 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34848 resultobj
= SWIG_Py_Void();
34855 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34856 PyObject
*resultobj
= 0;
34857 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34858 wxBitmap
*result
= 0 ;
34861 PyObject
*swig_obj
[1] ;
34863 if (!args
) SWIG_fail
;
34864 swig_obj
[0] = args
;
34865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34866 if (!SWIG_IsOK(res1
)) {
34867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34869 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34870 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34878 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34879 PyObject
*resultobj
= 0;
34880 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34886 PyObject
*swig_obj
[2] ;
34888 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34890 if (!SWIG_IsOK(res1
)) {
34891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34893 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34894 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34895 if (!SWIG_IsOK(ecode2
)) {
34896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34898 arg2
= static_cast< int >(val2
);
34899 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34901 resultobj
= SWIG_Py_Void();
34908 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34909 PyObject
*resultobj
= 0;
34910 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34914 PyObject
*swig_obj
[1] ;
34916 if (!args
) SWIG_fail
;
34917 swig_obj
[0] = args
;
34918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34919 if (!SWIG_IsOK(res1
)) {
34920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34922 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34923 result
= (int) ((arg1
)->m_labelAlignment
);
34924 resultobj
= SWIG_From_int(static_cast< int >(result
));
34931 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34934 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34935 return SWIG_Py_Void();
34938 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34939 return SWIG_Python_InitShadowInstance(args
);
34942 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34943 PyObject
*resultobj
= 0;
34946 wxRendererVersion
*result
= 0 ;
34951 PyObject
* obj0
= 0 ;
34952 PyObject
* obj1
= 0 ;
34953 char * kwnames
[] = {
34954 (char *) "version_",(char *) "age_", NULL
34957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34959 if (!SWIG_IsOK(ecode1
)) {
34960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34962 arg1
= static_cast< int >(val1
);
34963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34964 if (!SWIG_IsOK(ecode2
)) {
34965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34967 arg2
= static_cast< int >(val2
);
34969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34970 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34971 wxPyEndAllowThreads(__tstate
);
34972 if (PyErr_Occurred()) SWIG_fail
;
34974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34981 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34982 PyObject
*resultobj
= 0;
34983 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34986 PyObject
*swig_obj
[1] ;
34988 if (!args
) SWIG_fail
;
34989 swig_obj
[0] = args
;
34990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34991 if (!SWIG_IsOK(res1
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34994 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34999 wxPyEndAllowThreads(__tstate
);
35000 if (PyErr_Occurred()) SWIG_fail
;
35002 resultobj
= SWIG_Py_Void();
35009 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35010 PyObject
*resultobj
= 0;
35011 wxRendererVersion
*arg1
= 0 ;
35015 PyObject
* obj0
= 0 ;
35016 char * kwnames
[] = {
35017 (char *) "ver", NULL
35020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
35021 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
35022 if (!SWIG_IsOK(res1
)) {
35023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35028 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35031 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
35032 wxPyEndAllowThreads(__tstate
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35044 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35045 PyObject
*resultobj
= 0;
35046 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35050 PyObject
*swig_obj
[1] ;
35052 if (!args
) SWIG_fail
;
35053 swig_obj
[0] = args
;
35054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35055 if (!SWIG_IsOK(res1
)) {
35056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35058 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35059 result
= (int)(int) ((arg1
)->version
);
35060 resultobj
= SWIG_From_int(static_cast< int >(result
));
35067 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35068 PyObject
*resultobj
= 0;
35069 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35073 PyObject
*swig_obj
[1] ;
35075 if (!args
) SWIG_fail
;
35076 swig_obj
[0] = args
;
35077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35078 if (!SWIG_IsOK(res1
)) {
35079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35081 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35082 result
= (int)(int) ((arg1
)->age
);
35083 resultobj
= SWIG_From_int(static_cast< int >(result
));
35090 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35093 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
35094 return SWIG_Py_Void();
35097 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35098 return SWIG_Python_InitShadowInstance(args
);
35101 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35102 PyObject
*resultobj
= 0;
35103 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35104 wxWindow
*arg2
= (wxWindow
*) 0 ;
35107 int arg5
= (int) 0 ;
35108 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35109 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35124 PyObject
* obj0
= 0 ;
35125 PyObject
* obj1
= 0 ;
35126 PyObject
* obj2
= 0 ;
35127 PyObject
* obj3
= 0 ;
35128 PyObject
* obj4
= 0 ;
35129 PyObject
* obj5
= 0 ;
35130 PyObject
* obj6
= 0 ;
35131 char * kwnames
[] = {
35132 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35137 if (!SWIG_IsOK(res1
)) {
35138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35140 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35142 if (!SWIG_IsOK(res2
)) {
35143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35146 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35147 if (!SWIG_IsOK(res3
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35153 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35156 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35160 if (!SWIG_IsOK(ecode5
)) {
35161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
35163 arg5
= static_cast< int >(val5
);
35166 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35167 if (!SWIG_IsOK(ecode6
)) {
35168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35170 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35173 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35174 if (!SWIG_IsOK(res7
)) {
35175 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35177 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35181 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35182 wxPyEndAllowThreads(__tstate
);
35183 if (PyErr_Occurred()) SWIG_fail
;
35185 resultobj
= SWIG_From_int(static_cast< int >(result
));
35192 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35193 PyObject
*resultobj
= 0;
35194 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35195 wxWindow
*arg2
= (wxWindow
*) 0 ;
35198 int arg5
= (int) 0 ;
35199 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35200 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35215 PyObject
* obj0
= 0 ;
35216 PyObject
* obj1
= 0 ;
35217 PyObject
* obj2
= 0 ;
35218 PyObject
* obj3
= 0 ;
35219 PyObject
* obj4
= 0 ;
35220 PyObject
* obj5
= 0 ;
35221 PyObject
* obj6
= 0 ;
35222 char * kwnames
[] = {
35223 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35228 if (!SWIG_IsOK(res1
)) {
35229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35231 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35232 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35233 if (!SWIG_IsOK(res2
)) {
35234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35236 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35237 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35238 if (!SWIG_IsOK(res3
)) {
35239 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35244 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35247 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35250 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35251 if (!SWIG_IsOK(ecode5
)) {
35252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35254 arg5
= static_cast< int >(val5
);
35257 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35258 if (!SWIG_IsOK(ecode6
)) {
35259 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35261 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35264 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35265 if (!SWIG_IsOK(res7
)) {
35266 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35268 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35272 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35273 wxPyEndAllowThreads(__tstate
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35276 resultobj
= SWIG_From_int(static_cast< int >(result
));
35283 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35284 PyObject
*resultobj
= 0;
35285 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35286 wxWindow
*arg2
= (wxWindow
*) 0 ;
35292 PyObject
* obj0
= 0 ;
35293 PyObject
* obj1
= 0 ;
35294 char * kwnames
[] = {
35295 (char *) "self",(char *) "win", NULL
35298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35300 if (!SWIG_IsOK(res1
)) {
35301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35303 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35304 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35305 if (!SWIG_IsOK(res2
)) {
35306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35308 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35311 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35312 wxPyEndAllowThreads(__tstate
);
35313 if (PyErr_Occurred()) SWIG_fail
;
35315 resultobj
= SWIG_From_int(static_cast< int >(result
));
35322 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35323 PyObject
*resultobj
= 0;
35324 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35325 wxWindow
*arg2
= (wxWindow
*) 0 ;
35328 int arg5
= (int) 0 ;
35338 PyObject
* obj0
= 0 ;
35339 PyObject
* obj1
= 0 ;
35340 PyObject
* obj2
= 0 ;
35341 PyObject
* obj3
= 0 ;
35342 PyObject
* obj4
= 0 ;
35343 char * kwnames
[] = {
35344 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35349 if (!SWIG_IsOK(res1
)) {
35350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35352 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35354 if (!SWIG_IsOK(res2
)) {
35355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35357 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35358 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35359 if (!SWIG_IsOK(res3
)) {
35360 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35363 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35365 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35368 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35371 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35372 if (!SWIG_IsOK(ecode5
)) {
35373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35375 arg5
= static_cast< int >(val5
);
35378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35379 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35380 wxPyEndAllowThreads(__tstate
);
35381 if (PyErr_Occurred()) SWIG_fail
;
35383 resultobj
= SWIG_Py_Void();
35390 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35391 PyObject
*resultobj
= 0;
35392 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35393 wxWindow
*arg2
= (wxWindow
*) 0 ;
35396 int arg5
= (int) 0 ;
35406 PyObject
* obj0
= 0 ;
35407 PyObject
* obj1
= 0 ;
35408 PyObject
* obj2
= 0 ;
35409 PyObject
* obj3
= 0 ;
35410 PyObject
* obj4
= 0 ;
35411 char * kwnames
[] = {
35412 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35417 if (!SWIG_IsOK(res1
)) {
35418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35420 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35422 if (!SWIG_IsOK(res2
)) {
35423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35425 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35426 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35427 if (!SWIG_IsOK(res3
)) {
35428 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35433 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35436 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35439 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35440 if (!SWIG_IsOK(ecode5
)) {
35441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35443 arg5
= static_cast< int >(val5
);
35446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35447 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35448 wxPyEndAllowThreads(__tstate
);
35449 if (PyErr_Occurred()) SWIG_fail
;
35451 resultobj
= SWIG_Py_Void();
35458 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35459 PyObject
*resultobj
= 0;
35460 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35461 wxWindow
*arg2
= (wxWindow
*) 0 ;
35465 wxOrientation arg6
;
35466 int arg7
= (int) 0 ;
35480 PyObject
* obj0
= 0 ;
35481 PyObject
* obj1
= 0 ;
35482 PyObject
* obj2
= 0 ;
35483 PyObject
* obj3
= 0 ;
35484 PyObject
* obj4
= 0 ;
35485 PyObject
* obj5
= 0 ;
35486 PyObject
* obj6
= 0 ;
35487 char * kwnames
[] = {
35488 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35493 if (!SWIG_IsOK(res1
)) {
35494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35496 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35497 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35498 if (!SWIG_IsOK(res2
)) {
35499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35501 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35502 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35503 if (!SWIG_IsOK(res3
)) {
35504 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35509 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35512 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35514 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35515 if (!SWIG_IsOK(ecode5
)) {
35516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35518 arg5
= static_cast< int >(val5
);
35519 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35520 if (!SWIG_IsOK(ecode6
)) {
35521 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35523 arg6
= static_cast< wxOrientation
>(val6
);
35525 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35526 if (!SWIG_IsOK(ecode7
)) {
35527 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35529 arg7
= static_cast< int >(val7
);
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35534 wxPyEndAllowThreads(__tstate
);
35535 if (PyErr_Occurred()) SWIG_fail
;
35537 resultobj
= SWIG_Py_Void();
35544 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35545 PyObject
*resultobj
= 0;
35546 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35547 wxWindow
*arg2
= (wxWindow
*) 0 ;
35550 int arg5
= (int) 0 ;
35560 PyObject
* obj0
= 0 ;
35561 PyObject
* obj1
= 0 ;
35562 PyObject
* obj2
= 0 ;
35563 PyObject
* obj3
= 0 ;
35564 PyObject
* obj4
= 0 ;
35565 char * kwnames
[] = {
35566 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35571 if (!SWIG_IsOK(res1
)) {
35572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35574 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35576 if (!SWIG_IsOK(res2
)) {
35577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35579 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35580 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35581 if (!SWIG_IsOK(res3
)) {
35582 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35587 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35590 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35593 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35594 if (!SWIG_IsOK(ecode5
)) {
35595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35597 arg5
= static_cast< int >(val5
);
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35602 wxPyEndAllowThreads(__tstate
);
35603 if (PyErr_Occurred()) SWIG_fail
;
35605 resultobj
= SWIG_Py_Void();
35612 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35613 PyObject
*resultobj
= 0;
35614 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35615 wxWindow
*arg2
= (wxWindow
*) 0 ;
35618 int arg5
= (int) 0 ;
35628 PyObject
* obj0
= 0 ;
35629 PyObject
* obj1
= 0 ;
35630 PyObject
* obj2
= 0 ;
35631 PyObject
* obj3
= 0 ;
35632 PyObject
* obj4
= 0 ;
35633 char * kwnames
[] = {
35634 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35639 if (!SWIG_IsOK(res1
)) {
35640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35642 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35644 if (!SWIG_IsOK(res2
)) {
35645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35647 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35648 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35649 if (!SWIG_IsOK(res3
)) {
35650 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35655 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35658 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35661 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35662 if (!SWIG_IsOK(ecode5
)) {
35663 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35665 arg5
= static_cast< int >(val5
);
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35669 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35670 wxPyEndAllowThreads(__tstate
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35673 resultobj
= SWIG_Py_Void();
35680 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35681 PyObject
*resultobj
= 0;
35682 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35683 wxWindow
*arg2
= (wxWindow
*) 0 ;
35686 int arg5
= (int) 0 ;
35696 PyObject
* obj0
= 0 ;
35697 PyObject
* obj1
= 0 ;
35698 PyObject
* obj2
= 0 ;
35699 PyObject
* obj3
= 0 ;
35700 PyObject
* obj4
= 0 ;
35701 char * kwnames
[] = {
35702 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35707 if (!SWIG_IsOK(res1
)) {
35708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35710 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35712 if (!SWIG_IsOK(res2
)) {
35713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35715 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35716 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35717 if (!SWIG_IsOK(res3
)) {
35718 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35723 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35726 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35729 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35730 if (!SWIG_IsOK(ecode5
)) {
35731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35733 arg5
= static_cast< int >(val5
);
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= SWIG_Py_Void();
35748 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
= 0;
35750 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35751 wxWindow
*arg2
= (wxWindow
*) 0 ;
35754 int arg5
= (int) 0 ;
35764 PyObject
* obj0
= 0 ;
35765 PyObject
* obj1
= 0 ;
35766 PyObject
* obj2
= 0 ;
35767 PyObject
* obj3
= 0 ;
35768 PyObject
* obj4
= 0 ;
35769 char * kwnames
[] = {
35770 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35775 if (!SWIG_IsOK(res1
)) {
35776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35778 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35780 if (!SWIG_IsOK(res2
)) {
35781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35783 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35784 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35785 if (!SWIG_IsOK(res3
)) {
35786 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35791 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35794 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35797 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35798 if (!SWIG_IsOK(ecode5
)) {
35799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35801 arg5
= static_cast< int >(val5
);
35804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 resultobj
= SWIG_Py_Void();
35816 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
= 0;
35818 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35819 wxWindow
*arg2
= (wxWindow
*) 0 ;
35822 int arg5
= (int) 0 ;
35832 PyObject
* obj0
= 0 ;
35833 PyObject
* obj1
= 0 ;
35834 PyObject
* obj2
= 0 ;
35835 PyObject
* obj3
= 0 ;
35836 PyObject
* obj4
= 0 ;
35837 char * kwnames
[] = {
35838 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35843 if (!SWIG_IsOK(res1
)) {
35844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35846 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35848 if (!SWIG_IsOK(res2
)) {
35849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35851 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35852 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35853 if (!SWIG_IsOK(res3
)) {
35854 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35859 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35862 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35866 if (!SWIG_IsOK(ecode5
)) {
35867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35869 arg5
= static_cast< int >(val5
);
35872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35873 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35874 wxPyEndAllowThreads(__tstate
);
35875 if (PyErr_Occurred()) SWIG_fail
;
35877 resultobj
= SWIG_Py_Void();
35884 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35885 PyObject
*resultobj
= 0;
35886 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35887 wxWindow
*arg2
= (wxWindow
*) 0 ;
35888 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35893 PyObject
* obj0
= 0 ;
35894 PyObject
* obj1
= 0 ;
35895 char * kwnames
[] = {
35896 (char *) "self",(char *) "win", NULL
35899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35901 if (!SWIG_IsOK(res1
)) {
35902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35904 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35906 if (!SWIG_IsOK(res2
)) {
35907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35909 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35912 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35913 wxPyEndAllowThreads(__tstate
);
35914 if (PyErr_Occurred()) SWIG_fail
;
35916 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35923 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35924 PyObject
*resultobj
= 0;
35925 wxRendererNative
*result
= 0 ;
35927 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35929 if (!wxPyCheckForApp()) SWIG_fail
;
35930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35933 result
= (wxRendererNative
*) &_result_ref
;
35935 wxPyEndAllowThreads(__tstate
);
35936 if (PyErr_Occurred()) SWIG_fail
;
35938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35945 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35946 PyObject
*resultobj
= 0;
35947 wxRendererNative
*result
= 0 ;
35949 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35951 if (!wxPyCheckForApp()) SWIG_fail
;
35952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35954 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35955 result
= (wxRendererNative
*) &_result_ref
;
35957 wxPyEndAllowThreads(__tstate
);
35958 if (PyErr_Occurred()) SWIG_fail
;
35960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35967 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35968 PyObject
*resultobj
= 0;
35969 wxRendererNative
*result
= 0 ;
35971 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35973 if (!wxPyCheckForApp()) SWIG_fail
;
35974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35976 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35977 result
= (wxRendererNative
*) &_result_ref
;
35979 wxPyEndAllowThreads(__tstate
);
35980 if (PyErr_Occurred()) SWIG_fail
;
35982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35989 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35990 PyObject
*resultobj
= 0;
35991 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35992 wxRendererNative
*result
= 0 ;
35995 PyObject
* obj0
= 0 ;
35996 char * kwnames
[] = {
35997 (char *) "renderer", NULL
36000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
36001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36002 if (!SWIG_IsOK(res1
)) {
36003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36005 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36007 if (!wxPyCheckForApp()) SWIG_fail
;
36008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36009 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
36010 wxPyEndAllowThreads(__tstate
);
36011 if (PyErr_Occurred()) SWIG_fail
;
36013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36020 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36021 PyObject
*resultobj
= 0;
36022 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36023 SwigValueWrapper
<wxRendererVersion
> result
;
36026 PyObject
*swig_obj
[1] ;
36028 if (!args
) SWIG_fail
;
36029 swig_obj
[0] = args
;
36030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36031 if (!SWIG_IsOK(res1
)) {
36032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
36034 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36037 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
36038 wxPyEndAllowThreads(__tstate
);
36039 if (PyErr_Occurred()) SWIG_fail
;
36041 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
36048 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36051 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
36052 return SWIG_Py_Void();
36055 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36056 PyObject
*resultobj
= 0;
36057 wxPseudoDC
*result
= 0 ;
36059 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
36061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36062 result
= (wxPseudoDC
*)new wxPseudoDC();
36063 wxPyEndAllowThreads(__tstate
);
36064 if (PyErr_Occurred()) SWIG_fail
;
36066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
36073 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36074 PyObject
*resultobj
= 0;
36075 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36078 PyObject
*swig_obj
[1] ;
36080 if (!args
) SWIG_fail
;
36081 swig_obj
[0] = args
;
36082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36083 if (!SWIG_IsOK(res1
)) {
36084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36089 (arg1
)->BeginDrawing();
36090 wxPyEndAllowThreads(__tstate
);
36091 if (PyErr_Occurred()) SWIG_fail
;
36093 resultobj
= SWIG_Py_Void();
36100 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36101 PyObject
*resultobj
= 0;
36102 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36105 PyObject
*swig_obj
[1] ;
36107 if (!args
) SWIG_fail
;
36108 swig_obj
[0] = args
;
36109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36110 if (!SWIG_IsOK(res1
)) {
36111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36113 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36116 (arg1
)->EndDrawing();
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 resultobj
= SWIG_Py_Void();
36127 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36128 PyObject
*resultobj
= 0;
36129 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36132 PyObject
*swig_obj
[1] ;
36134 if (!args
) SWIG_fail
;
36135 swig_obj
[0] = args
;
36136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
36137 if (!SWIG_IsOK(res1
)) {
36138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36140 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36145 wxPyEndAllowThreads(__tstate
);
36146 if (PyErr_Occurred()) SWIG_fail
;
36148 resultobj
= SWIG_Py_Void();
36155 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36156 PyObject
*resultobj
= 0;
36157 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36160 PyObject
*swig_obj
[1] ;
36162 if (!args
) SWIG_fail
;
36163 swig_obj
[0] = args
;
36164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36165 if (!SWIG_IsOK(res1
)) {
36166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36168 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36171 (arg1
)->RemoveAll();
36172 wxPyEndAllowThreads(__tstate
);
36173 if (PyErr_Occurred()) SWIG_fail
;
36175 resultobj
= SWIG_Py_Void();
36182 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36183 PyObject
*resultobj
= 0;
36184 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36188 PyObject
*swig_obj
[1] ;
36190 if (!args
) SWIG_fail
;
36191 swig_obj
[0] = args
;
36192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36193 if (!SWIG_IsOK(res1
)) {
36194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36196 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36199 result
= (int)(arg1
)->GetLen();
36200 wxPyEndAllowThreads(__tstate
);
36201 if (PyErr_Occurred()) SWIG_fail
;
36203 resultobj
= SWIG_From_int(static_cast< int >(result
));
36210 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36211 PyObject
*resultobj
= 0;
36212 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36218 PyObject
* obj0
= 0 ;
36219 PyObject
* obj1
= 0 ;
36220 char * kwnames
[] = {
36221 (char *) "self",(char *) "id", NULL
36224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36226 if (!SWIG_IsOK(res1
)) {
36227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36231 if (!SWIG_IsOK(ecode2
)) {
36232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36234 arg2
= static_cast< int >(val2
);
36236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36237 (arg1
)->SetId(arg2
);
36238 wxPyEndAllowThreads(__tstate
);
36239 if (PyErr_Occurred()) SWIG_fail
;
36241 resultobj
= SWIG_Py_Void();
36248 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36249 PyObject
*resultobj
= 0;
36250 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36256 PyObject
* obj0
= 0 ;
36257 PyObject
* obj1
= 0 ;
36258 char * kwnames
[] = {
36259 (char *) "self",(char *) "id", NULL
36262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36264 if (!SWIG_IsOK(res1
)) {
36265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36267 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36269 if (!SWIG_IsOK(ecode2
)) {
36270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36272 arg2
= static_cast< int >(val2
);
36274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36275 (arg1
)->ClearId(arg2
);
36276 wxPyEndAllowThreads(__tstate
);
36277 if (PyErr_Occurred()) SWIG_fail
;
36279 resultobj
= SWIG_Py_Void();
36286 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36287 PyObject
*resultobj
= 0;
36288 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36294 PyObject
* obj0
= 0 ;
36295 PyObject
* obj1
= 0 ;
36296 char * kwnames
[] = {
36297 (char *) "self",(char *) "id", NULL
36300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36302 if (!SWIG_IsOK(res1
)) {
36303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36305 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36307 if (!SWIG_IsOK(ecode2
)) {
36308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36310 arg2
= static_cast< int >(val2
);
36312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36313 (arg1
)->RemoveId(arg2
);
36314 wxPyEndAllowThreads(__tstate
);
36315 if (PyErr_Occurred()) SWIG_fail
;
36317 resultobj
= SWIG_Py_Void();
36324 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36325 PyObject
*resultobj
= 0;
36326 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36338 PyObject
* obj0
= 0 ;
36339 PyObject
* obj1
= 0 ;
36340 PyObject
* obj2
= 0 ;
36341 PyObject
* obj3
= 0 ;
36342 char * kwnames
[] = {
36343 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36348 if (!SWIG_IsOK(res1
)) {
36349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36351 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36353 if (!SWIG_IsOK(ecode2
)) {
36354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36356 arg2
= static_cast< int >(val2
);
36357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36358 if (!SWIG_IsOK(ecode3
)) {
36359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36361 arg3
= static_cast< int >(val3
);
36362 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36363 if (!SWIG_IsOK(ecode4
)) {
36364 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36366 arg4
= static_cast< int >(val4
);
36368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36369 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36370 wxPyEndAllowThreads(__tstate
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36373 resultobj
= SWIG_Py_Void();
36380 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36381 PyObject
*resultobj
= 0;
36382 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36384 bool arg3
= (bool) true ;
36391 PyObject
* obj0
= 0 ;
36392 PyObject
* obj1
= 0 ;
36393 PyObject
* obj2
= 0 ;
36394 char * kwnames
[] = {
36395 (char *) "self",(char *) "id",(char *) "greyout", NULL
36398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36400 if (!SWIG_IsOK(res1
)) {
36401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36403 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36405 if (!SWIG_IsOK(ecode2
)) {
36406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36408 arg2
= static_cast< int >(val2
);
36410 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36411 if (!SWIG_IsOK(ecode3
)) {
36412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36414 arg3
= static_cast< bool >(val3
);
36417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36418 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36419 wxPyEndAllowThreads(__tstate
);
36420 if (PyErr_Occurred()) SWIG_fail
;
36422 resultobj
= SWIG_Py_Void();
36429 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36430 PyObject
*resultobj
= 0;
36431 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36438 PyObject
* obj0
= 0 ;
36439 PyObject
* obj1
= 0 ;
36440 char * kwnames
[] = {
36441 (char *) "self",(char *) "id", NULL
36444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36446 if (!SWIG_IsOK(res1
)) {
36447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36449 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36451 if (!SWIG_IsOK(ecode2
)) {
36452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36454 arg2
= static_cast< int >(val2
);
36456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36457 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36458 wxPyEndAllowThreads(__tstate
);
36459 if (PyErr_Occurred()) SWIG_fail
;
36462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36470 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36471 PyObject
*resultobj
= 0;
36472 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36475 int arg4
= (int) 1 ;
36476 wxColor
const &arg5_defvalue
= *wxWHITE
;
36477 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
36478 PyObject
*result
= 0 ;
36489 PyObject
* obj0
= 0 ;
36490 PyObject
* obj1
= 0 ;
36491 PyObject
* obj2
= 0 ;
36492 PyObject
* obj3
= 0 ;
36493 PyObject
* obj4
= 0 ;
36494 char * kwnames
[] = {
36495 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36500 if (!SWIG_IsOK(res1
)) {
36501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36503 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36505 if (!SWIG_IsOK(ecode2
)) {
36506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36508 arg2
= static_cast< int >(val2
);
36509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36510 if (!SWIG_IsOK(ecode3
)) {
36511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36513 arg3
= static_cast< int >(val3
);
36515 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36516 if (!SWIG_IsOK(ecode4
)) {
36517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36519 arg4
= static_cast< int >(val4
);
36522 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
36523 if (!SWIG_IsOK(res5
)) {
36524 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
36529 arg5
= reinterpret_cast< wxColor
* >(argp5
);
36532 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
36533 if (PyErr_Occurred()) SWIG_fail
;
36535 resultobj
= result
;
36542 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36543 PyObject
*resultobj
= 0;
36544 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36547 PyObject
*result
= 0 ;
36554 PyObject
* obj0
= 0 ;
36555 PyObject
* obj1
= 0 ;
36556 PyObject
* obj2
= 0 ;
36557 char * kwnames
[] = {
36558 (char *) "self",(char *) "x",(char *) "y", NULL
36561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36563 if (!SWIG_IsOK(res1
)) {
36564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36566 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36568 if (!SWIG_IsOK(ecode2
)) {
36569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36571 arg2
= static_cast< int >(val2
);
36572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36573 if (!SWIG_IsOK(ecode3
)) {
36574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36576 arg3
= static_cast< int >(val3
);
36578 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36579 if (PyErr_Occurred()) SWIG_fail
;
36581 resultobj
= result
;
36588 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36589 PyObject
*resultobj
= 0;
36590 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36592 wxDC
*arg3
= (wxDC
*) 0 ;
36599 PyObject
* obj0
= 0 ;
36600 PyObject
* obj1
= 0 ;
36601 PyObject
* obj2
= 0 ;
36602 char * kwnames
[] = {
36603 (char *) "self",(char *) "id",(char *) "dc", NULL
36606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36608 if (!SWIG_IsOK(res1
)) {
36609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36611 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36613 if (!SWIG_IsOK(ecode2
)) {
36614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36616 arg2
= static_cast< int >(val2
);
36617 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36618 if (!SWIG_IsOK(res3
)) {
36619 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36621 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36624 (arg1
)->DrawIdToDC(arg2
,arg3
);
36625 wxPyEndAllowThreads(__tstate
);
36626 if (PyErr_Occurred()) SWIG_fail
;
36628 resultobj
= SWIG_Py_Void();
36635 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36636 PyObject
*resultobj
= 0;
36637 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36645 PyObject
* obj0
= 0 ;
36646 PyObject
* obj1
= 0 ;
36647 PyObject
* obj2
= 0 ;
36648 char * kwnames
[] = {
36649 (char *) "self",(char *) "id",(char *) "rect", NULL
36652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36654 if (!SWIG_IsOK(res1
)) {
36655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36657 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36659 if (!SWIG_IsOK(ecode2
)) {
36660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36662 arg2
= static_cast< int >(val2
);
36665 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36669 (arg1
)->SetIdBounds(arg2
,*arg3
);
36670 wxPyEndAllowThreads(__tstate
);
36671 if (PyErr_Occurred()) SWIG_fail
;
36673 resultobj
= SWIG_Py_Void();
36680 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36681 PyObject
*resultobj
= 0;
36682 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36689 PyObject
* obj0
= 0 ;
36690 PyObject
* obj1
= 0 ;
36691 char * kwnames
[] = {
36692 (char *) "self",(char *) "id", NULL
36695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36697 if (!SWIG_IsOK(res1
)) {
36698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36700 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36702 if (!SWIG_IsOK(ecode2
)) {
36703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36705 arg2
= static_cast< int >(val2
);
36707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36708 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36709 wxPyEndAllowThreads(__tstate
);
36710 if (PyErr_Occurred()) SWIG_fail
;
36712 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36719 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36720 PyObject
*resultobj
= 0;
36721 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36722 wxDC
*arg2
= (wxDC
*) 0 ;
36729 PyObject
* obj0
= 0 ;
36730 PyObject
* obj1
= 0 ;
36731 PyObject
* obj2
= 0 ;
36732 char * kwnames
[] = {
36733 (char *) "self",(char *) "dc",(char *) "rect", NULL
36736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36738 if (!SWIG_IsOK(res1
)) {
36739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36741 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36743 if (!SWIG_IsOK(res2
)) {
36744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36746 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36749 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 resultobj
= SWIG_Py_Void();
36764 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36765 PyObject
*resultobj
= 0;
36766 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36767 wxDC
*arg2
= (wxDC
*) 0 ;
36768 wxRegion
*arg3
= 0 ;
36775 PyObject
* obj0
= 0 ;
36776 PyObject
* obj1
= 0 ;
36777 PyObject
* obj2
= 0 ;
36778 char * kwnames
[] = {
36779 (char *) "self",(char *) "dc",(char *) "region", NULL
36782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36784 if (!SWIG_IsOK(res1
)) {
36785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36787 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36789 if (!SWIG_IsOK(res2
)) {
36790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36792 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36793 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36794 if (!SWIG_IsOK(res3
)) {
36795 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36800 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36803 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36804 wxPyEndAllowThreads(__tstate
);
36805 if (PyErr_Occurred()) SWIG_fail
;
36807 resultobj
= SWIG_Py_Void();
36814 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36815 PyObject
*resultobj
= 0;
36816 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36817 wxDC
*arg2
= (wxDC
*) 0 ;
36822 PyObject
* obj0
= 0 ;
36823 PyObject
* obj1
= 0 ;
36824 char * kwnames
[] = {
36825 (char *) "self",(char *) "dc", NULL
36828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36830 if (!SWIG_IsOK(res1
)) {
36831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36835 if (!SWIG_IsOK(res2
)) {
36836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36838 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 (arg1
)->DrawToDC(arg2
);
36842 wxPyEndAllowThreads(__tstate
);
36843 if (PyErr_Occurred()) SWIG_fail
;
36845 resultobj
= SWIG_Py_Void();
36852 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36853 PyObject
*resultobj
= 0;
36854 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36857 wxColour
*arg4
= 0 ;
36858 int arg5
= (int) wxFLOOD_SURFACE
;
36868 PyObject
* obj0
= 0 ;
36869 PyObject
* obj1
= 0 ;
36870 PyObject
* obj2
= 0 ;
36871 PyObject
* obj3
= 0 ;
36872 PyObject
* obj4
= 0 ;
36873 char * kwnames
[] = {
36874 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36879 if (!SWIG_IsOK(res1
)) {
36880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36882 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36884 if (!SWIG_IsOK(ecode2
)) {
36885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36887 arg2
= static_cast< int >(val2
);
36888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36889 if (!SWIG_IsOK(ecode3
)) {
36890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36892 arg3
= static_cast< int >(val3
);
36895 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36898 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36899 if (!SWIG_IsOK(ecode5
)) {
36900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36902 arg5
= static_cast< int >(val5
);
36905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36906 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36907 wxPyEndAllowThreads(__tstate
);
36908 if (PyErr_Occurred()) SWIG_fail
;
36910 resultobj
= SWIG_Py_Void();
36917 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36918 PyObject
*resultobj
= 0;
36919 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36920 wxPoint
*arg2
= 0 ;
36921 wxColour
*arg3
= 0 ;
36922 int arg4
= (int) wxFLOOD_SURFACE
;
36929 PyObject
* obj0
= 0 ;
36930 PyObject
* obj1
= 0 ;
36931 PyObject
* obj2
= 0 ;
36932 PyObject
* obj3
= 0 ;
36933 char * kwnames
[] = {
36934 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36939 if (!SWIG_IsOK(res1
)) {
36940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36942 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36945 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36949 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36953 if (!SWIG_IsOK(ecode4
)) {
36954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36956 arg4
= static_cast< int >(val4
);
36959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36960 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36961 wxPyEndAllowThreads(__tstate
);
36962 if (PyErr_Occurred()) SWIG_fail
;
36964 resultobj
= SWIG_Py_Void();
36971 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36972 PyObject
*resultobj
= 0;
36973 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36988 PyObject
* obj0
= 0 ;
36989 PyObject
* obj1
= 0 ;
36990 PyObject
* obj2
= 0 ;
36991 PyObject
* obj3
= 0 ;
36992 PyObject
* obj4
= 0 ;
36993 char * kwnames
[] = {
36994 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36999 if (!SWIG_IsOK(res1
)) {
37000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37002 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37004 if (!SWIG_IsOK(ecode2
)) {
37005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
37007 arg2
= static_cast< int >(val2
);
37008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37009 if (!SWIG_IsOK(ecode3
)) {
37010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
37012 arg3
= static_cast< int >(val3
);
37013 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37014 if (!SWIG_IsOK(ecode4
)) {
37015 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
37017 arg4
= static_cast< int >(val4
);
37018 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37019 if (!SWIG_IsOK(ecode5
)) {
37020 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
37022 arg5
= static_cast< int >(val5
);
37024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37025 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
37026 wxPyEndAllowThreads(__tstate
);
37027 if (PyErr_Occurred()) SWIG_fail
;
37029 resultobj
= SWIG_Py_Void();
37036 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37037 PyObject
*resultobj
= 0;
37038 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37039 wxPoint
*arg2
= 0 ;
37040 wxPoint
*arg3
= 0 ;
37045 PyObject
* obj0
= 0 ;
37046 PyObject
* obj1
= 0 ;
37047 PyObject
* obj2
= 0 ;
37048 char * kwnames
[] = {
37049 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
37052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37054 if (!SWIG_IsOK(res1
)) {
37055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37057 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37060 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37068 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
37069 wxPyEndAllowThreads(__tstate
);
37070 if (PyErr_Occurred()) SWIG_fail
;
37072 resultobj
= SWIG_Py_Void();
37079 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37080 PyObject
*resultobj
= 0;
37081 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37090 PyObject
* obj0
= 0 ;
37091 PyObject
* obj1
= 0 ;
37092 PyObject
* obj2
= 0 ;
37093 char * kwnames
[] = {
37094 (char *) "self",(char *) "x",(char *) "y", NULL
37097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) 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_CrossHair" "', 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_CrossHair" "', 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_CrossHair" "', expected argument " "3"" of type '" "int""'");
37112 arg3
= static_cast< int >(val3
);
37114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37115 (arg1
)->CrossHair(arg2
,arg3
);
37116 wxPyEndAllowThreads(__tstate
);
37117 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= SWIG_Py_Void();
37126 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37127 PyObject
*resultobj
= 0;
37128 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37129 wxPoint
*arg2
= 0 ;
37133 PyObject
* obj0
= 0 ;
37134 PyObject
* obj1
= 0 ;
37135 char * kwnames
[] = {
37136 (char *) "self",(char *) "pt", NULL
37139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37141 if (!SWIG_IsOK(res1
)) {
37142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37144 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37151 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
37152 wxPyEndAllowThreads(__tstate
);
37153 if (PyErr_Occurred()) SWIG_fail
;
37155 resultobj
= SWIG_Py_Void();
37162 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37163 PyObject
*resultobj
= 0;
37164 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37185 PyObject
* obj0
= 0 ;
37186 PyObject
* obj1
= 0 ;
37187 PyObject
* obj2
= 0 ;
37188 PyObject
* obj3
= 0 ;
37189 PyObject
* obj4
= 0 ;
37190 PyObject
* obj5
= 0 ;
37191 PyObject
* obj6
= 0 ;
37192 char * kwnames
[] = {
37193 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37198 if (!SWIG_IsOK(res1
)) {
37199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37201 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37203 if (!SWIG_IsOK(ecode2
)) {
37204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37206 arg2
= static_cast< int >(val2
);
37207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37208 if (!SWIG_IsOK(ecode3
)) {
37209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37211 arg3
= static_cast< int >(val3
);
37212 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37213 if (!SWIG_IsOK(ecode4
)) {
37214 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37216 arg4
= static_cast< int >(val4
);
37217 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37218 if (!SWIG_IsOK(ecode5
)) {
37219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37221 arg5
= static_cast< int >(val5
);
37222 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37223 if (!SWIG_IsOK(ecode6
)) {
37224 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37226 arg6
= static_cast< int >(val6
);
37227 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37228 if (!SWIG_IsOK(ecode7
)) {
37229 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37231 arg7
= static_cast< int >(val7
);
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37235 wxPyEndAllowThreads(__tstate
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37238 resultobj
= SWIG_Py_Void();
37245 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37246 PyObject
*resultobj
= 0;
37247 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37248 wxPoint
*arg2
= 0 ;
37249 wxPoint
*arg3
= 0 ;
37250 wxPoint
*arg4
= 0 ;
37256 PyObject
* obj0
= 0 ;
37257 PyObject
* obj1
= 0 ;
37258 PyObject
* obj2
= 0 ;
37259 PyObject
* obj3
= 0 ;
37260 char * kwnames
[] = {
37261 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37266 if (!SWIG_IsOK(res1
)) {
37267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37269 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37272 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37276 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37280 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37284 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37285 wxPyEndAllowThreads(__tstate
);
37286 if (PyErr_Occurred()) SWIG_fail
;
37288 resultobj
= SWIG_Py_Void();
37295 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37296 PyObject
*resultobj
= 0;
37297 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37312 PyObject
* obj0
= 0 ;
37313 PyObject
* obj1
= 0 ;
37314 PyObject
* obj2
= 0 ;
37315 PyObject
* obj3
= 0 ;
37316 PyObject
* obj4
= 0 ;
37317 char * kwnames
[] = {
37318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37323 if (!SWIG_IsOK(res1
)) {
37324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37326 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37328 if (!SWIG_IsOK(ecode2
)) {
37329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37331 arg2
= static_cast< int >(val2
);
37332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37333 if (!SWIG_IsOK(ecode3
)) {
37334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37336 arg3
= static_cast< int >(val3
);
37337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37338 if (!SWIG_IsOK(ecode4
)) {
37339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37341 arg4
= static_cast< int >(val4
);
37342 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37343 if (!SWIG_IsOK(ecode5
)) {
37344 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37346 arg5
= static_cast< int >(val5
);
37348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37349 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37350 wxPyEndAllowThreads(__tstate
);
37351 if (PyErr_Occurred()) SWIG_fail
;
37353 resultobj
= SWIG_Py_Void();
37360 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37361 PyObject
*resultobj
= 0;
37362 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37367 PyObject
* obj0
= 0 ;
37368 PyObject
* obj1
= 0 ;
37369 char * kwnames
[] = {
37370 (char *) "self",(char *) "rect", NULL
37373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37375 if (!SWIG_IsOK(res1
)) {
37376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37378 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37381 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37385 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37386 wxPyEndAllowThreads(__tstate
);
37387 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= SWIG_Py_Void();
37396 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37397 PyObject
*resultobj
= 0;
37398 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37419 PyObject
* obj0
= 0 ;
37420 PyObject
* obj1
= 0 ;
37421 PyObject
* obj2
= 0 ;
37422 PyObject
* obj3
= 0 ;
37423 PyObject
* obj4
= 0 ;
37424 PyObject
* obj5
= 0 ;
37425 PyObject
* obj6
= 0 ;
37426 char * kwnames
[] = {
37427 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37432 if (!SWIG_IsOK(res1
)) {
37433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37435 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37437 if (!SWIG_IsOK(ecode2
)) {
37438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37440 arg2
= static_cast< int >(val2
);
37441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37442 if (!SWIG_IsOK(ecode3
)) {
37443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37445 arg3
= static_cast< int >(val3
);
37446 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37447 if (!SWIG_IsOK(ecode4
)) {
37448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37450 arg4
= static_cast< int >(val4
);
37451 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37452 if (!SWIG_IsOK(ecode5
)) {
37453 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37455 arg5
= static_cast< int >(val5
);
37456 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37457 if (!SWIG_IsOK(ecode6
)) {
37458 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37460 arg6
= static_cast< double >(val6
);
37461 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37462 if (!SWIG_IsOK(ecode7
)) {
37463 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37465 arg7
= static_cast< double >(val7
);
37467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37468 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37469 wxPyEndAllowThreads(__tstate
);
37470 if (PyErr_Occurred()) SWIG_fail
;
37472 resultobj
= SWIG_Py_Void();
37479 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37480 PyObject
*resultobj
= 0;
37481 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37482 wxPoint
*arg2
= 0 ;
37494 PyObject
* obj0
= 0 ;
37495 PyObject
* obj1
= 0 ;
37496 PyObject
* obj2
= 0 ;
37497 PyObject
* obj3
= 0 ;
37498 PyObject
* obj4
= 0 ;
37499 char * kwnames
[] = {
37500 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37505 if (!SWIG_IsOK(res1
)) {
37506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37508 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37511 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37515 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37517 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37518 if (!SWIG_IsOK(ecode4
)) {
37519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37521 arg4
= static_cast< double >(val4
);
37522 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37523 if (!SWIG_IsOK(ecode5
)) {
37524 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37526 arg5
= static_cast< double >(val5
);
37528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37529 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37530 wxPyEndAllowThreads(__tstate
);
37531 if (PyErr_Occurred()) SWIG_fail
;
37533 resultobj
= SWIG_Py_Void();
37540 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37541 PyObject
*resultobj
= 0;
37542 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37551 PyObject
* obj0
= 0 ;
37552 PyObject
* obj1
= 0 ;
37553 PyObject
* obj2
= 0 ;
37554 char * kwnames
[] = {
37555 (char *) "self",(char *) "x",(char *) "y", NULL
37558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37560 if (!SWIG_IsOK(res1
)) {
37561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37563 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37565 if (!SWIG_IsOK(ecode2
)) {
37566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37568 arg2
= static_cast< int >(val2
);
37569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37570 if (!SWIG_IsOK(ecode3
)) {
37571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37573 arg3
= static_cast< int >(val3
);
37575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37576 (arg1
)->DrawPoint(arg2
,arg3
);
37577 wxPyEndAllowThreads(__tstate
);
37578 if (PyErr_Occurred()) SWIG_fail
;
37580 resultobj
= SWIG_Py_Void();
37587 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37588 PyObject
*resultobj
= 0;
37589 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37590 wxPoint
*arg2
= 0 ;
37594 PyObject
* obj0
= 0 ;
37595 PyObject
* obj1
= 0 ;
37596 char * kwnames
[] = {
37597 (char *) "self",(char *) "pt", NULL
37600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37602 if (!SWIG_IsOK(res1
)) {
37603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37605 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37608 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37612 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37613 wxPyEndAllowThreads(__tstate
);
37614 if (PyErr_Occurred()) SWIG_fail
;
37616 resultobj
= SWIG_Py_Void();
37623 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37624 PyObject
*resultobj
= 0;
37625 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37640 PyObject
* obj0
= 0 ;
37641 PyObject
* obj1
= 0 ;
37642 PyObject
* obj2
= 0 ;
37643 PyObject
* obj3
= 0 ;
37644 PyObject
* obj4
= 0 ;
37645 char * kwnames
[] = {
37646 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37651 if (!SWIG_IsOK(res1
)) {
37652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37654 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37656 if (!SWIG_IsOK(ecode2
)) {
37657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37659 arg2
= static_cast< int >(val2
);
37660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37661 if (!SWIG_IsOK(ecode3
)) {
37662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37664 arg3
= static_cast< int >(val3
);
37665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37666 if (!SWIG_IsOK(ecode4
)) {
37667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37669 arg4
= static_cast< int >(val4
);
37670 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37671 if (!SWIG_IsOK(ecode5
)) {
37672 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37674 arg5
= static_cast< int >(val5
);
37676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37677 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37678 wxPyEndAllowThreads(__tstate
);
37679 if (PyErr_Occurred()) SWIG_fail
;
37681 resultobj
= SWIG_Py_Void();
37688 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37689 PyObject
*resultobj
= 0;
37690 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37695 PyObject
* obj0
= 0 ;
37696 PyObject
* obj1
= 0 ;
37697 char * kwnames
[] = {
37698 (char *) "self",(char *) "rect", NULL
37701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37703 if (!SWIG_IsOK(res1
)) {
37704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37706 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37709 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37713 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37714 wxPyEndAllowThreads(__tstate
);
37715 if (PyErr_Occurred()) SWIG_fail
;
37717 resultobj
= SWIG_Py_Void();
37724 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37725 PyObject
*resultobj
= 0;
37726 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37727 wxPoint
*arg2
= 0 ;
37733 PyObject
* obj0
= 0 ;
37734 PyObject
* obj1
= 0 ;
37735 PyObject
* obj2
= 0 ;
37736 char * kwnames
[] = {
37737 (char *) "self",(char *) "pt",(char *) "sz", NULL
37740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37742 if (!SWIG_IsOK(res1
)) {
37743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37745 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37752 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37756 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37757 wxPyEndAllowThreads(__tstate
);
37758 if (PyErr_Occurred()) SWIG_fail
;
37760 resultobj
= SWIG_Py_Void();
37767 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37768 PyObject
*resultobj
= 0;
37769 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37787 PyObject
* obj0
= 0 ;
37788 PyObject
* obj1
= 0 ;
37789 PyObject
* obj2
= 0 ;
37790 PyObject
* obj3
= 0 ;
37791 PyObject
* obj4
= 0 ;
37792 PyObject
* obj5
= 0 ;
37793 char * kwnames
[] = {
37794 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37799 if (!SWIG_IsOK(res1
)) {
37800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37802 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37804 if (!SWIG_IsOK(ecode2
)) {
37805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37807 arg2
= static_cast< int >(val2
);
37808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37809 if (!SWIG_IsOK(ecode3
)) {
37810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37812 arg3
= static_cast< int >(val3
);
37813 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37814 if (!SWIG_IsOK(ecode4
)) {
37815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37817 arg4
= static_cast< int >(val4
);
37818 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37819 if (!SWIG_IsOK(ecode5
)) {
37820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37822 arg5
= static_cast< int >(val5
);
37823 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37824 if (!SWIG_IsOK(ecode6
)) {
37825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37827 arg6
= static_cast< double >(val6
);
37829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37830 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37831 wxPyEndAllowThreads(__tstate
);
37832 if (PyErr_Occurred()) SWIG_fail
;
37834 resultobj
= SWIG_Py_Void();
37841 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37842 PyObject
*resultobj
= 0;
37843 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37851 PyObject
* obj0
= 0 ;
37852 PyObject
* obj1
= 0 ;
37853 PyObject
* obj2
= 0 ;
37854 char * kwnames
[] = {
37855 (char *) "self",(char *) "r",(char *) "radius", NULL
37858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37860 if (!SWIG_IsOK(res1
)) {
37861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37863 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37866 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37868 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37869 if (!SWIG_IsOK(ecode3
)) {
37870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37872 arg3
= static_cast< double >(val3
);
37874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37875 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37876 wxPyEndAllowThreads(__tstate
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37879 resultobj
= SWIG_Py_Void();
37886 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37887 PyObject
*resultobj
= 0;
37888 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37889 wxPoint
*arg2
= 0 ;
37898 PyObject
* obj0
= 0 ;
37899 PyObject
* obj1
= 0 ;
37900 PyObject
* obj2
= 0 ;
37901 PyObject
* obj3
= 0 ;
37902 char * kwnames
[] = {
37903 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37908 if (!SWIG_IsOK(res1
)) {
37909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37911 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37914 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37918 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37920 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37921 if (!SWIG_IsOK(ecode4
)) {
37922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37924 arg4
= static_cast< double >(val4
);
37926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37927 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37928 wxPyEndAllowThreads(__tstate
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37931 resultobj
= SWIG_Py_Void();
37938 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37939 PyObject
*resultobj
= 0;
37940 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37952 PyObject
* obj0
= 0 ;
37953 PyObject
* obj1
= 0 ;
37954 PyObject
* obj2
= 0 ;
37955 PyObject
* obj3
= 0 ;
37956 char * kwnames
[] = {
37957 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37962 if (!SWIG_IsOK(res1
)) {
37963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37965 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37967 if (!SWIG_IsOK(ecode2
)) {
37968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37970 arg2
= static_cast< int >(val2
);
37971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37972 if (!SWIG_IsOK(ecode3
)) {
37973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37975 arg3
= static_cast< int >(val3
);
37976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37977 if (!SWIG_IsOK(ecode4
)) {
37978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37980 arg4
= static_cast< int >(val4
);
37982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37983 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37984 wxPyEndAllowThreads(__tstate
);
37985 if (PyErr_Occurred()) SWIG_fail
;
37987 resultobj
= SWIG_Py_Void();
37994 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37995 PyObject
*resultobj
= 0;
37996 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37997 wxPoint
*arg2
= 0 ;
38004 PyObject
* obj0
= 0 ;
38005 PyObject
* obj1
= 0 ;
38006 PyObject
* obj2
= 0 ;
38007 char * kwnames
[] = {
38008 (char *) "self",(char *) "pt",(char *) "radius", NULL
38011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38022 if (!SWIG_IsOK(ecode3
)) {
38023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
38025 arg3
= static_cast< int >(val3
);
38027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38028 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
38029 wxPyEndAllowThreads(__tstate
);
38030 if (PyErr_Occurred()) SWIG_fail
;
38032 resultobj
= SWIG_Py_Void();
38039 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38040 PyObject
*resultobj
= 0;
38041 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38056 PyObject
* obj0
= 0 ;
38057 PyObject
* obj1
= 0 ;
38058 PyObject
* obj2
= 0 ;
38059 PyObject
* obj3
= 0 ;
38060 PyObject
* obj4
= 0 ;
38061 char * kwnames
[] = {
38062 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38067 if (!SWIG_IsOK(res1
)) {
38068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38070 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38072 if (!SWIG_IsOK(ecode2
)) {
38073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
38075 arg2
= static_cast< int >(val2
);
38076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38077 if (!SWIG_IsOK(ecode3
)) {
38078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
38080 arg3
= static_cast< int >(val3
);
38081 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38082 if (!SWIG_IsOK(ecode4
)) {
38083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
38085 arg4
= static_cast< int >(val4
);
38086 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38087 if (!SWIG_IsOK(ecode5
)) {
38088 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
38090 arg5
= static_cast< int >(val5
);
38092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38093 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
38094 wxPyEndAllowThreads(__tstate
);
38095 if (PyErr_Occurred()) SWIG_fail
;
38097 resultobj
= SWIG_Py_Void();
38104 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38105 PyObject
*resultobj
= 0;
38106 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38111 PyObject
* obj0
= 0 ;
38112 PyObject
* obj1
= 0 ;
38113 char * kwnames
[] = {
38114 (char *) "self",(char *) "rect", NULL
38117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38119 if (!SWIG_IsOK(res1
)) {
38120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38122 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38125 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38129 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
38130 wxPyEndAllowThreads(__tstate
);
38131 if (PyErr_Occurred()) SWIG_fail
;
38133 resultobj
= SWIG_Py_Void();
38140 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38141 PyObject
*resultobj
= 0;
38142 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38143 wxPoint
*arg2
= 0 ;
38149 PyObject
* obj0
= 0 ;
38150 PyObject
* obj1
= 0 ;
38151 PyObject
* obj2
= 0 ;
38152 char * kwnames
[] = {
38153 (char *) "self",(char *) "pt",(char *) "sz", NULL
38156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38158 if (!SWIG_IsOK(res1
)) {
38159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38161 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38164 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38168 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38172 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
38173 wxPyEndAllowThreads(__tstate
);
38174 if (PyErr_Occurred()) SWIG_fail
;
38176 resultobj
= SWIG_Py_Void();
38183 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38184 PyObject
*resultobj
= 0;
38185 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38197 PyObject
* obj0
= 0 ;
38198 PyObject
* obj1
= 0 ;
38199 PyObject
* obj2
= 0 ;
38200 PyObject
* obj3
= 0 ;
38201 char * kwnames
[] = {
38202 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38207 if (!SWIG_IsOK(res1
)) {
38208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38210 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38212 if (!SWIG_IsOK(res2
)) {
38213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38218 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38220 if (!SWIG_IsOK(ecode3
)) {
38221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38223 arg3
= static_cast< int >(val3
);
38224 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38225 if (!SWIG_IsOK(ecode4
)) {
38226 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38228 arg4
= static_cast< int >(val4
);
38230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38231 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38232 wxPyEndAllowThreads(__tstate
);
38233 if (PyErr_Occurred()) SWIG_fail
;
38235 resultobj
= SWIG_Py_Void();
38242 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38243 PyObject
*resultobj
= 0;
38244 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38246 wxPoint
*arg3
= 0 ;
38252 PyObject
* obj0
= 0 ;
38253 PyObject
* obj1
= 0 ;
38254 PyObject
* obj2
= 0 ;
38255 char * kwnames
[] = {
38256 (char *) "self",(char *) "icon",(char *) "pt", NULL
38259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38261 if (!SWIG_IsOK(res1
)) {
38262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38264 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38266 if (!SWIG_IsOK(res2
)) {
38267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38272 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38275 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38279 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38280 wxPyEndAllowThreads(__tstate
);
38281 if (PyErr_Occurred()) SWIG_fail
;
38283 resultobj
= SWIG_Py_Void();
38290 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38291 PyObject
*resultobj
= 0;
38292 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38293 wxBitmap
*arg2
= 0 ;
38296 bool arg5
= (bool) false ;
38307 PyObject
* obj0
= 0 ;
38308 PyObject
* obj1
= 0 ;
38309 PyObject
* obj2
= 0 ;
38310 PyObject
* obj3
= 0 ;
38311 PyObject
* obj4
= 0 ;
38312 char * kwnames
[] = {
38313 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38318 if (!SWIG_IsOK(res1
)) {
38319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38321 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38322 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38323 if (!SWIG_IsOK(res2
)) {
38324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38329 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38331 if (!SWIG_IsOK(ecode3
)) {
38332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38334 arg3
= static_cast< int >(val3
);
38335 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38336 if (!SWIG_IsOK(ecode4
)) {
38337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38339 arg4
= static_cast< int >(val4
);
38341 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38342 if (!SWIG_IsOK(ecode5
)) {
38343 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38345 arg5
= static_cast< bool >(val5
);
38348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38349 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38350 wxPyEndAllowThreads(__tstate
);
38351 if (PyErr_Occurred()) SWIG_fail
;
38353 resultobj
= SWIG_Py_Void();
38360 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38361 PyObject
*resultobj
= 0;
38362 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38363 wxBitmap
*arg2
= 0 ;
38364 wxPoint
*arg3
= 0 ;
38365 bool arg4
= (bool) false ;
38373 PyObject
* obj0
= 0 ;
38374 PyObject
* obj1
= 0 ;
38375 PyObject
* obj2
= 0 ;
38376 PyObject
* obj3
= 0 ;
38377 char * kwnames
[] = {
38378 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38383 if (!SWIG_IsOK(res1
)) {
38384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38386 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38387 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38388 if (!SWIG_IsOK(res2
)) {
38389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38394 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38397 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38400 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38401 if (!SWIG_IsOK(ecode4
)) {
38402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38404 arg4
= static_cast< bool >(val4
);
38407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38408 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38409 wxPyEndAllowThreads(__tstate
);
38410 if (PyErr_Occurred()) SWIG_fail
;
38412 resultobj
= SWIG_Py_Void();
38419 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38420 PyObject
*resultobj
= 0;
38421 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38422 wxString
*arg2
= 0 ;
38427 bool temp2
= false ;
38432 PyObject
* obj0
= 0 ;
38433 PyObject
* obj1
= 0 ;
38434 PyObject
* obj2
= 0 ;
38435 PyObject
* obj3
= 0 ;
38436 char * kwnames
[] = {
38437 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38442 if (!SWIG_IsOK(res1
)) {
38443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38445 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38447 arg2
= wxString_in_helper(obj1
);
38448 if (arg2
== NULL
) SWIG_fail
;
38451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38452 if (!SWIG_IsOK(ecode3
)) {
38453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38455 arg3
= static_cast< int >(val3
);
38456 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38457 if (!SWIG_IsOK(ecode4
)) {
38458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38460 arg4
= static_cast< int >(val4
);
38462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38463 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38464 wxPyEndAllowThreads(__tstate
);
38465 if (PyErr_Occurred()) SWIG_fail
;
38467 resultobj
= SWIG_Py_Void();
38482 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38483 PyObject
*resultobj
= 0;
38484 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38485 wxString
*arg2
= 0 ;
38486 wxPoint
*arg3
= 0 ;
38489 bool temp2
= false ;
38491 PyObject
* obj0
= 0 ;
38492 PyObject
* obj1
= 0 ;
38493 PyObject
* obj2
= 0 ;
38494 char * kwnames
[] = {
38495 (char *) "self",(char *) "text",(char *) "pt", NULL
38498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38500 if (!SWIG_IsOK(res1
)) {
38501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38503 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38505 arg2
= wxString_in_helper(obj1
);
38506 if (arg2
== NULL
) SWIG_fail
;
38511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38515 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38516 wxPyEndAllowThreads(__tstate
);
38517 if (PyErr_Occurred()) SWIG_fail
;
38519 resultobj
= SWIG_Py_Void();
38534 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38535 PyObject
*resultobj
= 0;
38536 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38537 wxString
*arg2
= 0 ;
38543 bool temp2
= false ;
38550 PyObject
* obj0
= 0 ;
38551 PyObject
* obj1
= 0 ;
38552 PyObject
* obj2
= 0 ;
38553 PyObject
* obj3
= 0 ;
38554 PyObject
* obj4
= 0 ;
38555 char * kwnames
[] = {
38556 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38561 if (!SWIG_IsOK(res1
)) {
38562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38564 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38566 arg2
= wxString_in_helper(obj1
);
38567 if (arg2
== NULL
) SWIG_fail
;
38570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38571 if (!SWIG_IsOK(ecode3
)) {
38572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38574 arg3
= static_cast< int >(val3
);
38575 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38576 if (!SWIG_IsOK(ecode4
)) {
38577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38579 arg4
= static_cast< int >(val4
);
38580 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38581 if (!SWIG_IsOK(ecode5
)) {
38582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38584 arg5
= static_cast< double >(val5
);
38586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38587 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38588 wxPyEndAllowThreads(__tstate
);
38589 if (PyErr_Occurred()) SWIG_fail
;
38591 resultobj
= SWIG_Py_Void();
38606 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38607 PyObject
*resultobj
= 0;
38608 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38609 wxString
*arg2
= 0 ;
38610 wxPoint
*arg3
= 0 ;
38614 bool temp2
= false ;
38618 PyObject
* obj0
= 0 ;
38619 PyObject
* obj1
= 0 ;
38620 PyObject
* obj2
= 0 ;
38621 PyObject
* obj3
= 0 ;
38622 char * kwnames
[] = {
38623 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38628 if (!SWIG_IsOK(res1
)) {
38629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38631 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38633 arg2
= wxString_in_helper(obj1
);
38634 if (arg2
== NULL
) SWIG_fail
;
38639 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38641 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38642 if (!SWIG_IsOK(ecode4
)) {
38643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38645 arg4
= static_cast< double >(val4
);
38647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38648 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38649 wxPyEndAllowThreads(__tstate
);
38650 if (PyErr_Occurred()) SWIG_fail
;
38652 resultobj
= SWIG_Py_Void();
38667 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38668 PyObject
*resultobj
= 0;
38669 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38671 wxPoint
*arg3
= (wxPoint
*) 0 ;
38672 int arg4
= (int) 0 ;
38673 int arg5
= (int) 0 ;
38680 PyObject
* obj0
= 0 ;
38681 PyObject
* obj1
= 0 ;
38682 PyObject
* obj2
= 0 ;
38683 PyObject
* obj3
= 0 ;
38684 char * kwnames
[] = {
38685 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38690 if (!SWIG_IsOK(res1
)) {
38691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38693 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38695 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38696 if (arg3
== NULL
) SWIG_fail
;
38699 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38700 if (!SWIG_IsOK(ecode4
)) {
38701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38703 arg4
= static_cast< int >(val4
);
38706 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38707 if (!SWIG_IsOK(ecode5
)) {
38708 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38710 arg5
= static_cast< int >(val5
);
38713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38714 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38715 wxPyEndAllowThreads(__tstate
);
38716 if (PyErr_Occurred()) SWIG_fail
;
38718 resultobj
= SWIG_Py_Void();
38720 if (arg3
) delete [] arg3
;
38725 if (arg3
) delete [] arg3
;
38731 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38732 PyObject
*resultobj
= 0;
38733 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38735 wxPoint
*arg3
= (wxPoint
*) 0 ;
38736 int arg4
= (int) 0 ;
38737 int arg5
= (int) 0 ;
38738 int arg6
= (int) wxODDEVEN_RULE
;
38747 PyObject
* obj0
= 0 ;
38748 PyObject
* obj1
= 0 ;
38749 PyObject
* obj2
= 0 ;
38750 PyObject
* obj3
= 0 ;
38751 PyObject
* obj4
= 0 ;
38752 char * kwnames
[] = {
38753 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38758 if (!SWIG_IsOK(res1
)) {
38759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38761 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38763 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38764 if (arg3
== NULL
) SWIG_fail
;
38767 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38768 if (!SWIG_IsOK(ecode4
)) {
38769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38771 arg4
= static_cast< int >(val4
);
38774 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38775 if (!SWIG_IsOK(ecode5
)) {
38776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38778 arg5
= static_cast< int >(val5
);
38781 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38782 if (!SWIG_IsOK(ecode6
)) {
38783 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38785 arg6
= static_cast< int >(val6
);
38788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38789 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38790 wxPyEndAllowThreads(__tstate
);
38791 if (PyErr_Occurred()) SWIG_fail
;
38793 resultobj
= SWIG_Py_Void();
38795 if (arg3
) delete [] arg3
;
38800 if (arg3
) delete [] arg3
;
38806 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38807 PyObject
*resultobj
= 0;
38808 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38809 wxString
*arg2
= 0 ;
38811 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38812 int arg5
= (int) -1 ;
38815 bool temp2
= false ;
38821 PyObject
* obj0
= 0 ;
38822 PyObject
* obj1
= 0 ;
38823 PyObject
* obj2
= 0 ;
38824 PyObject
* obj3
= 0 ;
38825 PyObject
* obj4
= 0 ;
38826 char * kwnames
[] = {
38827 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38832 if (!SWIG_IsOK(res1
)) {
38833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38835 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38837 arg2
= wxString_in_helper(obj1
);
38838 if (arg2
== NULL
) SWIG_fail
;
38843 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38846 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38847 if (!SWIG_IsOK(ecode4
)) {
38848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38850 arg4
= static_cast< int >(val4
);
38853 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38854 if (!SWIG_IsOK(ecode5
)) {
38855 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38857 arg5
= static_cast< int >(val5
);
38860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38861 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38862 wxPyEndAllowThreads(__tstate
);
38863 if (PyErr_Occurred()) SWIG_fail
;
38865 resultobj
= SWIG_Py_Void();
38880 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38881 PyObject
*resultobj
= 0;
38882 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38883 wxString
*arg2
= 0 ;
38884 wxBitmap
*arg3
= 0 ;
38886 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38887 int arg6
= (int) -1 ;
38890 bool temp2
= false ;
38898 PyObject
* obj0
= 0 ;
38899 PyObject
* obj1
= 0 ;
38900 PyObject
* obj2
= 0 ;
38901 PyObject
* obj3
= 0 ;
38902 PyObject
* obj4
= 0 ;
38903 PyObject
* obj5
= 0 ;
38904 char * kwnames
[] = {
38905 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38910 if (!SWIG_IsOK(res1
)) {
38911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38913 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38915 arg2
= wxString_in_helper(obj1
);
38916 if (arg2
== NULL
) SWIG_fail
;
38919 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38920 if (!SWIG_IsOK(res3
)) {
38921 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38926 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38929 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38932 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38933 if (!SWIG_IsOK(ecode5
)) {
38934 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38936 arg5
= static_cast< int >(val5
);
38939 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38940 if (!SWIG_IsOK(ecode6
)) {
38941 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38943 arg6
= static_cast< int >(val6
);
38946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38947 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38948 wxPyEndAllowThreads(__tstate
);
38949 if (PyErr_Occurred()) SWIG_fail
;
38951 resultobj
= SWIG_Py_Void();
38966 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38967 PyObject
*resultobj
= 0;
38968 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38970 wxPoint
*arg3
= (wxPoint
*) 0 ;
38973 PyObject
* obj0
= 0 ;
38974 PyObject
* obj1
= 0 ;
38975 char * kwnames
[] = {
38976 (char *) "self",(char *) "points", NULL
38979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38981 if (!SWIG_IsOK(res1
)) {
38982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38986 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38987 if (arg3
== NULL
) SWIG_fail
;
38990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38991 (arg1
)->DrawSpline(arg2
,arg3
);
38992 wxPyEndAllowThreads(__tstate
);
38993 if (PyErr_Occurred()) SWIG_fail
;
38995 resultobj
= SWIG_Py_Void();
38997 if (arg3
) delete [] arg3
;
39002 if (arg3
) delete [] arg3
;
39008 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39009 PyObject
*resultobj
= 0;
39010 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39013 PyObject
*swig_obj
[1] ;
39015 if (!args
) SWIG_fail
;
39016 swig_obj
[0] = args
;
39017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39018 if (!SWIG_IsOK(res1
)) {
39019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39021 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39025 wxPyEndAllowThreads(__tstate
);
39026 if (PyErr_Occurred()) SWIG_fail
;
39028 resultobj
= SWIG_Py_Void();
39035 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39036 PyObject
*resultobj
= 0;
39037 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39043 PyObject
* obj0
= 0 ;
39044 PyObject
* obj1
= 0 ;
39045 char * kwnames
[] = {
39046 (char *) "self",(char *) "font", NULL
39049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39051 if (!SWIG_IsOK(res1
)) {
39052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39054 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
39056 if (!SWIG_IsOK(res2
)) {
39057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39062 arg2
= reinterpret_cast< wxFont
* >(argp2
);
39064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39065 (arg1
)->SetFont((wxFont
const &)*arg2
);
39066 wxPyEndAllowThreads(__tstate
);
39067 if (PyErr_Occurred()) SWIG_fail
;
39069 resultobj
= SWIG_Py_Void();
39076 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39077 PyObject
*resultobj
= 0;
39078 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39084 PyObject
* obj0
= 0 ;
39085 PyObject
* obj1
= 0 ;
39086 char * kwnames
[] = {
39087 (char *) "self",(char *) "pen", NULL
39090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39092 if (!SWIG_IsOK(res1
)) {
39093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39095 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
39097 if (!SWIG_IsOK(res2
)) {
39098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39103 arg2
= reinterpret_cast< wxPen
* >(argp2
);
39105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39106 (arg1
)->SetPen((wxPen
const &)*arg2
);
39107 wxPyEndAllowThreads(__tstate
);
39108 if (PyErr_Occurred()) SWIG_fail
;
39110 resultobj
= SWIG_Py_Void();
39117 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39118 PyObject
*resultobj
= 0;
39119 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39120 wxBrush
*arg2
= 0 ;
39125 PyObject
* obj0
= 0 ;
39126 PyObject
* obj1
= 0 ;
39127 char * kwnames
[] = {
39128 (char *) "self",(char *) "brush", NULL
39131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39133 if (!SWIG_IsOK(res1
)) {
39134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39136 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39138 if (!SWIG_IsOK(res2
)) {
39139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39144 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39147 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
39148 wxPyEndAllowThreads(__tstate
);
39149 if (PyErr_Occurred()) SWIG_fail
;
39151 resultobj
= SWIG_Py_Void();
39158 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39159 PyObject
*resultobj
= 0;
39160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39161 wxBrush
*arg2
= 0 ;
39166 PyObject
* obj0
= 0 ;
39167 PyObject
* obj1
= 0 ;
39168 char * kwnames
[] = {
39169 (char *) "self",(char *) "brush", NULL
39172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39174 if (!SWIG_IsOK(res1
)) {
39175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39177 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39179 if (!SWIG_IsOK(res2
)) {
39180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39185 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39188 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
39189 wxPyEndAllowThreads(__tstate
);
39190 if (PyErr_Occurred()) SWIG_fail
;
39192 resultobj
= SWIG_Py_Void();
39199 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39200 PyObject
*resultobj
= 0;
39201 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39207 PyObject
* obj0
= 0 ;
39208 PyObject
* obj1
= 0 ;
39209 char * kwnames
[] = {
39210 (char *) "self",(char *) "mode", NULL
39213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39215 if (!SWIG_IsOK(res1
)) {
39216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39218 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39220 if (!SWIG_IsOK(ecode2
)) {
39221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39223 arg2
= static_cast< int >(val2
);
39225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39226 (arg1
)->SetBackgroundMode(arg2
);
39227 wxPyEndAllowThreads(__tstate
);
39228 if (PyErr_Occurred()) SWIG_fail
;
39230 resultobj
= SWIG_Py_Void();
39237 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39238 PyObject
*resultobj
= 0;
39239 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39240 wxPalette
*arg2
= 0 ;
39245 PyObject
* obj0
= 0 ;
39246 PyObject
* obj1
= 0 ;
39247 char * kwnames
[] = {
39248 (char *) "self",(char *) "palette", NULL
39251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39253 if (!SWIG_IsOK(res1
)) {
39254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39256 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39258 if (!SWIG_IsOK(res2
)) {
39259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39264 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39267 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39268 wxPyEndAllowThreads(__tstate
);
39269 if (PyErr_Occurred()) SWIG_fail
;
39271 resultobj
= SWIG_Py_Void();
39278 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39279 PyObject
*resultobj
= 0;
39280 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39281 wxColour
*arg2
= 0 ;
39285 PyObject
* obj0
= 0 ;
39286 PyObject
* obj1
= 0 ;
39287 char * kwnames
[] = {
39288 (char *) "self",(char *) "colour", NULL
39291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39293 if (!SWIG_IsOK(res1
)) {
39294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39296 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39299 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39303 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39304 wxPyEndAllowThreads(__tstate
);
39305 if (PyErr_Occurred()) SWIG_fail
;
39307 resultobj
= SWIG_Py_Void();
39314 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39315 PyObject
*resultobj
= 0;
39316 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39317 wxColour
*arg2
= 0 ;
39321 PyObject
* obj0
= 0 ;
39322 PyObject
* obj1
= 0 ;
39323 char * kwnames
[] = {
39324 (char *) "self",(char *) "colour", NULL
39327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39329 if (!SWIG_IsOK(res1
)) {
39330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39332 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39335 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39339 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39340 wxPyEndAllowThreads(__tstate
);
39341 if (PyErr_Occurred()) SWIG_fail
;
39343 resultobj
= SWIG_Py_Void();
39350 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39351 PyObject
*resultobj
= 0;
39352 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39358 PyObject
* obj0
= 0 ;
39359 PyObject
* obj1
= 0 ;
39360 char * kwnames
[] = {
39361 (char *) "self",(char *) "function", NULL
39364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39366 if (!SWIG_IsOK(res1
)) {
39367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39369 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39371 if (!SWIG_IsOK(ecode2
)) {
39372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39374 arg2
= static_cast< int >(val2
);
39376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39377 (arg1
)->SetLogicalFunction(arg2
);
39378 wxPyEndAllowThreads(__tstate
);
39379 if (PyErr_Occurred()) SWIG_fail
;
39381 resultobj
= SWIG_Py_Void();
39388 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39391 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39392 return SWIG_Py_Void();
39395 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39396 return SWIG_Python_InitShadowInstance(args
);
39399 static PyMethodDef SwigMethods
[] = {
39400 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39401 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39402 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39403 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39404 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39405 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39409 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39410 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39411 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39412 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39413 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39414 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39419 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39423 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39424 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39425 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39427 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39430 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39431 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39432 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39433 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39435 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39436 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39437 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39438 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39439 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39440 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39441 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39448 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39450 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39451 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39455 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39456 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39459 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39463 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39464 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39465 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39466 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39467 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39468 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39469 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39471 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39477 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39479 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39480 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39481 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39482 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39483 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39484 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39485 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39491 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39503 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39504 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39508 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39509 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39510 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39511 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39512 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39513 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39514 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39515 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39516 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39517 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39518 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39519 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39520 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39521 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39522 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39524 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39525 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39531 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39532 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39533 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39534 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39535 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39536 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39537 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39538 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39539 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39540 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39541 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39542 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39544 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39545 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39551 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39552 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39553 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39555 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39556 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39557 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39559 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39560 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39565 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39567 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39568 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39569 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39570 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39576 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39577 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39579 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39580 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39582 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39584 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39585 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39586 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39587 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39590 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39594 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39595 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39597 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39600 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39602 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39603 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39604 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39605 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39610 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39611 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39616 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39617 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39623 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39627 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39638 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39641 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39642 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39644 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39645 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39646 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39647 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39648 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39649 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39650 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39651 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39652 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39653 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39654 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39655 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39656 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39657 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39658 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39659 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39660 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39662 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39663 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39664 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39665 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39666 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39667 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39668 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39669 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39679 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39680 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39682 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39683 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39684 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39685 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39686 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39687 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39688 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39689 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39690 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39692 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39693 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39694 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39697 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39698 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39699 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39702 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39708 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39713 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39714 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39716 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39722 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39725 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39726 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39727 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39728 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39729 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39730 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39731 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39732 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39733 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39734 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39735 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39736 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39737 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39749 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39750 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39751 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39753 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39754 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39756 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39757 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39758 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39759 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39763 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39764 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39766 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39767 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39768 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39769 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39770 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39771 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39772 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39773 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39774 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39776 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39779 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39780 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39781 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39782 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39783 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39784 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39785 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39786 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39796 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39797 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39798 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39800 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39804 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39805 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39806 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39807 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39808 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39809 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39815 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39816 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39817 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39867 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39869 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39870 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39871 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39878 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39879 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39880 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39881 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39882 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39887 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39888 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39889 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39890 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39899 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39900 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39901 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39902 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39903 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39904 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39905 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39906 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39907 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39908 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39909 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39910 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39913 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39915 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39917 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39919 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39920 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39923 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39924 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39928 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39930 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39933 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39934 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39935 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39936 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39937 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39938 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39939 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39941 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39948 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39950 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39951 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39952 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39954 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39955 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39956 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39958 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39959 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39960 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39961 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39962 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39963 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39964 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39965 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39968 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39969 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39970 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39972 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39973 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39975 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39976 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39978 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39979 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39981 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39984 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39985 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39986 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39987 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39988 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39990 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39991 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39992 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39994 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39995 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39997 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39998 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39999 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
40001 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
40002 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40003 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
40004 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
40007 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
40008 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
40009 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
40011 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
40012 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40013 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
40014 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
40015 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
40016 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
40017 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
40018 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
40019 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
40021 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
40022 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
40023 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
40025 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
40026 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40027 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
40028 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
40029 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
40030 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
40031 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
40032 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
40033 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
40034 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
40035 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
40036 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
40037 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
40038 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
40039 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
40040 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
40041 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
40042 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
40043 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
40044 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
40045 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
40046 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
40049 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
40050 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
40052 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40054 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40057 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
40058 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
40059 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
40060 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
40061 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
40062 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
40063 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
40064 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
40065 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
40067 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
40068 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
40069 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40073 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
40076 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40077 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40078 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
40079 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
40080 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
40081 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
40082 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
40083 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
40084 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
40085 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
40088 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40094 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
40095 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
40096 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
40099 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
40100 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
40101 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40104 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40105 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
40108 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
40109 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
40110 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
40111 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40112 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40113 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40122 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40123 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40124 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
40129 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
40130 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
40131 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
40132 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
40133 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
40134 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40135 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40136 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
40137 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40138 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40139 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40140 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40143 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
40144 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
40145 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
40146 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
40147 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
40149 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
40150 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
40151 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
40152 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
40153 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
40154 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
40155 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
40156 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
40157 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
40158 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
40159 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
40160 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
40162 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40163 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40164 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40167 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40168 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40169 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
40170 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40171 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
40172 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40173 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
40174 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
40175 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
40176 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
40177 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
40178 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
40179 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40180 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40181 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40182 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40183 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40184 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
40185 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
40186 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
40187 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
40188 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
40189 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
40190 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40191 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40192 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40193 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
40194 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40195 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40196 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40197 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
40198 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40199 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40200 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40201 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40202 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40203 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40204 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40205 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40206 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40207 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40208 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40209 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40210 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40211 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40212 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40213 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40214 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40215 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40216 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40217 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40218 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40219 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40220 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40221 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40222 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40223 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40224 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40225 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40226 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40227 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40228 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40229 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40230 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40231 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40232 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40233 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40234 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40235 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40236 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40237 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40238 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40239 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40240 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40241 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40242 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40243 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40244 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40245 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40246 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40247 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40248 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40249 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40250 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40251 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40252 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40253 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40254 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40255 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40256 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40257 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40258 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40259 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40260 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40261 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40262 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40263 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40264 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40265 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40266 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40267 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40268 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40269 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40270 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40271 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40272 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40273 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40274 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40275 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40276 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40277 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40278 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40279 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40280 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40281 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40282 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40283 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40284 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40285 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40286 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40287 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40289 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40292 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40293 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40296 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40299 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40300 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40301 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40306 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40307 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40310 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40311 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40312 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40313 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40314 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40315 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40316 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40319 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40321 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40322 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40327 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40328 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40329 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40330 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40331 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40332 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40333 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40334 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40335 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40336 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40339 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40340 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40341 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40342 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40343 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40344 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40345 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40346 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40347 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40348 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40349 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40350 { NULL
, NULL
, 0, NULL
}
40354 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40356 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40357 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40359 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40360 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40362 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40363 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40365 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40366 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40368 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40369 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40371 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40372 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40374 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40375 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40377 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40378 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40380 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40381 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40383 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40384 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40386 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40387 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40389 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40390 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40392 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40393 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40395 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40396 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40398 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40399 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40401 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40402 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40404 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40405 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40407 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40408 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40410 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40411 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40413 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40414 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40416 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40417 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40419 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40420 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40422 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40423 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40425 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40426 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40428 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40429 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40431 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40432 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40434 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40435 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40437 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40438 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40440 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40441 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40443 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40444 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40446 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40447 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40449 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40450 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40452 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40453 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40455 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40456 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40458 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40459 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40461 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40462 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40464 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40465 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40467 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40468 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40470 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40471 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40473 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40474 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40476 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40477 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40479 static void *_p_wxPenTo_p_wxObject(void *x
) {
40480 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40482 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40483 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40485 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40486 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40488 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40489 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40491 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40494 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40495 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40497 static void *_p_wxIconTo_p_wxObject(void *x
) {
40498 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40500 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40501 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40503 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40504 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40506 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40507 return (void *)((wxObject
*) ((wxSizer
*) x
));
40509 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40510 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40512 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40515 static void *_p_wxEventTo_p_wxObject(void *x
) {
40516 return (void *)((wxObject
*) ((wxEvent
*) x
));
40518 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40519 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40521 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40522 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40524 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40525 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40527 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40528 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40530 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40533 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40534 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40536 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40537 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40539 static void *_p_wxDCTo_p_wxObject(void *x
) {
40540 return (void *)((wxObject
*) ((wxDC
*) x
));
40542 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40543 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40545 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40546 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40548 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40549 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40551 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40552 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40554 static void *_p_wxControlTo_p_wxObject(void *x
) {
40555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40557 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40558 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40560 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40561 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40563 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40564 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40566 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40567 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40569 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40570 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40572 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40573 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40575 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40576 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40578 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40579 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40581 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40582 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40584 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40585 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40587 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40588 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40590 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40591 return (void *)((wxObject
*) ((wxEffects
*) x
));
40593 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40594 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40596 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40599 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40600 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40602 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40603 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40605 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40606 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40608 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40609 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40611 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40614 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40615 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40617 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40620 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40621 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40623 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40624 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40626 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40627 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40629 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40630 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40632 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40633 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40635 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40636 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40638 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40639 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40641 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40642 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40644 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40645 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40647 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40648 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40650 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40651 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40653 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40654 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40656 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40657 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40659 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40660 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40662 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40663 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40665 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40666 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40668 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40669 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40671 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40674 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40677 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40680 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40681 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40683 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40684 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40686 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40687 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40689 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40690 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40692 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40693 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40695 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40696 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40698 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40699 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40701 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40702 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40704 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40705 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40707 static void *_p_wxImageTo_p_wxObject(void *x
) {
40708 return (void *)((wxObject
*) ((wxImage
*) x
));
40710 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40711 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40713 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40714 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40716 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40717 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40719 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40720 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40722 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40723 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40725 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40726 return (void *)((wxObject
*) ((wxImageList
*) x
));
40728 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40729 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40731 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40732 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40734 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40735 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40737 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40738 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40740 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40741 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40743 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40744 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40746 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40747 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40749 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40750 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40752 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40753 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40755 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40756 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40758 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40761 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40762 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40764 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40765 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40767 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40768 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40770 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40771 return (void *)((wxObject
*) ((wxMask
*) x
));
40773 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40774 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40776 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40779 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40780 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40782 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40783 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40785 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40786 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40788 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40789 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40791 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40792 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40794 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40797 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40798 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40800 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40801 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40803 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40804 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40806 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40809 static void *_p_wxFontTo_p_wxObject(void *x
) {
40810 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40812 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40813 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40815 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40816 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40818 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40821 static void *_p_wxColourTo_p_wxObject(void *x
) {
40822 return (void *)((wxObject
*) ((wxColour
*) x
));
40824 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40827 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40828 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40830 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40831 return (void *)((wxWindow
*) ((wxControl
*) x
));
40833 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40834 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40836 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40837 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40839 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40840 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40842 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40843 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40845 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40846 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40847 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40848 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};
40849 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40850 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40851 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40852 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40853 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40854 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40855 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40856 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40857 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40858 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40859 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40860 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40861 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40862 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40863 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40864 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40865 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40866 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40867 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40868 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40869 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40870 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40871 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40875 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40876 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40877 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40878 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40879 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40880 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40881 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40882 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40887 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40888 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40889 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40890 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40891 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40892 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40893 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40894 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40895 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40896 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40897 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40898 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40899 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40900 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40901 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40902 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40903 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40904 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40905 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40906 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40907 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40908 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40909 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40910 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40911 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40912 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40913 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40914 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40915 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40916 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40917 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40918 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40919 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40920 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40921 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40922 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40923 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40924 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40925 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40926 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40927 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40928 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40929 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40930 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40931 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40932 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40933 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40934 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40935 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40936 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40937 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40938 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40939 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40940 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40941 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40942 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40943 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40944 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40945 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40946 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40947 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40948 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40949 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40950 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40951 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40952 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40953 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40954 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40955 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40956 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40957 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40958 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40959 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40960 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40961 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40962 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40963 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40964 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40965 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40966 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40967 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40968 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40969 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40970 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40971 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40972 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40973 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40974 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40975 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40976 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40977 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40978 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40979 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40980 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40981 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40982 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40983 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40984 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40985 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40986 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40987 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40988 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40989 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40990 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40991 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40992 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40993 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40994 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40995 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40996 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40997 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40998 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40999 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
41000 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
41001 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
41002 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
41003 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
41004 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
41005 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
41006 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
41007 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
41008 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
41009 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
41010 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
41011 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
41012 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
41013 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
41014 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
41016 static swig_type_info
*swig_type_initial
[] = {
41020 &_swigt__p_form_ops_t
,
41022 &_swigt__p_unsigned_char
,
41023 &_swigt__p_unsigned_int
,
41024 &_swigt__p_unsigned_long
,
41026 &_swigt__p_wxANIHandler
,
41027 &_swigt__p_wxAcceleratorTable
,
41028 &_swigt__p_wxActivateEvent
,
41029 &_swigt__p_wxAlphaPixelData
,
41030 &_swigt__p_wxAlphaPixelData_Accessor
,
41031 &_swigt__p_wxAutoBufferedPaintDC
,
41032 &_swigt__p_wxBMPHandler
,
41033 &_swigt__p_wxBitmap
,
41034 &_swigt__p_wxBoxSizer
,
41035 &_swigt__p_wxBrush
,
41036 &_swigt__p_wxBrushList
,
41037 &_swigt__p_wxBufferedDC
,
41038 &_swigt__p_wxBufferedPaintDC
,
41039 &_swigt__p_wxCURHandler
,
41041 &_swigt__p_wxChildFocusEvent
,
41042 &_swigt__p_wxClientDC
,
41043 &_swigt__p_wxClipboardTextEvent
,
41044 &_swigt__p_wxCloseEvent
,
41045 &_swigt__p_wxColor
,
41046 &_swigt__p_wxColour
,
41047 &_swigt__p_wxColourDatabase
,
41048 &_swigt__p_wxCommandEvent
,
41049 &_swigt__p_wxContextMenuEvent
,
41050 &_swigt__p_wxControl
,
41051 &_swigt__p_wxControlWithItems
,
41052 &_swigt__p_wxCursor
,
41054 &_swigt__p_wxDCBrushChanger
,
41055 &_swigt__p_wxDCClipper
,
41056 &_swigt__p_wxDCOverlay
,
41057 &_swigt__p_wxDCPenChanger
,
41058 &_swigt__p_wxDCTextColourChanger
,
41060 &_swigt__p_wxDateEvent
,
41061 &_swigt__p_wxDisplayChangedEvent
,
41062 &_swigt__p_wxDropFilesEvent
,
41063 &_swigt__p_wxDuplexMode
,
41064 &_swigt__p_wxEffects
,
41065 &_swigt__p_wxEncodingConverter
,
41066 &_swigt__p_wxEraseEvent
,
41067 &_swigt__p_wxEvent
,
41068 &_swigt__p_wxEvtHandler
,
41069 &_swigt__p_wxFSFile
,
41070 &_swigt__p_wxFileSystem
,
41071 &_swigt__p_wxFlexGridSizer
,
41072 &_swigt__p_wxFocusEvent
,
41074 &_swigt__p_wxFontList
,
41075 &_swigt__p_wxFontMapper
,
41076 &_swigt__p_wxGBSizerItem
,
41078 &_swigt__p_wxGDIObjListBase
,
41079 &_swigt__p_wxGDIObject
,
41080 &_swigt__p_wxGIFHandler
,
41081 &_swigt__p_wxGraphicsBrush
,
41082 &_swigt__p_wxGraphicsContext
,
41083 &_swigt__p_wxGraphicsFont
,
41084 &_swigt__p_wxGraphicsMatrix
,
41085 &_swigt__p_wxGraphicsObject
,
41086 &_swigt__p_wxGraphicsPath
,
41087 &_swigt__p_wxGraphicsPen
,
41088 &_swigt__p_wxGraphicsRenderer
,
41089 &_swigt__p_wxGridBagSizer
,
41090 &_swigt__p_wxGridSizer
,
41091 &_swigt__p_wxHeaderButtonParams
,
41092 &_swigt__p_wxICOHandler
,
41094 &_swigt__p_wxIconBundle
,
41095 &_swigt__p_wxIconLocation
,
41096 &_swigt__p_wxIconizeEvent
,
41097 &_swigt__p_wxIdleEvent
,
41098 &_swigt__p_wxImage
,
41099 &_swigt__p_wxImageHandler
,
41100 &_swigt__p_wxImageList
,
41101 &_swigt__p_wxIndividualLayoutConstraint
,
41102 &_swigt__p_wxInitDialogEvent
,
41103 &_swigt__p_wxJPEGHandler
,
41104 &_swigt__p_wxKeyEvent
,
41105 &_swigt__p_wxLanguageInfo
,
41106 &_swigt__p_wxLayoutConstraints
,
41107 &_swigt__p_wxLocale
,
41109 &_swigt__p_wxMaximizeEvent
,
41110 &_swigt__p_wxMemoryDC
,
41112 &_swigt__p_wxMenuBar
,
41113 &_swigt__p_wxMenuEvent
,
41114 &_swigt__p_wxMenuItem
,
41115 &_swigt__p_wxMetaFile
,
41116 &_swigt__p_wxMetaFileDC
,
41117 &_swigt__p_wxMirrorDC
,
41118 &_swigt__p_wxMouseCaptureChangedEvent
,
41119 &_swigt__p_wxMouseCaptureLostEvent
,
41120 &_swigt__p_wxMouseEvent
,
41121 &_swigt__p_wxMoveEvent
,
41122 &_swigt__p_wxNativeEncodingInfo
,
41123 &_swigt__p_wxNativeFontInfo
,
41124 &_swigt__p_wxNativePixelData
,
41125 &_swigt__p_wxNativePixelData_Accessor
,
41126 &_swigt__p_wxNavigationKeyEvent
,
41127 &_swigt__p_wxNcPaintEvent
,
41128 &_swigt__p_wxNotifyEvent
,
41129 &_swigt__p_wxObject
,
41130 &_swigt__p_wxOverlay
,
41131 &_swigt__p_wxPCXHandler
,
41132 &_swigt__p_wxPNGHandler
,
41133 &_swigt__p_wxPNMHandler
,
41134 &_swigt__p_wxPaintDC
,
41135 &_swigt__p_wxPaintEvent
,
41136 &_swigt__p_wxPalette
,
41137 &_swigt__p_wxPaletteChangedEvent
,
41138 &_swigt__p_wxPaperSize
,
41140 &_swigt__p_wxPenList
,
41141 &_swigt__p_wxPixelDataBase
,
41142 &_swigt__p_wxPoint
,
41143 &_swigt__p_wxPoint2D
,
41144 &_swigt__p_wxPostScriptDC
,
41145 &_swigt__p_wxPrintData
,
41146 &_swigt__p_wxPrinterDC
,
41147 &_swigt__p_wxPseudoDC
,
41148 &_swigt__p_wxPyApp
,
41149 &_swigt__p_wxPyCommandEvent
,
41150 &_swigt__p_wxPyEvent
,
41151 &_swigt__p_wxPyFontEnumerator
,
41152 &_swigt__p_wxPyImageHandler
,
41153 &_swigt__p_wxPyLocale
,
41154 &_swigt__p_wxPySizer
,
41155 &_swigt__p_wxPyValidator
,
41156 &_swigt__p_wxQueryNewPaletteEvent
,
41158 &_swigt__p_wxRect2D
,
41159 &_swigt__p_wxRegion
,
41160 &_swigt__p_wxRegionIterator
,
41161 &_swigt__p_wxRendererNative
,
41162 &_swigt__p_wxRendererVersion
,
41163 &_swigt__p_wxScreenDC
,
41164 &_swigt__p_wxScrollEvent
,
41165 &_swigt__p_wxScrollWinEvent
,
41166 &_swigt__p_wxSetCursorEvent
,
41167 &_swigt__p_wxShowEvent
,
41169 &_swigt__p_wxSizeEvent
,
41170 &_swigt__p_wxSizer
,
41171 &_swigt__p_wxSizerItem
,
41172 &_swigt__p_wxSplitterRenderParams
,
41173 &_swigt__p_wxStaticBoxSizer
,
41174 &_swigt__p_wxStdDialogButtonSizer
,
41175 &_swigt__p_wxStockGDI
,
41176 &_swigt__p_wxString
,
41177 &_swigt__p_wxSysColourChangedEvent
,
41178 &_swigt__p_wxTGAHandler
,
41179 &_swigt__p_wxTIFFHandler
,
41180 &_swigt__p_wxUpdateUIEvent
,
41181 &_swigt__p_wxValidator
,
41182 &_swigt__p_wxWindow
,
41183 &_swigt__p_wxWindowCreateEvent
,
41184 &_swigt__p_wxWindowDC
,
41185 &_swigt__p_wxWindowDestroyEvent
,
41186 &_swigt__p_wxXPMHandler
,
41189 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
41190 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41191 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41196 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41199 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41200 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41201 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41203 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41204 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}};
41205 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41207 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}};
41208 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41211 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41212 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}};
41213 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41217 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41218 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41219 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41220 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41223 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41224 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41226 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}};
41227 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}};
41228 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41229 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41232 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}};
41233 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41234 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41235 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41236 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41237 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41238 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41239 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41241 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41242 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41243 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}};
41244 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41245 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}};
41246 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41247 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41248 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41249 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41250 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41251 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41252 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41253 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41254 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41255 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41256 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41257 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41258 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41259 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41260 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41261 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41262 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41263 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41264 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41265 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41266 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41267 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41268 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41269 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41270 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41271 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41272 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41273 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41274 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41275 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41276 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41277 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41278 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41279 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41280 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41281 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41282 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41283 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41284 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41285 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41286 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41287 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41288 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41289 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41290 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41291 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41292 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41293 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41294 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41295 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41296 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41297 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41298 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41299 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41300 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41301 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41302 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41303 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41304 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41305 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41306 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41307 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41308 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41309 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41310 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41311 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41312 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41313 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41314 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41315 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41316 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41317 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41318 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41319 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41320 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41321 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41322 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41323 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41324 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41325 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41326 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41327 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41328 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41329 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41330 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
41331 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41332 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41333 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41334 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41335 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41336 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41337 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}};
41338 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41339 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41340 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41341 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41342 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41343 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41344 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41345 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41346 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41347 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
41348 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41349 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41350 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41351 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41352 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41353 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41354 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41355 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41356 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41357 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}};
41358 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}};
41360 static swig_cast_info
*swig_cast_initial
[] = {
41364 _swigc__p_form_ops_t
,
41366 _swigc__p_unsigned_char
,
41367 _swigc__p_unsigned_int
,
41368 _swigc__p_unsigned_long
,
41370 _swigc__p_wxANIHandler
,
41371 _swigc__p_wxAcceleratorTable
,
41372 _swigc__p_wxActivateEvent
,
41373 _swigc__p_wxAlphaPixelData
,
41374 _swigc__p_wxAlphaPixelData_Accessor
,
41375 _swigc__p_wxAutoBufferedPaintDC
,
41376 _swigc__p_wxBMPHandler
,
41377 _swigc__p_wxBitmap
,
41378 _swigc__p_wxBoxSizer
,
41380 _swigc__p_wxBrushList
,
41381 _swigc__p_wxBufferedDC
,
41382 _swigc__p_wxBufferedPaintDC
,
41383 _swigc__p_wxCURHandler
,
41385 _swigc__p_wxChildFocusEvent
,
41386 _swigc__p_wxClientDC
,
41387 _swigc__p_wxClipboardTextEvent
,
41388 _swigc__p_wxCloseEvent
,
41390 _swigc__p_wxColour
,
41391 _swigc__p_wxColourDatabase
,
41392 _swigc__p_wxCommandEvent
,
41393 _swigc__p_wxContextMenuEvent
,
41394 _swigc__p_wxControl
,
41395 _swigc__p_wxControlWithItems
,
41396 _swigc__p_wxCursor
,
41398 _swigc__p_wxDCBrushChanger
,
41399 _swigc__p_wxDCClipper
,
41400 _swigc__p_wxDCOverlay
,
41401 _swigc__p_wxDCPenChanger
,
41402 _swigc__p_wxDCTextColourChanger
,
41404 _swigc__p_wxDateEvent
,
41405 _swigc__p_wxDisplayChangedEvent
,
41406 _swigc__p_wxDropFilesEvent
,
41407 _swigc__p_wxDuplexMode
,
41408 _swigc__p_wxEffects
,
41409 _swigc__p_wxEncodingConverter
,
41410 _swigc__p_wxEraseEvent
,
41412 _swigc__p_wxEvtHandler
,
41413 _swigc__p_wxFSFile
,
41414 _swigc__p_wxFileSystem
,
41415 _swigc__p_wxFlexGridSizer
,
41416 _swigc__p_wxFocusEvent
,
41418 _swigc__p_wxFontList
,
41419 _swigc__p_wxFontMapper
,
41420 _swigc__p_wxGBSizerItem
,
41422 _swigc__p_wxGDIObjListBase
,
41423 _swigc__p_wxGDIObject
,
41424 _swigc__p_wxGIFHandler
,
41425 _swigc__p_wxGraphicsBrush
,
41426 _swigc__p_wxGraphicsContext
,
41427 _swigc__p_wxGraphicsFont
,
41428 _swigc__p_wxGraphicsMatrix
,
41429 _swigc__p_wxGraphicsObject
,
41430 _swigc__p_wxGraphicsPath
,
41431 _swigc__p_wxGraphicsPen
,
41432 _swigc__p_wxGraphicsRenderer
,
41433 _swigc__p_wxGridBagSizer
,
41434 _swigc__p_wxGridSizer
,
41435 _swigc__p_wxHeaderButtonParams
,
41436 _swigc__p_wxICOHandler
,
41438 _swigc__p_wxIconBundle
,
41439 _swigc__p_wxIconLocation
,
41440 _swigc__p_wxIconizeEvent
,
41441 _swigc__p_wxIdleEvent
,
41443 _swigc__p_wxImageHandler
,
41444 _swigc__p_wxImageList
,
41445 _swigc__p_wxIndividualLayoutConstraint
,
41446 _swigc__p_wxInitDialogEvent
,
41447 _swigc__p_wxJPEGHandler
,
41448 _swigc__p_wxKeyEvent
,
41449 _swigc__p_wxLanguageInfo
,
41450 _swigc__p_wxLayoutConstraints
,
41451 _swigc__p_wxLocale
,
41453 _swigc__p_wxMaximizeEvent
,
41454 _swigc__p_wxMemoryDC
,
41456 _swigc__p_wxMenuBar
,
41457 _swigc__p_wxMenuEvent
,
41458 _swigc__p_wxMenuItem
,
41459 _swigc__p_wxMetaFile
,
41460 _swigc__p_wxMetaFileDC
,
41461 _swigc__p_wxMirrorDC
,
41462 _swigc__p_wxMouseCaptureChangedEvent
,
41463 _swigc__p_wxMouseCaptureLostEvent
,
41464 _swigc__p_wxMouseEvent
,
41465 _swigc__p_wxMoveEvent
,
41466 _swigc__p_wxNativeEncodingInfo
,
41467 _swigc__p_wxNativeFontInfo
,
41468 _swigc__p_wxNativePixelData
,
41469 _swigc__p_wxNativePixelData_Accessor
,
41470 _swigc__p_wxNavigationKeyEvent
,
41471 _swigc__p_wxNcPaintEvent
,
41472 _swigc__p_wxNotifyEvent
,
41473 _swigc__p_wxObject
,
41474 _swigc__p_wxOverlay
,
41475 _swigc__p_wxPCXHandler
,
41476 _swigc__p_wxPNGHandler
,
41477 _swigc__p_wxPNMHandler
,
41478 _swigc__p_wxPaintDC
,
41479 _swigc__p_wxPaintEvent
,
41480 _swigc__p_wxPalette
,
41481 _swigc__p_wxPaletteChangedEvent
,
41482 _swigc__p_wxPaperSize
,
41484 _swigc__p_wxPenList
,
41485 _swigc__p_wxPixelDataBase
,
41487 _swigc__p_wxPoint2D
,
41488 _swigc__p_wxPostScriptDC
,
41489 _swigc__p_wxPrintData
,
41490 _swigc__p_wxPrinterDC
,
41491 _swigc__p_wxPseudoDC
,
41493 _swigc__p_wxPyCommandEvent
,
41494 _swigc__p_wxPyEvent
,
41495 _swigc__p_wxPyFontEnumerator
,
41496 _swigc__p_wxPyImageHandler
,
41497 _swigc__p_wxPyLocale
,
41498 _swigc__p_wxPySizer
,
41499 _swigc__p_wxPyValidator
,
41500 _swigc__p_wxQueryNewPaletteEvent
,
41502 _swigc__p_wxRect2D
,
41503 _swigc__p_wxRegion
,
41504 _swigc__p_wxRegionIterator
,
41505 _swigc__p_wxRendererNative
,
41506 _swigc__p_wxRendererVersion
,
41507 _swigc__p_wxScreenDC
,
41508 _swigc__p_wxScrollEvent
,
41509 _swigc__p_wxScrollWinEvent
,
41510 _swigc__p_wxSetCursorEvent
,
41511 _swigc__p_wxShowEvent
,
41513 _swigc__p_wxSizeEvent
,
41515 _swigc__p_wxSizerItem
,
41516 _swigc__p_wxSplitterRenderParams
,
41517 _swigc__p_wxStaticBoxSizer
,
41518 _swigc__p_wxStdDialogButtonSizer
,
41519 _swigc__p_wxStockGDI
,
41520 _swigc__p_wxString
,
41521 _swigc__p_wxSysColourChangedEvent
,
41522 _swigc__p_wxTGAHandler
,
41523 _swigc__p_wxTIFFHandler
,
41524 _swigc__p_wxUpdateUIEvent
,
41525 _swigc__p_wxValidator
,
41526 _swigc__p_wxWindow
,
41527 _swigc__p_wxWindowCreateEvent
,
41528 _swigc__p_wxWindowDC
,
41529 _swigc__p_wxWindowDestroyEvent
,
41530 _swigc__p_wxXPMHandler
,
41534 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41536 static swig_const_info swig_const_table
[] = {
41537 {0, 0, 0, 0.0, 0, 0}};
41542 /* -----------------------------------------------------------------------------
41543 * Type initialization:
41544 * This problem is tough by the requirement that no dynamic
41545 * memory is used. Also, since swig_type_info structures store pointers to
41546 * swig_cast_info structures and swig_cast_info structures store pointers back
41547 * to swig_type_info structures, we need some lookup code at initialization.
41548 * The idea is that swig generates all the structures that are needed.
41549 * The runtime then collects these partially filled structures.
41550 * The SWIG_InitializeModule function takes these initial arrays out of
41551 * swig_module, and does all the lookup, filling in the swig_module.types
41552 * array with the correct data and linking the correct swig_cast_info
41553 * structures together.
41555 * The generated swig_type_info structures are assigned staticly to an initial
41556 * array. We just loop though that array, and handle each type individually.
41557 * First we lookup if this type has been already loaded, and if so, use the
41558 * loaded structure instead of the generated one. Then we have to fill in the
41559 * cast linked list. The cast data is initially stored in something like a
41560 * two-dimensional array. Each row corresponds to a type (there are the same
41561 * number of rows as there are in the swig_type_initial array). Each entry in
41562 * a column is one of the swig_cast_info structures for that type.
41563 * The cast_initial array is actually an array of arrays, because each row has
41564 * a variable number of columns. So to actually build the cast linked list,
41565 * we find the array of casts associated with the type, and loop through it
41566 * adding the casts to the list. The one last trick we need to do is making
41567 * sure the type pointer in the swig_cast_info struct is correct.
41569 * First off, we lookup the cast->type name to see if it is already loaded.
41570 * There are three cases to handle:
41571 * 1) If the cast->type has already been loaded AND the type we are adding
41572 * casting info to has not been loaded (it is in this module), THEN we
41573 * replace the cast->type pointer with the type pointer that has already
41575 * 2) If BOTH types (the one we are adding casting info to, and the
41576 * cast->type) are loaded, THEN the cast info has already been loaded by
41577 * the previous module so we just ignore it.
41578 * 3) Finally, if cast->type has not already been loaded, then we add that
41579 * swig_cast_info to the linked list (because the cast->type) pointer will
41581 * ----------------------------------------------------------------------------- */
41591 #define SWIGRUNTIME_DEBUG
41595 SWIG_InitializeModule(void *clientdata
) {
41597 swig_module_info
*module_head
;
41598 static int init_run
= 0;
41600 clientdata
= clientdata
;
41602 if (init_run
) return;
41605 /* Initialize the swig_module */
41606 swig_module
.type_initial
= swig_type_initial
;
41607 swig_module
.cast_initial
= swig_cast_initial
;
41609 /* Try and load any already created modules */
41610 module_head
= SWIG_GetModule(clientdata
);
41612 swig_module
.next
= module_head
->next
;
41613 module_head
->next
= &swig_module
;
41615 /* This is the first module loaded */
41616 swig_module
.next
= &swig_module
;
41617 SWIG_SetModule(clientdata
, &swig_module
);
41620 /* Now work on filling in swig_module.types */
41621 #ifdef SWIGRUNTIME_DEBUG
41622 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41624 for (i
= 0; i
< swig_module
.size
; ++i
) {
41625 swig_type_info
*type
= 0;
41626 swig_type_info
*ret
;
41627 swig_cast_info
*cast
;
41629 #ifdef SWIGRUNTIME_DEBUG
41630 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41633 /* if there is another module already loaded */
41634 if (swig_module
.next
!= &swig_module
) {
41635 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41638 /* Overwrite clientdata field */
41639 #ifdef SWIGRUNTIME_DEBUG
41640 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41642 if (swig_module
.type_initial
[i
]->clientdata
) {
41643 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41644 #ifdef SWIGRUNTIME_DEBUG
41645 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41649 type
= swig_module
.type_initial
[i
];
41652 /* Insert casting types */
41653 cast
= swig_module
.cast_initial
[i
];
41654 while (cast
->type
) {
41655 /* Don't need to add information already in the list */
41657 #ifdef SWIGRUNTIME_DEBUG
41658 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41660 if (swig_module
.next
!= &swig_module
) {
41661 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41662 #ifdef SWIGRUNTIME_DEBUG
41663 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41667 if (type
== swig_module
.type_initial
[i
]) {
41668 #ifdef SWIGRUNTIME_DEBUG
41669 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41674 /* Check for casting already in the list */
41675 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41676 #ifdef SWIGRUNTIME_DEBUG
41677 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41679 if (!ocast
) ret
= 0;
41684 #ifdef SWIGRUNTIME_DEBUG
41685 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41688 type
->cast
->prev
= cast
;
41689 cast
->next
= type
->cast
;
41695 /* Set entry in modules->types array equal to the type */
41696 swig_module
.types
[i
] = type
;
41698 swig_module
.types
[i
] = 0;
41700 #ifdef SWIGRUNTIME_DEBUG
41701 printf("**** SWIG_InitializeModule: Cast List ******\n");
41702 for (i
= 0; i
< swig_module
.size
; ++i
) {
41704 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41705 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41706 while (cast
->type
) {
41707 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41711 printf("---- Total casts: %d\n",j
);
41713 printf("**** SWIG_InitializeModule: Cast List ******\n");
41717 /* This function will propagate the clientdata field of type to
41718 * any new swig_type_info structures that have been added into the list
41719 * of equivalent types. It is like calling
41720 * SWIG_TypeClientData(type, clientdata) a second time.
41723 SWIG_PropagateClientData(void) {
41725 swig_cast_info
*equiv
;
41726 static int init_run
= 0;
41728 if (init_run
) return;
41731 for (i
= 0; i
< swig_module
.size
; i
++) {
41732 if (swig_module
.types
[i
]->clientdata
) {
41733 equiv
= swig_module
.types
[i
]->cast
;
41735 if (!equiv
->converter
) {
41736 if (equiv
->type
&& !equiv
->type
->clientdata
)
41737 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41739 equiv
= equiv
->next
;
41759 /* Python-specific SWIG API */
41760 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41761 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41762 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41764 /* -----------------------------------------------------------------------------
41765 * global variable support code.
41766 * ----------------------------------------------------------------------------- */
41768 typedef struct swig_globalvar
{
41769 char *name
; /* Name of global variable */
41770 PyObject
*(*get_attr
)(void); /* Return the current value */
41771 int (*set_attr
)(PyObject
*); /* Set the value */
41772 struct swig_globalvar
*next
;
41775 typedef struct swig_varlinkobject
{
41777 swig_globalvar
*vars
;
41778 } swig_varlinkobject
;
41780 SWIGINTERN PyObject
*
41781 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41782 return PyString_FromString("<Swig global variables>");
41785 SWIGINTERN PyObject
*
41786 swig_varlink_str(swig_varlinkobject
*v
) {
41787 PyObject
*str
= PyString_FromString("(");
41788 swig_globalvar
*var
;
41789 for (var
= v
->vars
; var
; var
=var
->next
) {
41790 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41791 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41793 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41798 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41799 PyObject
*str
= swig_varlink_str(v
);
41800 fprintf(fp
,"Swig global variables ");
41801 fprintf(fp
,"%s\n", PyString_AsString(str
));
41807 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41808 swig_globalvar
*var
= v
->vars
;
41810 swig_globalvar
*n
= var
->next
;
41817 SWIGINTERN PyObject
*
41818 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41819 PyObject
*res
= NULL
;
41820 swig_globalvar
*var
= v
->vars
;
41822 if (strcmp(var
->name
,n
) == 0) {
41823 res
= (*var
->get_attr
)();
41828 if (res
== NULL
&& !PyErr_Occurred()) {
41829 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41835 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41837 swig_globalvar
*var
= v
->vars
;
41839 if (strcmp(var
->name
,n
) == 0) {
41840 res
= (*var
->set_attr
)(p
);
41845 if (res
== 1 && !PyErr_Occurred()) {
41846 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41851 SWIGINTERN PyTypeObject
*
41852 swig_varlink_type(void) {
41853 static char varlink__doc__
[] = "Swig var link object";
41854 static PyTypeObject varlink_type
;
41855 static int type_init
= 0;
41857 const PyTypeObject tmp
41859 PyObject_HEAD_INIT(NULL
)
41860 0, /* Number of items in variable part (ob_size) */
41861 (char *)"swigvarlink", /* Type name (tp_name) */
41862 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41863 0, /* Itemsize (tp_itemsize) */
41864 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41865 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41866 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41867 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41868 0, /* tp_compare */
41869 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41870 0, /* tp_as_number */
41871 0, /* tp_as_sequence */
41872 0, /* tp_as_mapping */
41875 (reprfunc
)swig_varlink_str
, /* tp_str */
41876 0, /* tp_getattro */
41877 0, /* tp_setattro */
41878 0, /* tp_as_buffer */
41880 varlink__doc__
, /* tp_doc */
41881 0, /* tp_traverse */
41883 0, /* tp_richcompare */
41884 0, /* tp_weaklistoffset */
41885 #if PY_VERSION_HEX >= 0x02020000
41886 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41888 #if PY_VERSION_HEX >= 0x02030000
41891 #ifdef COUNT_ALLOCS
41892 0,0,0,0 /* tp_alloc -> tp_next */
41895 varlink_type
= tmp
;
41896 varlink_type
.ob_type
= &PyType_Type
;
41899 return &varlink_type
;
41902 /* Create a variable linking object for use later */
41903 SWIGINTERN PyObject
*
41904 SWIG_Python_newvarlink(void) {
41905 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41909 return ((PyObject
*) result
);
41913 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41914 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41915 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41917 size_t size
= strlen(name
)+1;
41918 gv
->name
= (char *)malloc(size
);
41920 strncpy(gv
->name
,name
,size
);
41921 gv
->get_attr
= get_attr
;
41922 gv
->set_attr
= set_attr
;
41923 gv
->next
= v
->vars
;
41929 SWIGINTERN PyObject
*
41931 static PyObject
*_SWIG_globals
= 0;
41932 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41933 return _SWIG_globals
;
41936 /* -----------------------------------------------------------------------------
41937 * constants/methods manipulation
41938 * ----------------------------------------------------------------------------- */
41940 /* Install Constants */
41942 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41945 for (i
= 0; constants
[i
].type
; ++i
) {
41946 switch(constants
[i
].type
) {
41947 case SWIG_PY_POINTER
:
41948 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41950 case SWIG_PY_BINARY
:
41951 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41958 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41964 /* -----------------------------------------------------------------------------*/
41965 /* Fix SwigMethods to carry the callback ptrs when needed */
41966 /* -----------------------------------------------------------------------------*/
41969 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41970 swig_const_info
*const_table
,
41971 swig_type_info
**types
,
41972 swig_type_info
**types_initial
) {
41974 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41975 const char *c
= methods
[i
].ml_doc
;
41976 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41978 swig_const_info
*ci
= 0;
41979 const char *name
= c
+ 10;
41980 for (j
= 0; const_table
[j
].type
; ++j
) {
41981 if (strncmp(const_table
[j
].name
, name
,
41982 strlen(const_table
[j
].name
)) == 0) {
41983 ci
= &(const_table
[j
]);
41988 size_t shift
= (ci
->ptype
) - types
;
41989 swig_type_info
*ty
= types_initial
[shift
];
41990 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41991 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41992 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41995 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41997 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41999 strncpy(buff
, "swig_ptr: ", 10);
42001 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
42002 methods
[i
].ml_doc
= ndoc
;
42014 /* -----------------------------------------------------------------------------*
42015 * Partial Init method
42016 * -----------------------------------------------------------------------------*/
42021 SWIGEXPORT
void SWIG_init(void) {
42024 /* Fix SwigMethods to carry the callback ptrs when needed */
42025 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
42027 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42028 d
= PyModule_GetDict(m
);
42030 SWIG_InitializeModule(0);
42031 SWIG_InstallConstants(d
,swig_const_table
);
42034 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
42035 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
42036 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
42037 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
42038 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
42039 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
42040 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
42041 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
42042 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
42043 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
42044 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
42045 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
42046 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
42047 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
42048 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
42049 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
42050 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
42051 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
42052 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
42053 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
42054 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
42055 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
42056 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
42057 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
42058 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
42059 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
42060 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
42061 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
42062 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
42063 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
42064 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
42065 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
42066 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
42067 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
42068 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
42069 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
42070 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
42071 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
42072 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
42073 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
42074 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
42075 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
42076 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
42077 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
42078 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
42079 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
42080 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
42081 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
42082 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
42083 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
42084 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
42085 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
42086 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
42087 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
42088 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
42089 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
42090 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
42091 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
42092 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
42093 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
42094 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
42095 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
42096 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
42097 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
42098 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
42099 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
42100 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
42101 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
42102 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
42103 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
42104 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
42105 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
42106 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
42107 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
42108 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
42109 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
42110 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
42111 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
42112 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
42113 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
42114 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
42115 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
42116 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
42117 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
42118 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
42119 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
42120 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
42121 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
42122 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
42123 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
42124 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
42125 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
42126 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
42127 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
42128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
42129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
42130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
42131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
42132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
42133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
42134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
42135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
42136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
42137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
42138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
42139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
42140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
42141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
42142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
42143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
42144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
42145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
42146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
42147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
42148 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
42149 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
42150 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
42151 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
42152 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
42153 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
42154 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
42155 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
42156 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
42157 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
42158 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
42159 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
42160 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
42161 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
42162 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
42163 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
42164 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
42165 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
42167 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
42169 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
42170 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
42171 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
42172 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
42173 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
42174 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
42175 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
42176 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
42177 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
42178 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
42179 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
42180 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
42181 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
42182 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
42183 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
42184 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
42185 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
42186 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
42187 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
42188 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
42189 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
42190 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
42191 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
42192 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
42193 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
42194 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42195 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42196 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42197 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42198 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42199 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42200 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42201 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42202 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42203 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42204 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42205 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42206 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42207 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42208 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42209 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42210 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42211 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42212 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42213 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42214 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42215 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42216 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42217 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42218 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42219 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42220 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42221 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42222 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42223 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42224 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42225 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42226 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42227 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42228 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42229 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42230 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42231 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42232 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42233 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42234 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42235 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42236 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42237 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42238 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42239 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42240 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42241 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42242 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42243 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42244 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42245 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42246 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42247 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42248 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42249 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42250 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42251 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42252 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42253 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42254 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42255 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42256 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42257 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42258 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42259 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42260 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42261 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42262 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42263 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42264 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42265 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42266 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42267 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42268 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42269 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42270 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42271 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42272 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42273 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42274 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42275 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42276 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42277 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42278 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42279 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42280 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42281 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42282 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42283 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42284 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42285 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42286 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42287 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42288 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42289 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42290 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42291 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42292 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42293 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42294 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42295 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42296 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42297 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42298 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42299 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42300 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42301 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42302 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42303 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42304 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42305 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42306 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42307 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42308 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42309 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42310 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42311 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42312 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42313 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42314 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42315 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42316 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42317 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42318 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42319 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42320 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42321 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42322 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42323 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42324 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42325 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42326 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42327 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42328 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42329 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42330 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42331 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42332 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42333 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42334 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42335 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42336 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42337 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42338 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42339 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42340 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42341 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42342 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42343 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42344 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42345 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42346 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42347 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42348 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42349 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42350 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42351 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42352 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42353 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42354 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42355 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42356 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42357 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42358 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42359 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42360 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42361 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42362 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42363 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42364 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42365 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42366 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42367 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42368 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42369 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42370 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42371 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42372 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42373 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42374 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42375 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42376 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42377 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42378 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42379 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42380 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42381 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42382 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42383 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42384 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42385 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42386 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42387 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42388 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42389 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42390 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42391 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42392 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42393 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42394 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42395 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42396 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42397 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42398 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42399 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42400 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42401 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42402 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42403 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42404 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42405 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42406 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42407 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42408 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42409 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42410 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42411 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42412 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42413 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42414 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42415 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42416 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42417 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42418 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42419 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42420 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42421 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42422 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42423 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42424 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42425 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42426 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42427 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42428 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42429 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42430 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42431 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42432 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42433 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42434 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42435 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42436 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42437 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42438 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42439 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42440 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42441 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42442 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42443 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42444 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42445 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42446 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42447 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42448 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42449 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42450 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42451 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42452 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42453 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42454 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42455 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42456 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42457 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42458 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42459 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42460 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42461 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42462 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42463 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42464 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42465 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42466 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42467 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42468 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42469 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42470 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42471 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42472 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42473 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42474 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42475 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42476 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42477 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42478 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42479 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42480 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42481 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42482 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42483 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42484 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42485 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42486 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42487 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42488 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42489 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42490 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42491 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42492 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42494 // Work around a chicken/egg problem in drawlist.cpp
42495 wxPyDrawList_SetAPIPtr();